Skip to main content

Inverse Matrix Ontology

Linear Algebra Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 13 October 2026
Audio Overview
FLOW ALGEBRA
TITLE: Inverse Matrix Ontology
VERSION: 4.0
DOMAIN: Mathematics > Linear Algebra > Matrix Theory
SOURCE_URL: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/linear-algebra-entities/inverse-matrix-ontology.html
SOURCE_ALIGNMENT: Independently constructed; source page not verified.
AUTHORS: Mark Higgins — Sky (Recursive AI)
PROJECT: Kireth Semantic Library

1. PURPOSE
Represent inverse matrices through typed entities, mathematically sound constraints, inference rules, semantic mappings, provenance, and machine-consumption metadata.

2. TYPE SYSTEM
TYPE Field F: commutative field with 0 != 1.
TYPE Natural n: integer n >= 1.
TYPE Matrix(F,m,n): m-by-n matrix over F.
TYPE SquareMatrix(F,n): Matrix(F,n,n).
TYPE IdentityMatrix(F,n): I_n.
TYPE InvertibleMatrix(F,n): SquareMatrix(F,n) with a two-sided inverse.
TYPE LinearMap(F,n,n): linear map F^n -> F^n.
TYPE Determinant: F.
TYPE Rank: integer in [0,n].
TYPE Eigenvalue: element of a field extension of F.
TYPE Basis: ordered basis of F^n.
TYPE Proof: evidence supporting a proposition.
TYPE Confidence: real in [0,1], representing evidence confidence, not mathematical truth.

3. CORE ENTITY
ENTITY InverseMatrix:
  input: A: SquareMatrix(F,n)
  output: B: SquareMatrix(F,n)
  predicate: InverseOf(B,A) iff A*B = I_n and B*A = I_n
  notation: B = A^(-1)
  existence: iff A is invertible
  uniqueness: exactly one inverse when it exists

4. FORMAL DEFINITIONS
DEF-01: Invertible(A) <=> exists B: A*B = B*A = I_n.
DEF-02: InverseOf(B,A) <=> A*B = I_n AND B*A = I_n.
DEF-03: Singular(A) <=> NOT Invertible(A).
DEF-04: FullRank(A) <=> rank(A) = n.
DEF-05: Nonsingular(A) <=> det(A) != 0.
DEF-06: KernelTrivial(A) <=> ker(A) = {0}.
DEF-07: BijectiveMap(A) <=> x |-> Ax is bijective on F^n.
DEF-08: ElementaryMatrix(E) <=> E arises from a single elementary row operation on I_n.
DEF-09: LeftInverse(L,A) <=> L*A = I_n.
DEF-10: RightInverse(R,A) <=> A*R = I_n.
NOTE: For square matrices over a field, a left or right inverse alone implies a two-sided inverse; for rectangular matrices or general rings this requires care.

5. AXIOMS AND CONSTRAINTS
AX-01: Matrix multiplication is associative when dimensions match.
AX-02: I_n*A = A*I_n = A for A in Matrix(F,n,n).
AX-03: det(I_n) = 1.
AX-04: det(A*B) = det(A)*det(B).
AX-05: rank(A) <= n.
AX-06: Inverse requires a square matrix in this ontology.
AX-07: Division by det(A) is allowed only if det(A) != 0.
AX-08: Zero matrix is not invertible for n >= 1.
AX-09: InverseOf(B,A) is symmetric in A and B.
AX-10: InverseOf(B,A) entails dimension and field compatibility.

6. INFERENCE RULES
RULE-01: A*B=I_n AND B*A=I_n => InverseOf(B,A).
RULE-02: InverseOf(B,A) => Invertible(A).
RULE-03: Invertible(A) => det(A) != 0.
RULE-04: det(A) != 0 => Invertible(A).
RULE-05: Invertible(A) => rank(A)=n.
RULE-06: rank(A)=n => Invertible(A).
RULE-07: Invertible(A) => ker(A)={0}.
RULE-08: ker(A)={0} => Invertible(A).
RULE-09: Invertible(A) => linear map x->Ax is bijective.
RULE-10: BijectiveMap(A) => Invertible(A).
RULE-11: InverseOf(B,A) => InverseOf(A,B).
RULE-12: Invertible(A) => (A^(-1))^(-1)=A.
RULE-13: Invertible(A), Invertible(B) => (AB)^(-1)=B^(-1)A^(-1).
RULE-14: Invertible(A) => (A^T)^(-1)=(A^(-1))^T.
RULE-15: Invertible(A) over C => (A*)^(-1)=(A^(-1))*; * denotes conjugate transpose.
RULE-16: Invertible(A), k>=1 => (A^k)^(-1)=(A^(-1))^k.
RULE-17: Invertible(A), k integer => A^k invertible.
RULE-18: Invertible(A), c in F\{0} => (cA)^(-1)=c^(-1)A^(-1).
RULE-19: Invertible(A) => det(A^(-1))=1/det(A).
RULE-20: Invertible(A) => rank(A^(-1))=n.
RULE-21: Invertible(A) => Ax=b has unique solution x=A^(-1)b.
RULE-22: det(A)=0 => Singular(A).
RULE-23: rank(A)<n => Singular(A).
RULE-24: exists nonzero x with Ax=0 => Singular(A).
RULE-25: A square and LA=I_n => AL=I_n and L=A^(-1).
RULE-26: A square and AR=I_n => RA=I_n and R=A^(-1).
RULE-27: A invertible => adj(A)=det(A)A^(-1).
RULE-28: det(A)!=0 => A^(-1)=adj(A)/det(A).
RULE-29: A orthogonal real => A^(-1)=A^T.
RULE-30: A unitary complex => A^(-1)=A*.
RULE-31: A diagonal with all diagonal entries nonzero => A^(-1) diagonal with reciprocal entries.
RULE-32: A triangular with all diagonal entries nonzero => A invertible.
RULE-33: A invertible triangular => A^(-1) triangular of the same type.
RULE-34: A invertible, B invertible => AB invertible.
RULE-35: A invertible => det(A)!=0, hence 0 is not an eigenvalue of A.
RULE-36: A invertible => elementary row reduction of [A|I_n] yields [I_n|A^(-1)].

