Download data/lean/OAI/Geometry/CylinderCovering/Physical/UnitEdgeFootprintsDefinitions.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.24 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/CylinderCovering/Physical/UnitEdgeFootprintsDefinitions.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/CylinderCovering/Physical/UnitEdgeFootprintsDefinitions.lean
-
curl -L -o UnitEdgeFootprintsDefinitions.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/CylinderCovering/Physical/UnitEdgeFootprintsDefinitions.lean
3.24 kB
| import OAI.Geometry.TriangularCovering.Basic | |
| import OAI.Geometry.CylinderCovering.Radial.RiemannDefinitions | |
| namespace OAI | |
| noncomputable section | |
| namespace CylinderCovering.UnitEdgeFootprints | |
| abbrev Space := TriangularCovering.Space | |
| def height : β := 1 / Real.sqrt 2 | |
| def intercept (u v : β) : Space := !β[0, v, height * u] | |
| def rawDirection (Ξ· m : β) : Space := | |
| !β[1, Ξ· * (1 / 4 + m ^ 2), 2 * height * Ξ· * m] | |
| def axis (Ξ· m : β) : Space := βrawDirection Ξ· mββ»ΒΉ β’ rawDirection Ξ· m | |
| def vertices (Ξ· d M m : β) : Fin 3 β Space := | |
| ![intercept (-Ξ· * d) (m * (-Ξ· * d)), | |
| intercept (M + Ξ· * d) (m * (M + Ξ· * d) - d / 2 * (M + 2 * Ξ· * d)), | |
| intercept (M + Ξ· * d) (m * (M + Ξ· * d) + d / 2 * (M + 2 * Ξ· * d))] | |
| def foot (Ξ· d M m : β) : Set Space := convexHull β (Set.range (vertices Ξ· d M m)) | |
| def base (Ξ· d M m : β) : Set Space := | |
| TriangularCovering.projection (axis Ξ· m) '' foot Ξ· d M m | |
| def representedPoint (Ξ· s Ο x : β) : Space := | |
| !β[x, s * Ο + Ξ· * x * (1 / 4 + s ^ 2), height * (Ο + 2 * Ξ· * x * s)] | |
| def areaFormula (Ξ· d M m : β) : β := | |
| height * d * (M + 2 * Ξ· * d) ^ 2 / | |
| (2 * Real.sqrt (1 + Ξ· ^ 2 * ((1 / 4 + m ^ 2) ^ 2 + 2 * m ^ 2))) | |
| def LocalRealizationStatement : Prop := | |
| β Ξ· d M m : β, 0 < Ξ· β 0 < d β 0 β€ M β | |
| β C : TriangularCovering.TriCylinder, | |
| C.axis = axis Ξ· m β§ C.base = base Ξ· d M m β§ | |
| TriangularCovering.area C.base = areaFormula Ξ· d M m β§ | |
| β s Ο x : β, |s - m| β€ d / 2 β 0 β€ Ο β Ο β€ M β |x| β€ 1 / 2 β | |
| representedPoint Ξ· s Ο x β C.carrier | |
| def sourceCap (Ξ· s : β) : β := | |
| Real.sqrt (1 / 4 + Ξ· ^ 2 * (s ^ 2 / 4 + s ^ 4 + 1 / 960)) | |
| def sweep (Ξ· : β) (R : β β β) : Set Space := | |
| {z | β s β Set.Icc (-1 / 2 : β) (1 / 2), β Ο β Set.Icc (0 : β) (R s), | |
| β x : β, |x| β€ 1 / 2 β§ z = representedPoint Ξ· s Ο x} | |
| def mesh (N : β) : β := RadialRiemann.step (-1 / 2) (1 / 2) N | |
| def midpoint (N : β) (i : Fin N) : β := | |
| (RadialRiemann.point (-1 / 2) (1 / 2) N i + | |
| RadialRiemann.point (-1 / 2) (1 / 2) N (i + 1)) / 2 | |
| def maximumCap (R : β β β) (N : β) (i : Fin N) : β := | |
| RadialRiemann.capMax R (-1 / 2) (1 / 2) N i | |
| def limitingArea (Ξ· : β) (R : β β β) : β := | |
| height * β« s in (-1 / 2 : β)..(1 / 2), | |
| R s ^ 2 / (2 * Real.sqrt (1 + Ξ· ^ 2 * ((1 / 4 + s ^ 2) ^ 2 + 2 * s ^ 2))) | |
| def FamilyRealizationStatement : Prop := | |
| β Ξ· : β, 0 < Ξ· β β R : β β β, | |
| ContinuousOn R (Set.Icc (-1 / 2 : β) (1 / 2)) β | |
| (β s β Set.Icc (-1 / 2 : β) (1 / 2), 0 β€ R s) β | |
| β C : (N : β) β Fin N β TriangularCovering.TriCylinder, | |
| (β N (i : Fin N), | |
| (C N i).axis = axis Ξ· (midpoint N i) β§ | |
| (C N i).base = base Ξ· (mesh N) (maximumCap R N i) (midpoint N i) β§ | |
| TriangularCovering.area (C N i).base = | |
| areaFormula Ξ· (mesh N) (maximumCap R N i) (midpoint N i)) β§ | |
| (β N, 0 < N β β z β sweep Ξ· R, β i : Fin N, z β (C N i).carrier) β§ | |
| Filter.Tendsto (fun N => TriangularCovering.totalArea (C N)) Filter.atTop | |
| (nhds (limitingArea Ξ· R)) | |
| end CylinderCovering.UnitEdgeFootprints | |
| end | |
| end OAI | |