Download lean/OAI/Geometry/CylinderCovering/Nilpotent/BasicDefinitions.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 762 Bytes
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Geometry/CylinderCovering/Nilpotent/BasicDefinitions.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Geometry/CylinderCovering/Nilpotent/BasicDefinitions.lean
-
curl -L -o BasicDefinitions.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Geometry/CylinderCovering/Nilpotent/BasicDefinitions.lean
762 Bytes
Lean 4 · 7
declarations statementsfull
| import Mathlib | |
| namespace OAI | |
| namespace CylinderCovering.Nilpotent | |
| noncomputable section | |
| def v (p : ℝ) : ℝ := (1 + p ^ 2) / 4 | |
| def w (p : ℝ) : ℝ := p / 2 | |
| def a (p : ℝ) : ℝ := p ^ 2 * v p / 4 | |
| def height (k p : ℝ) : ℝ := 1 / 2 + k ^ 2 * a p + k ^ 3 | |
| def InTetrahedron (x y z : ℝ) : Prop := | |
| 0 ≤ z ∧ z ≤ 1 ∧ |x| ≤ 1 - z ∧ |y| ≤ z | |
| def InLowerSweep (k x y z : ℝ) : Prop := | |
| ∃ p t : ℝ, |x| ≤ 1 ∧ |p| ≤ 1 ∧ 0 ≤ t ∧ t ≤ height k p ∧ | |
| y = p * t + k * x * v p ∧ z = t + k * x * w p | |
| def InUpperSweep (k x y z : ℝ) : Prop := | |
| ∃ p t : ℝ, |y| ≤ 1 ∧ |p| ≤ 1 ∧ 0 ≤ t ∧ t ≤ height k p ∧ | |
| x = p * t - k * y * v p ∧ z = 1 - t + k * y * w p | |
| end | |
| end CylinderCovering.Nilpotent | |
| end OAI | |
Outline