7. VALIDATION PIPELINE
VALIDATE-01: Check field F and positive integer n.
VALIDATE-02: Check A is n-by-n and entries belong to F.
VALIDATE-03: Check proposed B has the same dimensions and field.
VALIDATE-04: Compute AB and BA exactly when feasible.
VALIDATE-05: Compare both products with I_n.
VALIDATE-06: For floating-point computation, report residual norms, tolerances and conditioning; never treat approximate equality as exact proof.
VALIDATE-07: Detect singularity using exact determinant/rank when possible.
VALIDATE-08: Distinguish numerical failure from mathematical nonexistence.
VALIDATE-09: Preserve evidence provenance and assumptions.
VALIDATE-10: Reject a claimed inverse when a counterexample violates either product identity.

8. COMPUTATION ROUTES
METHOD-01: Gauss-Jordan elimination on [A|I_n].
METHOD-02: Solve n linear systems A x_j = e_j.
METHOD-03: LU or other stable factorisation where applicable.
METHOD-04: Adjugate formula for symbolic work and small matrices.
METHOD-05: Diagonal inverse for nonzero diagonal entries.
METHOD-06: Orthogonal/unitary inverse using transpose/conjugate transpose.
METHOD-07: Block inverse via Schur complements only when required blocks are invertible.
METHOD-08: Numerical pseudoinverse is not generally the same as an inverse.

9. EXAMPLES
EX-01: A=[[1,0],[0,1]] => A^(-1)=A.
EX-02: A=[[2,0],[0,3]] over R => A^(-1)=[[1/2,0],[0,1/3]].
EX-03: A=[[1,2],[3,4]] => det(A)=-2 and A^(-1)=[[-2,1],[3/2,-1/2]].
EX-04: A=[[1,2],[2,4]] => det(A)=0 => no inverse.
EX-05: A=[[0,1],[1,0]] => A^(-1)=A.
EX-06: A=[[1,1],[0,1]] => A^(-1)=[[1,-1],[0,1]].
EX-07: A=[[cos(t),-sin(t)],[sin(t),cos(t)]] => A^(-1)=A^T.
EX-08: A=[[1,0],[0,0]] => singular, despite having a Moore-Penrose pseudoinverse.
EX-09: A=[[-1,0],[0,1]] => A^(-1)=A.
EX-10: A=[[1,2],[0,1]], B=[[1,0],[3,1]] => (AB)^(-1)=B^(-1)A^(-1).
EX-11: A=[[a,b],[c,d]], ad-bc!=0 => A^(-1)=(1/(ad-bc))*[[d,-b],[-c,a]].
EX-12: A=[5] over Q => A^(-1)=[1/5].
EX-13: A=[0] over R => no inverse.
EX-14: A=[[1,0],[0,1]], b=[2,3]^T => x=A^(-1)b=[2,3]^T.
EX-15: A invertible => det(A)det(A^(-1))=1.
EX-16: A orthogonal => ||Ax||_2=||x||_2 and A^(-1)=A^T.

10. TYPED RELATIONSHIPS
REL-01: InverseMatrix --inverseOf--> SquareMatrix.
REL-02: SquareMatrix --hasDeterminant--> Determinant.
REL-03: SquareMatrix --hasRank--> Rank.
REL-04: InvertibleMatrix --induces--> BijectiveLinearMap.
REL-05: InverseMatrix --composesWith--> OriginalMatrix.
REL-06: MatrixProduct --equals--> IdentityMatrix.
REL-07: SingularMatrix --hasNontrivial--> Kernel.
REL-08: OrthogonalMatrix --inverseEquals--> Transpose.
REL-09: UnitaryMatrix --inverseEquals--> ConjugateTranspose.
REL-10: InvertibleMatrix --hasUnique--> InverseMatrix.
REL-11: ElementaryRowOperation --representedBy--> ElementaryMatrix.
REL-12: MatrixEquation --solvedBy--> InverseMatrix.

