Planes #
Planes in ℝ³: normals, coplanarity, the cross product #
Concrete tools for the ≤ 5-vertex and bicapped-tetrahedron proofs:
exists_plane_of_coplanar,coplanar_of_plane: Mathlib'sCoplanarversus a plane equation⟪N, x⟫ = cwithN ≠ 0;interior_convexHull_eq_empty_of_plane: a planar set has no interior;exists_affineIndependent_triple: a non-collinear set contains an affinely independent triple;cross,det4withcoplanar_of_det4_eq_zero.
The orientation determinant of four points.
Equations
- RupertMinimality.Minimality.det4 a b c d = inner ℝ (RupertMinimality.Minimality.cross (b - a) (c - a)) (d - a)
Instances For
theorem
RupertMinimality.Minimality.sum_smul_mem_interior_convexHull
(T : Finset ℝ²)
(lam : ℝ² → ℝ)
(hpos : ∀ y ∈ T, 0 < lam y)
(h1 : ∑ y ∈ T, lam y = 1)
(hint : (interior ((convexHull ℝ) ↑T)).Nonempty)
:
A combination of the points of T with all weights positive lies in the
interior of conv T (when that interior is nonempty).
theorem
RupertMinimality.Minimality.sum_smul_mem_interior_convexHull_image
{ι : Type u_1}
(s : Finset ι)
(φ : ι → ℝ²)
(μ : ι → ℝ)
(hpos : ∀ i ∈ s, 0 < μ i)
(h1 : ∑ i ∈ s, μ i = 1)
(hint : (interior ((convexHull ℝ) ↑(Finset.image φ s))).Nonempty)
:
Index-based version of sum_smul_mem_interior_convexHull.