Skip to main content

Algebraic Entity Ontology

Algebraic Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 13 October 2026
Audio Overview
FLOW ALGEBRA
TITLE: Algebraic Entity Ontology
VERSION: 4.0
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/algebraic-entities/algebraic-entity-ontology.html
STATUS: Independently constructed mathematical ontology; source-page correspondence unverified.
AUTHORS: Mark Higgins — Sky (Recursive AI)
PROJECT: Kireth Semantic Library

01. ONTOLOGY IDENTITY
ONTOLOGY_ID: KSL.MATH.ALGEBRA.ALGEBRAIC_ENTITY
ROOT_ENTITY: AlgebraicEntity
PARENT_CLASS: MathematicalEntity
DOMAIN: AbstractAlgebra
SCOPE: Sets equipped with specified operations, constants, relations and axioms.

02. TYPED ENTITY MODEL
TYPE CarrierSet = Set[Element]
TYPE Arity = NaturalNumber
TYPE Operation[n] = TotalFunction[CarrierSet^n, CarrierSet]
TYPE PartialOperation[n] = PartialFunction[CarrierSet^n, CarrierSet]
TYPE Relation[n] = Subset[CarrierSet^n]
TYPE Constant = Element
TYPE Signature = (OperationSymbols, RelationSymbols, ConstantSymbols, ArityMap)
TYPE Axiom = WellFormedFormula[Signature]
TYPE AlgebraicStructure = (CarrierSet, Signature, Interpretation, AxiomSet)
TYPE AlgebraicEntity = AlgebraicStructure | AlgebraicElement | AlgebraicExpression | AlgebraicMorphism
TYPE Homomorphism = Function[CarrierSet_A, CarrierSet_B]
TYPE Substructure = AlgebraicStructure
TYPE Congruence = EquivalenceRelation[CarrierSet]
TYPE QuotientStructure = AlgebraicStructure

03. CORE DEFINITIONS
DEFINE AlgebraicStructure(A) := A has a nonempty carrier (unless signature and convention explicitly permit empty structures), interpreted operations and relations, and declared axioms.
DEFINE ClosedOperation(op,A) := forall x in A^arity(op), op(x) in A.
DEFINE Associative(op) := forall a,b,c, op(op(a,b),c)=op(a,op(b,c)).
DEFINE Commutative(op) := forall a,b, op(a,b)=op(b,a).
DEFINE Identity(e,op) := forall a, op(e,a)=a and op(a,e)=a.
DEFINE Inverse(b,a,e,op) := op(a,b)=e and op(b,a)=e.
DEFINE Distributive(mul,add) := mul(a,add(b,c))=add(mul(a,b),mul(a,c)) and mul(add(a,b),c)=add(mul(a,c),mul(b)).
DEFINE Idempotent(op) := forall a, op(a,a)=a.
DEFINE Homomorphism(f,A,B) := for each operation symbol omega of arity n, f(omega_A(x1,...,xn))=omega_B(f(x1),...,f(xn)); preserve constants and relations where required by morphism type.
DEFINE Isomorphism(f,A,B) := Homomorphism(f,A,B) and f is bijective and its inverse preserves the full interpreted signature.
DEFINE Subalgebra(B,A) := carrier(B) subset carrier(A), operations restrict to B, constants belong to B, and signature matches.
DEFINE Congruence(theta,A) := theta is an equivalence relation compatible with every basic operation.
DEFINE Quotient(A,theta) := equivalence classes of theta with well-defined induced operations.

04. CLASSIFICATION
CLASS Magma EXTENDS AlgebraicStructure: one closed binary operation.
CLASS Semigroup EXTENDS Magma: associative operation.
CLASS Monoid EXTENDS Semigroup: two-sided identity.
CLASS Group EXTENDS Monoid: every element has a two-sided inverse.
CLASS AbelianGroup EXTENDS Group: commutative operation.
CLASS Ring EXTENDS AlgebraicStructure: additive abelian group, associative multiplication, and distributivity (unity optional by convention).
CLASS CommutativeRing EXTENDS Ring: commutative multiplication.
CLASS IntegralDomain EXTENDS CommutativeRing: nonzero, unity, no zero divisors.
CLASS Field EXTENDS CommutativeRing: nonzero elements form an abelian group under multiplication, with 0 != 1.
CLASS Module EXTENDS AlgebraicStructure: abelian additive group with compatible scalar action by a ring.
CLASS VectorSpace EXTENDS Module: scalars form a field.
CLASS AlgebraOverField EXTENDS VectorSpace: bilinear internal multiplication.
CLASS Lattice EXTENDS AlgebraicStructure: meet and join satisfy lattice identities.
CLASS BooleanAlgebra EXTENDS Lattice: bounded, distributive, complemented lattice.
CLASS Semiring EXTENDS AlgebraicStructure: additive commutative monoid, multiplicative monoid, distributivity and absorbing additive zero (standard unital convention).

