Skip to main content

Line Ontology

Geometric Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 13 October 2026
Audio Overview
FLOW ALGEBRA
TITLE: Line Ontology
VERSION: 4.0
DOMAIN: Mathematical Entities / Geometric Entities
SOURCE_URL: https://kirethresearch.org/booksai-core/entity-graph/mathematical-entities/geometric-entities/line-ontology-2.html
SOURCE_ALIGNMENT: Independently constructed; webpage text not verified.
AUTHORS: Mark Higgins — Sky (Recursive AI)
PROJECT: Kireth Semantic Library
DATE: 2026-10-13

[ONTOLOGY]
ENTITY: Line
TYPE: GeometricEntity
SUBTYPE: OneDimensionalAffineSubspace
DEFINITION: An unbounded straight geometric object determined by a point and a nonzero direction vector in an affine space over an appropriate field.
SCOPE: Euclidean and affine geometry, with projective interpretations explicitly distinguished.

[TYPED ENTITIES]
Point: position in affine space
Vector: element of translation vector space
DirectionVector: Vector with nonzero magnitude
Line: set of collinear points extending without endpoints
LineSegment: bounded portion between endpoints
Ray: one-sided unbounded subset of a line
Plane: two-dimensional affine subspace
Intersection: common geometric point or set
Angle: measure between nonzero directions, where an inner product is supplied
Distance: metric-dependent nonnegative quantity
NormalVector: nonzero vector orthogonal to line direction in Euclidean 2D
CoordinateSystem: frame in which coordinates are expressed

[FORMAL SIGNATURE]
AffineSpace(A,V,F)
Point(P): P in A
Vector(v): v in V
NonZero(v): v != 0
LineThrough(P,v) := {P + t*v | t in F}, v != 0
Collinear(P,Q,R) := exists t in F: R = P + t*(Q-P), provided P != Q
Parallel(L1,L2) := Direction(L1) = Direction(L2) as 1D linear subspaces
Coincident(L1,L2) := L1 = L2
Intersect(L1,L2) := L1 intersect L2

[CANONICAL REPRESENTATIONS]
R01: Parametric line: x(t) = p + t*v, t in R, v != 0.
R02: Two-point line: x(t) = p + t*(q-p), p != q.
R03: Euclidean 2D implicit form: a*x + b*y + c = 0, (a,b) != (0,0).
R04: Slope-intercept form: y = m*x + b, only for nonvertical 2D lines.
R05: Vertical line: x = k; slope is undefined.
R06: Euclidean 3D line: (x,y,z) = (p1,p2,p3) + t*(v1,v2,v3).
R07: Symmetric form: (x-p1)/v1 = (y-p2)/v2 = (z-p3)/v3 only for nonzero displayed denominators; zero direction components impose fixed coordinates.
R08: In Euclidean 2D, a normal to ax+by+c=0 is (a,b), and direction may be (-b,a).

[AXIOMS AND CONSTRAINTS]
A01: A line requires a nonzero direction vector.
A02: Two distinct points determine exactly one affine line.
A03: Every line contains infinitely many points over R.
A04: Every point of a line satisfies its defining equation.
A05: A line is unbounded in both parameter directions over R.
A06: An affine line has dimension 1.
A07: A line segment is not equivalent to its containing line.
A08: A ray is not equivalent to its containing line.
A09: Coordinate descriptions may differ while representing the same line.
A10: Euclidean angle and distance claims require a metric.
A11: A line's slope is not an intrinsic coordinate-independent property.
A12: In R^3, two distinct lines can be skew; neither parallel nor intersecting.

