LeanPool.Rupert.Cube #
Imported Lean Pool material for LeanPool.Rupert.Cube.
@[reducible, inline]
Normalized rotation matrix used for the outer cube shadow.
Equations
- Cube.outerRot = (1 / √6) • Cube.outerRotDenorm
Instances For
Projection of the rotated cube vertices for the outer shadow.
Equations
- Cube.outerShadow = {x : ℝ² | ∃ (i : Fin 8), projXy ((Matrix.toEuclideanLin Cube.outerRot) (Cube.cube i)) = x}
Instances For
Projection of the denormalized rotated cube vertices for the outer shadow.
Equations
- Cube.outerShadowDenorm = {x : ℝ² | ∃ (i : Fin 8), projXy ((Matrix.toEuclideanLin Cube.outerRotDenorm) (Cube.cube i)) = x}
Instances For
Open axis-aligned rectangle in ℝ².
Equations
- Cube.openRectangle xmin xmax ymin ymax = Cube.inject '' Set.Ioo xmin xmax ×ˢ Set.Ioo ymin ymax
Instances For
Closed axis-aligned rectangle in ℝ².
Equations
- Cube.closedRectangle xmin xmax ymin ymax = Cube.inject '' Set.Icc xmin xmax ×ˢ Set.Icc ymin ymax
Instances For
theorem
Cube.closedRectangle_is_convex_hull
(xmin xmax ymin ymax : ℝ)
(xlt : xmin < xmax)
(ylt : ymin < ymax)
:
A closed rectangle is the convex hull of its four vertices.
The interior of a closed rectangle is the corresponding open rectangle.
Closed rectangle used as the intermediate shadow contained in the outer hull.
Equations
Instances For
Interior rectangle used as the intermediate shadow contained in the outer hull.
Equations
Instances For
theorem
Cube.mediant_sub_hull_outer :
Set.range (rectVertices (rnn.ofLp 0) (rpp.ofLp 0) (rnn.ofLp 1) (rpp.ofLp 1)) ⊆ (convexHull ℝ) outerShadow