Skip to main content

Mathematical Statement Ontology

Equation and Statement Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 13 October 2026
Audio Overview
FLOW ALGEBRA
MATHEMATICAL STATEMENT ONTOLOGY
Kireth Semantic Library | Entity Graph | Mathematical Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/equation-and-statement-entities/mathematical-statement-ontology.html
Authors: Mark Higgins — Sky (Recursive AI)
Version: 1.0 | Date: 2026-10-13
Status: Mathematical and semantic reference model; source page not independently verified.

01. PURPOSE
flow "MathematicalStatementOntology" v1.0
  domain: mathematical_knowledge
  entity_type: MathematicalStatement
  purpose: represent, parse, validate and reason over mathematical propositions
  scope: syntax, semantics, context, truth conditions, proof and provenance

02. CORE TYPES
  MathematicalStatement := Expression + Context + Interpretation
  Proposition := MathematicalStatement with a well-defined truth value under an interpretation
  OpenFormula := formula with one or more free variables
  ClosedFormula := formula with no free variables
  Assertion := proposition claimed true in a stated context
  Conjecture := proposition proposed but not established
  Theorem := proposition supported by an accepted proof in a formal system
  Lemma := auxiliary proven proposition
  Corollary := proposition derived from an established result
  Axiom := proposition adopted without proof within a specified formal system
  Definition := stipulation introducing or fixing meaning; not automatically a theorem

03. SCHEMA
  statement.id: URI
  statement.label: string
  statement.formula: AST
  statement.notation: string
  statement.language: formal_language_id
  statement.free_variables: set<Symbol>
  statement.bound_variables: set<Symbol>
  statement.assumptions: set<Formula>
  statement.domain: DomainSpecification
  statement.interpretation: InterpretationID
  statement.quantifier_scope: AST
  statement.status: asserted | conjectured | proved | refuted | undecided | unknown
  statement.proof: optional ProofReference
  statement.counterexample: optional ExampleReference
  statement.provenance: SourceReference
  statement.version: string

04. SYNTAX AND FORMATION
  term := variable | constant | function(term*)
  atomic_formula := predicate(term*) | equality(term,term)
  formula := atomic_formula | NOT(formula) | AND(formula,formula)
           | OR(formula,formula) | IMPLIES(formula,formula)
           | IFF(formula,formula) | FORALL(variable,formula)
           | EXISTS(variable,formula)
  well_formed(statement) requires a valid parse and typed symbols
  preserve operator precedence, brackets, and quantifier scope

05. SEMANTIC INTERPRETATION
  eval(formula, model, assignment) -> true | false when defined
  eval(open_formula, model, assignment) depends on free-variable assignment
  eval(closed_formula, model) does not depend on free-variable assignment
  truth is relative to an interpretation/model unless logically valid
  logical_validity := true in every model of the specified logic
  satisfiable := true in at least one model
  contradiction := false in every model
  do not conflate truth, provability and empirical confirmation

06. STATEMENT CLASSES
  EqualityStatement: lhs = rhs
  InequalityStatement: lhs < rhs | lhs <= rhs | lhs > rhs | lhs >= rhs
  MembershipStatement: x IN A
  InclusionStatement: A SUBSET_EQ B
  ImplicationStatement: P -> Q
  EquivalenceStatement: P <-> Q
  QuantifiedStatement: FORALL x P(x) | EXISTS x P(x)
  ConditionalStatement: IF P THEN Q
  ExistenceStatement: EXISTS x P(x)
  UniquenessStatement: EXISTS_UNIQUE x P(x)
  IdentityStatement: equality valid throughout its stated domain

07. BINDING AND SCOPE
  free(x, P(x)) := true unless x is bound within P
  free(x, FORALL x P(x)) := false for occurrences bound by this quantifier
  alpha_equivalence: FORALL x P(x) ==alpha FORALL y P(y)
    only when renaming is capture-avoiding
  substitute(P,x,t) requires capture-avoiding substitution
  variable names alone do not establish semantic identity

08. LOGICAL CONNECTIVES
  NOT P: negation
  P AND Q: conjunction
  P OR Q: inclusive disjunction
  P -> Q: material implication in classical propositional logic
  P <-> Q: biconditional
  FORALL x P(x): universal quantification over declared domain
  EXISTS x P(x): existential quantification over declared domain
  mark logic_system explicitly when using nonclassical semantics

09. INFERENCE RULES
  modus_ponens: P, P -> Q |- Q
  modus_tollens: NOT Q, P -> Q |- NOT P
  conjunction_intro: P, Q |- P AND Q
  conjunction_elim: P AND Q |- P; P AND Q |- Q
  universal_instantiation: FORALL x P(x) |- P(t), if t is admissible
  existential_generalisation: P(t) |- EXISTS x P(x)
  equality_substitution: a = b permits substitution in valid contexts
  inference must track premises, side conditions and proof system

