Documentation

LeanPool.RupertMinimality.Minimality.RightPrism

Right Prism #

Theorem 8.1: right prisms #

Every right prism over a strictly convex polygon is Rupert, by an explicit first-order motion at the views e_z + εv next to the axis (L7 is not used). With Theorem 7.7 this covers every translation prism over a triangle.

noncomputable def RupertMinimality.Minimality.rightPrism {k : ℕ} [NeZero k] (p : ZMod k → ℝ²) (h : ℝ) :

The right prism over the polygon p (in the plane z = 0) of height h.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem RupertMinimality.Minimality.mem_rightPrism {k : ℕ} [NeZero k] (p : ZMod k → ℝ²) (h : ℝ) (x : ℝ³) :
    x ∈ rightPrism p h ↔ (∃ (j : ZMod k), liftPt (p j) 0 = x) ∨ ∃ (j : ZMod k), liftPt (p j) h = x
    theorem RupertMinimality.Minimality.det3_tilt (a b : ℝ³) (v : ℝ²) (ε : ℝ) :
    det3 a b (ez + ε • liftPt v 0) = cross2 (projXy a) (projXy b) + ε * (a.ofLp 2 * cross2 (projXy b) v - b.ofLp 2 * cross2 (projXy a) v)
    theorem RupertMinimality.Minimality.tilt_test {a b : ℝ³} (v : ℝ²) (h : 0 < cross2 (projXy a) (projXy b) ∨ cross2 (projXy a) (projXy b) = 0 ∧ 0 < a.ofLp 2 * cross2 (projXy b) v - b.ofLp 2 * cross2 (projXy a) v) :
    ∀ᶠ (ε : ℝ) in nhdsWithin 0 (Set.Ioi 0), 0 < det3 a b (ez + ε • liftPt v 0)
    theorem RupertMinimality.Minimality.proj_liftPt_sub (q₁ q₂ : ℝ²) (z₁ z₂ : ℝ) :
    projXy (liftPt q₁ z₁ - liftPt q₂ z₂) = q₁ - q₂
    theorem RupertMinimality.Minimality.liftPt_sub_two (q₁ q₂ : ℝ²) (z₁ z₂ : ℝ) :
    (liftPt q₁ z₁ - liftPt q₂ z₂).ofLp 2 = z₁ - z₂
    theorem RupertMinimality.Minimality.exists_generic_dir {ι : Type u_1} {κ : Type u_2} [Finite ι] [Finite κ] (E : ι → ℝ²) (hE : ∀ (i : ι), E i ≠ 0) (D : κ → ℝ²) (hD : ∀ (i : κ), D i ≠ 0) :
    ∃ (v : ℝ²), (∀ (i : ι), cross2 (E i) v ≠ 0) ∧ ∀ (i : κ), inner ℝ v (D i) ≠ 0

    A direction parallel to none of finitely many vectors and perpendicular to none of finitely many others.

    theorem RupertMinimality.Minimality.liftPt_sub_liftPt (q₁ q₂ : ℝ²) (z₁ z₂ : ℝ) :
    liftPt q₁ z₁ - liftPt q₂ z₂ = liftPt (q₁ - q₂) (z₁ - z₂)
    theorem RupertMinimality.Minimality.tt (v q : ℝ²) (z : ℝ) (b : ℝ³) (h : 0 < cross2 q (projXy b) ∨ cross2 q (projXy b) = 0 ∧ 0 < z * cross2 (projXy b) v - b.ofLp 2 * cross2 q v) :
    ∀ᶠ (ε : ℝ) in nhdsWithin 0 (Set.Ioi 0), 0 < det3 (liftPt q z) b (ez + ε • liftPt v 0)

    One determinant test at the tilted view, for a lifted first vector.

    theorem RupertMinimality.Minimality.cert_flat (V : Finset ℝ³) (v : ℝ²) (ω τ : ℝ³) {q qm qp : ℝ²} {z : ℝ} (hm : liftPt qm z ∈ V) (hp : liftPt qp z ∈ V) (hE : 0 < cross2 (q - qm) (qp - q)) (h1 : 0 < cross2 (qp - q) (projXy (cross ω (liftPt q z) + τ))) (h2 : 0 < cross2 (q - qm) (projXy (cross ω (liftPt q z) + τ))) :
    ∀ᶠ (ε : ℝ) in nhdsWithin 0 (Set.Ioi 0), TiltCert V (ez + ε • liftPt v 0) ω τ (liftPt q z)

    A corner between two points at its own height.

    theorem RupertMinimality.Minimality.cert_up (V : Finset ℝ³) (v : ℝ²) (ω τ : ℝ³) {q qm : ℝ²} {z d : ℝ} (hm : liftPt qm z ∈ V) (hu : liftPt q (z + d) ∈ V) (h0 : 0 < d * cross2 (qm - q) v) (h1 : 0 < d * cross2 (projXy (cross ω (liftPt q z) + τ)) v) (h2 : 0 < cross2 (q - qm) (projXy (cross ω (liftPt q z) + τ))) :
    ∀ᶠ (ε : ℝ) in nhdsWithin 0 (Set.Ioi 0), TiltCert V (ez + ε • liftPt v 0) ω τ (liftPt q z)

    A corner x between a point qm at its height (before) and the point above or below it (after), at height difference d.

    theorem RupertMinimality.Minimality.cert_down (V : Finset ℝ³) (v : ℝ²) (ω τ : ℝ³) {q qp : ℝ²} {z d : ℝ} (hu : liftPt q (z + d) ∈ V) (hp : liftPt qp z ∈ V) (h0 : 0 < -(d * cross2 (qp - q) v)) (h1 : 0 < cross2 (qp - q) (projXy (cross ω (liftPt q z) + τ))) (h2 : 0 < -(d * cross2 (projXy (cross ω (liftPt q z) + τ)) v)) :
    ∀ᶠ (ε : ℝ) in nhdsWithin 0 (Set.Ioi 0), TiltCert V (ez + ε • liftPt v 0) ω τ (liftPt q z)

    A corner x between the point above or below it (before, at height difference d) and a point qp at its height (after).

    theorem RupertMinimality.Minimality.cert_hidden (V : Finset ℝ³) (v : ℝ²) (ω τ : ℝ³) {q qm qp : ℝ²} {z d : ℝ} (hm : liftPt qm (z + d) ∈ V) (h0 : liftPt q (z + d) ∈ V) (hp : liftPt qp (z + d) ∈ V) (hE : 0 < cross2 (q - qm) (qp - q)) (h1 : 0 < d * cross2 (q - qm) v) (h2 : 0 < d * cross2 (qp - q) v) :
    ∀ᶠ (ε : ℝ) in nhdsWithin 0 (Set.Ioi 0), TiltCert V (ez + ε • liftPt v 0) ω τ (liftPt q z)

    A hidden point, strictly inside the triangle qm q qp shifted by d.

    theorem RupertMinimality.Minimality.isCcwPolygon_tri {a b c : ℝ²} (h0 : 0 < cross2 (b - a) (c - a)) :
    theorem RupertMinimality.Minimality.exists_zmod3 {P : ZMod 3 → Prop} :
    (∃ (j : ZMod 3), P j) ↔ P 0 ∨ P 1 ∨ P 2
    theorem RupertMinimality.Minimality.isRupert_rightPrism_gen {k : ℕ} [NeZero k] (p : ZMod k → ℝ²) (hp : IsCcwPolygon p) {h : ℝ} (hh : 0 < h) (V : Finset ℝ³) (hV : rightPrism p h ⊆ V) (hex : ∀ (v : ℝ²) (ω τ : ℝ³), ∀ᶠ (ε : ℝ) in nhdsWithin 0 (Set.Ioi 0), ∀ y ∈ V \ rightPrism p h, TiltCert V (ez + ε • liftPt v 0) ω τ y) :

    Theorem 8.1, general form. The right prism rightPrism p h inside a larger finite set V is Rupert provided the extra points of V have tilt certificates at the chosen (generic) direction and spin, hex, whatever the direction v and the data ω, τ are.

    theorem RupertMinimality.Minimality.isRupert_rightPrism {k : ℕ} [NeZero k] (p : ZMod k → ℝ²) (hp : IsCcwPolygon p) {h : ℝ} (hh : 0 < h) :

    Theorem 8.1. Every right prism over a strictly convex polygon is Rupert.

    theorem RupertMinimality.Minimality.isRupert_translationPrism_right (A B C w : ℝ³) (hind : AffineIndependent ℝ ![A, B, C, A + w]) (hB : inner ℝ w (B - A) = 0) (hC : inner ℝ w (C - A) = 0) :
    IsRupert {A, B, C, A + w, B + w, C + w}

    Right translation prisms over a triangle, in any position.

    Every translation prism over a triangle is Rupert (Theorems 7.7 and 8.1).