AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
TITLE: Subspace Ontology
VERSION: 4.0
DOMAIN: Mathematical Entities / Linear Algebra Entities
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/linear-algebra-entities/subspace-ontology.html
SOURCE_ALIGNMENT: Independently constructed; source-page text not verified.
AUTHORS: Mark Higgins — Sky (Recursive AI)
PROJECT: Kireth Semantic Library
DATE: 2026-10-13
[ONTOLOGY]
ID: mathematical.linear_algebra.subspace
LABEL: Subspace
DEFINITION: A subset W of a vector space V over a field F that is itself a vector space under the operations inherited from V.
SCOPE: Algebraic linear subspaces; distinguish affine subspaces and topologically closed subspaces.
[TYPED ENTITIES]
VectorSpace(V,F): space with vector addition and F-scalar multiplication.
Field(F): scalar field.
Subset(W,V): W is a subset of V.
Subspace(W,V): W is a linear subspace of V.
Vector(v,V): v belongs to V.
ZeroVector(0_V,V): additive identity in V.
Span(S,V): finite linear combinations of vectors from S subset V.
Basis(B,W): linearly independent set spanning W.
Dimension(W,d): cardinality of a basis; possibly infinite.
LinearMap(T,V,U): F-linear map V -> U.
Kernel(T): {v in V : T(v)=0_U}.
Image(T): {T(v) : v in V}.
Intersection(C): common elements of a family of subsets.
Sum(W1,W2): {w1+w2 : w1 in W1, w2 in W2}.
DirectSum(W1,W2): sum with unique decomposition.
QuotientSpace(V,W): cosets v+W for W subspace V.
AffineSubspace(a,W): a+W, not necessarily a linear subspace.
Annihilator(W,V*): linear functionals vanishing on W.
OrthogonalComplement(W,V): defined only with an inner product.
[FORMAL SIGNATURE]
F: Field
V: VectorSpace(F)
W: Set(Vector(V))
add: V x V -> V
scale: F x V -> V
zero: V
subspace: Set(V) x V -> Boolean
[AXIOMS AND CHARACTERISATION]
A01: Subspace(W,V) => W subseteq V.
A02: Subspace(W,V) => zero in W.
A03: Subspace(W,V) => forall u,v in W: u+v in W.
A04: Subspace(W,V) => forall a in F, v in W: a*v in W.
A05: W subseteq V and W nonempty and forall a,b in F, u,v in W: a*u+b*v in W => Subspace(W,V).
A06: W subseteq V and zero in W and closed under addition and scalar multiplication => Subspace(W,V).
A07: The empty set is not a subspace of V.
A08: {zero} and V are always subspaces of V.
A09: Every subspace inherits vector-space operations from V.
A10: A linear subspace must contain zero; a nonzero affine translate generally does not.
[RELATIONSHIPS]
R01: Subspace --IS_A--> VectorSpace.
R02: Subspace --IS_SUBSET_OF--> AmbientVectorSpace.
R03: Subspace --INHERITS_OPERATIONS_FROM--> AmbientVectorSpace.
R04: Subspace --CONTAINS--> ZeroVector.
R05: Subspace --CLOSED_UNDER--> VectorAddition.
R06: Subspace --CLOSED_UNDER--> ScalarMultiplication.
R07: Span --GENERATES--> Subspace.
R08: Basis --SPANS--> Subspace.
R09: Basis --IS_LINEarly_INDEPENDENT_IN--> Subspace.
R10: Kernel --IS_SUBSPACE_OF--> Domain.
R11: Image --IS_SUBSPACE_OF--> Codomain.
R12: IntersectionOfSubspaces --IS_SUBSPACE_OF--> AmbientVectorSpace.
R13: SumOfSubspaces --IS_SUBSPACE_OF--> AmbientVectorSpace.
R14: QuotientSpace --IS_DEFINED_BY--> Subspace.
R15: AffineSubspace --IS_TRANSLATE_OF--> LinearSubspace.
R16: OrthogonalComplement --REQUIRES--> InnerProduct.
[INFERENCE RULES]
I01: If W is a subspace of V, then 0_V belongs to W.
I02: If W is a subspace and u,v belong to W, then u+v belongs to W.
I03: If W is a subspace, a belongs to F and v belongs to W, then av belongs to W.
I04: If W is a subspace and v belongs to W, then -v belongs to W.
I05: If W is a subspace and u,v belong to W, then u-v belongs to W.
I06: If W is a subspace, every finite linear combination of vectors in W belongs to W.
I07: If W contains a vector but not its additive inverse, W is not a subspace.
I08: If W omits zero, W is not a subspace.
I09: If W fails closure under addition, W is not a subspace.
I10: If W fails closure under scalar multiplication, W is not a subspace.
I11: If S subseteq V, span(S) is a subspace of V.
I12: If W is a subspace and S subseteq W, span(S) subseteq W.
I13: span(S) is the smallest subspace containing S.
I14: Intersection of any family of subspaces of V is a subspace of V.
I15: Union of two subspaces is a subspace iff one is contained in the other.
I16: If W1,W2 are subspaces of V, W1+W2 is a subspace.
I17: W1+W2 = span(W1 union W2).
I18: W1+W2 is an internal direct sum iff W1 intersect W2 = {0}.
I19: If W1 intersect W2 = {0}, each vector in W1+W2 has a unique decomposition w1+w2.
I20: If V is finite dimensional and W is a subspace, dim(W) <= dim(V).
I21: If W subseteq V and dim(W)=dim(V)<infinity, then W=V.
I22: For finite-dimensional W1,W2, dim(W1+W2)=dim(W1)+dim(W2)-dim(W1 intersect W2).
I23: For linear T:V->U, ker(T) is a subspace of V.
I24: For linear T:V->U, im(T) is a subspace of U.
I25: For finite-dimensional V, dim(ker T)+dim(im T)=dim(V).
I26: For subspace W of V, quotient V/W is a vector space.
I27: If V finite dimensional, dim(V/W)=dim(V)-dim(W).
I28: If W is a subspace, any basis of W is linearly independent in V.
I29: If V is finite dimensional, a basis of W extends to a basis of V.
I30: If a+W contains zero, then a belongs to W and a+W=W.
I31: In an inner-product space, W-perp is a subspace.
I32: In a finite-dimensional inner-product space, V=W direct_sum W-perp.
I33: If a linear map T is injective, ker(T)={0}.
I34: If a linear map T is surjective, im(T)=U.
I35: If W1 subseteq W2 are subspaces, W1 intersect W2=W1.
I36: If W1 subseteq W2 are subspaces, W1+W2=W2.
[VALIDATION CONSTRAINTS]
V01: Check field F and ambient vector space V before evaluating closure.
V02: Membership of zero must use the ambient space's additive identity.
V03: Do not equate an arbitrary subset with a subspace.
V04: A nonempty closure test must quantify over all field scalars.
V05: Never infer that union of arbitrary subspaces is a subspace.
V06: Distinguish algebraic subspace from topologically closed linear subspace.
V07: Orthogonality statements require an inner product.
V08: Dimension subtraction requires finite dimensions unless cardinal arithmetic is specified.
V09: Distinguish a basis of a subspace from a basis of the ambient space.
V10: An affine subspace not through zero is not a linear subspace.
V11: Quotient V/W requires W to be a subspace of V.
V12: Rank-nullity in the given form assumes finite-dimensional domain.
[MATHEMATICAL EXAMPLES]
E01: In R^3, W={(x,y,0):x,y in R} is a subspace; basis {(1,0,0),(0,1,0)}; dim 2.
E02: In R^2, W={(x,y):x+y=0} is a subspace; span{(1,-1)}.
E03: In R^2, A={(x,y):x+y=1} is not a subspace; zero not included.
E04: In R^2, Q={(x,y):x>=0} is not a subspace; negative scalar closure fails.
E05: In R^3, x-axis and y-axis are subspaces; their union is not a subspace.
E06: In R^3, xy-plane intersect xz-plane = x-axis.
E07: In R^3, xy-plane + z-axis = R^3 as an internal direct sum.
E08: ker([1 1]:R^2->R) = span{(1,-1)}.
E09: im(T) for T(x,y)=(x,0) is span{(1,0)}.
E10: In polynomial space R[x], polynomials of degree <=2 form a 3-dimensional subspace.
E11: In R[x], polynomials of degree exactly 2 do not form a subspace.
E12: In M_2(R), symmetric 2x2 matrices form a 3-dimensional subspace.
E13: In M_2(R), invertible matrices do not form a subspace.
E14: In C viewed over R, R is a 1-dimensional real subspace; not a complex subspace of C.
E15: In R^n, {0} has dimension 0 and R^n has dimension n.
E16: For W=span{(1,0)} in R^2, quotient R^2/W has dimension 1.
[SEMANTIC EQUIVALENCE]
SE01: linear subspace == vector subspace (within a fixed vector space).
SE02: span(S) == linear hull(S) == set of all finite linear combinations of S.
SE03: null space(T) == kernel(T).
SE04: column space(A) == image of the associated matrix map.
SE05: direct sum != ordinary union.
SE06: affine subspace != linear subspace unless it contains zero.
SE07: topologically closed subspace != subspace without an explicit topology and closedness condition.
[KNOWLEDGE GRAPH TRIPLES]
(Subspace, rdf:type, MathematicalEntity)
(Subspace, rdfs:subClassOf, VectorSpace)
(Subspace, hasAmbientSpace, VectorSpace)
(Subspace, contains, ZeroVector)
(Subspace, closedUnder, VectorAddition)
(Subspace, closedUnder, ScalarMultiplication)
(Span, produces, Subspace)
(Kernel, rdf:type, Subspace)
(Image, rdf:type, Subspace)
(QuotientSpace, requires, Subspace)
(DirectSum, requires, TrivialIntersection)
(OrthogonalComplement, requires, InnerProduct)
[CONFIDENCE]
MathematicalDefinitions: 0.99
StandardTheorems: 0.99
Examples: 0.99
SourcePageAlignment: UNVERIFIED
Rule: Confidence scores are descriptive annotations, not formal proof certificates.
[FLOW_HASH]
Algorithm: SHA-256
Input: UTF-8 normalised canonical Flow Algebra text, excluding the hash-value field.
HashValue: NOT_COMPUTED
IntegrityPolicy: Compute after final publication; do not claim a hash without calculating it.
[UPDATE_MODEL]
Version: 4.0
ChangeType: New ontology flow
RevisionPolicy: Preserve stable entity IDs; increment version when semantics or rules change.
Validation: Recheck mathematical claims, type constraints, and linked ontology relationships.
Provenance: Independently authored mathematical representation; webpage content not verified.
[AI_CONSUMPTION]
ParseOrder: metadata -> typed entities -> axioms -> relationships -> inference rules -> constraints -> examples.
ReasoningMode: Typed symbolic inference with explicit premises and mathematical domains.
ValidationMode: Reject unsupported conclusions, missing field assumptions, and type mismatches.
RetrievalKeys: subspace, linear subspace, vector subspace, span, kernel, image, quotient space, direct sum.
CrossReferences: Vector Space Ontology; Span Ontology; Basis Ontology; Dimension Ontology; Linear Transformation Ontology; Matrix Ontology.
OutputPolicy: Distinguish definitions, proven deductions, counterexamples, and contextual analogies.
[END FLOW ALGEBRA]