Finite-dimensional subspaces of affine spaces. #
This file provides a few results relating to finite-dimensional subspaces of affine spaces.
Main definitions #
collinear
defines collinear sets of points as those that span a subspace of dimension at most 1.
The vector_span
of a finite set is finite-dimensional.
The vector_span
of a family indexed by a fintype
is
finite-dimensional.
The vector_span
of a subset of a family indexed by a fintype
is finite-dimensional.
The direction of the affine span of a finite set is finite-dimensional.
The direction of the affine span of a family indexed by a
fintype
is finite-dimensional.
The direction of the affine span of a subset of a family indexed
by a fintype
is finite-dimensional.
An affine-independent family of points in a finite-dimensional affine space is finite.
Equations
- fintype_of_fin_dim_affine_independent k hi = dite (is_empty ι) (λ (hι : is_empty ι), fintype.of_is_empty) (λ (hι : ¬is_empty ι), let q : ι := _.some, _inst : is_noetherian k V := _ in fintype_of_fintype_ne q (fintype.of_finite {x // x ≠ q}))
An affine-independent subset of a finite-dimensional affine space is finite.
The vector_span
of a finite subset of an affinely independent
family has dimension one less than its cardinality.
The vector_span
of a finite affinely independent family has
dimension one less than its cardinality.
The vector_span
of a finite affinely independent family whose
cardinality is one more than that of the finite-dimensional space is
⊤
.
The vector_span
of n + 1
points in an indexed family has
dimension at most n
.
The vector_span
of an indexed family of n + 1
points has
dimension at most n
.
n + 1
points are affinely independent if and only if their
vector_span
has dimension n
.
n + 1
points are affinely independent if and only if their
vector_span
has dimension at least n
.
n + 2
points are affinely independent if and only if their
vector_span
does not have dimension at most n
.
n + 2
points have a vector_span
with dimension at most n
if
and only if they are not affinely independent.
If the vector_span
of a finite subset of an affinely independent
family lies in a submodule with dimension one less than its
cardinality, it equals that submodule.
If the vector_span
of a finite affinely independent
family lies in a submodule with dimension one less than its
cardinality, it equals that submodule.
If the affine_span
of a finite subset of an affinely independent
family lies in an affine subspace whose direction has dimension one
less than its cardinality, it equals that subspace.
If the affine_span
of a finite affinely independent family lies
in an affine subspace whose direction has dimension one less than its
cardinality, it equals that subspace.
The affine_span
of a finite affinely independent family is ⊤
iff the
family's cardinality is one more than that of the finite-dimensional space.
The vector_span
of adding a point to a finite-dimensional subspace is finite-dimensional.
The direction of the affine span of adding a point to a finite-dimensional subspace is finite-dimensional.
The vector_span
of adding a point to a set with a finite-dimensional vector_span
is
finite-dimensional.
A set of points is collinear if their vector_span
has dimension
at most 1
.
Equations
- collinear k s = (module.rank k ↥(vector_span k s) ≤ 1)
The definition of collinear
.
A set of points, whose vector_span
is finite-dimensional, is
collinear if and only if their vector_span
has dimension at most
1
.
The empty set is collinear.
A single point is collinear.
Given a point p₀
in a set of points, that set is collinear if and
only if the points can all be expressed as multiples of the same
vector, added to p₀
.
A set of points is collinear if and only if they can all be expressed as multiples of the same vector, added to the same base point.
Two points are collinear.
Three points are affinely independent if and only if they are not collinear.
Three points are collinear if and only if they are not affinely independent.
Adding a point to a finite-dimensional subspace increases the dimension by at most one.
Adding a point to a set with a finite-dimensional span increases the dimension by at most one.