cfahlgren1/math / lean /OAI /Geometry /CylinderCovering /Footprints /QuadraticPhysicalFootprintsDefinitions.lean
cfahlgren1's picture
download
raw
2.09 kB
9
def physicalChart (p : ℝ × ℝ) : RuledApproximation.Plane :=
body · 1 line
  RuledApproximation.vec2 p.2 (1-p.1)
12
def physicalLabelSet (F : Set (ℝ × ℝ)) : Set RuledApproximation.Plane :=
body · 1 line
  physicalChart '' F
15
def quadraticVelocity (ε c : ℝ) : RuledApproximation.Plane :=
body · 1 line
  RuledApproximation.vec2 (-ε*((1+c^2)/2)) (ε*c)
18
def quadraticSweepPoint (h ε x q ρ : ℝ) : RuledApproximation.Space :=
body · 1 line
  RuledApproximation.vec3 x (ρ*q-ε*x*((1+q^2)/2)) (h*(1-ρ+ε*x*q))
21
def quadraticDirection (h ε c : ℝ) : RuledApproximation.Space :=
body · 1 line
  RuledApproximation.vec3 1 (-ε*((1+c^2)/2)) (h*(ε*c))
24
def physicalFootprintProjection (h ε c : ℝ) (p : ℝ × ℝ) : RuledApproximation.Space :=
body · 3 lines
  let z := RuledApproximation.vec3 0 p.2 (h*(1-p.1))
  let v := quadraticDirection h ε c
  z - (inner ℝ v z / ‖v‖^2) • v
29
def PhysicalFootprintRealization : Prop :=
body · 14 lines
  ∀ (h ε c : ℝ) (F : Set (ℝ × ℝ)), 0 < h →
    ∃ C : RuledApproximation.Cylinder,
      C.axis = ‖quadraticDirection h ε c‖⁻¹ • quadraticDirection h ε c ∧
      Subtype.val '' C.base = physicalFootprintProjection h ε c '' F ∧
      C.area = h * MeasureTheory.volume.real F /
        Real.sqrt (1+ε^2*(((1+c^2)/2)^2+h^2*c^2)) ∧
      (IsCompact F → IsCompact C.base) ∧
      (Convex ℝ C.base ↔ Convex ℝ F) ∧
      (∀ x q ρ : ℝ, quadraticIntercept ε x q c ρ ∈ F →
        quadraticSweepPoint h ε x q ρ ∈ C.carrier) ∧
      (∃ f : (ℝ × ℝ) →ᵃ[ℝ]
          ((Submodule.span ℝ ({C.axis} : Set RuledApproximation.Space))ᗮ),
        Function.Injective f ∧ C.base = f '' F ∧
          ∀ p, (f p : RuledApproximation.Space) = physicalFootprintProjection h ε c p)
45
structure PhysicalFootprintCertificates : Prop where
body · 2 lines
  local_certificates : LocalFootprintCertificates
  physical_realization : PhysicalFootprintRealization

Xet Storage Details

Size:
2.09 kB
·
Xet hash:
c4c91968d59328f4639a0191c69e00d258c8267e1926be464c8651cb92a622b7

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.