Skip to main content

Boolean Algebra 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
ONTOLOGY: Boolean Algebra Ontology
VERSION: 4.0
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/algebraic-entities/boolean-algebra-ontology-4.html
STATUS: Independently constructed mathematical model; source-page alignment not verified.
AUTHORS: Mark Higgins — Sky (Recursive AI)
PROJECT: Kireth Semantic Library
DATE: 2026-10-13

01. PURPOSE
Define Boolean algebras as complemented distributive bounded lattices, with typed entities, executable-style inference, constraints, semantic mappings and AI consumption semantics.

02. TYPES
TYPE BooleanAlgebra = (B, join, meet, complement, zero, one)
TYPE Element[B] = x where x in B
TYPE BinaryOperation[B] = B x B -> B
TYPE UnaryOperation[B] = B -> B
TYPE BooleanHomomorphism[A,C] = mapping preserving 0, 1, join, meet and complement
TYPE BooleanIdeal[B] = nonempty downward-closed subset closed under finite joins
TYPE BooleanFilter[B] = nonempty upward-closed subset closed under finite meets
TYPE Ultrafilter[B] = maximal proper filter
TYPE Atom[B] = minimal nonzero element
TYPE BooleanExpression = well-typed expression built from variables, 0, 1, join, meet, complement
TYPE TruthAssignment = variables -> {false,true}

03. CORE AXIOMS
AXIOM B != empty
AXIOM join, meet: B x B -> B
AXIOM complement: B -> B
AXIOM zero, one in B
AXIOM join(x,y) = join(y,x)
AXIOM meet(x,y) = meet(y,x)
AXIOM join(join(x,y),z) = join(x,join(y,z))
AXIOM meet(meet(x,y),z) = meet(x,meet(y,z))
AXIOM join(x,meet(x,y)) = x
AXIOM meet(x,join(x,y)) = x
AXIOM meet(x,join(y,z)) = join(meet(x,y),meet(x,z))
AXIOM join(x,meet(y,z)) = meet(join(x,y),join(x,z))
AXIOM join(x,zero) = x
AXIOM meet(x,one) = x
AXIOM join(x,complement(x)) = one
AXIOM meet(x,complement(x)) = zero
NOTE: The one-element algebra with zero=one is permitted unless explicitly excluded.

04. DERIVED IDENTITIES
LAW idempotent_join: join(x,x)=x
LAW idempotent_meet: meet(x,x)=x
LAW double_complement: complement(complement(x))=x
LAW de_morgan_join: complement(join(x,y))=meet(complement(x),complement(y))
LAW de_morgan_meet: complement(meet(x,y))=join(complement(x),complement(y))
LAW complement_zero: complement(zero)=one
LAW complement_one: complement(one)=zero
LAW domination_join: join(x,one)=one
LAW domination_meet: meet(x,zero)=zero
LAW order: x <= y iff meet(x,y)=x iff join(x,y)=y
LAW complement_order_reversal: x<=y implies complement(y)<=complement(x)
LAW distributivity: meet(x,join(y,z))=join(meet(x,y),meet(x,z))
LAW absorption: meet(x,join(x,y))=x
LAW consensus: join(meet(x,y),meet(x,complement(y)))=x
LAW symmetric_difference: xor(x,y)=join(meet(x,complement(y)),meet(complement(x),y))

05. RELATIONSHIP ONTOLOGY
REL BooleanAlgebra IS_A AlgebraicStructure
REL BooleanAlgebra IS_A BoundedDistributiveLattice
REL BooleanAlgebra HAS_OPERATION join
REL BooleanAlgebra HAS_OPERATION meet
REL BooleanAlgebra HAS_OPERATION complement
REL BooleanAlgebra HAS_CONSTANT zero
REL BooleanAlgebra HAS_CONSTANT one
REL BooleanAlgebra GENERALISES TwoElementBooleanAlgebra
REL PowerSetBooleanAlgebra INSTANCE_OF BooleanAlgebra
REL BooleanHomomorphism MAPS BooleanAlgebra TO BooleanAlgebra
REL BooleanIdeal SUBSTRUCTURE_OF BooleanAlgebra
REL BooleanFilter SUBSTRUCTURE_OF BooleanAlgebra
REL Ultrafilter SPECIALISES BooleanFilter
REL StoneSpace DUAL_TO BooleanAlgebra [Stone duality]
REL BooleanAlgebra APPLIED_IN PropositionalLogic
REL BooleanAlgebra APPLIED_IN DigitalCircuitDesign
REL BooleanAlgebra APPLIED_IN SetAlgebra
REL BooleanAlgebra APPLIED_IN DatabasePredicateLogic [two-valued fragment only]

