Documentation

LeanPool.RupertMinimality.Minimality.Thm73

Thm73 #

Theorem 7.3: from forces to a horizontal double normal (glue) #

Translates the polygon setting of hasHorizontalDoubleNormal_of_forces into the sequence setting of forces_parallel:

A cyclic sequence of distinct reals with exactly one local maximum (hence exactly one local minimum).

Equations
Instances For
    noncomputable def RupertMinimality.Minimality.liftPt (q : ℝ²) (t : ℝ) :

    The corner (p i, z i) of the silhouette cycle in ℝ³.

    Equations
    Instances For

      The silhouette cycle C = x₀x₁⋯x_{k-1}x₀ has a horizontal double normal: two points of C at the same depth whose projections span a double normal of the shadow conv p.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem RupertMinimality.Minimality.exists_localMax_window {k : ℕ} (z : ZMod k → ℝ) (hz : Function.Injective z) (B : ZMod k) (L : ℕ) (hL : L < k) (u : ℕ) (_hu0 : 0 < u) (huL : u < L) (h0 : z B < z (B + ↑u)) (hL' : z (B + ↑L) < z (B + ↑u)) :
        ∃ (p : ℕ), 0 < p ∧ p < L ∧ z (B + ↑p - 1) < z (B + ↑p) ∧ z (B + ↑p + 1) < z (B + ↑p)

        An interior maximum over a window of the cycle is a strict local maximum.

        theorem RupertMinimality.Minimality.natCast_mod_two {k x y : ℕ} (hx : x < k) (hy : y < 2 * k) (h : ↑x = ↑y) :
        x = y ∨ x + k = y
        theorem RupertMinimality.Minimality.IsCyclicUnimodal.eq_of_localMax {k : ℕ} [NeZero k] {z : ZMod k → ℝ} (hz : IsCyclicUnimodal z) {q1 q2 : ZMod k} (h1 : z (q1 - 1) < z q1 ∧ z (q1 + 1) < z q1) (h2 : z (q2 - 1) < z q2 ∧ z (q2 + 1) < z q2) :
        q1 = q2

        A cyclically unimodal sequence has at most one strict local maximum.

        theorem RupertMinimality.Minimality.zmod_add_natCast_sub {k : ℕ} (B : ZMod k) {a x : ℕ} (h : a ≤ x) :
        B + ↑a + ↑(x - a) = B + ↑x
        theorem RupertMinimality.Minimality.IsCyclicUnimodal.noZig {k : ℕ} [NeZero k] {z : ZMod k → ℝ} (hz : IsCyclicUnimodal z) (B : ZMod k) {a b c d : ℕ} (hab : a < b) (hbc : b < c) (hcd : c < d) (hdk : d < k) :
        ¬(z (B + ↑a) < z (B + ↑b) ∧ z (B + ↑c) < z (B + ↑b) ∧ z (B + ↑c) < z (B + ↑d) ∧ z (B + ↑a) < z (B + ↑d) ∨ z (B + ↑b) < z (B + ↑a) ∧ z (B + ↑b) < z (B + ↑c) ∧ z (B + ↑d) < z (B + ↑c) ∧ z (B + ↑d) < z (B + ↑a))

        No zigzag. In any linear reading of a cyclically unimodal sequence, four positions never alternate low–high–low–high.

        theorem RupertMinimality.Minimality.sum_zmod_eq_sum_range {k : ℕ} [NeZero k] {M : Type u_1} [AddCommMonoid M] (F : ZMod k → M) (B : ZMod k) :
        ∑ i : ZMod k, F i = ∑ n ∈ Finset.range k, F (B + ↑n)

        Sums over ZMod k read linearly from any base point.

        theorem RupertMinimality.Minimality.SSlin_of_two_free (c : ℕ → ℝ) (k t : ℕ) (htk : t ≤ k) (hpos : ∀ (n : ℕ), 1 ≤ n → n < t → 0 ≤ c n) (hneg : ∀ (n : ℕ), t + 1 ≤ n → n < k → c n ≤ 0) :
        SSlin c k

        Sign pattern with two free positions 0 and t.

        theorem RupertMinimality.Minimality.mod_add_lt {k o n : ℕ} (ho : o < k) (hn : n < k) :
        (o + n) % k = if o + n < k then o + n else o + n - k
        theorem RupertMinimality.Minimality.SSlin_rotate {x : ℕ → ℝ} {k : ℕ} (hx : SSlin x k) (o : ℕ) (ho : o < k) :
        SSlin (fun (n : ℕ) => x ((o + n) % k)) k

        The sign-switch property survives a cyclic rotation of the index.

        theorem RupertMinimality.Minimality.IsCcwPolygon.corner_value {k : ℕ} {p : ZMod k → ℝ²} (hp : IsCcwPolygon p) (i : ZMod k) {f : ℝ²} (hf : f ∈ normalConeAt ((convexHull ℝ) (Set.range p)) (p i)) (D : ℝ²) :
        ∃ (a : ℝ) (b : ℝ), 0 ≤ a ∧ 0 ≤ b ∧ cross2 D f = a * -inner ℝ D (p i - p (i - 1)) + b * -inner ℝ D (p (i + 1) - p i)

        The force at a corner, tested against D, is a nonnegative combination of the (negated) increments of ⟪D, ·⟫ along the two edges at the corner.

        theorem RupertMinimality.Minimality.zmod_add_natCast_pred {k : ℕ} (M : ZMod k) {n : ℕ} (hn : 1 ≤ n) :
        M + ↑n - 1 = M + ↑(n - 1)
        theorem RupertMinimality.Minimality.zmod_add_natCast_succ {k : ℕ} (M : ZMod k) (n : ℕ) :
        M + ↑n + 1 = M + ↑(n + 1)
        theorem RupertMinimality.Minimality.IsCcwPolygon.corner_signs {k : ℕ} {p : ZMod k → ℝ²} (hp : IsCcwPolygon p) {f : ZMod k → ℝ²} (hf : ∀ (i : ZMod k), f i ∈ normalConeAt ((convexHull ℝ) (Set.range p)) (p i)) (D : ℝ²) (M : ZMod k) (t : ℕ) (hle : ∀ n < t, inner ℝ D (p (M + ↑(n + 1)) - p (M + ↑n)) ≤ 0) (hge : ∀ (n : ℕ), t ≤ n → n < k → 0 ≤ inner ℝ D (p (M + ↑(n + 1)) - p (M + ↑n))) :
        (∀ (n : ℕ), 1 ≤ n → n < t → 0 ≤ cross2 D (f (M + ↑n))) ∧ ∀ (n : ℕ), t + 1 ≤ n → n < k → cross2 D (f (M + ↑n)) ≤ 0

        Corner values of the forces against D, read from a corner maximising ⟪ν, ·⟫: ≥ 0 strictly inside the decreasing run, ≤ 0 strictly inside the increasing run (Step 1).

        theorem RupertMinimality.Minimality.IsCcwPolygon.forces_SS {k : ℕ} [NeZero k] {p : ZMod k → ℝ²} (hp : IsCcwPolygon p) {f : ZMod k → ℝ²} (hf : ∀ (i : ZMod k), f i ∈ normalConeAt ((convexHull ℝ) (Set.range p)) (p i)) (B : ZMod k) (D : ℝ²) :
        SSlin (fun (n : ℕ) => cross2 D (f (B + ↑n))) k

        Sign switch (Step 1) of the corner forces against any D, read from any base corner B.

        theorem RupertMinimality.Minimality.IsCcwPolygon.forces_oriented {k : ℕ} {p : ZMod k → ℝ²} (hp : IsCcwPolygon p) {f : ZMod k → ℝ²} (hf : ∀ (i : ZMod k), f i ∈ normalConeAt ((convexHull ℝ) (Set.range p)) (p i)) (u : ZMod k) :
        ∃ j ≤ k, (∀ (s : ℕ), 0 < s → s < j → 0 ≤ cross2 (f u) (f (u + ↑s))) ∧ ∀ (s : ℕ), j ≤ s → s < k → cross2 (f u) (f (u + ↑s)) ≤ 0

        Read from corner u, the cross-products with its force are nonnegative before the cut and nonpositive after it.

        In the plane, a vector parallel to e is ⟪e, v⟫ / ‖e‖² times e.

        theorem RupertMinimality.Minimality.convexHull_le_of_corners {k : ℕ} {p : ZMod k → ℝ²} {e : ℝ²} {M : ℝ} (h : ∀ (i : ZMod k), inner ℝ e (p i) ≤ M) (q : ℝ²) :
        q ∈ (convexHull ℝ) (Set.range p) → inner ℝ e q ≤ M

        The hull of the corners lies in the slab between the extreme values of a linear functional.

        theorem RupertMinimality.Minimality.convexHull_ge_of_corners {k : ℕ} {p : ZMod k → ℝ²} {e : ℝ²} {μ : ℝ} (h : ∀ (i : ZMod k), μ ≤ inner ℝ e (p i)) (q : ℝ²) :
        q ∈ (convexHull ℝ) (Set.range p) → μ ≤ inner ℝ e q
        theorem RupertMinimality.Minimality.IsCcwPolygon.max_edge {k : ℕ} {p : ZMod k → ℝ²} (hp : IsCcwPolygon p) {e : ℝ²} (he : e ≠ 0) (B : ZMod k) (hB : ∀ (l : ZMod k), inner ℝ e (p l) ≤ inner ℝ e (p B)) (S : ZMod k → Prop) (hS : ∀ (i : ZMod k), S i → inner ℝ e (p i) = inner ℝ e (p B)) :
        ∃ (a : ZMod k), ∀ (i : ZMod k), S i → i = a ∨ i = a + 1

        The corners maximising a nonzero linear functional lie in one edge {a, a + 1}.

        theorem RupertMinimality.Minimality.IsCcwPolygon.hdn_of_parallel {k : ℕ} [NeZero k] {p : ZMod k → ℝ²} (hp : IsCcwPolygon p) (z : ZMod k → ℝ) {f : ZMod k → ℝ²} (hf : ∀ (i : ZMod k), f i ∈ normalConeAt ((convexHull ℝ) (Set.range p)) (p i)) {e : ℝ²} (he : e ≠ 0) (c : ZMod k → ℝ) (hfc : ∀ (i : ZMod k), f i = c i • e) {B : ZMod k} (hcB : 0 < c B) (h1 : ∑ i : ZMod k, f i = 0) (h2 : ∑ i : ZMod k, z i • f i = 0) (h3 : ∑ i : ZMod k, cross2 (p i) (f i) = 0) :

        Step 5. Parallel corner forces with zero sum, zero depth moment and zero torque give a horizontal double normal.

        Three points with positive orientation are affinely independent.

        A strictly convex polygon has interior points.

        At an interior point the normal cone is {0}.