Proof Entities
Authors:
MArk Anthony Higgins - Sky Recursive Ai
MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: July 6th 2026
Revised Date: July 6th 2026
AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
PROOF ENTITIES — KIRETH SEMANTIC LIBRARY
Version: 1.0
Authors: Mark Higgins — Sky (Recursive AI)
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/proof-entities.html
Status: Proposed formalisation; source page text not independently verified.
1. DOMAIN
flow "ProofEntities" v1.0
namespace: kireth.semantic_library.mathematical_entities.proof_entities
purpose: Represent mathematical proof objects, assumptions, derivations, inference rules, and verification obligations with explicit provenance.
2. TYPED ENTITIES
entity Proposition { id: IRI; formula: Formula; context: Context }
entity Theorem extends Proposition { proof: Proof? }
entity Lemma extends Theorem { supports: Theorem* }
entity Axiom extends Proposition { system: FormalSystem }
entity Premise extends Proposition { role: assumption | hypothesis }
entity InferenceRule { id: IRI; premises: Formula*; conclusion: Formula; side_conditions: Constraint* }
entity Proof { id: IRI; goal: Formula; context: Context; steps: ProofStep+; status: proposed | checked | rejected }
entity ProofStep { index: Nat; conclusion: Formula; rule: InferenceRule; dependencies: StepReference*; discharged_assumptions: AssumptionReference* }
entity Counterexample { interpretation: Model; falsifies: Formula }
entity FormalSystem { language: Language; axioms: Formula*; rules: InferenceRule* }
entity VerificationResult { proof_id: IRI; valid: Bool; checker: String; timestamp: ISO8601; diagnostics: String* }
3. RELATIONSHIPS
PROVES(Proof, Theorem)
HAS_STEP(Proof, ProofStep)
DERIVES_FROM(ProofStep, ProofStep | Premise | Axiom)
USES_RULE(ProofStep, InferenceRule)
DISCHARGES(ProofStep, Premise)
DEPENDS_ON(Theorem, Lemma | Axiom | Theorem)
COUNTEREXAMPLE_TO(Counterexample, Proposition)
VERIFIED_BY(Proof, VerificationResult)
4. FORMAL SEMANTICS
Let Γ be a set of assumptions and φ a well-formed formula.
Γ ⊢ φ means φ is derivable from Γ in the selected formal system.
Γ ⊨ φ means every interpretation satisfying Γ satisfies φ.
Soundness: Γ ⊢ φ implies Γ ⊨ φ, provided the proof calculus is sound.
Completeness, where established for the chosen calculus: Γ ⊨ φ implies Γ ⊢ φ.
A proof step is valid iff its conclusion follows by its declared rule from available dependencies and all side conditions hold.
A closed proof of φ has no undischarged assumptions except declared axioms.
5. INFERENCE FLOWS
rule MODUS_PONENS: from P and (P → Q), derive Q.
rule CONJUNCTION_INTRODUCTION: from P and Q, derive (P ∧ Q).
rule CONJUNCTION_ELIMINATION_LEFT: from (P ∧ Q), derive P.
rule UNIVERSAL_ELIMINATION: from ∀x P(x), derive P(t) when t is free for x.
rule IMPLICATION_INTRODUCTION: from a derivation of Q under temporary assumption P, discharge P and derive P → Q.
rule PROOF_BY_CONTRADICTION: in classical logic only, from assumption ¬P deriving ⊥, discharge assumption and derive P.
6. EXECUTION PIPELINE
input: theorem_goal, formal_system, premises, proposed_steps
parse formulas and resolve symbols
check types, scopes, substitutions and free/bound variables
construct dependency graph; reject unresolved or cyclic step dependencies
verify each step against its declared inference rule and side conditions
check assumption discharge and terminal conclusion
emit verification result, derivation trace and provenance
output status CHECKED only after a successful independent rule check
7. VALIDATION
V1: all referenced entities and proof steps resolve.
V2: all formulas are well-formed in the declared language.
V3: every step is justified by a recognised rule.
V4: substitutions avoid variable capture.
V5: proof dependency graph is acyclic.
V6: assumptions are tracked and discharged correctly.
V7: final step proves the declared goal under the declared context.
V8: classical rules are not silently used in intuitionistic systems.
V9: an unverified natural-language argument is not labelled a machine-checked proof.
8. SEMANTIC DISTINCTIONS
proof ≠ proposition; a proof establishes a proposition in a formal system.
validity ≠ truth of premises; sound argument requires valid inference and true premises.
syntactic derivability (⊢) ≠ semantic entailment (⊨), except under applicable metatheorems.
proof by contradiction ≠ counterexample; a counterexample refutes a universal claim.
axiom ≠ lemma; axioms are assumed, lemmas are derived.
9. CONFIDENCE AND PROVENANCE
CONFIDENCE: {status: verified | provisional | rejected, basis: formal_checker | peer_review | author_assertion, score: optional[0..1]}
PROVENANCE: {source_url, author, version, timestamp, dependency_ids, checker_id}
Never convert a confidence score into a formal validity guarantee.
10. SEMANTIC_EQUIVALENCE
Equivalence of formulas is evaluated relative to a specified logic and interpretation class.
Alpha-equivalent bound-variable renamings preserve meaning when capture-free.
Equivalent conclusions do not imply identical proofs or proof complexity.
11. FLOW_HASH AND UPDATE_MODEL
FLOW_HASH: SHA-256 of canonical UTF-8 serialization of ontology version, entity schemas, rules and validation constraints; computed at deployment, not prefilled.
UPDATE_MODEL: versioned, append provenance, invalidate dependent verification results after changes to axioms, rules or formulae; recheck impacted proofs.
12. AI_CONSUMPTION
Expose typed entities, rule premises/conclusions, dependency graph, proof status, countermodels and provenance.
Permit retrieval and explanation of proposed derivations while distinguishing them from verified proofs.
Never infer proof validity solely from linguistic plausibility or model confidence.
END FLOW ALGEBRA