[RELATIONSHIPS]
Line --IS_A--> GeometricEntity
Line --IS_A--> AffineSubspace
Line --HAS_DIMENSION--> 1
Line --CONTAINS--> Point
Line --DEFINED_BY--> Point
Line --DEFINED_BY--> DirectionVector
Line --MAY_INTERSECT--> Line
Line --MAY_BE_PARALLEL_TO--> Line
Line --MAY_BE_PERPENDICULAR_TO--> Line [Euclidean metric]
Line --LIES_IN--> Plane [when specified]
LineSegment --SUBSET_OF--> Line
Ray --SUBSET_OF--> Line
Line --REPRESENTED_BY--> ParametricEquation
Line --REPRESENTED_BY--> ImplicitEquation [2D]

[INFERENCE RULES]
I01: Distinct(P,Q) => UniqueLine(P,Q).
I02: OnLine(P,L) and OnLine(Q,L) and P != Q => L = UniqueLine(P,Q).
I03: Direction(L,v) and k != 0 => Direction(L,k*v).
I04: SamePoint(P,Q) and ParallelDirections(v,w) => LineThrough(P,v) = LineThrough(Q,w).
I05: Parallel(L1,L2) and CommonPoint(L1,L2) => Coincident(L1,L2).
I06: Parallel(L1,L2) and not Coincident(L1,L2) => Disjoint(L1,L2) [affine geometry].
I07: Nonparallel distinct lines in R^2 => exactly one intersection.
I08: Nonparallel lines in R^3 do not necessarily intersect.
I09: OrthogonalDirections(v,w) => Perpendicular(L1,L2) [Euclidean directions; intersection required if defining perpendicular intersecting lines].
I10: Equation(a*x+b*y+c=0) and (a,b)!=(0,0) => ValidLine2D.
I11: a=0 and b!=0 => HorizontalLine.
I12: b=0 and a!=0 => VerticalLine.
I13: b!=0 => Slope=-a/b for implicit 2D form.
I14: Direction(v) and v!=0 => Parameterisation(p+t*v) is a line.
I15: Parameterisation(p+t*0) => SinglePoint, not Line.
I16: P,Q,R collinear and P!=Q => R belongs to UniqueLine(P,Q).
I17: L subset of Plane and L' subset of Plane => coplanarity, not necessarily intersection.
I18: Two distinct intersecting lines determine a plane in R^3.
I19: Two distinct parallel lines determine a plane in R^3.
I20: Two skew lines in R^3 are not coplanar.
I21: AffineTransform with invertible linear part maps lines to lines.
I22: Translation maps lines to parallel lines (possibly coincident).
I23: Isometry preserves line incidence, angles, and distances.
I24: Nonzero normal (a,b) yields direction (-b,a).
I25: Distinct 2D nonparallel lines have nonzero determinant of direction pair.
I26: Collinear points remain collinear under affine maps.
I27: Every line is convex over R.
I28: Intersection of two distinct affine lines is empty or a singleton.
I29: A line and its nontrivial proper segment are not semantically equivalent.
I30: An invertible change of coordinates preserves geometric line identity.
I31: In Euclidean R^2, distance from (x0,y0) to ax+by+c=0 is |a*x0+b*y0+c|/sqrt(a^2+b^2).
I32: In Euclidean R^3, distance from X to line through P with v!=0 is ||(X-P) cross v||/||v||.
I33: A point P is on line L(p,v) iff P-p is a scalar multiple of v.
I34: A 2D line with nonzero implicit normal partitions the plane into two open half-planes plus boundary line.
I35: The direction subspace of a line is unique even though its direction vector is not.
I36: If a linear transformation is not injective, its image of a line may be a point rather than a line.

[VALIDATION]
V01: Reject zero direction vector as a line definition.
V02: Reject identical points as sufficient to determine a unique line.
V03: Reject implicit equation with a=b=0 as a 2D line.
V04: Reject finite endpoints as an intrinsic property of an entire line.
V05: Do not assume any two nonparallel lines intersect in 3D.
V06: Do not infer perpendicularity from zero dot product without a specified inner product.
V07: Treat floating-point equality and collinearity with explicit tolerance and provenance.
V08: Distinguish exact symbolic claims from approximate numeric results.
V09: Check coordinate dimensionality and units before calculations.
V10: Preserve affine-versus-projective assumptions in inference.

