Finite-dimensional subspaces of affine spaces. #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
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.
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
.
Alias of the forward direction of collinear_iff_finrank_le_one
.
A subset of a collinear set is collinear.
The vector_span
of collinear points is finite-dimensional.
The direction of the affine span of collinear points is finite-dimensional.
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.
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.
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.
If three points are not collinear, the first and second are different.
If three points are not collinear, the first and third are different.
If three points are not collinear, the second and third are different.
A point in a collinear set of points lies in the affine span of any two distinct points of that set.
The affine span of any two distinct points of a collinear set of points equals the affine span of the whole set.
Given a collinear set of points, and two distinct points p₂
and p₃
in it, a point p₁
is
collinear with the set if and only if it is collinear with p₂
and p₃
.
Adding a point in the affine span of a set does not change whether that set is collinear.
If a point lies in the affine span of two points, those three points are collinear.
If two points lie in the affine span of two points, those four points are collinear.
If three points lie in the affine span of two points, those five points are collinear.
If three points lie in the affine span of two points, the first four points are collinear.
If three points lie in the affine span of two points, the first three points are collinear.
A set of points is coplanar if their vector_span
has dimension at most 2
.
Equations
- coplanar k s = (module.rank k ↥(vector_span k s) ≤ 2)
The vector_span
of coplanar points is finite-dimensional.
The direction of the affine span of coplanar points is finite-dimensional.
A set of points, whose vector_span
is finite-dimensional, is coplanar if and only if their
vector_span
has dimension at most 2
.
Alias of the forward direction of coplanar_iff_finrank_le_two
.
A subset of a coplanar set is coplanar.
Collinear points are coplanar.
The empty set is coplanar.
A single point is coplanar.
Two points are coplanar.
Adding a point in the affine span of a set does not change whether that set is coplanar.
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.
Adding a point to a collinear set produces a coplanar set.
A set of points in a two-dimensional space is coplanar.
A set of points in a two-dimensional space is coplanar.
Three points are coplanar.