Documentation

Mathlib.Geometry.Convex.Parallelepiped

Parallelepipeds #

Parallelepipeds spanned by a finite family of vectors in a module over a linearly ordered field.

Main definitions #

def parallelepiped (K : Type u_1) [Field K] [LinearOrder K] {ι : Type u_2} {E : Type u_4} [Fintype ι] [AddCommGroup E] [Module K E] (v : ι → E) :
Set E

The parallelepiped spanned by a finite family of vectors.

Equations
Instances For
    theorem mem_parallelepiped_iff {K : Type u_1} [Field K] [LinearOrder K] {ι : Type u_2} {E : Type u_4} [Fintype ι] [AddCommGroup E] [Module K E] (v : ι → E) (x : E) :
    x ∈ parallelepiped K v ↔ ∃ t ∈ Set.Icc 0 1, x = ∑ i : ι, t i • v i
    @[simp]
    theorem parallelepiped_of_isEmpty {K : Type u_1} [Field K] [LinearOrder K] {ι : Type u_2} {E : Type u_4} [Fintype ι] [AddCommGroup E] [Module K E] [IsEmpty ι] (v : ι → E) :
    theorem LinearIndependent.sum_smul_mem_parallelepiped_iff {K : Type u_1} [Field K] [LinearOrder K] {ι : Type u_2} {E : Type u_4} [Fintype ι] [AddCommGroup E] [Module K E] {v : ι → E} (hv : LinearIndependent K v) {t : ι → K} :
    ∑ i : ι, t i • v i ∈ parallelepiped K v ↔ t ∈ Set.Icc 0 1

    For linearly independent v, a linear combination of v lies in the parallelepiped spanned by v if and only if all its coefficients lie in [0, 1].

    theorem parallelepiped_basis_eq {K : Type u_1} [Field K] [LinearOrder K] {ι : Type u_2} {E : Type u_4} [Fintype ι] [AddCommGroup E] [Module K E] (b : Module.Basis ι K E) :
    parallelepiped K ⇑b = {x : E | ∀ (i : ι), (b.repr x) i ∈ Set.Icc 0 1}
    theorem parallelepiped_basisFun {K : Type u_1} [Field K] [LinearOrder K] {ι : Type u_2} [Fintype ι] :
    theorem image_parallelepiped {K : Type u_1} [Field K] [LinearOrder K] {ι : Type u_2} {E : Type u_4} {F : Type u_5} [Fintype ι] [AddCommGroup E] [Module K E] [AddCommGroup F] [Module K F] (f : E →ₗ[K] F) (v : ι → E) :
    ⇑f '' parallelepiped K v = parallelepiped K (⇑f ∘ v)
    @[simp]
    theorem parallelepiped_comp_equiv {K : Type u_1} [Field K] [LinearOrder K] {ι : Type u_2} {ι' : Type u_3} {E : Type u_4} [Fintype ι] [Fintype ι'] [AddCommGroup E] [Module K E] (v : ι → E) (e : ι' ≃ ι) :

    Reindexing a family of vectors does not change their parallelepiped.

    theorem parallelepiped_sumElim {K : Type u_1} [Field K] [LinearOrder K] {ι : Type u_2} {ι' : Type u_3} {E : Type u_4} {F : Type u_5} [Fintype ι] [Fintype ι'] [AddCommGroup E] [Module K E] [AddCommGroup F] [Module K F] (v : ι → E) (w : ι' → F) :
    @[simp]
    theorem zero_mem_parallelepiped {K : Type u_1} [Field K] [LinearOrder K] {ι : Type u_2} {E : Type u_4} [Fintype ι] [AddCommGroup E] [Module K E] [IsStrictOrderedRing K] (v : ι → E) :
    theorem parallelepiped_eq_sum_segment {K : Type u_1} [Field K] [LinearOrder K] {ι : Type u_2} {E : Type u_4} [Fintype ι] [AddCommGroup E] [Module K E] [IsStrictOrderedRing K] (v : ι → E) :
    parallelepiped K v = ∑ i : ι, segment K 0 (v i)
    theorem parallelepiped_unique {K : Type u_1} [Field K] [LinearOrder K] {ι : Type u_2} {E : Type u_4} [Fintype ι] [AddCommGroup E] [Module K E] [IsStrictOrderedRing K] [Unique ι] (v : ι → E) :

    A parallelepiped spanned by a single vector is a segment.

    theorem convex_parallelepiped {K : Type u_1} [Field K] [LinearOrder K] {ι : Type u_2} {E : Type u_4} [Fintype ι] [AddCommGroup E] [Module K E] [IsStrictOrderedRing K] (v : ι → E) :
    theorem parallelepiped_eq_convexHull {K : Type u_1} [Field K] [LinearOrder K] {ι : Type u_2} {E : Type u_4} [Fintype ι] [AddCommGroup E] [Module K E] [IsStrictOrderedRing K] (v : ι → E) :
    parallelepiped K v = (convexHull K) (∑ i : ι, {0, v i})

    A parallelepiped is the convex hull of its vertices

    theorem parallelepiped_single {K : Type u_1} [Field K] [LinearOrder K] {ι : Type u_2} [Fintype ι] [IsStrictOrderedRing K] [DecidableEq ι] (a : ι → K) :
    (parallelepiped K fun (i : ι) => Pi.single i (a i)) = Set.uIcc 0 a

    The axis aligned parallelepiped over ι → K is a cuboid.

    theorem parallelepiped_subset_hull {K : Type u_1} [Field K] [LinearOrder K] {ι : Type u_2} {E : Type u_4} [Fintype ι] [AddCommGroup E] [Module K E] [IsStrictOrderedRing K] (v : ι → E) :