Documentation

LeanPool.RupertMinimality.Minimality.Basic

Basic #

Minimality: shared definitions #

The setting, in the conventions of IsRupert (MainTheorem.lean): the screen is the xy-plane, a point x : ℝ³ has screen position projXy x and depth x 2, and the standard view is the direction ez = e₂. A general view u is reduced to the standard one by a rotation (exists_rotation_to_ez, isRupert_of_isRupert_image_rotation).

Main definitions:

The standard view direction e_z = e₂: projXy forgets it.

Equations
Instances For

    J, rotation of the screen by +90°: J (x, y) = (-y, x).

    Equations
    Instances For

      [ω]×, the skew matrix of the linear map x ↦ ω × x.

      Equations
      Instances For
        noncomputable def RupertMinimality.Minimality.screenVel (ω τ x : ℝ³) :

        The screen velocity ν(x) = P(ω × x + τ) of the first-order motion (ω, τ) at the point x, in the standard view.

        Equations
        Instances For

          d points strictly into S at p: some positive step along d lands in the interior of S. For a closed convex S with nonempty interior and p ∈ S this is d ∈ int T_S(p), i.e. n ⬝ d < 0 for every nonzero outward normal n at p (isInwardAt_iff_forall_normal); in particular it holds for every d when p ∈ interior S.

          Equations
          Instances For

            u is a double-normal direction of F: there is a chord [a, b], a ≠ b, parallel to u, with b - a ∈ N_F(b) and a - b ∈ N_F(a) (the lines through a and b perpendicular to ab both support F). The sign of u is irrelevant, and u ≠ 0 is forced.

            Equations
            Instances For

              The inner shadow of IsRupert: o + P(R p) for p ∈ S.

              Equations
              Instances For

                The outer shadow of IsRupert: P(R p) for p ∈ S.

                Equations
                Instances For
                  theorem RupertMinimality.Minimality.isRupert_iff_shadows (V : Finset ℝ³) :
                  IsRupert V ↔ ∃ R₁ ∈ SO3, ∃ (o : ℝ²), ∃ R₂ ∈ SO3, innerShadow R₁ o ((convexHull ℝ) ↑V) ⊆ interior (outerShadow R₂ ((convexHull ℝ) ↑V))

                  IsRupert, restated with innerShadow/outerShadow.

                  The standard-view outer shadow is projXy '' S.

                  projXy as a linear map.

                  Equations
                  Instances For

                    Inner products with horizontal vectors survive the projection.

                    theorem RupertMinimality.Minimality.eq_zero_of_proj_xy_eq_zero {N z : ℝ³} (hN : N.ofLp 2 ≠ 0) (hz : inner ℝ N z = 0) (hp : projXy z = 0) :
                    z = 0

                    A vector parallel to a non-vertical plane (⟪N, z⟫ = 0, N 2 ≠ 0) with zero projection is zero.

                    Rupertness is invariant under rotating the vertex set (converse direction: Noperts.Pipeline.isRupert_image_rotation applied to Qᵀ).

                    Rotation about the z-axis with cos = c, sin = s.

                    Equations
                    Instances For

                      Rotation about the x-axis with cos = c, sin = s.

                      Equations
                      Instances For
                        theorem RupertMinimality.Minimality.rotZ_mem_SO3 {c s : ℝ} (h : c ^ 2 + s ^ 2 = 1) :
                        theorem RupertMinimality.Minimality.rotX_mem_SO3 {c s : ℝ} (h : c ^ 2 + s ^ 2 = 1) :
                        theorem RupertMinimality.Minimality.exists_rotation_to_ez (u : ℝ³) (hu : u ≠ 0) :
                        ∃ R ∈ SO3, ∃ (r : ℝ), r ≠ 0 ∧ (Matrix.toEuclideanLin R) u = r • ez

                        Every nonzero direction is taken to the standard view axis by some rotation.

                        theorem RupertMinimality.Minimality.IsInwardAt.inner_neg {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] {S : Set E} {p d : E} (h : IsInwardAt S p d) {n : E} (hn : n ≠ 0) (hN : ∀ q ∈ S, inner ℝ n (q - p) ≤ 0) :
                        inner ℝ n d < 0

                        An inward direction makes a negative angle with every nonzero normal.

                        theorem RupertMinimality.Minimality.isInwardAt_of_forall_normal {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] {S : Set E} (hS : Convex ℝ S) (hint : (interior S).Nonempty) {p : E} (hp : p ∈ closure S) (d : E) (h : ∀ (n : E), n ≠ 0 → (∀ q ∈ S, inner ℝ n (q - p) ≤ 0) → inner ℝ n d < 0) :

                        Converse of IsInwardAt.inner_neg (separation plus compactness of the unit sphere).

                        theorem RupertMinimality.Minimality.isInwardAt_iff_forall_normal {E : Type u_1} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] {S : Set E} (hS : Convex ℝ S) (hint : (interior S).Nonempty) {p : E} (hp : p ∈ closure S) (d : E) :
                        IsInwardAt S p d ↔ ∀ (n : E), n ≠ 0 → (∀ q ∈ S, inner ℝ n (q - p) ≤ 0) → inner ℝ n d < 0

                        IsInwardAt is the interior of the tangent cone, described by normals: for a convex set with nonempty interior in a finite-dimensional space and p ∈ closure S, d is inward at p iff ⟪n, d⟫ < 0 for every nonzero n ∈ N_S(p). (For a polygon N_S(p) is spanned by the outward normals of the one or two edges at p, so this is the open tangent cone int T_S(p).)

                        Once some step along d enters the interior, all smaller steps do.

                        Every point of the interior is inward in every direction.

                        IsDoubleNormalDir is invariant under linear isometries.

                        Rotations preserve inner products.

                        A rotation as a linear isometry equivalence.

                        Equations
                        Instances For

                          Rupertness is invariant under translation (converse direction).