Download data/lean/OAI/Geometry/CylinderCovering/Barycentric/SweepsDefinitions.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 1.54 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/CylinderCovering/Barycentric/SweepsDefinitions.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/CylinderCovering/Barycentric/SweepsDefinitions.lean
-
curl -L -o SweepsDefinitions.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/CylinderCovering/Barycentric/SweepsDefinitions.lean
1.54 kB
| import OAI.Geometry.CylinderCovering.Radial.CoordinatesDefinitions | |
| import OAI.Geometry.CylinderCovering.Angular.CapsDefinitions | |
| namespace OAI | |
| noncomputable section | |
| namespace RadialCoordinates | |
| def firstSweep (k : β) : Set BarycentricSpace := | |
| {v | (β i, v i = 1) β§ β t S : β, | |
| t β Set.Icc 0 1 β§ 0 β€ S β§ S β€ cap k t β§ |v 2 - v 3| β€ 1 β§ | |
| v 0 = S * t + k * (v 2 - v 3) * t ^ 2 β§ | |
| v 1 = S * (1 - t) - k * (v 2 - v 3) * (1 - t) ^ 2} | |
| def secondSweep (k : β) : Set BarycentricSpace := | |
| {v | (β i, v i = 1) β§ β r T : β, | |
| r β Set.Icc 0 1 β§ 0 β€ T β§ T β€ cap k r β§ |v 0 - v 1| β€ 1 β§ | |
| v 2 = T * r - k * (v 0 - v 1) * r ^ 2 β§ | |
| v 3 = T * (1 - r) + k * (v 0 - v 1) * (1 - r) ^ 2} | |
| def firstSweepPoint (k t S p : β) : BarycentricSpace := | |
| barycentricPoint (S + k * p * angular t) | |
| (S * angular t + k * p * (1 + angular t ^ 2) / 2) p | |
| def secondSweepPoint (k r T q : β) : BarycentricSpace := | |
| barycentricPoint (1 - T + k * q * angular r) q | |
| (T * angular r - k * q * (1 + angular r ^ 2) / 2) | |
| def firstSweepWithCap (k : β) (R : β β β) : Set BarycentricSpace := | |
| (fun z : (β Γ β) Γ β => firstSweepPoint k z.1.1 z.1.2 z.2) '' | |
| (AngularCaps.radialParameterSet 0 1 R ΓΛ’ Set.Icc (-1) 1) | |
| def secondSweepWithCap (k : β) (R : β β β) : Set BarycentricSpace := | |
| (fun z : (β Γ β) Γ β => secondSweepPoint k z.1.1 z.1.2 z.2) '' | |
| (AngularCaps.radialParameterSet 0 1 R ΓΛ’ Set.Icc (-1) 1) | |
| end RadialCoordinates | |
| end | |
| end OAI | |