Documentation

LeanPool.RupertMinimality.Minimality.Tilt

Tilt #

L8 framework: tilting off a degenerate view (frame-free) #

Step 4 of minimality.md.

Everything is stated with the triple product det3 a b c = ⟪a × b, c⟫ at a view w (no rotation needed): for a rotation R with R w = r e_z, r > 0, cross2 (P R a) (P R b) = det3 a b w / r.

noncomputable def RupertMinimality.Minimality.det3 (a b c : ℝ³) :

The triple product det (a, b, c) = ⟪a × b, c⟫.

Equations
Instances For
    theorem RupertMinimality.Minimality.det3_add_smul (a b u v : ℝ³) (ε : ℝ) :
    det3 a b (u + ε • v) = det3 a b u + ε * det3 a b v
    theorem RupertMinimality.Minimality.cross2_proj_rot {R : Matrix (Fin 3) (Fin 3) ℝ} (hR : R ∈ SO3) {w : ℝ³} {r : ℝ} (hRw : (Matrix.toEuclideanLin R) w = r • ez) (a b : ℝ³) :

    At a rotation taking the view w to r e_z, screen orientations are triple products with w.

    theorem RupertMinimality.Minimality.cross2_proj_rot_pos {R : Matrix (Fin 3) (Fin 3) ℝ} (hR : R ∈ SO3) {w : ℝ³} {r : ℝ} (hr : 0 < r) (hRw : (Matrix.toEuclideanLin R) w = r • ez) {a b : ℝ³} (h : 0 < det3 a b w) :

    Rotations preserve the cross product.

    def RupertMinimality.Minimality.tri {α : Type u_1} (a b c : α) :
    ZMod 3 → α

    The triangle abc as a 3-cycle.

    Equations
    Instances For
      theorem RupertMinimality.Minimality.mem_interior_tri {a b c q : ℝ²} (h0 : 0 < cross2 (b - a) (c - a)) (h1 : 0 < cross2 (b - a) (q - a)) (h2 : 0 < cross2 (c - b) (q - b)) (h3 : 0 < cross2 (a - c) (q - c)) :

      A point strictly left of the three edges of a counterclockwise triangle is in the interior of the triangle.

      theorem RupertMinimality.Minimality.eventually_pos_affine {A B : ℝ} (h : 0 < A ∨ A = 0 ∧ 0 < B) :
      ∀ᶠ (ε : ℝ) in nhdsWithin 0 (Set.Ioi 0), 0 < A + ε * B

      A local certificate for Lemma 1 at x, view w, motion (ω, τ): either x is a corner between y₀ (before) and y₁ (after) and its velocity points strictly into the angle y₀ x y₁, or x lies strictly inside the triangle abc.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem RupertMinimality.Minimality.isRupert_of_tiltCert (V : Finset ℝ³) (w : ℝ³) (hw : w ≠ 0) (ω τ : ℝ³) (h : ∀ x ∈ V, TiltCert V w ω τ x) :

        Lemma 1, frame-free, with local certificates.

        The sign facts of Lemma 8.0 for one determinant test.

        Equations
        Instances For
          theorem RupertMinimality.Minimality.TiltSign.eventually {a b u₀ v : ℝ³} (h : TiltSign a b u₀ v) :
          ∀ᶠ (ε : ℝ) in nhdsWithin 0 (Set.Ioi 0), 0 < det3 a b (u₀ + ε • v)
          theorem RupertMinimality.Minimality.eventually_tilted_dets (V : Finset ℝ³) (u₀ v : ℝ³) {k : ℕ} [NeZero k] (x : ZMod k → ℝ³) (hcyc : ∀ (i j : ZMod k), j ≠ i → j ≠ i + 1 → TiltSign (x (i + 1) - x i) (x j - x i) u₀ v) (hrest : ∀ y ∈ V, (∀ (j : ZMod k), y ≠ x j) → ∀ (i : ZMod k), TiltSign (x (i + 1) - x i) (y - x i) u₀ v) :
          ∀ᶠ (ε : ℝ) in nhdsWithin 0 (Set.Ioi 0), (∀ (i j : ZMod k), j ≠ i → j ≠ i + 1 → 0 < det3 (x (i + 1) - x i) (x j - x i) (u₀ + ε • v)) ∧ ∀ y ∈ V, (∀ (j : ZMod k), y ≠ x j) → ∀ (i : ZMod k), 0 < det3 (x (i + 1) - x i) (y - x i) (u₀ + ε • v)

          The determinant tests of Lemma 8.0 hold for all small tilts.

          theorem RupertMinimality.Minimality.eventually_tilted_cycle (V : Finset ℝ³) (u₀ v : ℝ³) {k : ℕ} [NeZero k] (hk : 3 ≤ k) (x : ZMod k → ℝ³) (hcyc : ∀ (i j : ZMod k), j ≠ i → j ≠ i + 1 → TiltSign (x (i + 1) - x i) (x j - x i) u₀ v) (hrest : ∀ y ∈ V, (∀ (j : ZMod k), y ≠ x j) → ∀ (i : ZMod k), TiltSign (x (i + 1) - x i) (y - x i) u₀ v) :
          ∀ᶠ (ε : ℝ) in nhdsWithin 0 (Set.Ioi 0), ∀ R ∈ SO3, ∀ (r : ℝ), 0 < r → (Matrix.toEuclideanLin R) (u₀ + ε • v) = r • ez → (IsCcwPolygon fun (i : ZMod k) => projXy ((Matrix.toEuclideanLin R) (x i))) ∧ ∀ y ∈ V, (∀ (j : ZMod k), y ≠ x j) → projXy ((Matrix.toEuclideanLin R) y) ∈ interior ((convexHull ℝ) (Set.range fun (i : ZMod k) => projXy ((Matrix.toEuclideanLin R) (x i))))

          Lemma 8.0, instance-wise (determinant form). If the predicted cycle x passes every determinant test in the limit (D0 ≥ 0, and D1 > 0 when D0 = 0), then for all small ε > 0 it is the silhouette at the view u₀ + εv: strictly convex, counterclockwise, with every other point of V strictly inside (in particular (G1)).

          theorem RupertMinimality.Minimality.isRupert_of_tilted_unimodal' (V : Finset ℝ³) (u₀ v : ℝ³) (hu₀ : u₀ ≠ 0) {k : ℕ} [NeZero k] (hk : 3 ≤ k) (x : ZMod k → ℝ³) (hxV : ∀ (i : ZMod k), x i ∈ V) (hcyc : ∀ (i j : ZMod k), j ≠ i → j ≠ i + 1 → TiltSign (x (i + 1) - x i) (x j - x i) u₀ v) (hrest : ∀ y ∈ V, (∀ (j : ZMod k), y ≠ x j) → ∀ (i : ZMod k), TiltSign (x (i + 1) - x i) (y - x i) u₀ v) (Q : (ZMod k → ℝ) → Prop) (hQo : IsOpen {z : ZMod k → ℝ | Q z}) (hQs : ∀ (z : ZMod k → ℝ) (c : ℝ), 0 < c → Q z → Q fun (i : ZMod k) => c * z i) (hQe : ∀ᶠ (ε : ℝ) in nhdsWithin 0 (Set.Ioi 0), Q fun (i : ZMod k) => inner ℝ (x i) (u₀ + ε • v)) (hQu : ∀ (z : ZMod k → ℝ), Function.Injective z → Q z → IsCyclicUnimodal z) :

          Corollary 8.0′, eventual form. As Corollary 8.0′, but the depth condition Q is only required at the tilted views u₀ + εv for all small ε > 0 (this covers robust unimodality of the limit depths, and also depth ties at u₀ broken lexicographically by the tilt, as used for weak quad edges in Oct9Weak.lean).

          theorem RupertMinimality.Minimality.isRupert_of_tilted_unimodal (V : Finset ℝ³) (u₀ v : ℝ³) (hu₀ : u₀ ≠ 0) {k : ℕ} [NeZero k] (hk : 3 ≤ k) (x : ZMod k → ℝ³) (hxV : ∀ (i : ZMod k), x i ∈ V) (hcyc : ∀ (i j : ZMod k), j ≠ i → j ≠ i + 1 → TiltSign (x (i + 1) - x i) (x j - x i) u₀ v) (hrest : ∀ y ∈ V, (∀ (j : ZMod k), y ≠ x j) → ∀ (i : ZMod k), TiltSign (x (i + 1) - x i) (y - x i) u₀ v) (Q : (ZMod k → ℝ) → Prop) (hQo : IsOpen {z : ZMod k → ℝ | Q z}) (hQs : ∀ (z : ZMod k → ℝ) (c : ℝ), 0 < c → Q z → Q fun (i : ZMod k) => c * z i) (hQ : Q fun (i : ZMod k) => inner ℝ (x i) u₀) (hQu : ∀ (z : ZMod k → ℝ), Function.Injective z → Q z → IsCyclicUnimodal z) :

          Corollary 8.0′ (robust unimodality). In Lemma 8.0, if the limit depths ⟪x i, u₀⟫ satisfy an open, scale-invariant condition Q that forces cyclic unimodality once the depths are distinct, then V is Rupert.