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:
rot90—J, rotation of the screen by +90°.crossMatrix ω—[ω]×, the matrix ofx ↦ ω × x.screenVel ω τ x— the screen velocityν(x) = P(ω × x + τ)of the first-order motion(ω, τ).IsInwardAt S p d—dpoints strictly intoSatp, i.e.d ∈ int T_S(p)for a convex polygonS(isInwardAt_iff_forall_normal).IsDoubleNormalDir F u—uis the direction of a double normal ofF(used in L3,DoubleNormal.lean).innerShadow,outerShadow— the two shadows ofIsRupert, so thatisRupert_iff_shadowsisIff.rfl.
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.
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
IsRupert, restated with innerShadow/outerShadow.
IsRupert V depends only on convexHull ℝ V.
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
- RupertMinimality.Minimality.rotZ c s = !![c, -s, 0; s, c, 0; 0, 0, 1]
Instances For
Rotation about the x-axis with cos = c, sin = s.
Equations
- RupertMinimality.Minimality.rotX c s = !![1, 0, 0; 0, c, -s; 0, s, c]
Instances For
An inward direction makes a negative angle with every nonzero normal.
Converse of IsInwardAt.inner_neg (separation plus compactness of the
unit sphere).
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.
Rupertness is invariant under translation (converse direction).