Foundations of Mathematical 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
FOUNDATIONS OF MATHEMATICAL ENTITIES
Kireth Semantic Library | Entity Graph | Mathematical Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/foundations-of-mathematical-entities.html
Authors: Mark Higgins — Sky (Recursive AI)
Version: 1.0 | Date: 2026-10-12 | Locale: en-GB
Status: Expanded formal integration of the ten linked ontology families; not a transcription of embedded page specifications.
01. PURPOSE
flow FoundationsOfMathematicalEntities v1.0
goal: model mathematical entities, their types, structures, systems, domains, properties, relations, operations and representations.
interpretation: typed declarative rules with explicit preconditions, inference and validation.
open_world: true
distinction: mathematical truth is proof-dependent; confidence is confidence in an assertion or extraction, not a probability that a theorem is true.
02. TYPE UNIVERSE
type EntityID = URI
type OntologyID = URI
type Proposition = Formula
type Context = {theory: TheoryID, assumptions: Set[Proposition]}
type Evidence = {source: URI?, derivation: ProofID?, context: Context}
type Confidence = Real where 0 <= value <= 1
type Entity = {id: EntityID, kind: EntityKind, context: Context, provenance: Evidence}
enum EntityKind = MathematicalEntity | MathematicalObject | AbstractObject | MathematicalStructure | MathematicalSystem | MathematicalDomain | MathematicalProperty | MathematicalRelation | MathematicalOperation | MathematicalRepresentation
type Assertion = {subject: EntityID, predicate: RelationID, object: EntityID | Literal, evidence: Evidence, confidence: Confidence}
type Result[T] = Success(T) | Failure(Error)
03. ONTOLOGY MODULES
module MathematicalEntityOntology: universal identity, type membership and context
module MathematicalObjectOntology: numbers, sets, functions and other mathematical objects
module AbstractObjectOntology: non-physical identity and abstraction
module MathematicalStructureOntology: carriers, operations, relations and axioms
module MathematicalSystemOntology: axiomatic and deductive systems
module MathematicalDomainOntology: domain classification and disciplinary context
module MathematicalPropertyOntology: predicates and invariant characteristics
module MathematicalRelationOntology: arity, domain, codomain and relational semantics
module MathematicalOperationOntology: typed operations, partiality and closure
module MathematicalRepresentationOntology: syntax, notation, encodings and interpretation
04. GRAPH SCHEMA
node MathematicalEntity {id, kind, context, provenance}
node MathematicalStructure {id, carrier_sets, operations, relations, axioms}
node MathematicalSystem {id, language, axioms, inference_rules}
node MathematicalRepresentation {id, syntax, encoding, interpretation}
edge INSTANCE_OF(Entity, Type)
edge SUBTYPE_OF(Type, Type)
edge ELEMENT_OF(Object, Set)
edge HAS_PROPERTY(Entity, Property)
edge SATISFIES(Entity, Formula)
edge HAS_OPERATION(Structure, Operation)
edge HAS_RELATION(Structure, Relation)
edge HAS_AXIOM(System, Formula)
edge BELONGS_TO_DOMAIN(Entity, Domain)
edge REPRESENTS(Representation, Entity, Context)
edge ISOMORPHIC_TO(Structure, Structure, Mapping)
edge DERIVED_FROM(Assertion, Evidence)
05. IDENTITY AND CONTEXT
rule same_identity(a,b,c): accept iff a.id=b.id and identity_scope(a,c)=identity_scope(b,c).
rule equality(a,b,c): require a,b well-typed in c; establish using a valid equality proof in c.
rule context_guard(assertion,c): assertion.context.theory=c.theory and assumptions compatible with c.
invariant: same notation does not entail same object.
invariant: equality, equivalence and isomorphism are distinct predicates.
invariant: avoid collapsing syntactically different representations without semantic proof.
06. MATHEMATICAL OBJECTS
object Number: carrier-dependent numerical object
object Set: collection with extensional membership under a declared set theory
object Function: mapping from a domain to a codomain
object Sequence: function on an index set
object Matrix: indexed array over a specified carrier
object Graph: vertices and edges under an explicit graph convention
object Formula: well-formed expression in a formal language
rule type_check(x,T,c): derive INSTANCE_OF(x,T) only from an axiom, constructor or proved judgement.
rule function_apply(f,x): require x in domain(f); return y in codomain(f) with y=f(x).
07. ABSTRACT OBJECTS
abstract_identity: use definitions and identity criteria within the selected theory.
abstraction(source, equivalence_relation): quotient into equivalence classes when relation is proved reflexive, symmetric and transitive.
constraint: do not infer physical existence from abstract existence.
08. STRUCTURES
structure S = (carriers, operations, relations, constants, axioms)
well_formed(S): every symbol has a signature; all interpretations have correct types.
model_of(S,T): every axiom of theory T evaluates true under S's interpretation.
homomorphism(f,S,T): f preserves designated operations and constants.
isomorphism(f,S,T): homomorphism(f,S,T) and f bijective and inverse preserves structure.
invariant: isomorphic structures need not be identical objects.
09. SYSTEMS AND LOGIC
system T = (language, signature, axioms, inference_rules)
judgement T, Gamma |- phi: phi has a derivation from Gamma under T.
semantic_entailment T, Gamma |= phi: every model of T satisfying Gamma satisfies phi.
soundness: if derivable then entailed, only when soundness has been established.
completeness: if entailed then derivable, only when completeness has been established.
consistency: no formula and its negation are both derivable in the specified logic.
rule validate_proof(proof,T): verify each step against axioms and inference rules; reject missing premises.
10. DOMAINS
domain Algebra: groups, rings, fields, modules
domain Analysis: limits, continuity, differentiation, integration
domain Geometry: spaces, shapes, transformations
domain Topology: open sets, continuity, homeomorphism
domain Logic: languages, models, proofs
domain Probability: probability spaces, random variables
domain Statistics: estimators, inference, data models
domain DiscreteMathematics: graphs, combinatorics, finite structures
rule classify_domain(e,d): permit multiple domains with provenance; never assume exclusive membership.
11. PROPERTIES
property P = (signature, predicate, theory_context)
evaluate(P,x,c): Result[Boolean | Unknown]
rule property_transfer(P,a,b): require proven invariance of P under the declared mapping between a and b.
example: commutativity of binary operation * on carrier A iff forall x,y in A, x*y=y*x.
example: associativity iff forall x,y,z in A, (x*y)*z=x*(y*z).
unknown: absence of proof is not proof of negation.
12. RELATIONS
relation R: A1 x ... x An -> Boolean
reflexive(R,A): forall x in A, R(x,x)
symmetric(R,A): forall x,y in A, R(x,y) -> R(y,x)
transitive(R,A): forall x,y,z in A, R(x,y) and R(y,z) -> R(x,z)
antisymmetric(R,A): forall x,y in A, R(x,y) and R(y,x) -> x=y
equivalence_relation(R,A): reflexive and symmetric and transitive
partial_order(R,A): reflexive and antisymmetric and transitive
rule compose(R,S): require compatible middle carrier and preserve relation arity.
13. OPERATIONS
operation op: A1 x ... x An -> B | Partial[B]
execute(op,args,c): validate argument types, domain restrictions and preconditions.
closure(op,A): for every allowed input tuple from A, output belongs to A.
identity(op,e,A): forall x in A, op(e,x)=x and op(x,e)=x.
inverse(op,x,y,e): op(x,y)=e and op(y,x)=e.
example addition_Z: Integer x Integer -> Integer; closed, associative, commutative.
example division_R: Real x (Real excluding 0) -> Real; partial on Real x Real.
rule reject_undefined: if precondition false, return Failure(UndefinedOperation).
14. REPRESENTATION AND INTERPRETATION
representation r = {syntax, grammar, encoding, denotation_context}
parse(r): Result[AbstractSyntaxTree]
interpret(ast,c): Result[MathematicalEntity]
render(e,notation,c): Result[Representation]
semantic_equivalence(r1,r2,c): true iff interpretations are defined and proven equal or equivalent under explicitly named criterion.
invariant: symbol reuse across theories does not guarantee shared meaning.
invariant: textual similarity alone cannot establish mathematical equivalence.
15. INFERENCE ENGINE
input: Set[Assertion], Context, Rules
pipeline:
1 validate identifiers, types and ontology modules
2 normalise notation while retaining original representations
3 resolve contexts, axioms and dependencies
4 check operation signatures and relation arities
5 apply only rules whose preconditions are proved
6 record derivation DAG and provenance
7 detect contradictory assertions in the same context
8 return derived assertions, unresolved goals and errors
termination: bounded rule iteration or explicit fixed-point criterion.
invariant: never silently upgrade an unverified assertion into a theorem.
16. CONFIDENCE
CONFIDENCE(assertion) = calibrated evidence quality in [0,1].
confidence_sources: source reliability, parsing fidelity, provenance completeness, proof verification status.
proof_status: PROVED | DISPROVED | UNRESOLVED | INCONSISTENT_CONTEXT.
rule proof_priority: verified proof status takes precedence over probabilistic confidence scores.
rule do_not_conflate: 0.99 extraction confidence != 0.99 probability of mathematical truth.
17. SEMANTIC_EQUIVALENCE
SEMANTIC_EQUIVALENCE(a,b,c,criterion): Result[Boolean | Unknown]
criterion EXACT_DENOTATION: prove denotation(a,c)=denotation(b,c).
criterion LOGICAL_EQUIVALENCE: prove phi <-> psi in the declared theory.
criterion STRUCTURAL_ISOMORPHISM: exhibit and verify a bijective structure-preserving map.
criterion NOTATIONAL_ALIAS: verify a registered symbol mapping within c.
reject: missing context, undefined denotation, incompatible signatures or unproved criterion.
18. FLOW_HASH
canonicalise(flow): normalise schema keys, ordered declarations, rules and version; preserve mathematically meaningful order.
FLOW_HASH(flow) = SHA256(UTF8(canonicalise(flow)))
invariant: hash establishes byte-level canonical content identity, not mathematical truth.
record: {flow_id, version, hash_algorithm, canonicalisation_version, hash_value}.
19. UPDATE_MODEL
UPDATE_MODEL(current,change):
require authorised change and schema validation
compute affected dependency closure
invalidate derivations depending on changed premises
recheck types, axioms, proof obligations and representations
rebuild impacted inferences and provenance
issue new version and FLOW_HASH
return updated model with change log and unresolved obligations
invariant: no mutation of prior immutable published version.
20. AI_CONSUMPTION
AI_CONSUMPTION:
format: UTF-8 plain text with machine-readable typed declarations
consumers: semantic search, theorem assistants, knowledge graphs, educational tools
require: preserve context, evidence, proof status and uncertainty
forbid: invented proofs, implicit cross-theory equivalence, unsupported certainty
output: {entities, relationships, rules, derivations, unresolved, provenance, flow_hash}
21. EXAMPLE EXECUTION
context T = group_theory
declare G = (carrier, operation, identity, inverse)
assume G satisfies group axioms
given a in carrier
derive operation(a, inverse(a)) = identity by group inverse axiom
result: PROVED under T and assumptions
provenance: group inverse axiom; typed substitution
22. VALIDATION TESTS
test valid_group_inverse: PASS if group axiom and membership established.
test divide_by_zero: FAIL with UndefinedOperation.
test cross_context_equality: UNRESOLVED unless interpretation bridge supplied.
test false_isomorphism: FAIL when mapping not bijective or not structure-preserving.
test property_without_proof: UNRESOLVED, never silently TRUE.
test changed_axiom: invalidate dependent proofs and recompute.
test canonical_hash: identical canonical content produces identical digest.
23. INTEGRATION MAP
parent: Mathematical Entities
current: Foundations of Mathematical Entities
children:
- Mathematical Entity Ontology
- Mathematical Object Ontology
- Abstract Object Ontology
- Mathematical Structure Ontology
- Mathematical System Ontology
- Mathematical Domain Ontology
- Mathematical Property Ontology
- Mathematical Relation Ontology
- Mathematical Operation Ontology
- Mathematical Representation Ontology
cross_links: Set Theory, Algebra, Mathematical Logic, Proof Theory, Knowledge Representation.
24. QUALITY AND LIMITATIONS
All rule forms are formal specifications requiring an interpreter, ontology registry and proof checker for actual execution.
Mathematical examples are illustrative, not a claim that every child page contains these exact rules.
Page structure verified on 2026-10-12; embedded specifications not independently extracted.
END FLOW ALGEBRA