06. VALIDATION
CHECK carrier_nonempty
CHECK operations_total_and_closed
CHECK constants_in_carrier
CHECK associativity_commutativity_absorption
CHECK both_distributive_laws
CHECK bounded_identity_laws
CHECK complement_laws
CHECK equality_decidable_or_proof_available
CHECK nontrivial_only_if_required: zero != one
CHECK distinguish_two_valued_logic_from_SQL_three_valued_NULL

07. FORMAL INFERENCE RULES
RULE 01 IF x in B THEN join(x,zero)=x
RULE 02 IF x in B THEN meet(x,one)=x
RULE 03 IF x in B THEN join(x,complement(x))=one
RULE 04 IF x in B THEN meet(x,complement(x))=zero
RULE 05 IF x in B THEN complement(complement(x))=x
RULE 06 IF x,y in B THEN join(x,y)=join(y,x)
RULE 07 IF x,y in B THEN meet(x,y)=meet(y,x)
RULE 08 IF x,y,z in B THEN join(x,join(y,z))=join(join(x,y),z)
RULE 09 IF x,y,z in B THEN meet(x,meet(y,z))=meet(meet(x,y),z)
RULE 10 IF x,y in B THEN join(x,meet(x,y))=x
RULE 11 IF x,y in B THEN meet(x,join(x,y))=x
RULE 12 IF x,y,z in B THEN meet(x,join(y,z))=join(meet(x,y),meet(x,z))
RULE 13 IF x,y,z in B THEN join(x,meet(y,z))=meet(join(x,y),join(x,z))
RULE 14 IF x in B THEN join(x,x)=x
RULE 15 IF x in B THEN meet(x,x)=x
RULE 16 IF x in B THEN join(x,one)=one
RULE 17 IF x in B THEN meet(x,zero)=zero
RULE 18 IF x,y in B THEN complement(join(x,y))=meet(complement(x),complement(y))
RULE 19 IF x,y in B THEN complement(meet(x,y))=join(complement(x),complement(y))
RULE 20 IF x<=y THEN complement(y)<=complement(x)
RULE 21 IF meet(x,y)=x THEN x<=y
RULE 22 IF join(x,y)=y THEN x<=y
RULE 23 IF x<=y AND y<=x THEN x=y
RULE 24 IF x<=y AND y<=z THEN x<=z
RULE 25 IF x<=y THEN meet(x,z)<=meet(y,z)
RULE 26 IF x<=y THEN join(x,z)<=join(y,z)
RULE 27 IF f is BooleanHomomorphism THEN f(complement(x))=complement(f(x))
RULE 28 IF f is BooleanHomomorphism THEN f(join(x,y))=join(f(x),f(y))
RULE 29 IF f is BooleanHomomorphism THEN f(meet(x,y))=meet(f(x),f(y))
RULE 30 IF f is BooleanHomomorphism THEN f(zero)=zero AND f(one)=one
RULE 31 IF F is ultrafilter AND x in B THEN exactly one of x,complement(x) belongs to F [proper ultrafilter]
RULE 32 IF B is finite THEN B is isomorphic to a power-set Boolean algebra on its atoms

08. CONSTRUCTIVE EXAMPLES
EXAMPLE 01: B={0,1}; join=OR; meet=AND; complement=NOT.
EXAMPLE 02: P(S); join=union; meet=intersection; complement=S\A; zero=empty; one=S.
EXAMPLE 03: P({a,b}) has 4 elements: empty,{a},{b},{a,b}.
EXAMPLE 04: P({a,b,c}) has 8 elements.
EXAMPLE 05: Finite Boolean algebra has 2^n elements for some integer n>=0.
EXAMPLE 06: Divisors of 30 under gcd/ lcm and relative complement form an 8-element Boolean algebra.
EXAMPLE 07: Positive divisors of 12 under gcd/lcm are not a Boolean algebra (not every element has a complement).
EXAMPLE 08: Subsets A,B of S satisfy A union (S\A)=S.
EXAMPLE 09: Subsets A,B of S satisfy A intersect (S\A)=empty.
EXAMPLE 10: For bits, NOT(1 AND 0)=1=(NOT 1) OR (NOT 0).
EXAMPLE 11: Formula x AND (y OR NOT y) simplifies to x.
EXAMPLE 12: Formula (x AND y) OR (x AND NOT y) simplifies to x.
EXAMPLE 13: A free Boolean algebra on n finite generators has 2^(2^n) elements.
EXAMPLE 14: A Boolean ring has x*x=x and characteristic 2 when nontrivial.
EXAMPLE 15: In a Boolean ring, meet(x,y)=xy and xor(x,y)=x+y.
EXAMPLE 16: Every Boolean algebra yields a Boolean ring with addition=xor and multiplication=meet.

