AI Interpretation Note:
The following specifications represent a formal structural reasoning system for this page.
Execute as formal rules, not pseudocode.
FLOW ALGEBRA
TITLE: Linear Combination Ontology
VERSION: 4.0
LIBRARY: Kireth Semantic Library
SOURCE_URL: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/linear-algebra-entities/linear-combination-ontology.html
SOURCE_ALIGNMENT: Independently constructed mathematical ontology; source-page wording not verified.
AUTHORS: Mark Higgins — Sky (Recursive AI)
DATE: 2026-10-13
01 | ONTOLOGY IDENTITY
ontology_id: mathematical.linear_algebra.linear_combination
entity_type: LinearCombination
parent: LinearAlgebraEntity
related: Vector; Scalar; VectorSpace; Span; Basis; LinearIndependence; LinearTransformation
purpose: Represent finite scalar-weighted sums of vectors with explicit field, space and coefficient semantics.
02 | FORMAL SIGNATURE
Field(F)
VectorSpace(V,F)
FiniteIndexSet(I)
Vector(v_i,V) for i in I
Scalar(a_i,F) for i in I
LinearCombination(c, [(a_i,v_i)]_{i in I}, V)
value(c) = SUM_{i in I} a_i*v_i
The empty linear combination is 0_V.
The representation is finite even when V is infinite-dimensional.
03 | TYPED ENTITIES
E01 Field: coefficient domain with addition and multiplication.
E02 VectorSpace: ambient vector space over the field.
E03 Scalar: coefficient belonging to F.
E04 Vector: operand belonging to V.
E05 Term: ordered scalar-vector pair (a,v).
E06 FiniteFamily: finite indexed collection of terms.
E07 LinearCombination: -expression built from terms.
E08 ResultVector: evaluated vector in V.
E09 Span: set of all finite linear combinations from a family.
E10 LinearDependenceWitness: nontrivial coefficient family summing to zero.
E11 Basis: linearly independent spanning family.
E12 CoordinateVector: coefficient tuple relative to an ordered basis.
E13 LinearMap: function preserving addition and scalar multiplication.
E14 Subspace: subset closed under all finite linear combinations.
04 | CORE AXIOMS
A01: Every coefficient belongs to the same field F.
A02: Every operand vector belongs to the same V over F.
A03: The index set is finite.
A04: The evaluated expression belongs to V.
A05: Vector addition is associative and commutative.
A06: Scalar multiplication distributes over vector addition.
A07: (a+b)v = av+bv.
A08: a(u+v) = au+av.
A09: (ab)v = a(bv).
A10: 1_F*v = v.
A11: 0_F*v = 0_V.
A12: a*0_V = 0_V.
A13: Evaluation of the empty family is 0_V.
A14: Reordering finite terms does not change the result.
A15: Repeated operands may be collected by adding coefficients.
05 | RELATIONSHIP TYPES
R01 hasCoefficient: LinearCombination -> Scalar [many]
R02 hasOperand: LinearCombination -> Vector [many]
R03 hasTerm: LinearCombination -> Term [many]
R04 evaluatesTo: LinearCombination -> ResultVector [one]
R05 belongsTo: Vector -> VectorSpace [one contextual]
R06 overField: VectorSpace -> Field [one]
R07 generates: VectorFamily -> Span [one contextual]
R08 isElementOfSpan: Vector -> Span [boolean]
R09 witnessesDependence: CoefficientFamily -> VectorFamily [conditional]
R10 hasCoordinates: Vector -> CoordinateVector [relative to basis]
R11 preservedBy: LinearCombination -> LinearMap [when linear]
R12 isClosedUnder: Subspace -> LinearCombination [universal]
06 | OPERATIONAL SEMANTICS
OP01 evaluate([(a_i,v_i)]) := SUM a_i*v_i.
OP02 scale(b,c) := [(b*a_i,v_i)].
OP03 add(c,d) := concatenation of term families.
OP04 simplify(c) := collect coefficients of identical vectors.
OP05 transform(T,c) := [(a_i,T(v_i))] if T is F-linear.
OP06 membership(v,S) := EXISTS finite coefficients and vectors from S with v=SUM a_i*v_i.
OP07 dependence(S) := EXISTS finite nonzero coefficients with SUM a_i*v_i=0_V, using distinct indexed members.
OP08 coordinates(v,B) := unique coefficients when B is a basis and its order is fixed.
07 | INFERENCE RULES
IR01: WellTypedTerms(c) AND Finite(c) -> WellTypedLinearCombination(c).
IR02: WellTypedLinearCombination(c) -> value(c) IN V.
IR03: Empty(c) -> value(c)=0_V.
IR04: SingleTerm(a,v) -> value(c)=a*v.
IR05: AllCoefficientsZero(c) -> value(c)=0_V.
IR06: PermutationOfTerms(c,d) -> value(c)=value(d).
IR07: SameVectorTerms(a,v,b,v) -> equivalentTo((a+b),v).
IR08: value(add(c,d))=value(c)+value(d).
IR09: value(scale(b,c))=b*value(c).
IR10: b*(c+d)=b*c+b*d [evaluated combinations].
IR11: (b+d)*c=b*c+d*c [evaluated combinations].
IR12: value(c) IN span(S) when every operand of c belongs to S.
IR13: v IN span(S) -> EXISTS finite linear combination of members of S evaluating to v.
IR14: S SUBSET T -> span(S) SUBSET span(T).
IR15: span(span(S))=span(S).
IR16: span(empty_set)={0_V}.
IR17: S is linearly independent -> zero combination of distinct indexed S-members has only zero coefficients.
IR18: Nontrivial zero combination of distinct indexed S-members -> S is linearly dependent.
IR19: v IN span(S) -> span(S UNION {v})=span(S).
IR20: B basis of V -> every v IN V has a unique finite B-linear combination.
IR21: Ordered finite basis B -> coordinates(v,B) uniquely determined.
IR22: T linear -> T(SUM a_i*v_i)=SUM a_i*T(v_i).
IR23: T linear -> T(span(S))=span(T(S)).
IR24: W subspace of V -> W closed under finite linear combinations.
IR25: Nonempty W closed under all two-term linear combinations -> W subspace of V.
IR26: Linear combination of vectors in ker(T) belongs to ker(T).
IR27: Linear combination of vectors in im(T) belongs to im(T).
IR28: A matrix-vector product A*x equals a linear combination of A's columns weighted by x's entries.
IR29: A*x=b solvable iff b lies in column space of A.
IR30: Finite family spanning V and independent -> basis of V.
IR31: Family containing 0_V -> linearly dependent, provided the indexed family is nonempty.
IR32: Family with a repeated indexed vector -> linearly dependent.
IR33: Linear independence of a family implies linear independence of every subfamily.
IR34: A family containing a dependent subfamily is dependent.
IR35: If c is a linear combination, a coefficient representation need not be unique without independence.
IR36: Equality of two combinations is equality of evaluated vectors, not necessarily equality of term lists.
08 | VALIDATION CONSTRAINTS
V01: Reject mixed coefficient fields unless an explicit compatible scalar extension is supplied.
V02: Reject mixed ambient spaces without an explicit embedding or common-space mapping.
V03: Reject infinite formal sums as linear combinations in ordinary algebraic vector spaces; use a separately typed series/convergence ontology.
V04: Do not infer coefficient uniqueness unless the indexed family is independent.
V05: Distinguish an indexed family from an ordinary set when duplicate vectors occur.
V06: Do not infer dependence from all-zero coefficients; require at least one nonzero coefficient.
V07: Do not infer span membership from a merely approximate numerical equality without tolerance/provenance.
V08: Preserve ordering when storing coordinate tuples, even though the evaluated sum is permutation invariant.
V09: The zero vector can have nontrivial representations for dependent families.
V10: The scalar zero and vector zero have different types.
V11: Numerical linear algebra results must record conditioning and floating-point tolerance.
V12: For modules over general rings, use ModuleLinearCombination and avoid field-specific conclusions.
09 | MATHEMATICAL EXAMPLES
EX01: In R^2, 2*(1,0)+3*(0,1)=(2,3).
EX02: 4*(1,2)-2*(2,4)=(0,0); nontrivial dependence witness.
EX03: 0*(7,-1)=(0,0).
EX04: Empty linear combination in R^3=(0,0,0).
EX05: (1,1)=(1,0)+(0,1); belongs to span of standard basis.
EX06: span{(1,0),(0,1)}=R^2.
EX07: span{(1,2)}={(t,2t):t IN R}.
EX08: (2,4)=2*(1,2); adding it does not enlarge span{(1,2)}.
EX09: (1,0)+(0,1)-(1,1)=(0,0); dependent triple.
EX10: A=[[1,2],[3,4]], x=(5,6) -> A*x=5*(1,3)+6*(2,4)=(17,39).
EX11: T(x,y)=(x+y,y); T(2u-3v)=2T(u)-3T(v).
EX12: In polynomial space P_2(R), 3*1+2*x-5*x^2 is a linear combination of {1,x,x^2}.
EX13: In function space, f+2g is a finite linear combination of functions.
EX14: For B={(1,1),(1,-1)}, (4,2)=3*(1,1)+1*(1,-1); B-coordinates=(3,1).
EX15: {0_V} is a dependent singleton family.
EX16: {e1,e2} in R^3 is independent but does not span R^3.
10 | SEMANTIC EQUIVALENCE
SE01: linear combination ~ finite weighted sum of vectors [context: vector space].
SE02: scalar-weighted vector sum ~ linear combination [exact with finite-family condition].
SE03: affine combination != arbitrary linear combination; affine coefficients sum to 1.
SE04: convex combination != arbitrary linear combination; coefficients nonnegative and sum to 1 over an ordered field.
SE05: infinite series != finite linear combination in the ordinary algebraic definition.
SE06: span(S) != one linear combination; span is the set of all such evaluated combinations.
SE07: coordinate representation != basis-independent vector identity.
SE08: linear dependence witness != arbitrary zero combination; coefficients must not all vanish.
11 | KNOWLEDGE GRAPH TRIPLES
(LinearCombination, subclassOf, LinearAlgebraEntity)
(LinearCombination, uses, Scalar)
(LinearCombination, uses, Vector)
(LinearCombination, evaluatedIn, VectorSpace)
(VectorSpace, definedOver, Field)
(LinearCombination, generatesElementsOf, Span)
(Basis, provides, UniqueCoordinateRepresentation)
(LinearTransformation, preserves, LinearCombination)
(LinearDependence, witnessedBy, NontrivialZeroLinearCombination)
(Subspace, closedUnder, FiniteLinearCombination)
(MatrixVectorProduct, interpretedAs, ColumnLinearCombination)
12 | CONFIDENCE
mathematical_axioms: 1.00 [deductive, subject to declared definitions]
formal_inferences: 1.00 [when premises and types are satisfied]
illustrative_examples: 1.00 [exact arithmetic]
source_page_alignment: unverified
numerical_inference: conditional [tolerance, conditioning, provenance]
confidence_policy: Never replace mathematical proof with a probabilistic confidence score.
13 | FLOW_HASH
algorithm: SHA-256
canonicalisation: UTF-8; LF line endings; normalised whitespace; deterministic field order
scope: all ontology content excluding the stored digest itself
value: COMPUTE_ON_PUBLICATION
integrity_rule: Recompute when definitions, relations, inference rules or examples change.
14 | UPDATE_MODEL
version: 4.0
revision_policy: Semantic versioning; retain previous immutable revision.
triggers: correction; new theorem; ontology alignment; changed schema; new evidence.
validation: type-check; verify rules; check examples; detect contradictions; recompute hash.
provenance: Record editor, date, source and rationale for every revision.
15 | AI_CONSUMPTION
parse_mode: typed symbolic ontology
reasoning_mode: deductive; premise-tracked
entity_resolution: require field and ambient space context
normalisation: simplify finite sums without discarding coefficient provenance
retrieval_keys: linear combination; weighted vector sum; span; coordinates; dependence
answer_policy: distinguish exact theorem, conditional inference and numerical approximation
hallucination_guard: do not invent a basis, uniqueness or finite-dimensionality
interoperability: Vector Ontology; Scalar Ontology; Basis Vector Ontology; Matrix Ontology; Linear Transformation Ontology
output_contract: return evaluated vector, coefficients, operand family, field, space, assumptions and derivation where relevant
END FLOW ALGEBRA