Download data/lean/OAI/Geometry/CylinderCovering/Physical/TrianglesDefinitions.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.97 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/CylinderCovering/Physical/TrianglesDefinitions.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/CylinderCovering/Physical/TrianglesDefinitions.lean
-
curl -L -o TrianglesDefinitions.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/CylinderCovering/Physical/TrianglesDefinitions.lean
3.97 kB
| import OAI.Geometry.CylinderCovering.Physical.FiniteDefinitions | |
| namespace OAI | |
| open Set Filter | |
| open scoped Topology | |
| noncomputable section | |
| namespace RadialPhysical.ExplicitTriangles | |
| open CylinderCovering | |
| def error (centered : Bool) (b eta : β) : β := axialBound centered b * |eta| | |
| def left (centered : Bool) (b eta : β) (N : β) : β := | |
| -(3 * error centered b eta + 1) * RadialRiemann.step (-b) b N | |
| def right (centered : Bool) (b eta : β) (T : β β β) (N : β) (i : Fin N) : β := | |
| RadialRiemann.capMax T (-b) b N i + | |
| error centered b eta * RadialRiemann.step (-b) b N | |
| def middle (b : β) (N : β) (i : Fin N) : β := | |
| (RadialRiemann.point (-b) b N i + RadialRiemann.point (-b) b N (i + 1)) / 2 | |
| def coordinates (centered : Bool) (b eta : β) (T : β β β) | |
| (N : β) (i : Fin N) : Fin 3 β β Γ β := | |
| let l := left centered b eta N | |
| let r := right centered b eta T N i | |
| let m := middle b N i | |
| let d := RadialRiemann.step (-b) b N | |
| ![(l, m*l), (r, m*r-d/2*(r-l)), (r, m*r+d/2*(r-l))] | |
| def upperIntercept (b : β) (p : β Γ β) : Space := point b 0 p.2 (1-p.1) | |
| def lowerIntercept (centered : Bool) (b : β) (p : β Γ β) : Space := | |
| point b p.2 0 ((if centered then (-1:β) else 0)+p.1) | |
| def upperVertices (centered : Bool) (b eta : β) (T : β β β) | |
| (N : β) (i : Fin N) : Fin 3 β Space := | |
| upperIntercept b β coordinates centered b eta T N i | |
| def lowerVertices (centered : Bool) (b eta : β) (T : β β β) | |
| (N : β) (i : Fin N) : Fin 3 β Space := | |
| lowerIntercept centered b β coordinates centered b eta T N i | |
| def upperBase (centered : Bool) (b eta : β) (T : β β β) | |
| (N : β) (tag : Fin N β β) (i : Fin N) : Set Space := | |
| TriangularCovering.projection (upperPhysicalAxis b eta (tag i)) '' | |
| convexHull β (Set.range (upperVertices centered b eta T N i)) | |
| def lowerBase (centered : Bool) (b eta : β) (T : β β β) | |
| (N : β) (tag : Fin N β β) (i : Fin N) : Set Space := | |
| TriangularCovering.projection (lowerPhysicalAxis b eta (tag i)) '' | |
| convexHull β (Set.range (lowerVertices centered b eta T N i)) | |
| def localArea (centered : Bool) (b eta : β) (T : β β β) | |
| (N : β) (tag : Fin N β β) (i : Fin N) : β := | |
| height b * RadialRiemann.step (-b) b N * | |
| (RadialRiemann.capMax T (-b) b N i + | |
| (4 * error centered b eta + 1) * RadialRiemann.step (-b) b N)^2 / | |
| (2 * Real.sqrt (1 + eta^2 * | |
| (((tag i)^2+b^2)^2/4 + height b^2*(tag i)^2))) | |
| def ConstructionStatement : Prop := | |
| β (centered : Bool) (b eta : β), 0 < b β β T : β β β, | |
| ContinuousOn T (Icc (-b) b) β (β s β Icc (-b) b, 0 β€ T s) β | |
| β tagU tagL : (N : β) β Fin N β β, | |
| (β N, RadialRiemann.IsTagged (-b) b N (tagU N)) β | |
| (β N, RadialRiemann.IsTagged (-b) b N (tagL N)) β | |
| β U L : (N : β) β Fin N β TriangularCovering.TriCylinder, | |
| (β N i, | |
| (U N i).axis = upperPhysicalAxis b eta (tagU N i) β§ | |
| (L N i).axis = lowerPhysicalAxis b eta (tagL N i) β§ | |
| (U N i).base = upperBase centered b eta T N (tagU N) i β§ | |
| (L N i).base = lowerBase centered b eta T N (tagL N) i β§ | |
| TriangularCovering.area (U N i).base = localArea centered b eta T N (tagU N) i β§ | |
| TriangularCovering.area (L N i).base = localArea centered b eta T N (tagL N) i β§ | |
| upperPhysicalBase centered b eta T N (tagU N) i β (U N i).base β§ | |
| lowerPhysicalBase centered b eta T N (tagL N) i β (L N i).base) β§ | |
| (β N, 0 < N β | |
| (β z β upperSweepOn centered b eta T (Icc (-b) b), | |
| β i : Fin N, z β (U N i).carrier) β§ | |
| (β z β lowerSweepOn centered b eta T (Icc (-b) b), | |
| β i : Fin N, z β (L N i).carrier)) β§ | |
| Tendsto (fun N => TriangularCovering.totalArea (U N) + | |
| TriangularCovering.totalArea (L N)) atTop (π (scaledCost b eta T)) | |
| end RadialPhysical.ExplicitTriangles | |
| end | |
| end OAI | |