Download lean/OAI/Geometry/CylinderCovering/Convexity/NormalFrameProjection.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.72 kB
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Geometry/CylinderCovering/Convexity/NormalFrameProjection.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Geometry/CylinderCovering/Convexity/NormalFrameProjection.lean
-
curl -L -o NormalFrameProjection.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Geometry/CylinderCovering/Convexity/NormalFrameProjection.lean
1.72 kB
Lean 4 · 3
declarations statementsfull
theorem shadowArea_eq_frameCost (u : Space) (hu : ‖u‖ = 1) :
TriangularCovering.shadowArea u = frameCost u := by proof · 9 lines
rw [TriangularCovering.shadowArea_abs_sum hu]
unfold frameCost
simp only [Fin.sum_univ_four]
rw [inner_normal_zero, inner_normal_one, inner_normal_two, inner_normal_three]
simp [TriangularCovering.inner_coord, TriangularCovering.faceNormal,
TriangularCovering.H, abs_div, abs_of_nonneg (Real.sqrt_nonneg (3 : ℝ))]
have h3 : Real.sqrt 3 ≠ 0 := ne_of_gt (Real.sqrt_pos.2 (by norm_num))
field_simp
ring_nftheorem geometric_shadow_lower_bound (u : Space) (hu : ‖u‖ = 1) :
Real.sqrt 2 ≤ TriangularCovering.shadowArea u := by proof · 2 lines
rw [shadowArea_eq_frameCost u hu] exact frameCost_lower_bound u hu
theorem geometric_projection_minimum : TriangularCovering.A_min = Real.sqrt 2 := by proof · 15 lines
unfold TriangularCovering.A_min
apply le_antisymm
· apply csInf_le
· exact ⟨Real.sqrt 2, by
rintro a ⟨u, hu, rfl⟩
exact geometric_shadow_lower_bound u hu⟩
· exact ⟨edgeDirection, edgeDirection_unit,
(shadowArea_eq_frameCost edgeDirection edgeDirection_unit).trans
frameCost_edgeDirection |>.symm⟩
· apply le_csInf
· exact ⟨Real.sqrt 2, edgeDirection, edgeDirection_unit,
(shadowArea_eq_frameCost edgeDirection edgeDirection_unit).trans
frameCost_edgeDirection |>.symm⟩
· rintro a ⟨u, hu, rfl⟩
exact geometric_shadow_lower_bound u huOutline