Download data/lean/OAI/Geometry/CylinderCovering/Physical/FiniteDefinitions.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.68 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/CylinderCovering/Physical/FiniteDefinitions.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/CylinderCovering/Physical/FiniteDefinitions.lean
-
curl -L -o FiniteDefinitions.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/CylinderCovering/Physical/FiniteDefinitions.lean
4.68 kB
| import OAI.Geometry.CylinderCovering.Physical.CoordinatesDefinitions | |
| import OAI.Geometry.CylinderCovering.Radial.SweepDefinitions | |
| namespace OAI | |
| open Set Filter MeasureTheory | |
| open scoped Topology InnerProductSpace | |
| noncomputable section | |
| namespace RadialPhysical | |
| def axialBound (centered : Bool) (b : β) : β := if centered then 2*b else b | |
| def modelBody (centered : Bool) (b : β) : Set Space := | |
| if centered then | |
| {z | β x y t : β, |x| β€ b*(1+t) β§ |y| β€ b*(1-t) β§ z = point b x y t} | |
| else tetrahedron b | |
| def upperPoint (b eta rho s x : β) : Space := | |
| point b x (rho*s-eta*x*(s^2+b^2)/2) (1-rho+eta*x*s) | |
| def lowerPoint (centered : Bool) (b eta rho s y : β) : Space := | |
| point b (rho*s+eta*y*(s^2+b^2)/2) y | |
| ((if centered then (-1:β) else 0)+rho+eta*y*s) | |
| def upperSweepOn (centered : Bool) (b eta : β) (T : β β β) (I : Set β) : Set Space := | |
| {z | β s β I, β rho β Icc (0:β) (T s), β x : β, | |
| |x| β€ axialBound centered b β§ z = upperPoint b eta rho s x} | |
| def lowerSweepOn (centered : Bool) (b eta : β) (T : β β β) (I : Set β) : Set Space := | |
| {z | β s β I, β rho β Icc (0:β) (T s), β y : β, | |
| |y| β€ axialBound centered b β§ z = lowerPoint centered b eta rho s y} | |
| def upperPhysicalAxis (b eta s : β) : Space := | |
| let v := point b 1 (-eta*(s^2+b^2)/2) (eta*s) | |
| βvββ»ΒΉ β’ v | |
| def lowerPhysicalAxis (b eta s : β) : Space := | |
| let v := point b (eta*(s^2+b^2)/2) 1 (eta*s) | |
| βvββ»ΒΉ β’ v | |
| def upperPhysicalBase (centered : Bool) (b eta : β) (T : β β β) | |
| (N : β) (tag : Fin N β β) (i : Fin N) : Set Space := | |
| TriangularCovering.projection (upperPhysicalAxis b eta (tag i)) '' | |
| upperSweepOn centered b eta T (CylinderCovering.RadialRiemann.cell (-b) b N i) | |
| def lowerPhysicalBase (centered : Bool) (b eta : β) (T : β β β) | |
| (N : β) (tag : Fin N β β) (i : Fin N) : Set Space := | |
| TriangularCovering.projection (lowerPhysicalAxis b eta (tag i)) '' | |
| lowerSweepOn centered b eta T (CylinderCovering.RadialRiemann.cell (-b) b N i) | |
| def physicalActualCost (centered : Bool) (b eta : β) (T : β β β) | |
| (N : β) (tagU tagL : Fin N β β) : β := | |
| (β i : Fin N, TriangularCovering.area (upperPhysicalBase centered b eta T N tagU i)) + | |
| (β i : Fin N, TriangularCovering.area (lowerPhysicalBase centered b eta T N tagL i)) | |
| def physicalBaseProperties (u : Space) (B : Set Space) : Prop := | |
| βuβ = 1 β§ IsCompact B β§ MeasurableSet B β§ | |
| Measure.euclideanHausdorffMeasure 2 B β β€ β§ (β z β B, inner β u z = 0) | |
| def PhysicalFiniteStatement : 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, CylinderCovering.RadialRiemann.IsTagged (-b) b N (tagU N)) β | |
| (β N, CylinderCovering.RadialRiemann.IsTagged (-b) b N (tagL N)) β | |
| β U L : (N : β) β Fin N β TriangularCovering.TriCylinder, | |
| (β N, 0 < N β | |
| (β i, (U N i).axis = upperPhysicalAxis b eta (tagU N i) β§ | |
| (L N i).axis = lowerPhysicalAxis b eta (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 β§ | |
| physicalBaseProperties (upperPhysicalAxis b eta (tagU N i)) | |
| (upperPhysicalBase centered b eta T N (tagU N) i) β§ | |
| physicalBaseProperties (lowerPhysicalAxis b eta (tagL N i)) | |
| (lowerPhysicalBase centered b eta T N (tagL N) i)) β§ | |
| (β z β upperSweepOn centered b eta T (Icc (-b) b), | |
| (β i : Fin N, z β (U N i).carrier) β§ | |
| (β i : Fin N, z β CylinderCovering.RadialSweep.cylinder | |
| (upperPhysicalAxis b eta (tagU N i)) | |
| (upperPhysicalBase centered b eta T N (tagU N) i))) β§ | |
| (β z β lowerSweepOn centered b eta T (Icc (-b) b), | |
| (β i : Fin N, z β (L N i).carrier) β§ | |
| (β i : Fin N, z β CylinderCovering.RadialSweep.cylinder | |
| (lowerPhysicalAxis b eta (tagL N i)) | |
| (lowerPhysicalBase centered b eta T N (tagL N) i)))) β§ | |
| Tendsto (fun N => TriangularCovering.totalArea (U N) + | |
| TriangularCovering.totalArea (L N)) atTop (π (scaledCost b eta T)) β§ | |
| (β Ξ΄ : β, 0 < Ξ΄ β βαΆ N in atTop, | |
| physicalActualCost centered b eta T N (tagU N) (tagL N) β€ scaledCost b eta T + Ξ΄) β§ | |
| Filter.limsup (fun N => physicalActualCost centered b eta T N (tagU N) (tagL N)) | |
| atTop β€ scaledCost b eta T | |
| end RadialPhysical | |
| end | |
| end OAI | |