09. SUBSTRUCTURES AND MORPHISMS
SUBALGEBRA C subset B IF C contains zero,one and is closed under join,meet,complement.
IDEAL I subset B IF I nonempty, downward closed, and closed under finite join.
FILTER F subset B IF F nonempty, upward closed, and closed under finite meet.
PROPER_FILTER F IF zero not in F.
ULTRAFILTER F IF F is maximal among proper filters.
HOMOMORPHISM f:B->C IF preserves zero,one,join,meet,complement.
ISOMORPHISM f IF f is bijective Boolean homomorphism.
KERNEL_IDEAL(f)={x in B | f(x)=zero_C}.
QUOTIENT B/I: Boolean algebra defined by ideal congruence.
NOTE: An ideal need not itself be a Boolean subalgebra containing one.

10. SEMANTIC_EQUIVALENCE
EQUIV join ~ OR ~ union [only under the appropriate interpretation]
EQUIV meet ~ AND ~ intersection [only under the appropriate interpretation]
EQUIV complement ~ NOT ~ relative_set_complement [relative to specified universe]
EQUIV zero ~ false ~ empty_set [interpretation-specific]
EQUIV one ~ true ~ universal_set [interpretation-specific]
EQUIV bounded_distributive_complemented_lattice ~ BooleanAlgebra
EQUIV BooleanAlgebra ~ BooleanRing [via explicit conversion, not literal identity]
NON_EQUIV BooleanAlgebra != arbitrary distributive lattice
NON_EQUIV BooleanAlgebra != arbitrary Boolean-valued expression language
NON_EQUIV two-valued Boolean logic != SQL NULL three-valued logic

11. KNOWLEDGE GRAPH TRIPLES
(BooleanAlgebra, isA, BoundedDistributiveLattice)
(BooleanAlgebra, hasOperation, Join)
(BooleanAlgebra, hasOperation, Meet)
(BooleanAlgebra, hasOperation, Complement)
(BooleanAlgebra, hasIdentityForJoin, Zero)
(BooleanAlgebra, hasIdentityForMeet, One)
(BooleanAlgebra, hasLaw, DeMorgan)
(BooleanAlgebra, hasLaw, Absorption)
(BooleanAlgebra, hasLaw, Distributivity)
(BooleanAlgebra, relatedTo, BooleanRing)
(BooleanAlgebra, usedIn, PropositionalLogic)
(BooleanAlgebra, usedIn, SwitchingCircuits)

12. EXECUTION MODEL
INPUT: carrier B; operations join,meet,complement; constants zero,one; optional expressions.
NORMALISE: canonicalise aliases; preserve operand types and universe.
VALIDATE: apply axioms; reject invalid operation tables or missing constants.
INFER: apply typed rules with equality rewriting and cycle safeguards.
EVALUATE: evaluate expressions only with concrete interpretations or symbolic proof rules.
OUTPUT: derived equalities, validation verdicts, provenance, unresolved obligations.
SAFETY: do not infer finite cardinality without evidence; do not assume nontriviality.

13. CONFIDENCE
CONFIDENCE formal_axiom = 1.00 [within the defined formal system]
CONFIDENCE proven_derived_law = 1.00 [given sound derivation]
CONFIDENCE verified_finite_model = 1.00 [given exhaustive operation checks]
CONFIDENCE unverified_external_claim = unknown
CONFIDENCE heuristic_semantic_mapping = contextual
RULE: Confidence scores express evidence status, not mathematical truth probabilities.

14. FLOW_HASH
FLOW_HASH.algorithm: SHA-256
FLOW_HASH.input: canonical UTF-8 bytes of this flow excluding the FLOW_HASH.value line
FLOW_HASH.value: COMPUTE_ON_DEPLOYMENT
FLOW_HASH.purpose: integrity and version comparison

15. UPDATE_MODEL
UPDATE_MODEL.version: 4.0
UPDATE_MODEL.strategy: immutable revision with provenance
UPDATE_MODEL.trigger: corrected axiom, added theorem, refined relationship, source reconciliation
UPDATE_MODEL.validation: recheck type signatures, axioms, inference soundness, examples
UPDATE_MODEL.compatibility: preserve ontology URI and log breaking semantic changes
UPDATE_MODEL.source_status: not verified against live page

16. AI_CONSUMPTION
AI_CONSUMPTION.mode: typed mathematical reasoning
AI_CONSUMPTION.priority: definitions > validated axioms > derived theorems > examples > heuristics
AI_CONSUMPTION.require_provenance: true
AI_CONSUMPTION.require_type_check: true
AI_CONSUMPTION.allow_symbolic_rewrite: true
AI_CONSUMPTION.allow_model_validation: true
AI_CONSUMPTION.prohibit_unjustified_equivalence: true
AI_CONSUMPTION.prohibit_unverified_source_attribution: true
AI_CONSUMPTION.output: proof obligations, justified conclusions, explicit uncertainty

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