Download data/lean/OAI/Geometry/CylinderCovering/Beams/StripDefinitions.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 1.78 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/CylinderCovering/Beams/StripDefinitions.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/CylinderCovering/Beams/StripDefinitions.lean
-
curl -L -o StripDefinitions.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/CylinderCovering/Beams/StripDefinitions.lean
1.78 kB
| import OAI.Geometry.RuledCovering.Model | |
| namespace OAI | |
| noncomputable section | |
| open Set MeasureTheory | |
| open scoped InnerProductSpace | |
| namespace CylinderCovering.BeamStrip | |
| abbrev Plane := EuclideanSpace โ (Fin 2) | |
| abbrev Space := EuclideanSpace โ (Fin 3) | |
| def vec (x y z : โ) : Space := !โ[x, y, z] | |
| def vertical : Space := vec 0 0 1 | |
| def denominator (q : โ) : โ := Real.sqrt (2 * (1 + q ^ 2)) | |
| def normal (q : โ) : Space := | |
| vec ((1 + q) / denominator q) ((1 - q) / denominator q) 0 | |
| def axis (q : โ) : Space := | |
| vec ((1 - q) / denominator q) (-(1 + q) / denominator q) 0 | |
| def rectangle (q A l r : โ) : Set Space := | |
| {z | โ s โ Icc (-A) A, โ t โ Icc l r, z = s โข normal q + t โข vertical} | |
| def cylinder (q A l r : โ) : Set Space := | |
| {z | โ b โ rectangle q A l r, โ s : โ, z = b + s โข axis q} | |
| def area (S : Set Space) : โ := (Measure.euclideanHausdorffMeasure 2 S).toReal | |
| def strip (ฮฒ M a b : โ) (W q : โ โ โ) : Set Space := | |
| {z | โ x y t : โ, z = vec (ฮฒ*x) (ฮฒ*y) t โง t โ Icc a b โง | |
| |x| โค M โง |y| โค M โง |(1+q t)*x+(1-q t)*y| โค W t} | |
| def IsHorizontalRectangle (C : RuledApproximation.Cylinder) : Prop := | |
| โ q A l r : โ, 0 < A โง l < r โง C.axis = axis q โง | |
| ((fun z : ((Submodule.span โ ({C.axis} : Set Space))แฎ) => (z : Space)) '' C.base) = rectangle q A l r | |
| def IsRectangle (B : Set Space) : Prop := | |
| โ c u v : Space, inner โ u v = 0 โง u โ 0 โง v โ 0 โง | |
| B = {z | โ s โ Icc (0 : โ) 1, โ t โ Icc (0 : โ) 1, | |
| z = c + s โข u + t โข v} | |
| def HasRectangularBase (C : RuledApproximation.Cylinder) : Prop := | |
| IsRectangle ((fun z : ((Submodule.span โ ({C.axis} : Set Space))แฎ) => | |
| (z : Space)) '' C.base) | |
| end CylinderCovering.BeamStrip | |
| end | |
| end OAI | |