Buckets:
cfahlgren1/math / lean /OAI /Analysis /LipschitzHilbert /Packets /PacketDataAssignedPathIntegral.lean
| import OAI.Analysis.LipschitzHilbert.Trees.SourceAssignedPathIntegral | |
| import OAI.Analysis.LipschitzHilbert.Packets.PacketDataAssignedLabelCount | |
| import OAI.Analysis.LipschitzHilbert.Packets.PacketDataAssignedVertexPath | |
| namespace OAI | |
| /-! The inhabited reference adapters preserve every actual coefficient | |
| and masked path amplitude from the unrestricted data. -/ | |
| noncomputable section | |
| open scoped BigOperators | |
| namespace LipschitzHilbert.PacketLatticeData | |
| attribute [local instance] Classical.propDecidable | |
| variable {N : ℕ} {κ τ : Type} {Label : Fin N → Type} {Item : ∀ j, Label j → Type} | |
| [Fintype κ] [∀ j l, Fintype (Item j l)] | |
| variable (P : PacketLatticeData N κ Label Item) | |
| (packets : Finset P.PacketIndex) (assigned : P.PacketIndex → τ) | |
| (T : τ → SlopeBox) (oldSlope : ℝ) (R : τ → ℝ) (cone w F : ℝ) | |
| (hw : 0 < w) (hcone : 0 ≤ cone) (hF : 0 ≤ F) (hwide : cone*w ≤ P.width) | |
| (hfrequency : ∀ k, |P.frequency k| ≤ F/w) | |
| local notation "Q" => assignedReferenceFamily P packets assigned T oldSlope R cone w F | |
| hw hcone hF hwide hfrequency | |
| local notation "alts" => assignedReferenceAlternate P packets assigned T oldSlope R cone w F | |
| hw hcone hF hwide hfrequency | |
| local notation "halt" => assignedReferenceAlternate_bound P packets assigned T oldSlope R cone w F | |
| hw hcone hF hwide hfrequency | |
| local notation "selector" => assignedReferenceSelector P packets assigned T oldSlope R cone w F | |
| hw hcone hF hwide hfrequency | |
| def assignedInhabitedReference (top : τ) := (Q top).inhabitedFamily | |
| theorem assignedInhabitedReference_constant (top : τ) : | |
| (P.assignedInhabitedReference packets assigned T oldSlope R cone w F | |
| hw hcone hF hwide hfrequency top).constant = (F*cone+2)*P.referenceEnvelopeConstant := by | |
| change ((2^P.order*P.profileBound)*(F*cone+2)*P.ratioBound^2)*3^(2*P.order) = _ | |
| unfold referenceEnvelopeConstant | |
| ring | |
| theorem assignedInhabitedReference_short | |
| (hshort : ∀ q ∈ packets, P.length q.1 ≤ (T (assigned q)).length) | |
| (top : τ) (j : Fin N) (l : (Q top).inhabitedLabels j) | |
| (u : P.AssignedTopItem packets assigned j l) : | |
| (Q top).inhabitedFamily.length j ≤ (T top).length := | |
| P.assignedTopReference_supported_length packets assigned top oldSlope (R top) | |
| cone w F hw hcone hF hwide hfrequency T hshort j | |
| ((Q top).inhabitedOriginalLabel j l) u | |
| variable (alt : ∀ j (l : P.labels j), Item j l → κ → SchwartzMap (ℝ×ℝ) ℂ) | |
| (hAlt : ∀ j l u k, planarProfileConstant (alt j l u k) (2*P.order) ≤ P.profileBound) | |
| (b : ∀ j, P.labels j → κ → ℝ → ℂ) (v : ℝ×ℝ → ℝ) | |
| (f : ℝ×ℝ → EuclideanSpace ℂ κ) | |
| /-- This is the value supplied to the supported plane theorem. -/ | |
| def assignedInhabitedBand (L A : ℝ) (z : ℝ×ℝ) (p : τ×Fin N) : EuclideanSpace ℂ κ := | |
| ((Q p.1).inhabitedFamily.withProfile ((Q p.1).inhabitedAlternate (alts alt p.1)) | |
| ((Q p.1).inhabitedAlternate_bound (alts alt p.1) (halt alt hAlt p.1))).rawBand | |
| (fun j l u => (T p.1).mask L A z • | |
| (Q p.1).inhabitedFamily.physicalMultiplierCoefficient (T p.1).slope | |
| (fun j l => selector b p.1 j ((Q p.1).inhabitedOriginalLabel j l)) v f j l u) | |
| 0 p.2 z.1 (z.2-(T p.1).slope*z.1) | |
| theorem assignedInhabitedBand_original (L A : ℝ) (z : ℝ×ℝ) (p : τ×Fin N) | |
| (hcondition : ∀ q ∈ packets, | |
| P.referenceCondition oldSlope (T (assigned q)).slope (R (assigned q)) cone w q.1 q.2.1) : | |
| P.assignedInhabitedBand packets assigned T oldSlope R cone w F hw hcone hF hwide hfrequency | |
| alt hAlt b v f L A z p = | |
| P.assignedPhysicalBands alt hAlt oldSlope b v f | |
| (fun j l u => T (assigned (Sigma.mk j (Sigma.mk l u)))) L A packets assigned z p := by | |
| unfold assignedInhabitedBand | |
| rw [(Q p.1).inhabitedFamily_maskedRawBand] | |
| exact P.assignedReference_rawBand_original packets assigned T oldSlope R cone w F | |
| hw hcone hF hwide hfrequency alt hAlt b v f L A z p.1 p.2 | |
| (fun q hq hqt => by simpa only [hqt] using hcondition q hq) | |
| variable (L A : ℝ) (grid : AngularGrid) (tops : Finset τ) | |
| (precision : τ → ℝ) (cut : ℝ) (weight : τ → (ℝ×ℝ) → ℝ) | |
| (K : ℕ) (gap : ℕ → ℝ) | |
| (hassigned : ∀ q ∈ packets, assigned q ∈ tops) | |
| (hcondition : ∀ q ∈ packets, | |
| P.referenceCondition oldSlope (T (assigned q)).slope (R (assigned q)) cone w q.1 q.2.1) | |
| (stop : τ → Fin N → ℕ) (phase : ℕ → ℂ) (a : ℝ) | |
| local notation "original" => physicalMaskedValue P alt hAlt oldSlope b v f | |
| (fun j l u => T (assigned (Sigma.mk j (Sigma.mk l u)))) L A | |
| local notation "bands" => assignedInhabitedBand P packets assigned T oldSlope R cone w F | |
| hw hcone hF hwide hfrequency alt hAlt b v f L A | |
| include hassigned hcondition in | |
| theorem assignedInhabitedAmplitude_original (z : ℝ×ℝ) (level : ℕ) (cell : ℤ) : | |
| grid.sourcePacketAmplitude tops (fun t => (T t).slope) precision cut weight K gap | |
| packets assigned (fun q => stop (assigned q) q.1) (original z) phase a z level cell = | |
| grid.sourcePacketAmplitude tops (fun t => (T t).slope) precision cut weight K gap | |
| (tops ×ˢ (Finset.univ : Finset (Fin N))) Prod.fst (fun p => stop p.1 p.2) | |
| (bands z) phase a z level cell := by | |
| rw [P.physicalMaskedAmplitude_top_bands alt hAlt oldSlope b v f | |
| (fun j l u => T (assigned (Sigma.mk j (Sigma.mk l u)))) L A grid tops (fun t => (T t).slope) | |
| precision cut weight K gap packets assigned hassigned stop phase a z level cell] | |
| apply congrArg (fun values : τ×Fin N → EuclideanSpace ℂ κ => | |
| grid.sourcePacketAmplitude tops (fun t => (T t).slope) precision cut weight K gap | |
| (tops ×ˢ (Finset.univ : Finset (Fin N))) Prod.fst (fun p => stop p.1 p.2) | |
| values phase a z level cell) | |
| funext p | |
| exact (P.assignedInhabitedBand_original packets assigned T oldSlope R cone w F | |
| hw hcone hF hwide hfrequency alt hAlt b v f L A z p hcondition).symm | |
| include hassigned hcondition in | |
| /-- The actual active-path integrand is precisely the one integrated by | |
| the supported inhabited-family plane theorem. -/ | |
| theorem assignedInhabitedActivePath_original {Kb : ℕ} | |
| (α p M : ℝ) (shift : Fin Kb) (top : τ) (count : ℕ) (z : ℝ×ℝ) : | |
| grid.sourceActivePathValue tops (fun t => (T t).slope) precision cut weight K gap | |
| packets assigned (fun q => stop (assigned q) q.1) original | |
| phase a α p M shift top count z = | |
| grid.sourceActivePathValue tops (fun t => (T t).slope) precision cut weight K gap | |
| (tops ×ˢ (Finset.univ : Finset (Fin N))) Prod.fst (fun q => stop q.1 q.2) bands | |
| phase a α p M shift top count z := by | |
| apply grid.sourceActivePathValue_congr_amplitude tops (fun t => (T t).slope) precision cut weight K gap | |
| packets assigned (fun q => stop (assigned q) q.1) original | |
| (tops ×ˢ (Finset.univ : Finset (Fin N))) Prod.fst (fun q => stop q.1 q.2) bands | |
| phase a z _ α p M shift top count | |
| exact P.assignedInhabitedAmplitude_original packets assigned T oldSlope R cone w F | |
| hw hcone hF hwide hfrequency alt hAlt b v f L A grid tops precision cut weight K gap | |
| hassigned hcondition stop phase a z | |
| include hassigned hcondition in | |
| theorem assignedInhabitedPrediction_original {Kb : ℕ} | |
| (p μ : ℝ) (shift : Fin Kb) (top : τ) (j : ℕ) (z : ℝ×ℝ) : | |
| grid.sourceShiftedPathPrediction tops (fun t => (T t).slope) precision cut weight K gap | |
| packets assigned (fun q => stop (assigned q) q.1) original | |
| phase a p μ shift top z j = | |
| grid.sourceShiftedPathPrediction tops (fun t => (T t).slope) precision cut weight K gap | |
| (tops ×ˢ (Finset.univ : Finset (Fin N))) Prod.fst (fun q => stop q.1 q.2) bands | |
| phase a p μ shift top z j := by | |
| apply grid.sourceShiftedPathPrediction_congr_amplitude tops (fun t => (T t).slope) precision cut weight K gap | |
| packets assigned (fun q => stop (assigned q) q.1) original | |
| (tops ×ˢ (Finset.univ : Finset (Fin N))) Prod.fst (fun q => stop q.1 q.2) bands | |
| phase a z _ p μ shift top j | |
| exact P.assignedInhabitedAmplitude_original packets assigned T oldSlope R cone w F | |
| hw hcone hF hwide hfrequency alt hAlt b v f L A grid tops precision cut weight K gap | |
| hassigned hcondition stop phase a z | |
| end LipschitzHilbert.PacketLatticeData | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 8.22 kB
- Xet hash:
- 42dcf6b692c6a4984716a044c52c60499a39c7239a0349bc8faaa51cd9830fb9
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.