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
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 := body · 1 line
0 ≤ z ∧ z ≤ 1 ∧ |x| ≤ 1 - z ∧ |y| ≤ zdef InLowerSweep (k x y z : ℝ) : Prop := body · 2 lines
∃ p t : ℝ, |x| ≤ 1 ∧ |p| ≤ 1 ∧ 0 ≤ t ∧ t ≤ height k p ∧
y = p * t + k * x * v p ∧ z = t + k * x * w pdef InUpperSweep (k x y z : ℝ) : Prop := body · 2 lines
∃ 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 pOutline