Download data/lean/OAI/MeasureTheory/Falconer/Recursion/DescriptorMasks.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.79 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MeasureTheory/Falconer/Recursion/DescriptorMasks.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/MeasureTheory/Falconer/Recursion/DescriptorMasks.lean
-
curl -L -o DescriptorMasks.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MeasureTheory/Falconer/Recursion/DescriptorMasks.lean
4.79 kB
| import OAI.MeasureTheory.Falconer.Estimates.SpatialAnchorMasks | |
| import OAI.MeasureTheory.Falconer.Recursion.PolicyDescriptors | |
| namespace OAI | |
| namespace PlanarFalconer | |
| open Set Metric MeasureTheory | |
| open scoped ContDiff Topology | |
| def ValidDescriptor (N : β) : PolicyDescriptor β Prop | |
| | .parallel g p => g β€ p β§ p β€ N | |
| | .projection p u => p β€ u β§ u β€ N | |
| noncomputable def descriptorGoodSet (Q : DyadicSquare) (Ο : Measure Plane) | |
| (m : β β β) (N : β) (lam sig : β) (J i : β) (P : CellPath) : PolicyDescriptor β Set UnitCircle | |
| | .parallel g p => parallelGoodSet Q Ο g p P (sourceAngularWidth N sig J i p) | |
| (((2:β)^N)^(height (fun n : β => m n-(n:β)/(N:β)) g p+2000*(lam+sig))) | |
| | .projection p u => projectionGoodSet Q Ο p u P (sourceAngularWidth N sig J i u) | |
| (((2:β)^N)^(m u-m p+height (fun n : β => m n-(n:β)/(N:β)) p u+2000*(lam+sig))) | |
| noncomputable def descriptorSpatialMask (Q : DyadicSquare) (Ο : Measure Plane) | |
| (m : β β β) (N : β) (lam sig : β) (J i : β) (b : PolicyDescriptor) : Plane β UnitCircle β β := | |
| spatialAnchorMask Q Ο (descriptorAnchor b) (fun P => descriptorGoodSet Q Ο m N lam sig J i P b) | |
| (sourceAngularRadius N sig (descriptorLength b)) (sourceAngularRadius_pos _ _ _) | |
| noncomputable def descriptorListMask (Q : DyadicSquare) (Ο : Measure Plane) | |
| (m : β β β) (N : β) (lam sig : β) (J i : β) (S : Finset PolicyDescriptor) | |
| (x : Plane) (dir : UnitCircle) : β := | |
| β b β S, descriptorSpatialMask Q Ο m N lam sig J i b x dir | |
| theorem measurable_descriptorGoodSet (Q : DyadicSquare) (Ο : Measure Plane) | |
| (m : β β β) (N : β) (lam sig : β) (J i : β) (P : CellPath) (b : PolicyDescriptor) : | |
| MeasurableSet (descriptorGoodSet Q Ο m N lam sig J i P b) := by | |
| cases b with | |
| | parallel g p => exact measurable_parallelGoodSet _ _ _ _ _ _ _ | |
| | projection p u => exact measurable_projectionGoodSet _ _ _ _ _ _ _ | |
| theorem descriptorSpatialMask_bounds (Q : DyadicSquare) (hQ : 0 < Q.side) (Ο : Measure Plane) | |
| (m : β β β) (N : β) (lam sig : β) (J i : β) (b : PolicyDescriptor) (x : Plane) (dir : UnitCircle) : | |
| 0 β€ descriptorSpatialMask Q Ο m N lam sig J i b x dir β§ | |
| descriptorSpatialMask Q Ο m N lam sig J i b x dir β€ 1 := spatialAnchorMask_bounds Q hQ _ _ _ _ _ _ _ | |
| @[fun_prop] theorem measurable_descriptorSpatialMask (Q : DyadicSquare) (Ο : Measure Plane) | |
| (m : β β β) (N : β) (lam sig : β) (J i : β) (b : PolicyDescriptor) : | |
| Measurable (fun z : Plane Γ UnitCircle => descriptorSpatialMask Q Ο m N lam sig J i b z.1 z.2) := | |
| measurable_spatialAnchorMask _ _ _ _ _ _ | |
| @[fun_prop] theorem measurable_descriptorListMask (Q : DyadicSquare) (Ο : Measure Plane) | |
| (m : β β β) (N : β) (lam sig : β) (J i : β) (S : Finset PolicyDescriptor) : | |
| Measurable (fun z : Plane Γ UnitCircle => descriptorListMask Q Ο m N lam sig J i S z.1 z.2) := by | |
| apply Finset.measurable_prod | |
| intro b _ | |
| exact measurable_descriptorSpatialMask _ _ _ _ _ _ _ _ _ | |
| theorem descriptorListMask_bounds (Q : DyadicSquare) (hQ : 0 < Q.side) (Ο : Measure Plane) | |
| (m : β β β) (N : β) (lam sig : β) (J i : β) (S : Finset PolicyDescriptor) (x : Plane) (dir : UnitCircle) : | |
| 0 β€ descriptorListMask Q Ο m N lam sig J i S x dir β§ | |
| descriptorListMask Q Ο m N lam sig J i S x dir β€ 1 := by | |
| constructor | |
| Β· exact Finset.prod_nonneg (fun b _ => (descriptorSpatialMask_bounds Q hQ Ο m N lam sig J i b x dir).1) | |
| Β· exact Finset.prod_le_oneβ (fun b _ => (descriptorSpatialMask_bounds Q hQ Ο m N lam sig J i b x dir).1) | |
| (fun b _ => (descriptorSpatialMask_bounds Q hQ Ο m N lam sig J i b x dir).2) | |
| theorem descriptorGoodSet_exceptional (Q : DyadicSquare) (Ο : Measure Plane) | |
| (m : β β β) (N : β) (lam sig : β) (J : β) | |
| (ha : SourceAngularBounds Q Ο m N lam sig) {b : PolicyDescriptor} (hb : ValidDescriptor N b) | |
| {P : CellPath} (hP : P.length = descriptorAnchor b) : | |
| sourceArcLength (descriptorGoodSet Q Ο m N lam sig J 0 P b)αΆ β€ | |
| ENNReal.ofReal (((2:β)^N)^(-(lam+sig))) := by | |
| cases b with | |
| | parallel g p => simpa only [descriptorGoodSet,sourceAngularWidth_zero] using ha.parallel g p hb.1 hb.2 P hP | |
| | projection p u => simpa only [descriptorGoodSet,sourceAngularWidth_zero] using ha.projection p u hb.1 hb.2 P hP | |
| theorem policyDescriptor_valid (A : β β β) {N q a t : β} (hq : 0 < q) (ht : t β€ N) | |
| {b : PolicyDescriptor} (hb : b β policyDescriptorList A N q a t) : ValidDescriptor N b := by | |
| obtain β¨s,u,_,hut,_,_,hpos,_,hboundβ© := policyDescriptor_origin A hq hb | |
| cases b <;> simp only [descriptorLength,descriptorAnchor,ValidDescriptor] at hpos hbound β’ <;> omega | |
| end PlanarFalconer | |
| end OAI | |