10. MATHEMATICAL TRANSFORMATIONS
  equivalence_preserving: P <-> Q under stated assumptions
  implication_preserving: P -> Q; converse not presumed
  domain_restriction: retain excluded values and assumptions
  squaring_both_sides: may introduce extraneous solutions
  multiplying_inequality_by_negative: reverse comparison direction
  division: divisor must be nonzero
  simplification: preserve variable domains and definedness

11. EXAMPLES
  closed_true: FORALL x IN Real, x*x >= 0
  open_formula: x + 2 = 5; truth depends on x
  conditional: x > 2 -> x > 1, for real x
  quantified: EXISTS n IN Integer, n*n = 9
  counterexample: FORALL x IN Real, x*x > 0 is false at x = 0
  context_sensitive: x/x = 1 requires x != 0

12. KNOWLEDGE GRAPH
  MathematicalStatement --hasFormula--> FormulaAST
  MathematicalStatement --usesSymbol--> Symbol
  MathematicalStatement --hasAssumption--> Assumption
  MathematicalStatement --hasDomain--> Domain
  MathematicalStatement --hasInterpretation--> Interpretation
  MathematicalStatement --dependsOn--> MathematicalStatement
  Theorem --supportedBy--> Proof
  RefutedStatement --hasCounterexample--> Counterexample
  MathematicalStatement --derivedFrom--> Source
  MathematicalStatement --semanticallyEquivalentTo--> MathematicalStatement
  MathematicalStatement --contradicts--> MathematicalStatement

13. SEMANTIC_EQUIVALENCE
  exact_syntactic: identical canonical syntax trees
  alpha_equivalent: identical modulo valid bound-variable renaming
  logically_equivalent: same truth value in all relevant interpretations
  context_equivalent: equivalent under recorded assumptions
  notation_equivalent: different surface notation with same parsed meaning
  do_not_equate: implication with biconditional; conjecture with theorem
  require: interpretation + domains + assumptions + side conditions

14. VALIDATION
  validate_parse: formula AST is well formed
  validate_types: operators accept typed operands
  validate_scope: bound and free variables correctly resolved
  validate_domain: all operations defined on stated domain
  validate_proof: each proof step follows accepted inference rules
  validate_counterexample: example satisfies assumptions and falsifies claim
  validate_provenance: source and revision recorded
  reject: division by zero, variable capture, unsupported proof status

15. CONFIDENCE
  confidence.formal_proof: 1.0 only relative to verified axioms and rules
  confidence.external_claim: evidence-calibrated, never automatically 1.0
  confidence.machine_inference: record rule, assumptions and verification
  confidence.unknown: null, not zero
  separate confidence in extraction from mathematical truth status

16. FLOW_HASH
  canonical_payload := canonicalise(AST, domains, assumptions, logic_system)
  FLOW_HASH := SHA256(UTF8(canonical_payload))
  hash identifies representation/version, not mathematical truth
  equivalent formulas may have distinct hashes unless normalised by a
  documented sound canonicalisation procedure

17. UPDATE_MODEL
  immutable_id: statement.id
  version_on_change: formula | assumptions | domain | interpretation | status
  preserve prior versions and provenance
  revalidate downstream statements when dependencies change
  log: timestamp, actor, reason, prior_hash, new_hash

18. AI_CONSUMPTION
  ingest: parse -> typecheck -> bind -> contextualise -> classify
  reason: retrieve premises -> apply sound rules -> verify conditions
  output: statement, status, assumptions, explanation, evidence
  uncertainty: distinguish unknown, undecidable, unproved and false
  never hallucinate a proof or silently discard domain restrictions

19. CROSS-ONTOLOGY LINKS
  parent: Equation and Statement Entities
  related: Equation Ontology; Identity Ontology; Inequality Ontology
  related: Mathematical Expression Ontology; Variable Ontology
  related: Bound Variable Ontology; Free Variable Ontology
  related: Logical Relationship Ontology; Proof Ontology

20. EXECUTION CONTRACT
  input: formula + symbol_table + assumptions + domain + logic_system
  output: typed_statement + validation_report + semantic_links
  errors: malformed_formula | unbound_symbol | type_mismatch
        | undefined_operation | invalid_inference | missing_context
  determinism: same canonical input and rule version -> same output

21. PROVENANCE AND AUTHORSHIP
  project: Kireth Semantic Library
  website: https://kirethresearch.org
  authors: Mark Higgins — Sky (Recursive AI)
  disclosure: AI-assisted ontology and Flow Algebra authoring
  note: This is a proposed formal model grounded in standard mathematics;
        the referenced webpage was not independently verified.

END FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