AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
IMPLICATION ONTOLOGY
Kireth Semantic Library | Mathematical Entities | Logical Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/logical-entities/implication-ontology-3.html
Authors: Mark Higgins — Sky (Recursive AI)
Version: 1.0 | 2026-10-14 | Locale: en-GB
Status: Proposed formalisation; source-page text not independently verified.
1. PURPOSE
Represent material implication, its truth conditions, syntactic structure, proof rules and semantic relationships without conflating implication with causation or entailment.
2. TYPED ENTITIES
Proposition := formula with a truth value under an interpretation.
Antecedent := Proposition.
Consequent := Proposition.
Implication := (antecedent: Proposition, consequent: Proposition).
Valuation := Proposition -> {TRUE,FALSE}.
Interpretation := assignment of meanings and truth values.
InferenceRule := premises -> conclusion, with stated logical system.
3. CORE SEMANTICS
IMPLIES(P,Q) := (NOT P) OR Q.
TRUTH(P -> Q) is FALSE exactly when P is TRUE and Q is FALSE.
Truth table:
P Q | P -> Q
T T | T
T F | F
F T | T
F F | T
4. ALGEBRAIC IDENTITIES (CLASSICAL PROPOSITIONAL LOGIC)
P -> Q <=> NOT P OR Q.
P -> Q <=> NOT Q -> NOT P. [contraposition]
NOT(P -> Q) <=> P AND NOT Q.
P -> Q <=> NOT(P AND NOT Q).
P <-> Q <=> (P -> Q) AND (Q -> P).
(P -> Q) AND (Q -> R) entails (P -> R).
5. PROOF RULES
MODUS_PONENS: {P, P -> Q} |- Q.
MODUS_TOLLENS: {P -> Q, NOT Q} |- NOT P.
HYPOTHETICAL_SYLLOGISM: {P -> Q, Q -> R} |- P -> R.
IMPLICATION_INTRODUCTION: if assuming P permits a derivation of Q, discharge the assumption and infer P -> Q (within the chosen natural-deduction system).
INVALID: {P -> Q, Q} |- P [affirming the consequent].
INVALID: {P -> Q, NOT P} |- NOT Q [denying the antecedent].
6. TYPED RELATIONSHIPS
Implication --HAS_ANTECEDENT--> Proposition.
Implication --HAS_CONSEQUENT--> Proposition.
Implication --EQUIVALENT_TO--> Disjunction(NOT P,Q) [classical].
Implication --CONTRAPOSITIVE_OF--> Implication(NOT Q,NOT P) [classical].
Implication --EVALUATED_BY--> Valuation.
InferenceRule --OPERATES_ON--> Proposition.
7. EXECUTABLE FLOW
flow EvaluateImplication(P: bool, Q: bool) -> bool:
return (not P) or Q
flow ValidateModusPonens(P: bool, implication: bool, Q: bool) -> bool:
if P and implication:
return Q
return true # rule imposes no conclusion when premises are not both true
flow InferConsequent(known: set[Formula], rule: Implication) -> set[Formula]:
if rule.antecedent in known and rule in known:
return known union {rule.consequent}
return known
8. SEMANTIC DISTINCTIONS
Material implication is truth-functional; it does not assert causal influence.
Object-language P -> Q differs from metalanguage semantic entailment Gamma |= Q.
Logical implication does not require temporal ordering.
The converse Q -> P is not generally equivalent to P -> Q.
Contraposition is valid in classical logic but requires care across nonclassical logics.
A false antecedent makes a material implication true, without establishing its consequent.
9. VALIDATION
V1: Every implication has exactly one antecedent and one consequent.
V2: Inputs are well-formed propositions in the selected logic.
V3: Truth table matches the four classical valuations.
V4: Distinguish ->, <->, |- and |= in parsed expressions.
V5: Inference outputs record premises and proof-rule provenance.
V6: Flag converse/causal interpretations as unsupported unless independently justified.
10. CONFIDENCE AND SEMANTIC EQUIVALENCE
CONFIDENCE: formal logical identities = high within classical semantics; context-specific claims require evidence.
SEMANTIC_EQUIVALENCE: canonicalise P -> Q as NOT P OR Q only when classical truth-functional semantics are declared.
11. FLOW HASH
FLOW_HASH := SHA256(UTF8(canonical_form(ontology_id, version, logic_system, entity_types, relationships, rules, validation))).
Hash value must be computed from a canonical serialisation; none is asserted here.
12. UPDATE MODEL
On rule change: increment version, rerun truth-table and proof-rule checks, recompute FLOW_HASH, preserve prior versions and provenance.
13. AI CONSUMPTION
AI_CONSUMPTION:
ontology_id: logical-entities/implication-ontology-3
entity_type: LogicalImplication
logic_system: classical_propositional_logic
operations: [evaluate, normalise, validate, infer]
outputs: [truth_value, derived_propositions, provenance, validation_status]
safeguards: [no_causal_inference, no_converse_inference, logic_system_required]
END FLOW ALGEBRA