roseking's picture
Add lean source and binary files (part 67)
785c727 verified
Raw History Blame Contribute Delete
2.41 kB
12
abbrev Space := EuclideanSpace ℝ (Fin 3)
14
def IsRegularTetrahedron (K : Set Space) : Prop :=
body · 4 lines
  ∃ v : Fin 4 → Space, AffineIndependent ℝ v ∧
    ∃ edge : ℝ, 0 < edge ∧
      (∀ i j : Fin 4, i ≠ j → dist (v i) (v j) = edge) ∧
      K = convexHull ℝ (range v)
20
def shadowArea (K : Set Space) (u : Space) : ℝ :=
body · 1 line
  TriangularCovering.area (TriangularCovering.projection u '' K)
23
def minimumShadowArea (K : Set Space) : ℝ :=
body · 1 line
  sInf {a : ℝ | ∃ u : Space, ‖u‖ = 1 ∧ a = shadowArea K u}
26
def triangularCovers {n : ℕ} (K : Set Space)
    (C : Fin n → TriangularCovering.TriCylinder) : Prop :=
body · 1 line
  ∀ x ∈ K, ∃ i : Fin n, x ∈ (C i).carrier
30
def triangularRelativeCost {n : ℕ} (K : Set Space)
    (C : Fin n → TriangularCovering.TriCylinder) : ℝ :=
body · 1 line
  ∑ i, TriangularCovering.area (C i).base / shadowArea K (C i).axis
34
def relativeCost {n : ℕ} (K : Set Space)
    (C : Fin n → RuledApproximation.Cylinder) : ℝ :=
body · 1 line
  ∑ i, (C i).area / shadowArea K (C i).axis
38
def AngularExplicitStatement : Prop :=
body · 1 line
  TriangularCovering.AngularAreaStatement ∧ TriangularCovering.ExplicitAngularStatement
41
def RegularTriangularCounterexampleStatement : Prop :=
body · 5 lines
  ∀ K : Set Space, IsRegularTetrahedron K →
    ∃ n : ℕ, ∃ C : Fin n → TriangularCovering.TriCylinder,
      triangularCovers K C ∧
      TriangularCovering.totalArea C < minimumShadowArea K / 2 ∧
      triangularRelativeCost K C < 1 / 2
48
def RegularParallelogramCounterexampleStatement : Prop :=
body · 6 lines
  ∀ K : Set Space, IsRegularTetrahedron K →
    ∃ n : ℕ, ∃ C : Fin n → RuledApproximation.Cylinder,
      (∀ i, (C i).parallelogram) ∧
      K ⊆ RuledApproximation.familySet C ∧
      RuledApproximation.familyArea C < minimumShadowArea K / 2 ∧
      relativeCost K C < 1 / 2
56
def RegularOpenCounterexampleStatement : Prop :=
body · 6 lines
  ∀ K : Set Space, IsRegularTetrahedron K →
    ∃ n : ℕ, ∃ C : Fin n → RuledApproximation.Cylinder,
      (∀ i, (C i).openBounded) ∧
      K ⊆ RuledApproximation.familySet C ∧
      RuledApproximation.familyArea C < minimumShadowArea K / 2 ∧
      relativeCost K C < 1 / 2