Documentation

LeanPool.SumOfSetsInSeveralDimensions.AffineDim

Affine dimension of a finite set #

The affine dimension of a finite set S ⊆ ℝ^D is the dimension of the direction of its affine span. The direction of the affine span of S is the vector span of S, the subspace spanned by the differences of the points of S.

Main definitions #

Main statements #

noncomputable def Finset.affineDim {D : ℕ} (S : Finset (Fin D → ℝ)) :

The affine dimension of a finite set S ⊆ ℝ^D: the dimension of the direction of the affine span of S.

Equations
Instances For

    The affine dimension of S is the dimension of the vector span of S.

    The affine dimension of S is the dimension of the span of S - S.

    theorem Finset.affineDim_mono {D : ℕ} {S T : Finset (Fin D → ℝ)} (hST : S ⊆ T) :

    Affine dimension is monotone under inclusion of finite sets.

    theorem Finset.affineDim_le {D : ℕ} (S : Finset (Fin D → ℝ)) :

    The affine dimension of a subset of ℝ^D is at most D.

    @[simp]
    theorem Finset.affineDim_singleton {D : ℕ} (x : Fin D → ℝ) :
    @[simp]
    theorem Finset.affineDim_vadd_finset {D : ℕ} (c : Fin D → ℝ) (S : Finset (Fin D → ℝ)) :

    The affine dimension is invariant under translation.

    theorem Finset.affineDim_image_add_left {D : ℕ} (c : Fin D → ℝ) (S : Finset (Fin D → ℝ)) :
    (image (fun (x : Fin D → ℝ) => c + x) S).affineDim = S.affineDim

    The affine dimension of c + S is that of S.

    theorem Finset.affineDim_image_add_right {D : ℕ} (c : Fin D → ℝ) (S : Finset (Fin D → ℝ)) :
    (image (fun (x : Fin D → ℝ) => x + c) S).affineDim = S.affineDim

    The affine dimension of S + c is that of S.

    theorem Finset.affineDim_image_sub {D : ℕ} (S : Finset (Fin D → ℝ)) (c : Fin D → ℝ) :
    (image (fun (x : Fin D → ℝ) => x - c) S).affineDim = S.affineDim

    The affine dimension of S - c is that of S.

    theorem Finset.affineDim_add_one_le_card {D : ℕ} {S : Finset (Fin D → ℝ)} (hS : S.Nonempty) :

    A nonempty finite set of affine dimension d contains at least d + 1 points.

    theorem Finset.affineDim_le_card {D : ℕ} (S : Finset (Fin D → ℝ)) :

    The affine dimension of a finite set is at most its number of points.