Documentation

LeanPool.RupertMinimality.Minimality.Oct9Quad

Oct9 Quad #

Lemma 9.3: good quad edges #

For an edge x → y of an octahedron at which x' is hidden (the two face inequalities saying that x lies strictly farther than y from the planes of both faces at the antipodal edge x' y'), view along u = y - x. The shadow is the quadrilateral q, P, Y', P'; tilting gives the silhouettes (y, p, y', p') (tilt y' - x) and (x, p, y', p') (tilt x - y'), Lemma 8.0. Unless the edge is bad or touching, one of them is robustly unimodal (Cor. 8.0′).

theorem RupertMinimality.Minimality.det3_shift_xy (p w x y : ℝ³) :
det3 (p - x) (w - x) (y - x) = det3 (p - y) (w - y) (y - x)
theorem RupertMinimality.Minimality.det3_tilt_y (p x y y' : ℝ³) :
det3 (p - y) (x - y) (y' - x) = det3 (p - y) (y' - y) (y - x)
theorem RupertMinimality.Minimality.det3_tilt_p' (p' x y y' : ℝ³) :
det3 (y - p') (x - p') (y' - x) = det3 (y - p') (y' - p') (y - x)
theorem RupertMinimality.Minimality.det3_tilt_x (p x y y' : ℝ³) :
det3 (p - x) (y - x) (x - y') = det3 (p - y) (y' - y) (y - x)
theorem RupertMinimality.Minimality.det3_tilt_x' (p' x y y' : ℝ³) :
det3 (x - p') (y - p') (x - y') = det3 (y - p') (y' - p') (y - x)
theorem RupertMinimality.Minimality.det3_shift_p' (p' w x y : ℝ³) :
det3 (x - p') (w - p') (y - x) = det3 (y - p') (w - p') (y - x)
theorem RupertMinimality.Minimality.det3_self_u (a x y : ℝ³) :
det3 a (y - x) (y - x) = 0
theorem RupertMinimality.Minimality.det3_xy_zero (p x y : ℝ³) :
det3 (p - y) (x - y) (y - x) = 0
theorem RupertMinimality.Minimality.det3_xy_zero' (p' x y : ℝ³) :
det3 (y - p') (x - p') (y - x) = 0
theorem RupertMinimality.Minimality.far_edge_pos_σ {V : Finset ℝ³} {x x' y P Q : ℝ³} (G : FacetFn V x Q P) (H : FacetFn V x' Q P) :
x ∈ V → x' ∈ V → ∀ (hxx' : x ≠ x'), x ≠ P → x ≠ Q → x' ≠ P → x' ≠ Q → ∀ (hGy : G.f y < 0) (hq : H.f x < H.f y) {σ : ℝ} {r w : ℝ³} (hr : r ∈ V) (hrP : r ≠ P) (hrQ : r ≠ Q) (hw : w ∈ V) (hwP : w ≠ P) (hwQ : w ≠ Q) (href : 0 < σ * det3 (Q - P) (r - P) (y - x)), 0 < σ * det3 (Q - P) (w - P) (y - x)

A far edge PQ between a lower facet x Q P and an upper facet x' Q P.

theorem RupertMinimality.Minimality.far_edge_pos {V : Finset ℝ³} {x x' y P Q : ℝ³} (G : FacetFn V x Q P) (H : FacetFn V x' Q P) (hx : x ∈ V) (hx' : x' ∈ V) (hxx' : x ≠ x') (hxP : x ≠ P) (hxQ : x ≠ Q) (hx'P : x' ≠ P) (hx'Q : x' ≠ Q) (hGy : G.f y < 0) (hq : H.f x < H.f y) {r w : ℝ³} (hr : r ∈ V) (hrP : r ≠ P) (hrQ : r ≠ Q) (hw : w ∈ V) (hwP : w ≠ P) (hwQ : w ≠ Q) (href : 0 < det3 (Q - P) (r - P) (y - x)) :
0 < det3 (Q - P) (w - P) (y - x)

A far edge PQ of the edge view along y - x, between a lower facet x Q P and an upper facet x' Q P.

theorem RupertMinimality.Minimality.vert_edge_pos {V : Finset ℝ³} {x y P : ℝ³} (G : FacetFn V x y P) {r w : ℝ³} (hr : r ∈ V) (hrx : r ≠ x) (hry : r ≠ y) (hrP : r ≠ P) (hw : w ∈ V) (hwx : w ≠ x) (hwy : w ≠ y) (hwP : w ≠ P) (href : 0 < det3 (P - y) (r - y) (y - x)) :
0 < det3 (P - y) (w - y) (y - x)

A vertical facet x y P (containing the view y - x) gives an edge y → P of the shadow.

theorem RupertMinimality.Minimality.vert_edge_pos' {V : Finset ℝ³} {x y P : ℝ³} (G : FacetFn V x y P) {r w : ℝ³} (hr : r ∈ V) (hrx : r ≠ x) (hry : r ≠ y) (hrP : r ≠ P) (hw : w ∈ V) (hwx : w ≠ x) (hwy : w ≠ y) (hwP : w ≠ P) (href : 0 < det3 (y - P) (r - P) (y - x)) :
0 < det3 (y - P) (w - P) (y - x)
theorem RupertMinimality.Minimality.quad_edge_tests {x x' y y' p p' : ℝ³} (F : OctFacets x x' y y' p p') (hq₁ : F.a'b'c.f x < F.a'b'c.f y) (hq₂ : F.a'b'c'.f x < F.a'b'c'.f y) (hor : 0 < det3 (p - y) (p' - y) (y - x)) :
(∀ w ∈ {x, x', y, y', p, p'}, w ≠ y → w ≠ p → w ≠ x → 0 < det3 (p - y) (w - y) (y - x)) ∧ (∀ w ∈ {x, x', y, y', p, p'}, w ≠ p → w ≠ y' → 0 < det3 (y' - p) (w - p) (y - x)) ∧ (∀ w ∈ {x, x', y, y', p, p'}, w ≠ y' → w ≠ p' → 0 < det3 (p' - y') (w - y') (y - x)) ∧ ∀ w ∈ {x, x', y, y', p, p'}, w ≠ p' → w ≠ y → w ≠ x → 0 < det3 (y - p') (w - p') (y - x)

The determinant tests at the edge view of a quad edge x → y, with the orientation det3 (p - y) (p' - y) (y - x) > 0.

theorem RupertMinimality.Minimality.quad_edge_lower_σ {x x' y y' p p' : ℝ³} (F : OctFacets x x' y y' p p') {σ : ℝ} :
0 < σ * det3 (y' - p) (p' - p) (y - x) → 0 < σ * det3 (y' - x) (p' - x) (y - x) → 0 < σ * det3 (p - x) (p' - x) (y - x) → ∀ (hS₄ : 0 < σ * det3 (p - x) (y' - x) (y - x)), σ * (det3 (y' - p) (p' - p) (y - x) * inner ℝ x (y - x) + det3 (p - x) (p' - x) (y - x) * inner ℝ y' (y - x)) < σ * (det3 (y' - x) (p' - x) (y - x) * inner ℝ p (y - x) + det3 (p - x) (y' - x) (y - x) * inner ℝ p' (y - x))

The convexity of the lower boundary over the edge view (the claim in Lemma 9.3): a point of the edge x y' lies strictly below the point of the segment p p' over the crossing of the diagonals of the shadow.

theorem RupertMinimality.Minimality.quad_edge_lower {x x' y y' p p' : ℝ³} (F : OctFacets x x' y y' p p') (hS₁ : 0 < det3 (y' - p) (p' - p) (y - x)) (hS₂ : 0 < det3 (y' - x) (p' - x) (y - x)) (hS₃ : 0 < det3 (p - x) (p' - x) (y - x)) (hS₄ : 0 < det3 (p - x) (y' - x) (y - x)) :
det3 (y' - p) (p' - p) (y - x) * inner ℝ x (y - x) + det3 (p - x) (p' - x) (y - x) * inner ℝ y' (y - x) < det3 (y' - x) (p' - x) (y - x) * inner ℝ p (y - x) + det3 (p - x) (y' - x) (y - x) * inner ℝ p' (y - x)

The lower boundary inequality for the positive orientation.

theorem RupertMinimality.Minimality.isRupert_quad_edge_core {x x' y y' p p' : ℝ³} (F : OctFacets x x' y y' p p') (hq₁ : F.a'b'c.f x < F.a'b'c.f y) (hq₂ : F.a'b'c'.f x < F.a'b'c'.f y) (hor : 0 < det3 (p - y) (p' - y) (y - x)) (hgood : ¬max (inner ℝ y (y - x)) (inner ℝ y' (y - x)) ≤ min (inner ℝ p (y - x)) (inner ℝ p' (y - x))) (htouch : ¬(inner ℝ p (y - x) = inner ℝ p' (y - x) ∧ inner ℝ p' (y - x) = inner ℝ y' (y - x) ∧ inner ℝ y' (y - x) < inner ℝ y (y - x))) :
IsRupert {x, x', y, y', p, p'}

Lemma 9.3, oriented.

theorem RupertMinimality.Minimality.det3_plane_xy (p x x' y : ℝ³) :
det3 (p - y) (x' - y) (y - x) = det3 (y - x) (p - x) (x' - x)
theorem RupertMinimality.Minimality.quad_orient_ne {x x' y y' p p' : ℝ³} (F : OctFacets x x' y y' p p') :
det3 (p - y) (p' - y) (y - x) ≠ 0

The edge view of an edge x y is not degenerate.

theorem RupertMinimality.Minimality.isRupert_quad_edge {x x' y y' p p' : ℝ³} (F : OctFacets x x' y y' p p') (hq₁ : F.a'b'c.f x < F.a'b'c.f y) (hq₂ : F.a'b'c'.f x < F.a'b'c'.f y) (hgood : ¬max (inner ℝ y (y - x)) (inner ℝ y' (y - x)) ≤ min (inner ℝ p (y - x)) (inner ℝ p' (y - x))) (htouch : ¬(inner ℝ p (y - x) = inner ℝ p' (y - x) ∧ inner ℝ p' (y - x) = inner ℝ y' (y - x) ∧ inner ℝ y' (y - x) < inner ℝ y (y - x))) :
IsRupert {x, x', y, y', p, p'}

Lemma 9.3 (good quad edges). A quad edge x → y (x' hidden along y - x) that is neither bad nor touching gives a passage.