AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
COROLLARY ONTOLOGY
Kireth Semantic Library | Mathematical Entities > Proof Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/proof-entities/corollary-ontology.html
Version: 1.0 | Locale: en-GB | Status: proposed formalisation (source wording not independently verified)
Authors: Mark Higgins — Sky (Recursive AI)
Website: https://kirethresearch.org
1. PURPOSE
Formalise a corollary as a mathematical proposition that follows by a valid, usually short derivation from an established theorem or other proved result. 'Immediate' is a conventional description, not a substitute for a proof.
2. TYPED ENTITIES
Corollary {id, statement:Formula, assumptions:Set[Formula], context:Theory, status:ProofStatus}
Theorem {id, statement:Formula, assumptions:Set[Formula], proof:Proof}
Lemma {id, statement:Formula, proof:Proof}
Proof {id, premises:List[Formula], steps:List[InferenceStep], conclusion:Formula}
InferenceStep {rule:InferenceRule, inputs:List[Formula], output:Formula}
Theory {signature:Signature, axioms:Set[Formula], inference_rules:Set[InferenceRule]}
ProofStatus := PROPOSED | VERIFIED | REFUTED | UNKNOWN
3. CORE RELATIONSHIPS
DERIVED_FROM(Corollary, Theorem|Lemma|Corollary)
HAS_ASSUMPTION(Corollary, Formula)
HAS_PROOF(Corollary, Proof)
DEPENDS_ON(Proof, Theorem|Lemma|Axiom)
ENTAILS(Set[Formula], Formula)
VALID_IN(Corollary, Theory)
CONTRADICTED_BY(Corollary, Countermodel)
4. FORMAL SEMANTICS
Let T be a theory, A a set of assumptions, t a previously proved statement and c a proposed corollary.
THEOREM_VALID: T |- t
COROLLARY_DERIVABLE: T, A, t |- c
SOUNDNESS_CONDITION: if the calculus is sound, T |= t and T,A,t |- c imply T,A |= c.
ASSUMPTION_DISCIPLINE: all hypotheses required for t and c must remain in scope.
COROLLARY_STATUS: VERIFIED only when a checkable derivation of c from licensed premises exists.
The relation DERIVED_FROM does not alone establish entailment.
5. INFERENCE RULES
R1 MODUS_PONENS: (p, p -> q) => q.
R2 UNIVERSAL_INSTANTIATION: (forall x P(x), admissible term a) => P(a).
R3 CONJUNCTION_ELIMINATION: (p and q) => p; (p and q) => q.
R4 TRANSITIVITY_OF_ENTAILMENT: (Gamma |- p, Gamma,p |- q) => Gamma |- q.
R5 COROLLARY_INTRODUCTION: (verified source theorem t, valid derivation t + assumptions |- c) => classify c as VERIFIED corollary of t.
R6 DEPENDENCY_PROPAGATION: invalidated or revised dependency => mark downstream verification as requiring recheck, not automatically false.
6. EXECUTABLE FLOW ALGEBRA (PSEUDOCODE)
flow "CorollaryVerification" v1.0:
input: theory T, sources S, candidate C, derivation D
require: well_formed(T, S, C, D)
require: every source in S has verified proof or is an axiom of T
require: assumptions(C) include all undischarged assumptions(D)
for step in D.steps:
require: rule_is_licensed(T, step.rule)
require: premises_available(step.inputs, S, D.previous_steps)
require: rule_application_valid(step)
require: D.conclusion alpha_equivalent C.statement
output: VERIFIED(C), DERIVED_FROM(C,S), proof_dependencies(D)
on failure: UNKNOWN(C), diagnostic_errors
7. SEMANTIC DISTINCTIONS
COROLLARY != THEOREM: both require valid justification; the label describes its role relative to an earlier result.
COROLLARY != LEMMA: a lemma generally supports a subsequent proof; a corollary is generally presented as a consequence.
COROLLARY != CONJECTURE: a conjecture is not yet proved.
COROLLARY != AXIOM: an axiom is assumed within a theory; a corollary is derived.
LOGICAL_ENTAILMENT != CAUSATION: derivability is not an empirical causal claim.
8. VALIDATION
V1 Every referenced source has an identifier and explicit verification status.
V2 All formulas are syntactically well formed under the declared signature.
V3 Variable capture and substitution side conditions are checked.
V4 Undischarged assumptions are preserved and recorded.
V5 No circular dependency is accepted as an independent proof.
V6 A proof-checking engine, not a confidence score, determines VERIFIED.
V7 Inconsistent premises must be flagged; classical explosion cannot be presented as substantive support without warning.
V8 Source changes trigger dependency revalidation.
9. SEMANTIC EQUIVALENCE
Two statements are semantically equivalent relative to T only if T |- (p <-> q), or another declared equivalence criterion is established.
Alpha-equivalence of bound-variable names is syntactic equivalence, not a general proof of logical equivalence.
10. CONFIDENCE AND PROVENANCE
CONFIDENCE: numerical confidence may describe extraction or metadata quality; it cannot replace formal proof.
PROVENANCE: retain source URL, theorem IDs, proof engine/version, assumptions, validation date and author credit.
UPDATE_MODEL: revision of an axiom, theorem or inference rule invalidates cached verification until checked again.
11. FLOW_HASH
FLOW_HASH := SHA-256(canonical UTF-8 serialisation of ontology version, signature, axioms, typed entities, rules and validation specification).
Exclude the FLOW_HASH field itself from canonical input. Recompute after any semantic change. A hash identifies content integrity, not mathematical truth.
12. AI_CONSUMPTION
Expose: ontology_id, concept, types, source, dependencies, assumptions, proof_status, derivation, semantic_relations, validation_report, flow_hash.
AI systems must distinguish VERIFIED from PROPOSED, surface assumptions and proof dependencies, and refrain from treating generated derivations as formally verified without checking.
END FLOW ALGEBRA