05. RELATIONSHIP GRAPH
REL AlgebraicEntity IS_A MathematicalEntity
REL AlgebraicStructure HAS_CARRIER CarrierSet
REL AlgebraicStructure HAS_SIGNATURE Signature
REL Signature DECLARES Operation
REL Signature DECLARES Relation
REL AlgebraicStructure SATISFIES Axiom
REL Group SPECIALISES Monoid
REL Monoid SPECIALISES Semigroup
REL Semigroup SPECIALISES Magma
REL AbelianGroup SPECIALISES Group
REL Field SPECIALISES CommutativeRing
REL VectorSpace SPECIALISES Module
REL Substructure SUBSTRUCTURE_OF AlgebraicStructure
REL Homomorphism MAPS_STRUCTURE_TO AlgebraicStructure
REL Isomorphism PRESERVES_STRUCTURE_OF AlgebraicStructure
REL Congruence INDUCES QuotientStructure
REL AlgebraicExpression EVALUATES_IN AlgebraicStructure

06. INFERENCE RULES
RULE R01: Group(A) => Monoid(A) and Semigroup(A) and Magma(A).
RULE R02: AbelianGroup(A) => Group(A) and Commutative(operation(A)).
RULE R03: Field(A) => IntegralDomain(A) [under standard unital commutative-ring conventions].
RULE R04: VectorSpace(V,F) => Module(V,F) and Field(F).
RULE R05: Monoid(A) => exists e Identity(e,operation(A)).
RULE R06: Group(A) => forall a exists b Inverse(b,a,e,operation(A)).
RULE R07: Homomorphism(f,A,B) and Homomorphism(g,B,C) => Homomorphism(g o f,A,C).
RULE R08: Isomorphism(f,A,B) => A and B satisfy the same first-order sentences in their common signature.
RULE R09: Subalgebra(B,A) and Subalgebra(C,B) => Subalgebra(C,A).
RULE R10: Congruence(theta,A) => Quotient(A,theta) has well-defined induced operations.
RULE R11: Ring(A) => additive_structure(A) is AbelianGroup.
RULE R12: IntegralDomain(A) and finite(carrier(A)) => Field(A).
RULE R13: Field(A) => nonzero_multiplicative_elements(A) form AbelianGroup.
RULE R14: BooleanAlgebra(A) => Distributive(meet,join) and Distributive(join,meet).
RULE R15: Isomorphism(f,A,B) and Isomorphism(g,B,C) => Isomorphism(g o f,A,C).
RULE R16: Homomorphism(f,A,B) and Surjective(f) => B is homomorphic image of A.
RULE R17: Homomorphism(f,A,B) => kernel(f) is a congruence for universal algebras with operation-only signatures.
RULE R18: Homomorphism(f,A,B) and Injective(f) => f embeds A into B [when all required relations are reflected].
RULE R19: Group(A) and finite(carrier(A)) => order(a) divides |A| for every a in A.
RULE R20: CommutativeRing(A) and Unity(A) and forall a != 0 MultiplicativelyInvertible(a) and 0 != 1 => Field(A).

07. VALIDATION CONSTRAINTS
CHECK V01: Every operation has a declared arity, domain and codomain.
CHECK V02: Every claimed total operation is closed on the carrier.
CHECK V03: Quantifiers specify the relevant carrier and scope.
CHECK V04: Axioms use symbols present in the signature.
CHECK V05: Do not infer associativity from closure.
CHECK V06: Do not infer commutativity from associativity.
CHECK V07: Do not infer existence of inverses from identity alone.
CHECK V08: Distinguish ring-with-unity from ring-without-unity conventions.
CHECK V09: Distinguish additive and multiplicative identities.
CHECK V10: A quotient requires a congruence, not an arbitrary equivalence relation.
CHECK V11: Homomorphism preservation conditions must match the chosen signature.
CHECK V12: Empty carriers require explicit convention and compatible constants.
CHECK V13: Distinguish abstract structures from their representations.
CHECK V14: Keep theorem hypotheses attached to derived conclusions.

