AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
IMAGINARY NUMBER ONTOLOGY
Kireth Semantic Library | Mathematical Entities / Number Entities
Source: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/number-entities/imaginary-number-ontology-2.html
Authors: Mark Higgins — Sky (Recursive AI)
Version: 1.0 | Date: 2026-10-12
01. PURPOSE
flow "ImaginaryNumberOntology" v1.0
domain: mathematical_entities.number_entities
entity_type: ImaginaryNumber
goal: Represent, classify, validate and reason over imaginary numbers and their relations to complex and real numbers.
02. CORE DEFINITIONS
ImaginaryUnit := i
axiom: i^2 = -1
ImaginaryNumber := b*i, where b belongs to RealNumbers
PureImaginaryNonzero := b*i, where b belongs to RealNumbers and b != 0
ComplexNumber := a + b*i, where a,b belong to RealNumbers
embedding: b*i maps to ComplexNumber(real=0, imaginary=b)
note: Zero is both real and representable as 0*i; use nonzero qualifier where disjointness is required.
03. TYPED ENTITIES
types:
RealNumber: ordered_complete_field_element
ImaginaryUnit: distinguished_complex_constant
ImaginaryNumber: complex_number_with_zero_real_component
PureImaginaryNonzero: ImaginaryNumber excluding zero
ComplexNumber: ordered_pair_of_real_components
ImaginaryCoefficient: RealNumber
Conjugate: ComplexNumber
Modulus: NonnegativeRealNumber
04. REPRESENTATION
canonical_form: (real=0, imaginary=b)
symbolic_form: b*i
examples: i, -i, 2*i, -sqrt(3)*i, 0*i
normalization: combine like imaginary terms and simplify real coefficient
equality: b*i = c*i iff b=c
numeric_policy: preserve exact symbolic values where possible
05. OPERATIONS
addition: (b*i)+(c*i)=(b+c)*i
subtraction: (b*i)-(c*i)=(b-c)*i
real_scaling: r*(b*i)=(r*b)*i
imaginary_multiplication: (b*i)*(c*i)=-(b*c)
division_by_real: (b*i)/r=(b/r)*i, provided r!=0
imaginary_division: (b*i)/(c*i)=b/c, provided c!=0
conjugation: conjugate(b*i)=-b*i
modulus: abs(b*i)=abs(b)
square: (b*i)^2=-(b^2)
reciprocal: 1/(b*i)=-(i/b), provided b!=0
closure: addition and real_scaling preserve ImaginaryNumber
nonclosure: multiplication of two nonzero imaginary numbers produces a nonzero real number
06. POWERS OF IMAGINARY UNIT
i^0=1
i^1=i
i^2=-1
i^3=-i
i^4=1
general_rule: i^n determined by n modulo 4 for integer n
07. ALGEBRAIC STRUCTURE
imaginary_axis: {b*i | b in R}
additive_group: yes
real_vector_space: dimension=1, basis={i}
complex_subset: yes
field_under_inherited_multiplication: no
multiplicative_identity_within_imaginary_axis: none
intersection_with_real_axis: {0}
08. RELATIONSHIPS
ImaginaryNumber SUBCLASS_OF ComplexNumber
PureImaginaryNonzero SUBCLASS_OF ImaginaryNumber
ImaginaryUnit INSTANCE_OF PureImaginaryNonzero
ImaginaryNumber HAS_COMPONENT ImaginaryCoefficient
ImaginaryNumber HAS_REAL_PART 0
ImaginaryNumber HAS_IMAGINARY_PART b
ImaginaryNumber SUPPORTS_OPERATION Addition
ImaginaryNumber SUPPORTS_OPERATION RealScaling
ImaginaryNumber RELATED_TO ComplexConjugation
ImaginaryNumber RELATED_TO ComplexPlane
ImaginaryNumber RELATED_TO QuadraticEquation
09. SEMANTIC EQUIVALENCE
semantic_equivalence(b*i, ComplexNumber(0,b)) := true
semantic_equivalence(i, sqrt(-1)) := context_dependent
note: sqrt(-1) denotes i under the principal complex square-root convention.
semantic_difference(ImaginaryNumber, ComplexNumber) := zero_real_component_constraint
semantic_difference(PureImaginaryNonzero, ImaginaryNumber) := exclusion_of_zero
alias: imaginary_axis_number
disambiguation: imaginary does not mean nonexistent or mathematically invalid
10. VALIDATION
require: imaginary_coefficient is RealNumber
require: real_component == 0
reject: claim i is RealNumber
reject: claim imaginary axis is closed under multiplication
reject: division where denominator == 0
reject: general ordering of complex numbers as an ordered field
enforce: exact arithmetic identities before floating-point approximation
11. INFERENCE RULES
rule R1: IF z=0+b*i AND b in R THEN z is ImaginaryNumber
rule R2: IF z=b*i AND b!=0 THEN z is PureImaginaryNonzero
rule R3: IF z=b*i THEN Re(z)=0 AND Im(z)=b
rule R4: IF z=b*i THEN conjugate(z)=-z
rule R5: IF z=b*i THEN |z|=|b|
rule R6: IF x=b*i AND y=c*i THEN x+y=(b+c)*i
rule R7: IF x=b*i AND y=c*i THEN x*y=-(b*c)
rule R8: IF z=b*i AND b!=0 THEN z is not RealNumber
rule R9: IF z=b*i AND b=0 THEN z=0 AND z is RealNumber
12. KNOWLEDGE GRAPH
node: ImaginaryNumberOntology
node: ImaginaryUnit
node: ImaginaryAxis
node: ComplexNumberOntology
edge: ImaginaryNumberOntology --specializes--> ComplexNumberOntology
edge: ImaginaryUnit --satisfies--> i_squared_equals_negative_one
edge: ImaginaryAxis --embedded_in--> ComplexPlane
edge: ComplexConjugation --maps--> ImaginaryAxis
provenance: source_url, version, author_credit, last_updated
13. EXAMPLE EXECUTION
input: 3*i + 5*i
normalize: 8*i
classify: ImaginaryNumber, PureImaginaryNonzero, ComplexNumber
input: (2*i)*(4*i)
normalize: -8
classify: RealNumber, ComplexNumber
input: conjugate(-7*i)
normalize: 7*i
input: i^11
reduce_exponent_modulo_4: 3
normalize: -i
14. CONFIDENCE
mathematical_axioms: 1.0
deterministic_symbolic_inference: 1.0 when premises and arithmetic are valid
numerical_approximation: attach precision, method and error bounds
uncertain_parsing: request disambiguation rather than fabricate a coefficient
15. UPDATE MODEL
versioning: semantic_version
changes: append provenance-linked change records
invariant_checks: rerun axioms and inference tests on update
compatibility: preserve stable entity identifiers and aliases
16. AI CONSUMPTION
accepted_inputs: symbolic_expression, typed_entity, knowledge_graph_triple
outputs: canonical_expression, classification, inference_trace, validation_result
reasoning_mode: deterministic_symbolic_first
preserve: exact_values, constraints, nonzero_guards, provenance
avoid: unsupported assumptions about ordering or multiplicative closure
17. FLOW HASH
hash_scope: normalized ontology definition, axioms, rules and version
hash_algorithm: SHA-256
hash_value: computed at ingestion; not asserted in this document
END FLOW ALGEBRA