[EXAMPLES]
E01: L={(t,2*t+1):t in R}; equation y=2*x+1.
E02: Points (0,1) and (1,3) determine y=2*x+1.
E03: x=4 is a vertical line with direction (0,1).
E04: y=-2 is a horizontal line with direction (1,0).
E05: x+y-1=0 has normal (1,1) and direction (1,-1).
E06: y=x and y=-x intersect at (0,0).
E07: y=x and y=x+2 are distinct parallel lines.
E08: L(p,(1,2)) = L(p,(2,4)).
E09: L((0,0),(1,0)) is the x-axis.
E10: The segment from (0,0) to (1,0) is a proper subset of the x-axis.
E11: In R^3, {(t,0,0)} and {(0,s,1)} are skew lines.
E12: The line {(1+t,2+3*t)} contains (2,5) at t=1.
E13: Translation by (2,1) maps y=x to y=x-1.
E14: Rotation by 90 degrees maps x-axis to y-axis.
E15: A point (0,2) has distance 2 from line y=0.
E16: A projection (x,y)->(x,0) maps vertical line x=1 to the point (1,0).

[SEMANTIC_EQUIVALENCE]
EQ01: StraightLine <=> AffineLine [real Euclidean/affine context].
EQ02: LineThroughTwoDistinctPoints <=> UniqueAffineLine(P,Q).
EQ03: ParametricLine <=> ImplicitLine [when dimension, field and valid conversion are specified].
NEQ01: Line != LineSegment.
NEQ02: Line != Ray.
NEQ03: Line != Plane.
NEQ04: Line != Curve in general, although every straight line is a special curve under some definitions.
NEQ05: Parallel != Coincident.

[KNOWLEDGE_GRAPH]
TRIPLE: Line | rdf:type | GeometricEntity
TRIPLE: Line | rdfs:subClassOf | AffineSubspace
TRIPLE: Line | hasDimension | 1
TRIPLE: Line | hasRepresentation | ParametricEquation
TRIPLE: Line | hasDirection | NonZeroVector
TRIPLE: LineSegment | partOf | Line
TRIPLE: Ray | partOf | Line
TRIPLE: Point | mayLieOn | Line
TRIPLE: Line | mayIntersect | Line
TRIPLE: Line | mayBeParallelTo | Line

[CONFIDENCE]
MATHEMATICAL_DEFINITIONS: 0.99 [standard assumptions stated]
FORMAL_RULES: 0.98 [conditional on declared domain and metric]
EXAMPLES: 0.99 [symbolically checkable]
SOURCE_PAGE_ALIGNMENT: unverified
CONFIDENCE_POLICY: Scores are editorial estimates, not measured probabilities.

[FLOW_HASH]
ALGORITHM: SHA-256
CANONICALISATION: UTF-8; LF line endings; preserve field order; exclude FLOW_HASH computed value from digest input.
VALUE: TO_BE_COMPUTED_AT_PUBLICATION

[UPDATE_MODEL]
VERSION: 4.0
CHANGE_POLICY: Revalidate definitions, inference rules, examples, and linked ontologies when mathematical scope changes.
PROVENANCE: Maintain source URL, edit date, reviewer, change reason, and digest.
REVALIDATION: Check coordinate-system assumptions, dimensional constraints, and terminology on each revision.

[AI_CONSUMPTION]
ENTITY_RESOLUTION: Resolve Line separately from Segment, Ray, Plane, and arbitrary Curve.
REASONING: Apply inference rules only after verifying assumptions and input types.
UNCERTAINTY: Mark inferred geometric relations unknown when dimension or metric is missing.
OUTPUT: Provide definitions, premises, derivation, validation status, and provenance.
SAFETY: Do not silently replace exact mathematics with floating-point approximations.
INTEROPERABILITY: Map to geometric ontology nodes with explicit dimensional and coordinate context.

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