AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
PROOF CERTIFICATE ONTOLOGY
Kireth Semantic Library | Entity Graph > Mathematical Entities > Proof Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/proof-entities/proof-certificate-ontology.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 a proof certificate as a finite, inspectable artefact that supplies evidence for a formal claim under an explicitly identified logic, theory, proof system and checker. A certificate is not equivalent to a verified theorem until its checking obligations are discharged.
2. TYPED ENTITIES
entity Claim {id: URI, formula: Formula, context: Context}
entity Theory {id: URI, axioms: Set[Formula], signature: Signature}
entity ProofSystem {id: URI, rules: Set[InferenceRule], logic: Logic}
entity ProofCertificate {id: URI, claim: Claim, theory: Theory, system: ProofSystem, payload: Bytes|ProofTerm|DerivationDAG, format: String, provenance: Provenance}
entity ProofStep {id: URI, premises: List[StepRef|AxiomRef|AssumptionRef], conclusion: Formula, rule: InferenceRule}
entity ProofChecker {id: URI, version: String, supportedFormats: Set[String], trustedRules: Set[InferenceRule]}
entity VerificationResult {certificate: URI, checker: URI, status: PASS|FAIL|UNKNOWN, diagnostics: List[String], checkedAt: Timestamp}
entity Provenance {producer: String, generatedAt: Timestamp, source: URI?, dependencies: List[URI]}
3. FORMAL SEMANTICS
Let Gamma be the context of assumptions, T the theory and phi the target claim.
Judgement: T; Gamma |- phi.
check(C, T, Gamma, phi, K) = PASS only if K parses C, matches the declared goal and context, validates every referenced axiom/rule and verifies the concluding judgement.
PASS entails a syntactic derivation relative to the checker's trusted kernel and declared assumptions; semantic truth requires soundness of the proof system and appropriate interpretation of those assumptions.
4. RELATIONSHIPS
ProofCertificate --CERTIFIES--> Claim
ProofCertificate --USES_THEORY--> Theory
ProofCertificate --USES_PROOF_SYSTEM--> ProofSystem
ProofCertificate --CONTAINS--> ProofStep
ProofStep --DEPENDS_ON--> ProofStep|Axiom|Assumption
ProofChecker --CHECKS--> ProofCertificate
VerificationResult --REPORTS_ON--> ProofCertificate
ProofCertificate --HAS_PROVENANCE--> Provenance
5. INVARIANTS
I1: Every certificate identifies exactly one target claim, or explicitly declares a bundle of independent goals.
I2: Every referenced proof step, assumption and axiom resolves in the declared context.
I3: Acyclic derivation DAGs admit a topological checking order; cyclic proof formats require separately declared sound cyclic-proof rules.
I4: Each inference rule application satisfies its arity, substitution, typing and side conditions.
I5: The final derived formula is identical to or formally convertible to the target claim under declared conversion rules.
I6: Verification status UNKNOWN must never be promoted to PASS.
I7: Hash integrity verifies bytes only, not logical validity.
6. EXECUTABLE INFERENCE FLOWS
flow VerifyProofCertificate(C, K):
require schema_valid(C)
require supported(C.format, K)
require resolve(C.theory, C.system, C.claim)
for step in dependency_order(C.payload):
require references_resolve(step)
require rule_authorised(step.rule, C.system, K)
require rule_side_conditions_hold(step)
require derivation_valid(step)
require final_goal_matches(C.claim.formula)
emit VerificationResult(status=PASS)
on failed check: emit VerificationResult(status=FAIL, diagnostics=errors)
on unavailable resources or undecidable external obligation: emit VerificationResult(status=UNKNOWN)
flow CertificateReuse(C, newContext):
require verified(C)
require assumptions_preserved(C.claim.context, newContext)
require theory_and_rule_versions_compatible(C, newContext)
emit reusable(C) else require_reverification(C)
7. SEMANTIC DISTINCTIONS
Proof certificate != proof checker: evidence versus verifier.
Proof certificate != theorem: artefact versus proposition established in a theory.
Proof certificate != cryptographic certificate: logical derivation evidence versus identity/key attestation.
Proof certificate != test result: formal derivation versus finite empirical observations.
Valid certificate != assumption-free truth: conclusions remain relative to premises, axioms and trusted kernel.
8. CONFIDENCE AND VALIDATION
CONFIDENCE: VERIFIED only after independent checker PASS; PROPOSED before checking; REJECTED after a failed check; UNKNOWN when checking is incomplete.
Validate: identifier uniqueness, formula typing, assumption scope, rule side conditions, dependency resolution, checker compatibility, and provenance integrity.
Never infer a checker PASS solely from author claims, AI-generated text or a cryptographic hash.
9. SEMANTIC_EQUIVALENCE
Equivalent certificates may have different encodings or proof lengths while deriving the same judgement under equivalent contexts and theories. Equality of target statements does not imply equality of proof objects or trusted assumptions.
10. FLOW_HASH AND UPDATE_MODEL
FLOW_HASH: SHA-256 over canonical UTF-8 serialisation of ontology version, schema, rules, and certificate references; computed by an implementation, not asserted here.
UPDATE_MODEL: Any change to proof rules, axioms, goal, checker trust base or certificate payload invalidates prior verification cache unless formally shown compatible. Preserve versioned audit history.
11. AI_CONSUMPTION
Input: formal claim, theory, assumptions, proof format, certificate payload and checker configuration.
Output: typed certificate graph, derivation trace, verification status, diagnostics and provenance.
AI systems may propose certificates but must defer validity claims to a trusted checker. Expose unresolved assumptions and unverified dependencies.
12. EXAMPLE
Theory: propositional natural deduction.
Assumptions: P and P -> Q.
Step 1: P (assumption).
Step 2: P -> Q (assumption).
Step 3: Q (implication elimination from steps 1 and 2).
Goal: Q.
Result: A valid certificate relative to these assumptions if a compatible checker accepts the steps.
END FLOW ALGEBRA