AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
DISJUNCTION ONTOLOGY
Kireth Semantic Library | Mathematical Entities | Logical Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/logical-entities/disjunction-ontology-2.html
Authors: Mark Higgins — Sky (Recursive AI)
Status: Proposed formalisation; source page wording not independently verified.
Version: 1.0 | Date: 2026-10-14
1. PURPOSE
Represent logical disjunction (inclusive OR), its truth conditions, algebraic laws, proof rules and machine-readable semantic relations. Classical two-valued propositional logic is the default context. Alternative logics require explicit semantics.
2. TYPED ENTITIES
Proposition := well_formed_formula with a truth value under interpretation.
Disjunction := BinaryConnective(Proposition, Proposition) -> Proposition.
Operand := Proposition.
TruthValue := {TRUE, FALSE}.
Interpretation := mapping from atomic propositions to TruthValue.
Formula := atomic proposition | NOT Formula | (Formula OR Formula) | other well-formed constructions.
ProofContext := set of assumptions.
Inference := premise formulas + rule -> conclusion formula.
3. CORE SEMANTICS
For propositions P,Q under classical valuation v:
v(P OR Q) = TRUE iff v(P)=TRUE or v(Q)=TRUE (including both).
v(P OR Q) = FALSE iff v(P)=FALSE and v(Q)=FALSE.
Symbolic notation: P ∨ Q.
Truth table:
P Q P ∨ Q
FALSE FALSE FALSE
FALSE TRUE TRUE
TRUE FALSE TRUE
TRUE TRUE TRUE
4. ALGEBRAIC IDENTITIES (CLASSICAL LOGIC)
Commutativity: P ∨ Q ≡ Q ∨ P.
Associativity: (P ∨ Q) ∨ R ≡ P ∨ (Q ∨ R).
Idempotence: P ∨ P ≡ P.
Identity: P ∨ FALSE ≡ P.
Domination: P ∨ TRUE ≡ TRUE.
Excluded middle: P ∨ ¬P ≡ TRUE (classical logic).
Absorption: P ∨ (P ∧ Q) ≡ P.
Distributivity: P ∨ (Q ∧ R) ≡ (P ∨ Q) ∧ (P ∨ R).
De Morgan: ¬(P ∨ Q) ≡ ¬P ∧ ¬Q.
Implication equivalence: P → Q ≡ ¬P ∨ Q (classical material implication).
5. TYPED RELATIONSHIPS
Disjunction --HAS_OPERAND--> Proposition [cardinality 2, positional].
Disjunction --EVALUATES_UNDER--> Interpretation.
Disjunction --RETURNS--> TruthValue.
Disjunction --IS_A--> LogicalConnective.
Disjunction --DUAL_OF--> Conjunction [under Boolean negation].
Disjunction --SEMANTICALLY_EQUIVALENT_TO--> Formula [requires logic context and proof].
Inference --USES_RULE--> OrIntroduction | OrElimination.
6. INFERENCE FLOWS
rule OR_INTRO_LEFT:
input: derivation(P)
output: derivation(P ∨ Q)
rule OR_INTRO_RIGHT:
input: derivation(Q)
output: derivation(P ∨ Q)
rule OR_ELIM:
input: derivation(P ∨ Q), derivation(R under assumption P), derivation(R under assumption Q)
output: derivation(R)
constraint: discharge the branch assumptions according to proof calculus.
rule OR_EVAL:
input: valuation(P), valuation(Q)
output: valuation(P ∨ Q) := valuation(P) OR valuation(Q)
rule DE_MORGAN_OR:
input: ¬(P ∨ Q)
output: ¬P ∧ ¬Q
context: classical or other logic validating this equivalence.
7. SEMANTIC DISTINCTIONS
Inclusive OR (∨) is true when both operands are true; exclusive OR (XOR) is not.
Logical OR differs from natural-language 'or', which can be contextually exclusive.
Disjunction is a formula connective, not set union, though Boolean-set interpretations are related.
Classical excluded middle must not be silently transferred to intuitionistic or other nonclassical logics.
8. VALIDATION
- Require exactly two well-formed operands for the binary operator.
- Require a declared logic system and valuation semantics.
- Verify all four truth-table rows in classical two-valued logic.
- Check equivalence claims by exhaustive truth tables or sound derivations.
- Reject XOR substitution for inclusive OR.
- Record proof context and discharged assumptions for OR elimination.
- Flag nonclassical identity use without a matching logic declaration.
9. CONFIDENCE AND PROVENANCE
CONFIDENCE: 1.0 for stated classical truth-table identities within their declared assumptions; not a measure of empirical certainty.
SOURCE_URL: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/logical-entities/disjunction-ontology-2.html
PROVENANCE_STATUS: independently constructed mathematical formalisation, not a verbatim page extraction.
SEMANTIC_EQUIVALENCE: use truth-functional equivalence within a specified logic.
10. FLOW_HASH / UPDATE_MODEL
FLOW_HASH := SHA256(canonical UTF-8 serialisation of ontology_id, version, axioms, rules and relationships); compute at ingestion, never fabricate a digest.
UPDATE_MODEL := semantic-versioned revision with timestamp, provenance, change log, and revalidation of affected rules.
11. AI_CONSUMPTION
Input: {logic_system, propositions, interpretation?, proof_context?, task}.
Tasks: EVALUATE, NORMALISE, PROVE, COMPARE, VALIDATE.
Output: {formula, result, applicable_rules, assumptions, confidence, provenance, validation_status}.
Guardrails: distinguish truth from confidence, inclusive OR from XOR, and classical from nonclassical semantics.
END FLOW ALGEBRA