Documentation

LeanPool.RupertMinimality.Minimality.SixGale

Six Gale #

Six points in convex position: dependencies, Gale signs, splits, prisms (L10) #

Part of step 5 of minimality.md. Setting (S) (Six V): six points, none in the hull of the others, not coplanar, no five coplanar. Affine dependencies are functions ℝ³ → ℝ (IsDepOn V l); two of them, l and m, give the Gale vectors (l t, m t) and the determinants galeD l m s t.

theorem RupertMinimality.Minimality.affineIndependent_of_det3 {a b c d : ℝ³} (h : det3 (b - a) (c - a) (d - a) ≠ 0) :

Four points with nonzero orientation determinant are affinely independent.

l is an affine dependency of the points of V.

Equations
Instances For

    Setting (S): six points, none in the hull of the others, not coplanar, no five coplanar.

    Instances For

      Sums over six listed points #

      theorem RupertMinimality.Minimality.sum_six {M : Type u_1} [AddCommMonoid M] {a b c d e f : ℝ³} (hnd : [a, b, c, d, e, f].Nodup) (g : ℝ³ → M) :
      ∑ t ∈ {a, b, c, d, e, f}, g t = g a + g b + g c + g d + g e + g f

      Dependencies #

      theorem RupertMinimality.Minimality.IsDepOn.comb {V : Finset ℝ³} {l m : ℝ³ → ℝ} (hl : IsDepOn V l) (hm : IsDepOn V m) (α β : ℝ) :
      IsDepOn V fun (t : ℝ³) => α * l t + β * m t
      theorem RupertMinimality.Minimality.IsDepOn.neg {V : Finset ℝ³} {l : ℝ³ → ℝ} (hl : IsDepOn V l) :
      IsDepOn V fun (t : ℝ³) => -l t
      theorem RupertMinimality.Minimality.IsDepOn.apply {V : Finset ℝ³} {l : ℝ³ → ℝ} (hl : IsDepOn V l) (f : ℝ³ →ᵃ[ℝ] ℝ) :
      ∑ t ∈ V, l t * f t = 0

      A dependency applied to an affine function.

      theorem RupertMinimality.Minimality.IsDepOn.galeD {V : Finset ℝ³} {l m : ℝ³ → ℝ} (hl : IsDepOn V l) (hm : IsDepOn V m) (s : ℝ³) :
      theorem RupertMinimality.Minimality.IsDepOn.nu {V : Finset ℝ³} {l m : ℝ³ → ℝ} (hl : IsDepOn V l) (hm : IsDepOn V m) (s : ℝ³) :
      IsDepOn V fun (t : ℝ³) => -(l s * l t + m s * m t)

      The dependency t ↦ -⟨g_s, g_t⟩.

      §10.1 (a)–(d) #

      theorem RupertMinimality.Minimality.Six.not_single_neg {V : Finset ℝ³} (hS : Six V) {μ : ℝ³ → ℝ} (hμ : IsDepOn V μ) {v : ℝ³} (hv : v ∈ V) (hneg : μ v < 0) (hrest : ∀ t ∈ V, t ≠ v → 0 ≤ μ t) :

      (a) Vertex lemma. No dependency is negative at exactly one point and nonnegative elsewhere.

      theorem RupertMinimality.Minimality.IsDepOn.eq_zero_of_nonpos {V : Finset ℝ³} {μ : ℝ³ → ℝ} (hμ : IsDepOn V μ) (h : ∀ t ∈ V, μ t ≤ 0) (t : ℝ³) :
      t ∈ V → μ t = 0

      A dependency that is nonnegative (or nonpositive) everywhere vanishes.

      theorem RupertMinimality.Minimality.Six.cross_ne_zero {V : Finset ℝ³} (hS : Six V) {P Q R : ℝ³} (hP : P ∈ V) (hQ : Q ∈ V) (hR : R ∈ V) (hPQ : P ≠ Q) (hPR : P ≠ R) (hQR : Q ≠ R) :
      cross (Q - P) (R - P) ≠ 0

      (b) No three points of V are collinear.

      theorem RupertMinimality.Minimality.Six.no_three_zeros {V : Finset ℝ³} (hS : Six V) {μ : ℝ³ → ℝ} (hμ : IsDepOn V μ) (hne : ∃ t ∈ V, μ t ≠ 0) {a b c : ℝ³} (ha : a ∈ V) (hb : b ∈ V) (hc : c ∈ V) (hab : a ≠ b) (hac : a ≠ c) (hbc : b ≠ c) (h0a : μ a = 0) (h0b : μ b = 0) (h0c : μ c = 0) :

      A nonzero dependency vanishes at no three points (support at least 4).

      A Gale frame: two dependencies, with nonzero Gale vectors, and two points where they take the values of barycentric dependencies.

      Instances For
        theorem RupertMinimality.Minimality.exists_six_of_card {V : Finset ℝ³} (h : V.card = 6) :
        ∃ (a : ℝ³) (b : ℝ³) (c : ℝ³) (d : ℝ³) (e : ℝ³) (f : ℝ³), [a, b, c, d, e, f].Nodup ∧ V = {a, b, c, d, e, f}

        Six distinct listed points.

        theorem RupertMinimality.Minimality.inner_bary_eq {N A B C T X : ℝ³} {a b c d k : ℝ} (hX : X = a • A + b • B + c • C + d • T) (hs : a + b + c + d = 1) (hA : a = 0 ∨ inner ℝ N A = k) (hB : b = 0 ∨ inner ℝ N B = k) (hC : c = 0 ∨ inner ℝ N C = k) (hT : d = 0 ∨ inner ℝ N T = k) :
        inner ℝ N X = k

        An affine functional constant on three of four frame points, with zero weight on the fourth.

        theorem RupertMinimality.Minimality.galeFrame_of_det4 {V : Finset ℝ³} (hS : Six V) {A B C T D₀ E₀ : ℝ³} (hV : V = {A, B, C, T, D₀, E₀}) (hnd : [A, B, C, T, D₀, E₀].Nodup) (hdet : det4 A B C T ≠ 0) :
        ∃ (l : ℝ³ → ℝ) (m : ℝ³ → ℝ), GaleFrame V l m

        A Gale frame from an independent tetrahedron ABCT and the two other points.

        theorem RupertMinimality.Minimality.Six.exists_galeFrame {V : Finset ℝ³} (hS : Six V) :
        ∃ (l : ℝ³ → ℝ) (m : ℝ³ → ℝ), GaleFrame V l m

        Every six-point set in setting (S) has a Gale frame.

        theorem RupertMinimality.Minimality.GaleFrame.exists_galeD_ne {V : Finset ℝ³} {l m : ℝ³ → ℝ} (hF : GaleFrame V l m) {s : ℝ³} (hs : s ∈ V) :
        ∃ t ∈ V, galeD l m s t ≠ 0

        galeD l m s · is nonzero somewhere.

        theorem RupertMinimality.Minimality.GaleFrame.no_three_parallel {V : Finset ℝ³} {l m : ℝ³ → ℝ} (hS : Six V) (hF : GaleFrame V l m) {s t u : ℝ³} (hs : s ∈ V) (ht : t ∈ V) (hu : u ∈ V) (hst : s ≠ t) (hsu : s ≠ u) (htu : t ≠ u) (h1 : galeD l m s t = 0) (h2 : galeD l m s u = 0) :

        (d) No three Gale vectors are pairwise parallel.

        §10.1 (e): facets from Gale signs #

        theorem RupertMinimality.Minimality.IsDepOn.apply_inner {V : Finset ℝ³} {l : ℝ³ → ℝ} (hl : IsDepOn V l) (N : ℝ³) (k : ℝ) :
        ∑ t ∈ V, l t * (inner ℝ N t - k) = 0

        A dependency applied to x ↦ ⟪N, x⟫ - k.

        theorem RupertMinimality.Minimality.gale_rel {V : Finset ℝ³} {l m : ℝ³ → ℝ} (hl : IsDepOn V l) (hm : IsDepOn V m) {a b c d e f : ℝ³} (hV : V = {a, b, c, d, e, f}) (hnd : [a, b, c, d, e, f].Nodup) (N : ℝ³) (k : ℝ) (s : ℝ³) :
        galeD l m s a * (inner ℝ N a - k) + galeD l m s b * (inner ℝ N b - k) + galeD l m s c * (inner ℝ N c - k) + galeD l m s d * (inner ℝ N d - k) + galeD l m s e * (inner ℝ N e - k) + galeD l m s f * (inner ℝ N f - k) = 0

        The six-term relation of a Gale dependency galeD l m s and a plane function.

        theorem RupertMinimality.Minimality.plane_three (P Q R : ℝ³) :
        inner ℝ (cross (Q - P) (R - P)) Q - inner ℝ (cross (Q - P) (R - P)) P = 0 ∧ inner ℝ (cross (Q - P) (R - P)) R - inner ℝ (cross (Q - P) (R - P)) P = 0

        The plane of three non-collinear points P Q R, as ⟪N, x⟫ = ⟪N, P⟫.

        theorem RupertMinimality.Minimality.Six.plane_contra {V : Finset ℝ³} (hS : Six V) {a b c d e f : ℝ³} (hV : V = {a, b, c, d, e, f}) {N : ℝ³} (hN : N ≠ 0) {k : ℝ} (ha : inner ℝ N a - k = 0) (hb : inner ℝ N b - k = 0) (hc : inner ℝ N c - k = 0) (hd : inner ℝ N d - k = 0) (he : inner ℝ N e - k = 0) (hf : inner ℝ N f - k = 0) :

        If a plane function vanishes on all six points, V is coplanar.

        theorem RupertMinimality.Minimality.isFacetTriangle_of_gale {V : Finset ℝ³} (hS : Six V) {l m : ℝ³ → ℝ} (hl : IsDepOn V l) (hm : IsDepOn V m) {P Q R X Y Z : ℝ³} (hV : V = {P, Q, R, X, Y, Z}) (hnd : [P, Q, R, X, Y, Z].Nodup) (h₁ : galeD l m X Y < 0) (h₂ : galeD l m Y Z < 0) (h₃ : galeD l m Z X < 0) :

        A triangle facet from three negative Gale determinants of its complement.

        theorem RupertMinimality.Minimality.isFacet_quad_of_gale {V : Finset ℝ³} (hS : Six V) {l m : ℝ³ → ℝ} (hl : IsDepOn V l) (hm : IsDepOn V m) {P Q R Z X Y : ℝ³} (hV : V = {P, Q, R, Z, X, Y}) (hnd : [P, Q, R, Z, X, Y].Nodup) (h₀ : galeD l m X Y = 0) (h₁ : galeD l m X Z * galeD l m Y Z < 0) :
        IsFacet V {P, Q, R, Z}

        A quadrilateral facet from a parallel opposite complementary pair.

        theorem RupertMinimality.Minimality.affineIndependent_of_gale {V : Finset ℝ³} (hS : Six V) {l m : ℝ³ → ℝ} (hl : IsDepOn V l) (hm : IsDepOn V m) {A B C T X Y : ℝ³} (hV : V = {A, B, C, T, X, Y}) (hnd : [A, B, C, T, X, Y].Nodup) (h : galeD l m X Y ≠ 0) :

        The complement of a non-parallel pair is an independent tetrahedron.

        Lemma 10.1: a 2+4 split #

        s, t are an O-pair: antiparallel Gale vectors.

        Equations
        Instances For
          theorem RupertMinimality.Minimality.exists_split_of_perturb {V : Finset ℝ³} {M ν : ℝ³ → ℝ} (hM : IsDepOn V M) (hν : IsDepOn V ν) (hνZ : ∀ t ∈ V, M t = 0 → ν t < 0) (h2 : {t ∈ V | 0 < M t}.card = 2) :
          ∃ D ∈ V, ∃ E ∈ V, D ≠ E ∧ ∃ (μ : ℝ³ → ℝ), IsDepOn V μ ∧ 0 < μ D ∧ 0 < μ E ∧ ∀ x ∈ V, x ≠ D → x ≠ E → μ x < 0

          Perturbing a dependency M by δ ν (ν < 0 where M vanishes): if M is positive at exactly two points, this is a 2+4 split.

          theorem RupertMinimality.Minimality.exists_split_of_no_partner {V : Finset ℝ³} (hS : Six V) {l m : ℝ³ → ℝ} (hF : GaleFrame V l m) {i : ℝ³} (hi : i ∈ V) (hno : ∀ j ∈ V, ¬IsOPair l m i j) :
          ∃ D ∈ V, ∃ E ∈ V, D ≠ E ∧ ∃ (μ : ℝ³ → ℝ), IsDepOn V μ ∧ 0 < μ D ∧ 0 < μ E ∧ ∀ x ∈ V, x ≠ D → x ≠ E → μ x < 0

          Lemma 10.1. A point without an O-partner gives a 2+4 split.

          Proposition 10.2: prisms #

          theorem RupertMinimality.Minimality.IsOPair.symm {l m : ℝ³ → ℝ} {s t : ℝ³} (h : IsOPair l m s t) :
          IsOPair l m t s
          theorem RupertMinimality.Minimality.IsOPair.coeff {V : Finset ℝ³} {l m : ℝ³ → ℝ} (hF : GaleFrame V l m) {s t : ℝ³} (hs : s ∈ V) (h : IsOPair l m s t) :
          ∃ (a : ℝ), 0 < a ∧ l t = -a * l s ∧ m t = -a * m s

          The Gale vector of an O-partner is a negative multiple.

          theorem RupertMinimality.Minimality.partner_unique {V : Finset ℝ³} (hS : Six V) {l m : ℝ³ → ℝ} (hF : GaleFrame V l m) {s t u : ℝ³} (hs : s ∈ V) (ht : t ∈ V) (hu : u ∈ V) (h1 : IsOPair l m s t) (h2 : IsOPair l m s u) :
          t = u

          O-partners are unique.

          theorem RupertMinimality.Minimality.galeD_pair {l m : ℝ³ → ℝ} {X X' : ℝ³} {a : ℝ} (hl : l X' = -a * l X) (hm : m X' = -a * m X) (s : ℝ³) :
          galeD l m s X' = -a * galeD l m s X
          theorem RupertMinimality.Minimality.exists_three_pairs {V : Finset ℝ³} (hS : Six V) {l m : ℝ³ → ℝ} (hF : GaleFrame V l m) (hall : ∀ i ∈ V, ∃ j ∈ V, IsOPair l m i j) :
          ∃ (A : ℝ³) (A' : ℝ³) (B : ℝ³) (B' : ℝ³) (C : ℝ³) (C' : ℝ³), V = {A, A', B, B', C, C'} ∧ [A, A', B, B', C, C'].Nodup ∧ IsOPair l m A A' ∧ IsOPair l m B B' ∧ IsOPair l m C C'

          If every point has an O-partner, the six points split into three O-pairs.

          theorem RupertMinimality.Minimality.pair_frustum {O X X' : ℝ³} {r : ℝ} (hr : 0 < r) (hr1 : r ≠ 1) (h : X' = O + r • (X - O)) :
          ∃ (F : ℝ³) (N : ℝ³) (α : ℝ), (∀ (x : ℝ³), x = X ∨ x = X' ↔ x = F ∨ x = N) ∧ 0 < α ∧ α < 1 ∧ N = O + α • (F - O)

          A frustum pair X' = O + r (X - O) with the far point first.

          theorem RupertMinimality.Minimality.pair_parallel {X X' w : ℝ³} {s : ℝ} (hs : s ≠ 0) (h : X' = X + s • w) :
          ∃ (F : ℝ³) (N : ℝ³) (σ : ℝ), (∀ (x : ℝ³), x = X ∨ x = X' ↔ x = F ∨ x = N) ∧ 0 < σ ∧ N = F + σ • w

          A parallel pair X' = X + s w with the positive shift.

          theorem RupertMinimality.Minimality.finset_of_pairs {A A' B B' C C' F₁ N₁ F₂ N₂ F₃ N₃ : ℝ³} (h₁ : ∀ (x : ℝ³), x = A ∨ x = A' ↔ x = F₁ ∨ x = N₁) (h₂ : ∀ (x : ℝ³), x = B ∨ x = B' ↔ x = F₂ ∨ x = N₂) (h₃ : ∀ (x : ℝ³), x = C ∨ x = C' ↔ x = F₃ ∨ x = N₃) :
          {A, A', B, B', C, C'} = {F₁, F₂, F₃, N₁, N₂, N₃}
          theorem RupertMinimality.Minimality.pair_mem {A A' F N : ℝ³} (h : ∀ (x : ℝ³), x = A ∨ x = A' ↔ x = F ∨ x = N) :
          (F = A ∨ F = A') ∧ (N = A ∨ N = A')

          Pair memberships and distinctness of the representatives.

          theorem RupertMinimality.Minimality.isRupert_parallel_of_shifts {V : Finset ℝ³} (hS : Six V) {A A' B B' C C' w : ℝ³} (hV : V = {A, A', B, B', C, C'}) (hnd : [A, A', B, B', C, C'].Nodup) {sB sC : ℝ} (hsB : sB ≠ 0) (hsC : sC ≠ 0) (hA' : A' = A + w) (hB' : B' = B + sB • w) (hC' : C' = C + sC • w) :

          Parallel prisms: lateral edges A' - A = w, B' - B = s_B w, C' - C = s_C w.

          theorem RupertMinimality.Minimality.isRupert_frustum_of_ratios {V : Finset ℝ³} (hS : Six V) {A A' B B' C C' O : ℝ³} (hV : V = {A, A', B, B', C, C'}) (hnd : [A, A', B, B', C, C'].Nodup) {rA rB rC : ℝ} (hrA : 0 < rA) (hrB : 0 < rB) (hrC : 0 < rC) (hrA1 : rA ≠ 1) (hrB1 : rB ≠ 1) (hrC1 : rC ≠ 1) (hA' : A' = O + rA • (A - O)) (hB' : B' = O + rB • (B - O)) (hC' : C' = O + rC • (C - O)) :

          Frustums: three lateral lines through O, X' = O + r_X (X - O).

          theorem RupertMinimality.Minimality.parallel_rel {X X' Y Y' : ℝ³} {LX LY : ℝ} (hv : LX • (X - X') + LY • (Y - Y') = 0) (hLY : LY ≠ 0) :
          Y' = Y + -(LX / LY) • (X' - X)

          Parallel lateral edges from one Gale dependency.

          theorem RupertMinimality.Minimality.frustum_of_rel {O Y Y' : ℝ³} {y : ℝ} (h2 : (1 - y) • O = Y - y • Y') (hy : y ≠ 0) :
          Y' = O + y⁻¹ • (Y - O)
          theorem RupertMinimality.Minimality.frustum_rel {O X X' Y Y' : ℝ³} {x y LX LY : ℝ} (hO : (1 - x) • O = X - x • X') (hs : LX * (1 - x) + LY * (1 - y) = 0) (hv : LX • (X - x • X') + LY • (Y - y • Y') = 0) (hLY : LY ≠ 0) (hy : y ≠ 0) :
          Y' = O + y⁻¹ • (Y - O)

          Concurrent lateral lines from one Gale dependency.

          theorem RupertMinimality.Minimality.isRupert_prism_of_pairs {V : Finset ℝ³} (hS : Six V) {l m : ℝ³ → ℝ} (hF : GaleFrame V l m) {A A' B B' C C' : ℝ³} (hV : V = {A, A', B, B', C, C'}) (hnd : [A, A', B, B', C, C'].Nodup) (hA : IsOPair l m A A') (hB : IsOPair l m B B') (hC : IsOPair l m C C') :

          Proposition 10.2 for named O-pairs.

          theorem RupertMinimality.Minimality.isRupert_of_all_partners {V : Finset ℝ³} (hS : Six V) {l m : ℝ³ → ℝ} (hF : GaleFrame V l m) (hall : ∀ i ∈ V, ∃ j ∈ V, IsOPair l m i j) :

          Proposition 10.2. If every point has an O-partner, V is a prism and Rupert.