Documentation

LeanPool.RupertMinimality.Minimality.Octahedron

Octahedron #

Corollary 7.8: octahedra with Condition A #

At a view along the axis d = a - a' the two poles project to one point, and for each equator edge uv the two facets auv (front) and a'uv (back) combine into a d-invariant affine function vanishing on u, v and negative at the poles and the other two equator points (edge_normal_of_facets). So the projected equator is a strictly convex quadrilateral (in one of the two orientations, quad_orient) with the poles strictly inside. Condition A is the open condition Overlap4 on the equator depths, which makes any 4-cycle with distinct depths unimodal (isCyclicUnimodal_four). Theorem 7.5 in its open-condition form (isRupert_of_open_unimodal) finishes.

4-cycles #

def RupertMinimality.Minimality.quad {α : Type u_1} (p₀ p₁ p₂ p₃ : α) :
ZMod 4 → α

The 4-cycle p₀ p₁ p₂ p₃.

Equations
Instances For
    theorem RupertMinimality.Minimality.zmod4_table (i : ZMod 4) :
    i = 0 ∧ i + 1 = 1 ∧ i + 2 = 2 ∧ i + 3 = 3 ∨ i = 1 ∧ i + 1 = 2 ∧ i + 2 = 3 ∧ i + 3 = 0 ∨ i = 2 ∧ i + 1 = 3 ∧ i + 2 = 0 ∧ i + 3 = 1 ∨ i = 3 ∧ i + 1 = 0 ∧ i + 2 = 1 ∧ i + 3 = 2
    def RupertMinimality.Minimality.Overlap4 (z₀ z₁ z₂ z₃ : ℝ) :

    Strict overlap of the ranges of the diagonals {z₀, z₂} and {z₁, z₃} of a 4-cycle, in expanded form.

    Equations
    Instances For
      theorem RupertMinimality.Minimality.overlap4_of_minmax {z₀ z₁ z₂ z₃ : ℝ} (h : max (min z₀ z₂) (min z₁ z₃) < min (max z₀ z₂) (max z₁ z₃)) :
      Overlap4 z₀ z₁ z₂ z₃
      theorem RupertMinimality.Minimality.Overlap4.symm {z₀ z₁ z₂ z₃ : ℝ} (h : Overlap4 z₀ z₁ z₂ z₃) :
      Overlap4 z₀ z₃ z₂ z₁
      theorem RupertMinimality.Minimality.Overlap4.mul {z₀ z₁ z₂ z₃ : ℝ} (h : Overlap4 z₀ z₁ z₂ z₃) {t : ℝ} (ht : t ≠ 0) :
      Overlap4 (t * z₀) (t * z₁) (t * z₂) (t * z₃)
      theorem RupertMinimality.Minimality.Overlap4.not_saddle {z : ZMod 4 → ℝ} (h : Overlap4 (z 0) (z 1) (z 2) (z 3)) (i : ZMod 4) (h1 : z (i + 1) < z i) (h2 : z (i + 3) < z i) (h3 : z (i + 1) < z (i + 2)) (h4 : z (i + 3) < z (i + 2)) :
      theorem RupertMinimality.Minimality.isCyclicUnimodal_four {z : ZMod 4 → ℝ} (hinj : Function.Injective z) (h : Overlap4 (z 0) (z 1) (z 2) (z 3)) :

      A 4-cycle of distinct depths whose diagonals' ranges overlap is unimodal.

      Convex quadrilaterals #

      def RupertMinimality.Minimality.QuadLeft (q₀ q₁ q₂ q₃ o : ℝ²) :

      q₀ q₁ q₂ q₃ is a strictly convex counterclockwise quadrilateral and o is strictly left of each of its edges.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem RupertMinimality.Minimality.QuadLeft.isCcwPolygon {q₀ q₁ q₂ q₃ o : ℝ²} (h : QuadLeft q₀ q₁ q₂ q₃ o) :
        IsCcwPolygon (quad q₀ q₁ q₂ q₃)
        theorem RupertMinimality.Minimality.QuadLeft.left {q₀ q₁ q₂ q₃ o : ℝ²} (h : QuadLeft q₀ q₁ q₂ q₃ o) (i : ZMod 4) :
        0 < cross2 (quad q₀ q₁ q₂ q₃ (i + 1) - quad q₀ q₁ q₂ q₃ i) (o - quad q₀ q₁ q₂ q₃ i)
        theorem RupertMinimality.Minimality.cross2_rev (u v X : ℝ²) :
        cross2 (u - v) (X - v) = -cross2 (v - u) (X - u)
        theorem RupertMinimality.Minimality.inner_mul_eq_cross2_mul (N e X : ℝ²) (h : inner ℝ N e = 0) :
        (e.ofLp 0 ^ 2 + e.ofLp 1 ^ 2) * inner ℝ N X = cross2 e X * inner ℝ N (rot90 e)

        With ⟪N, e⟫ = 0, ⟪N, ·⟫ is a multiple of cross2 e ·.

        theorem RupertMinimality.Minimality.edge_sign {N u v X : ℝ²} (h0 : inner ℝ N (v - u) = 0) (hX : inner ℝ N (X - u) < 0) (huv : u ≠ v) :
        cross2 (v - u) (X - u) * inner ℝ N (rot90 (v - u)) < 0
        theorem RupertMinimality.Minimality.sign_aux {a b c : ℝ} (h1 : b * a < 0) (h2 : b * c < 0) :
        0 < a * c
        theorem RupertMinimality.Minimality.pos_of_mul_neg_neg {a b : ℝ} (h : a * b < 0) (hb : b < 0) :
        0 < a
        theorem RupertMinimality.Minimality.neg_of_mul_neg_pos {a b : ℝ} (h : a * b < 0) (hb : 0 < b) :
        a < 0
        theorem RupertMinimality.Minimality.neg_of_mul_pos_neg {a b : ℝ} (h : 0 < a * b) (ha : a < 0) :
        b < 0
        theorem RupertMinimality.Minimality.pos_of_mul_pos_pos {a b : ℝ} (h : 0 < a * b) (ha : 0 < a) :
        0 < b
        theorem RupertMinimality.Minimality.quad_orient {q₀ q₁ q₂ q₃ o : ℝ²} (E₀ : ∃ (N : ℝ²), inner ℝ N (q₁ - q₀) = 0 ∧ inner ℝ N (q₂ - q₀) < 0 ∧ inner ℝ N (q₃ - q₀) < 0 ∧ inner ℝ N (o - q₀) < 0) (E₁ : ∃ (N : ℝ²), inner ℝ N (q₂ - q₁) = 0 ∧ inner ℝ N (q₃ - q₁) < 0 ∧ inner ℝ N (q₀ - q₁) < 0 ∧ inner ℝ N (o - q₁) < 0) (E₂ : ∃ (N : ℝ²), inner ℝ N (q₃ - q₂) = 0 ∧ inner ℝ N (q₀ - q₂) < 0 ∧ inner ℝ N (q₁ - q₂) < 0 ∧ inner ℝ N (o - q₂) < 0) (E₃ : ∃ (N : ℝ²), inner ℝ N (q₀ - q₃) = 0 ∧ inner ℝ N (q₁ - q₃) < 0 ∧ inner ℝ N (q₂ - q₃) < 0 ∧ inner ℝ N (o - q₃) < 0) :
        QuadLeft q₀ q₁ q₂ q₃ o ∨ QuadLeft q₀ q₃ q₂ q₁ o

        Edge data for the four edges of a quadrilateral (a normal vanishing on the edge and negative at the other points) make it strictly convex in one of the two orientations, with o inside.

        theorem RupertMinimality.Minimality.quad_injective {α : Type u_1} {p₀ p₁ p₂ p₃ : α} (h01 : p₀ ≠ p₁) (h02 : p₀ ≠ p₂) (h03 : p₀ ≠ p₃) (h12 : p₁ ≠ p₂) (h13 : p₁ ≠ p₃) (h23 : p₂ ≠ p₃) :
        Function.Injective (quad p₀ p₁ p₂ p₃)

        From facets to the projected equator #

        theorem RupertMinimality.Minimality.exists_normal_of_affine (f : ℝ³ →ᵃ[ℝ] ℝ) :
        ∃ (N : ℝ³), ∀ (y z : ℝ³), f y - f z = inner ℝ N (y - z)
        theorem RupertMinimality.Minimality.edge_normal_of_facets {R : Matrix (Fin 3) (Fin 3) ℝ} (hR : R ∈ SO3) {a a' u v w₁ w₂ : ℝ³} {ρ : ℝ} (hρ : ρ ≠ 0) (hRd : (Matrix.toEuclideanLin R) (a - a') = ρ • ez) {f₁ f₂ : ℝ³ →ᵃ[ℝ] ℝ} (h1a : f₁ a = 0) (h1u : f₁ u = 0) (h1v : f₁ v = 0) (h1a' : f₁ a' < 0) (h1w₁ : f₁ w₁ < 0) (h1w₂ : f₁ w₂ < 0) (h2a' : f₂ a' = 0) (h2u : f₂ u = 0) (h2v : f₂ v = 0) (h2a : f₂ a < 0) (h2w₁ : f₂ w₁ < 0) (h2w₂ : f₂ w₂ < 0) :

        At a view along d = a - a', a front facet auv and a back facet a'uv combine into a normal of the projected edge uv, negative at the projected poles and at any point below both facets.

        An octahedron with opposite vertex pairs (a, a'), (b, b'), (c, c'): the eight triangles with one vertex from each pair are facets.

        Instances For
          theorem RupertMinimality.Minimality.isRupert_octahedron_conditionA {a a' b b' c c' : ℝ³} (h : IsOctahedron a a' b b' c c') (hA : max (min (inner ℝ (a - a') b) (inner ℝ (a - a') b')) (min (inner ℝ (a - a') c) (inner ℝ (a - a') c')) < min (max (inner ℝ (a - a') b) (inner ℝ (a - a') b')) (max (inner ℝ (a - a') c) (inner ℝ (a - a') c'))) :
          IsRupert {a, a', b, b', c, c'}

          Corollary 7.8 (Condition A). With d = a - a', if the projections of the diagonals bb' and cc' onto the axis aa' overlap in more than a point, the octahedron is Rupert.