Parallelepipeds #
Parallelepipeds spanned by a finite family of vectors in a module over a linearly ordered field.
Main definitions #
parallelepiped K v: the parallelepiped spanned byv, i.e. all combinations∑ i, t i • v iwitht i ∈ [0, 1].
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
- parallelepiped K v = (fun (t : ι → K) => ∑ i : ι, t i • v i) '' Set.Icc 0 1
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) :
@[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} :
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) :
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) :
@[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) :
parallelepiped K (Sum.elim (⇑(LinearMap.inl K E F) ∘ v) (⇑(LinearMap.inr K E F) ∘ w)) = parallelepiped K v ×ˢ parallelepiped K w
@[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) :
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) :
Convex K (parallelepiped K v)
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) :
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) :
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) :
parallelepiped K v ⊆ ↑(PointedCone.hull K (Set.range v))