AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
BICONDITIONAL ONTOLOGY
Kireth Semantic Library | Mathematical Entities | Logical Entities
Version: 1.0
Authors: Mark Higgins — Sky (Recursive AI)
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/logical-entities/biconditional-ontology-2.html
Status: Proposed formalisation; source-page wording not independently verified.
1. ONTOLOGY IDENTITY
ontology_id: logical_entities.biconditional
entity_type: LogicalConnective
canonical_name: Biconditional
symbols: [↔, ⇔ (metalogical equivalence in appropriate contexts)]
arity: 2
logic_profile: classical_two_valued
2. TYPED ENTITIES
Proposition := well_formed_formula with truth value in {TRUE,FALSE} under valuation
Biconditional := Proposition × Proposition -> Proposition
Valuation := PropositionAtom -> {TRUE,FALSE}
ProofJudgement := Context × Proposition
3. CORE SEMANTICS
EVAL(P ↔ Q, v) := TRUE iff EVAL(P,v) = EVAL(Q,v)
EVAL(P ↔ Q, v) := EVAL((P -> Q) AND (Q -> P),v)
EVAL(P ↔ Q, v) := EVAL((P AND Q) OR (NOT P AND NOT Q),v)
4. TRUTH TABLE
P Q P ↔ Q
TRUE TRUE TRUE
TRUE FALSE FALSE
FALSE TRUE FALSE
FALSE FALSE TRUE
5. AXIOMS AND IDENTITIES (CLASSICAL PROPOSITIONAL LOGIC)
BICOND_REFLEXIVE: P ↔ P ≡ TRUE
BICOND_SYMMETRIC: (P ↔ Q) ≡ (Q ↔ P)
BICOND_TRANSITIVE: ((P ↔ Q) AND (Q ↔ R)) -> (P ↔ R)
BICOND_NEGATION: (P ↔ Q) ≡ (NOT P ↔ NOT Q)
BICOND_XNOR: (P ↔ Q) ≡ NOT (P XOR Q)
BICOND_TRUE: (P ↔ TRUE) ≡ P
BICOND_FALSE: (P ↔ FALSE) ≡ NOT P
6. RELATIONSHIP GRAPH
Biconditional --IS_A--> BinaryLogicalConnective
Biconditional --OPERATES_ON--> Proposition
Biconditional --EQUIVALENT_TO--> ConjunctionOfTwoImplications
Biconditional --NEGATION_OF--> ExclusiveDisjunction
Biconditional --EVALUATED_BY--> TruthTable
LogicalEquivalence --DEFINED_BY--> SameTruthValueUnderEveryValuation
7. EXECUTABLE INFERENCE FLOWS
flow BICONDITIONAL_INTRODUCTION(P,Q,proof_P_implies_Q,proof_Q_implies_P):
require proof_P_implies_Q establishes P -> Q
require proof_Q_implies_P establishes Q -> P
emit P ↔ Q
flow BICONDITIONAL_ELIMINATION_FORWARD(P,Q,proof_bicond,proof_P):
require proof_bicond establishes P ↔ Q
require proof_P establishes P
emit Q
flow BICONDITIONAL_ELIMINATION_REVERSE(P,Q,proof_bicond,proof_Q):
require proof_bicond establishes P ↔ Q
require proof_Q establishes Q
emit P
flow BICONDITIONAL_EVALUATE(P,Q,valuation):
require P,Q are well-formed propositions
p := EVAL(P,valuation)
q := EVAL(Q,valuation)
return (p == q)
flow EQUIVALENCE_CHECK(P,Q):
require finite set of propositional atoms in P,Q
for each total Boolean valuation v:
if EVAL(P,v) != EVAL(Q,v): return {equivalent:false,counterexample:v}
return {equivalent:true}
8. SEMANTIC DISTINCTIONS
- P ↔ Q is a formula whose truth depends on a valuation; P ≡ Q denotes equivalence across all valuations in the specified logic.
- Material biconditional is truth-functional; it does not itself assert causation, identity or temporal dependence.
- Logical equivalence differs from equality of objects and from semantic similarity.
- A biconditional is true when both sides are false as well as when both are true.
- Intuitionistic logic does not in general validate all classical rewrites; specify the logic profile.
9. VALIDATION
validate_arity: exactly_two_operands
validate_operand_type: Proposition
validate_truth_table: four_classical_cases
validate_introduction: two_directions_proven
validate_elimination: biconditional_and_corresponding_premise_present
validate_equivalence: all_relevant_valuations_checked_or_sound_proof_provided
validate_logic_profile: explicit
10. CONFIDENCE AND PROVENANCE
CONFIDENCE: 1.0 for stated classical truth table and standard identities; conditional on logic profile for generalisations.
PROVENANCE: standard mathematical logic formalisation, not a verbatim transcription of the linked page.
SEMANTIC_EQUIVALENCE: canonicalise (P ↔ Q) with operand-order independence for classical semantic matching; preserve original syntax separately.
UPDATE_MODEL: versioned; revalidate derived claims if axioms or logic profile change.
FLOW_HASH: SHA-256 of canonical UTF-8 serialisation of ontology_id, version, logic_profile, typed entities, axioms, inference rules and validation rules; compute at ingestion, not asserted here.
AI_CONSUMPTION: parse typed entities -> validate propositions -> select logic profile -> evaluate or infer -> return result with provenance and confidence.
11. EXAMPLE
P := 'n is divisible by 2'
Q := 'n is even'
Domain := integers
For every integer n, P ↔ Q is true by definition of evenness.
END FLOW ALGEBRA