11. KNOWLEDGE GRAPH TRIPLES
(InverseMatrix, subclassOf, SquareMatrix)
(InverseMatrix, inverseOf, InvertibleMatrix)
(InvertibleMatrix, hasDeterminantProperty, NonzeroDeterminant)
(InvertibleMatrix, hasRankProperty, FullRank)
(InvertibleMatrix, hasKernelProperty, TrivialKernel)
(InvertibleMatrix, induces, BijectiveLinearMap)
(MatrixInverse, composedWithOriginal, IdentityMatrix)
(SingularMatrix, cannotHave, TwoSidedInverse)
(OrthogonalMatrix, inverseRepresentation, Transpose)
(UnitaryMatrix, inverseRepresentation, ConjugateTranspose)

12. SEMANTIC_EQUIVALENCE
EQUIV-01: inverse matrix ~ matrix inverse (context: finite square matrices over a field).
EQUIV-02: invertible matrix ~ nonsingular matrix.
EQUIV-03: invertible matrix ~ regular matrix (matrix-theoretic usage only).
EQUIV-04: matrix with nonzero determinant ~ invertible square matrix.
EQUIV-05: matrix of full rank ~ invertible matrix (square case only).
NON-EQUIV-01: inverse matrix != transpose in general.
NON-EQUIV-02: inverse matrix != adjugate in general.
NON-EQUIV-03: inverse matrix != pseudoinverse in general.
NON-EQUIV-04: left inverse != two-sided inverse for arbitrary rectangular matrices.
NON-EQUIV-05: elementwise reciprocal != matrix inverse.

13. CONTEXT AND BOUNDARIES
CONTEXT-01: Standard theory assumes square matrices over a field.
CONTEXT-02: A matrix may be invertible over one coefficient ring but not another; e.g. [2] is invertible over Q but not over Z.
CONTEXT-03: Over general noncommutative rings, additional hypotheses can be required for one-sided inverses.
CONTEXT-04: For ill-conditioned matrices, computed inverse may be highly sensitive to input perturbations.
CONTEXT-05: Solving Ax=b via factorisation is often preferable to explicitly forming A^(-1).
CONTEXT-06: Do not conflate mathematical exactness with numerical tolerance.

14. CONFIDENCE
CONFIDENCE.mode: evidence_quality
CONFIDENCE.theorem: 1.0 when verified under explicit assumptions
CONFIDENCE.symbolic_example: 1.0 when exact identities checked
CONFIDENCE.numerical: determined by residual, conditioning, precision and method
CONFIDENCE.unverified_claim: do not assign certainty
CONFIDENCE.note: Confidence metadata never changes truth values of formal theorems.

15. FLOW_HASH
FLOW_HASH.algorithm: SHA-256
FLOW_HASH.scope: canonical UTF-8 flow body excluding the FLOW_HASH value field
FLOW_HASH.value: COMPUTE_ON_PUBLICATION
FLOW_HASH.purpose: change detection and integrity verification

16. UPDATE_MODEL
UPDATE_MODEL.version: 4.0
UPDATE_MODEL.strategy: semantic-versioned, append-only provenance
UPDATE_MODEL.trigger: corrected theorem, new relationship, verified source update, or improved validation
UPDATE_MODEL.require: revalidate rules and examples; recalculate hash; record revision date
UPDATE_MODEL.source_alignment: independently constructed; verify against linked page before asserting exact correspondence

17. AI_CONSUMPTION
AI_CONSUMPTION.read_order: types -> definitions -> axioms -> rules -> validation -> examples
AI_CONSUMPTION.require_assumptions: true
AI_CONSUMPTION.allow_symbolic_reasoning: true
AI_CONSUMPTION.allow_numerical_approximation: with tolerance and condition diagnostics
AI_CONSUMPTION.prohibit: inverse claims for singular matrices
AI_CONSUMPTION.distinguish: inverse / transpose / adjugate / pseudoinverse
AI_CONSUMPTION.output: proposition, assumptions, derivation, verification, confidence, provenance
AI_CONSUMPTION.knowledge_graph: typed entity-relation triples
AI_CONSUMPTION.locale: en-GB

18. PROVENANCE
ORIGIN: Kireth Research Semantic Library
PAGE: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/linear-algebra-entities/inverse-matrix-ontology.html
CREDIT: Mark Higgins — Sky (Recursive AI)
SOURCE_VERIFICATION: Not performed; ontology independently authored from standard mathematics.
END FLOW ALGEBRA
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