Download data/lean/OAI/Geometry/CylinderCovering/Beams/FullDefinitions.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.43 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/CylinderCovering/Beams/FullDefinitions.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/CylinderCovering/Beams/FullDefinitions.lean
-
curl -L -o FullDefinitions.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/CylinderCovering/Beams/FullDefinitions.lean
3.43 kB
| import OAI.Geometry.CylinderCovering.Beams.MainDefinitions | |
| namespace OAI | |
| noncomputable section | |
| open Set MeasureTheory | |
| open scoped InnerProductSpace | |
| namespace ShortenedBeam | |
| def vertices : Fin 4 β Space := | |
| ![point 2 0 (-1), point (-2) 0 (-1), point 0 2 1, point 0 (-2) 1] | |
| def GeometryStatement : Prop := | |
| tetrahedron = convexHull β (range vertices) β§ AffineIndependent β vertices β§ | |
| (β i j : Fin 4, i β j β dist (vertices i) (vertices j) = 2*Real.sqrt 2) β§ | |
| volume.real tetrahedron = 8/3 β§ | |
| CylinderCovering.minimumShadowArea tetrahedron = 2*Real.sqrt 2 | |
| abbrev MixedShape := HasMixedBase | |
| def FiniteMixedStatement : Prop := | |
| β a : β, 0 < a β a < 1/2 β β Ξ΅ : β, 0 < Ξ΅ β | |
| β n : β, β C : Fin n β RuledApproximation.Cylinder, | |
| (β i, MixedShape (C i) β§ IsCompact (C i).base) β§ | |
| tetrahedron β RuledApproximation.familySet C β§ | |
| RuledApproximation.familyArea C β€ | |
| (Real.sqrt 2/4)*(CylinderCovering.BeamCost.beamCost a+ | |
| CylinderCovering.BeamCost.stripCost a)+Ξ΅ | |
| abbrev RegularCounterexampleStatement := RegularMixedCounterexampleStatement | |
| abbrev ParameterPlane := EuclideanSpace β (Fin 2) | |
| def doubleSector (a : β) (N : β) (i : Fin N) : Set ParameterPlane := | |
| {z | β p β CylinderCovering.RadialRiemann.cell 0 1 N i, | |
| β r β Icc (-(1/(N:β))) ((2-a)+1/(N:β)), | |
| z = !β[r*p,r*(1-p)]} | |
| def midpointTag (N : β) (i : Fin N) : β := | |
| (CylinderCovering.RadialRiemann.point 0 1 N i+ | |
| CylinderCovering.RadialRiemann.point 0 1 N (i+1))/2 | |
| def neighborhoodSector (a : β) (N : β) (i : Fin N) : Set ParameterPlane := | |
| Metric.cthickening ((1/(N:β))^2) (doubleSector a N i) | |
| def neighborhoodBaseMinus (a : β) (N : β) (i : Fin N) : Set Space := | |
| TriangularCovering.projection (axisMinus a (midpointTag N i)) '' | |
| ((fun z : ParameterPlane => point (-1+z 0) (-1+z 1) 0) '' neighborhoodSector a N i) | |
| def neighborhoodBasePlus (a : β) (N : β) (i : Fin N) : Set Space := | |
| TriangularCovering.projection (axisPlus a (midpointTag N i)) '' | |
| ((fun z : ParameterPlane => point (1-z 0) (1-z 1) 0) '' neighborhoodSector a N i) | |
| def NeighborhoodAlternativeStatement : Prop := | |
| β a : β, 0 < a β a < 1/2 β | |
| β errorConstant : β, 0 β€ errorConstant β§ | |
| β Cminus Cplus : (N : β) β Fin N β RuledApproximation.Cylinder, | |
| β N : β, 0 < N β | |
| (β i : Fin N, | |
| (Cminus N i).axis = axisMinus a (midpointTag N i) β§ | |
| (Cplus N i).axis = axisPlus a (midpointTag N i) β§ | |
| Subtype.val '' (Cminus N i).base = neighborhoodBaseMinus a N i β§ | |
| Subtype.val '' (Cplus N i).base = neighborhoodBasePlus a N i β§ | |
| IsCompact (Cminus N i).base β§ IsCompact (Cplus N i).base) β§ | |
| beamMinus a β RuledApproximation.familySet (Cminus N) β§ | |
| beamPlus a β RuledApproximation.familySet (Cplus N) β§ | |
| (RuledApproximation.familyArea (Cminus N)+RuledApproximation.familyArea (Cplus N)) / | |
| (Real.sqrt 2/4) β€ | |
| CylinderCovering.BeamCost.beamCost a+errorConstant/(N:β) | |
| def FullStatement : Prop := | |
| GeometryStatement β§ CoverageStatement β§ FiniteBeamsStatement β§ FiniteStripStatement β§ | |
| CylinderCovering.BeamCost.CostStatement β§ FiniteMixedStatement β§ | |
| CanonicalCounterexampleStatement β§ RegularCounterexampleStatement β§ | |
| NeighborhoodAlternativeStatement | |
| end ShortenedBeam | |
| end | |
| end OAI | |