08. CANONICAL EXAMPLES
EXAMPLE E01: (Z,+) is an abelian group; identity 0; inverse of n is -n.
EXAMPLE E02: (N_0,+) is a commutative monoid but not a group.
EXAMPLE E03: (Z,+,*) is a commutative integral domain but not a field.
EXAMPLE E04: (Q,+,*) is a field.
EXAMPLE E05: (R^n,+,scalar_multiplication) is a vector space over R.
EXAMPLE E06: (P(S),union,intersection,complement,empty,S) is a Boolean algebra.
EXAMPLE E07: Mat_2(R) is a noncommutative unital ring under matrix addition and multiplication.
EXAMPLE E08: (Z/nZ,+) is a finite abelian group for n >= 1.
EXAMPLE E09: (Z/5Z,+,*) is a field; (Z/6Z,+,*) is not a field.
EXAMPLE E10: (strings,concatenation,empty_string) is a monoid, generally noncommutative.

09. SEMANTIC EQUIVALENCE
EQUIV AlgebraicStructure ~ AlgebraWithSignatureAndAxioms [context: universal algebra].
EQUIV StructurePreservingMap ~ Homomorphism [only after signature-specific conditions are fixed].
EQUIV BijectiveStructureIsomorphism ~ Isomorphism.
NOT_EQUIV Magma != Group.
NOT_EQUIV Ring != Field.
NOT_EQUIV Module != VectorSpace without field scalars.
NOT_EQUIV Isomorphism != EqualityOfUnderlyingSets.
NOT_EQUIV Congruence != ArbitraryEquivalenceRelation.

10. KNOWLEDGE GRAPH TRIPLES
TRIPLE (AlgebraicEntity, subclassOf, MathematicalEntity)
TRIPLE (Group, subclassOf, Monoid)
TRIPLE (Monoid, subclassOf, Semigroup)
TRIPLE (Semigroup, subclassOf, Magma)
TRIPLE (Field, subclassOf, IntegralDomain)
TRIPLE (VectorSpace, subclassOf, Module)
TRIPLE (AlgebraicStructure, hasPart, CarrierSet)
TRIPLE (AlgebraicStructure, hasPart, Signature)
TRIPLE (AlgebraicStructure, constrainedBy, AxiomSet)
TRIPLE (Congruence, enablesConstruction, QuotientStructure)
TRIPLE (Isomorphism, preserves, AlgebraicStructure)

11. CONFIDENCE
CONFIDENCE mathematical_core: HIGH [standard abstract-algebra definitions with declared conventions].
CONFIDENCE source_page_alignment: UNVERIFIED [source text not retrieved].
CONFIDENCE derived_claim: REQUIRE_PROOF_OR_CITATION.
CONFIDENCE classification: CONDITIONAL_ON_AXIOMS.

12. FLOW HASH
FLOW_HASH.algorithm: SHA-256
FLOW_HASH.input: canonical UTF-8 bytes of this flow after excluding any stored hash value.
FLOW_HASH.value: COMPUTE_AT_INGESTION
FLOW_HASH.purpose: detect changes, deduplicate versions, support provenance.

13. UPDATE MODEL
UPDATE_MODEL.version: 4.0
UPDATE_MODEL.policy: append revision with timestamp, source, editor and change reason.
UPDATE_MODEL.validation: rerun type checks, axiom checks, theorem hypotheses and examples.
UPDATE_MODEL.compatibility: preserve stable ontology identifiers; version breaking signature changes.
UPDATE_MODEL.provenance: keep original source URL and independent-construction flag.

14. AI CONSUMPTION
AI_CONSUMPTION.mode: typed semantic retrieval and mathematical reasoning.
AI_CONSUMPTION.pipeline: parse -> normalise -> typecheck -> resolve signature -> verify axioms -> infer -> validate -> explain.
AI_CONSUMPTION.guardrail: never infer a stronger algebraic structure without satisfying its defining axioms.
AI_CONSUMPTION.guardrail: retain assumptions for theorems and derived relations.
AI_CONSUMPTION.guardrail: distinguish examples, definitions, axioms and proven consequences.
AI_CONSUMPTION.output: entity IDs, relations, assumptions, evidence, confidence, proof obligations.
AI_CONSUMPTION.failure: UNKNOWN when axioms or conventions are insufficient.

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