Download lean/OAI/Geometry/CylinderCovering/Convexity/NormalFrameDefinitions.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 764 Bytes
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Geometry/CylinderCovering/Convexity/NormalFrameDefinitions.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Geometry/CylinderCovering/Convexity/NormalFrameDefinitions.lean
-
curl -L -o NormalFrameDefinitions.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Geometry/CylinderCovering/Convexity/NormalFrameDefinitions.lean
764 Bytes
Lean 4 · 7
declarations statementsfull
abbrev Space := EuclideanSpace ℝ (Fin 3) abbrev BarycentricSpace := EuclideanSpace ℝ (Fin 4) def normal (i : Fin 4) : Space := body · 4 lines
(1 / Real.sqrt 3) • ![(!₂[0, Real.sqrt 2, -1] : Space),
!₂[0, -Real.sqrt 2, -1],
!₂[Real.sqrt 2, 0, 1],
!₂[-Real.sqrt 2, 0, 1]] idef frameCost (u : Space) : ℝ := body · 1 line
Real.sqrt 3 / 2 * ∑ i : Fin 4, |inner ℝ u (normal i)|def barycentricCost (u : BarycentricSpace) : ℝ := body · 1 line
(1 / 2 : ℝ) * ∑ i : Fin 4, |u i|def edgeDirection : Space := !₂[1, 0, 0] def barycentricEdge : BarycentricSpace := body · 1 line
!₂[1 / Real.sqrt 2, -(1 / Real.sqrt 2), 0, 0]Outline