Download data/lean/OAI/Geometry/CylinderCovering/Beams/NeighborhoodRealizationDefinitions.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.28 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/CylinderCovering/Beams/NeighborhoodRealizationDefinitions.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/CylinderCovering/Beams/NeighborhoodRealizationDefinitions.lean
-
curl -L -o NeighborhoodRealizationDefinitions.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/CylinderCovering/Beams/NeighborhoodRealizationDefinitions.lean
3.28 kB
| import OAI.Geometry.CylinderCovering.Beams.NeighborhoodDefinitions | |
| import OAI.Geometry.CylinderCovering.Radial.SweepDefinitions | |
| import OAI.Geometry.CylinderCovering.Beams.sDefinitions | |
| import OAI.Geometry.CylinderCovering.Beams.CostDefinitions | |
| namespace OAI | |
| noncomputable section | |
| namespace CylinderCovering.BeamNeighborhoodRealization | |
| open Set MeasureTheory RadialSweep | |
| def physicalMap (D : Data) (z : BeamNeighborhood.Plane) : Space := | |
| D.pβ + (z 0 + z 1) β’ D.a + z 0 β’ D.b | |
| def rawBase (D : Data) (a l r Ξ΄ : β) : Set Space := | |
| physicalMap D '' BeamNeighborhood.paddedSector a l r Ξ΄ | |
| def base (D : Data) (a l r Ξ΄ : β) : Set Space := | |
| TriangularCovering.projection (direction D ((l+r)/2)) '' rawBase D a l r Ξ΄ | |
| def cellBase (D : Data) (a : β) (N : β) (i : Fin N) : Set Space := | |
| base D a (RadialRiemann.point 0 1 N i) (RadialRiemann.point 0 1 N (i+1)) | |
| (RadialRiemann.step 0 1 N) | |
| def cost (D : Data) (a : β) (N : β) : β := | |
| β i : Fin N, TriangularCovering.area (cellBase D a N i) | |
| def cellMidpoint (N : β) (i : Fin N) : β := | |
| (RadialRiemann.point 0 1 N i+RadialRiemann.point 0 1 N (i+1))/2 | |
| def beamBaseMinus (a : β) (N : β) (i : Fin N) : Set Space := | |
| TriangularCovering.projection (ShortenedBeam.axisMinus a (cellMidpoint N i)) '' | |
| ((fun z : BeamNeighborhood.Plane => ShortenedBeam.point (-1+z 0) (-1+z 1) 0) '' | |
| BeamNeighborhood.paddedSector a (RadialRiemann.point 0 1 N i) | |
| (RadialRiemann.point 0 1 N (i+1)) (RadialRiemann.step 0 1 N)) | |
| def beamBasePlus (a : β) (N : β) (i : Fin N) : Set Space := | |
| TriangularCovering.projection (ShortenedBeam.axisPlus a (cellMidpoint N i)) '' | |
| ((fun z : BeamNeighborhood.Plane => ShortenedBeam.point (1-z 0) (1-z 1) 0) '' | |
| BeamNeighborhood.paddedSector a (RadialRiemann.point 0 1 N i) | |
| (RadialRiemann.point 0 1 N (i+1)) (RadialRiemann.step 0 1 N)) | |
| def alternativeCost (a : β) (N : β) : β := | |
| (β i : Fin N, TriangularCovering.area (beamBaseMinus a N i))+ | |
| β i : Fin N, TriangularCovering.area (beamBasePlus a N i) | |
| def AlternativeStatement : Prop := | |
| β a : β, 0 < a β a < 1/2 β β C : β, 0 < C β§ β N : β, 0 < N β | |
| (β i : Fin N, | |
| βShortenedBeam.axisMinus a (cellMidpoint N i)β = 1 β§ | |
| βShortenedBeam.axisPlus a (cellMidpoint N i)β = 1 β§ | |
| IsCompact (beamBaseMinus a N i) β§ IsCompact (beamBasePlus a N i) β§ | |
| MeasurableSet (beamBaseMinus a N i) β§ MeasurableSet (beamBasePlus a N i) β§ | |
| Measure.euclideanHausdorffMeasure 2 (beamBaseMinus a N i) β β€ β§ | |
| Measure.euclideanHausdorffMeasure 2 (beamBasePlus a N i) β β€ β§ | |
| (β z β beamBaseMinus a N i, inner β (ShortenedBeam.axisMinus a (cellMidpoint N i)) z=0) β§ | |
| (β z β beamBasePlus a N i, inner β (ShortenedBeam.axisPlus a (cellMidpoint N i)) z=0)) β§ | |
| (β z β ShortenedBeam.beamMinus a, β i : Fin N, | |
| z β cylinder (ShortenedBeam.axisMinus a (cellMidpoint N i)) (beamBaseMinus a N i)) β§ | |
| (β z β ShortenedBeam.beamPlus a, β i : Fin N, | |
| z β cylinder (ShortenedBeam.axisPlus a (cellMidpoint N i)) (beamBasePlus a N i)) β§ | |
| alternativeCost a N β€ (Real.sqrt 2/4)*BeamCost.beamCost a+C/(N:β) | |
| end CylinderCovering.BeamNeighborhoodRealization | |
| end | |
| end OAI | |