Buckets:
| import OAI.Analysis.LipschitzHilbert.Trees.SourceAssignedTopEnvelope | |
| import OAI.Analysis.LipschitzHilbert.Trees.SourceAssignedTopOffchild | |
| import OAI.Analysis.LipschitzHilbert.Trees.SourcePhysicalOffchildGrouping | |
| namespace OAI | |
| /-! The supported assigned-top estimates apply to the original individual | |
| physical packets. These identities retain their analyzing coefficients, | |
| alternate profiles, stopping levels, masks and source transitions. -/ | |
| noncomputable section | |
| open scoped BigOperators | |
| namespace LipschitzHilbert.SourceLabeledLattice | |
| attribute [local instance] Classical.propDecidable | |
| variable {N : ℕ} {κ τ : Type} {Label : Fin N → Type} {Item : ∀ j, Label j → Type} | |
| [Fintype κ] [∀ j l, Fintype (Item j l)] | |
| /-- A constant top mask can be placed in the raw coefficients exactly. -/ | |
| theorem physicalMaskedBand_const_eq_rawBand (P : SourceLabeledLattice N κ Label Item) | |
| (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) | |
| (t : ℝ) (b : ∀ j, P.labels j → κ → ℝ → ℂ) (v : ℝ×ℝ → ℝ) | |
| (f : ℝ×ℝ → EuclideanSpace ℂ κ) (T : SlopeBox) (L A : ℝ) | |
| (z : ℝ×ℝ) (j : Fin N) : | |
| P.physicalMaskedBand alt hAlt t b v f (fun _ _ _ => T) L A (z.2-t*z.1) j z.1 = | |
| (P.withProfile alt hAlt).rawBand | |
| (fun j l u => T.mask L A z • P.physicalMultiplierCoefficient t b v f j l u) | |
| 0 j z.1 (z.2-t*z.1) := by | |
| ext k | |
| have hpoint : (z.1,(z.2-t*z.1)+t*z.1) = z := by | |
| apply Prod.ext | |
| · rfl | |
| · dsimp | |
| ring | |
| simp only [physicalMaskedBand,rawBand,vectorPacketSynthesis,packetSynthesis_apply, | |
| WithLp.ofLp_toLp,Fintype.sum_sigma,hpoint] | |
| apply Finset.sum_congr rfl | |
| intro l _ | |
| apply Finset.sum_congr rfl | |
| intro u _ | |
| have hp := congrArg (fun f : SchwartzMap ℝ ℂ => f z.1) | |
| ((P.withProfile alt hAlt).raw_eq_physical_slice 0 j l u k (z.2-t*z.1) t) | |
| change (P.withProfile alt hAlt).raw 0 j l u k (z.2-t*z.1) z.1 = | |
| (P.withProfile alt hAlt).physicalPacket t j l u k (z.1,(z.2-t*z.1)+t*z.1) at hp | |
| rw [hpoint] at hp | |
| simp only [PiLp.smul_apply,Complex.real_smul,hp] | |
| ring | |
| variable (P : SourceLabeledLattice 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) | |
| /-- The common-type recentered family used in the actual top envelopes. -/ | |
| def assignedReferenceFamily (top : τ) : | |
| SourceLabeledLattice N κ (fun j => τ×P.labels j) (P.AssignedTopItem packets assigned) := | |
| (P.assignedTopFamily packets assigned top).referenceFamily oldSlope (T top).slope | |
| (R top) cone w F hw hcone hF hwide hfrequency | |
| local notation "Q" => assignedReferenceFamily P packets assigned T oldSlope R cone w F | |
| hw hcone hF hwide hfrequency | |
| def assignedReferenceOriginalLabel (top : τ) (j : Fin N) (l : (Q top).labels j) : P.labels j := | |
| ((P.assignedTopFamily packets assigned top).referenceOriginalLabel | |
| oldSlope (T top).slope (R top) cone w j l).val.2 | |
| local notation "orig" => assignedReferenceOriginalLabel P packets assigned T oldSlope R cone w F | |
| hw hcone hF hwide hfrequency | |
| 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) | |
| def assignedReferenceAlternate (top : τ) (j : Fin N) (l : (Q top).labels j) | |
| (u : P.AssignedTopItem packets assigned j l) (k : κ) : SchwartzMap (ℝ×ℝ) ℂ := | |
| alt j (orig top j l) u.val k | |
| local notation "alts" => assignedReferenceAlternate P packets assigned T oldSlope R cone w F | |
| hw hcone hF hwide hfrequency alt | |
| include hAlt in | |
| theorem assignedReferenceAlternate_bound (top : τ) (j : Fin N) (l : (Q top).labels j) | |
| (u : P.AssignedTopItem packets assigned j l) (k : κ) : | |
| planarProfileConstant (alts top j l u k) (2*(Q top).order) ≤ (Q top).profileBound := | |
| hAlt j (orig top j l) u.val k | |
| local notation "halt" => assignedReferenceAlternate_bound P packets assigned T oldSlope R cone w F | |
| hw hcone hF hwide hfrequency alt hAlt | |
| variable (b : ∀ j, P.labels j → κ → ℝ → ℂ) (v : ℝ×ℝ → ℝ) | |
| (f : ℝ×ℝ → EuclideanSpace ℂ κ) | |
| def assignedReferenceSelector (top : τ) (j : Fin N) (l : (Q top).labels j) : κ → ℝ → ℂ := | |
| b j (orig top j l) | |
| local notation "selector" => assignedReferenceSelector P packets assigned T oldSlope R cone w F | |
| hw hcone hF hwide hfrequency b | |
| theorem assignedReference_rawBand_original (L A : ℝ) (z : ℝ×ℝ) (top : τ) (j : Fin N) | |
| (hcondition : ∀ q ∈ packets, assigned q = top → | |
| P.referenceCondition oldSlope (T top).slope (R top) cone w q.1 q.2.1) : | |
| ((Q top).withProfile (alts top) (halt top)).rawBand | |
| (fun j l u => (T top).mask L A z • | |
| (Q top).physicalMultiplierCoefficient (T top).slope (selector top) v f j l u) | |
| 0 j z.1 (z.2-(T top).slope*z.1) = | |
| P.assignedPhysicalBands alt hAlt oldSlope b v f | |
| (fun j l u => T (assigned ⟨j,⟨l,u⟩⟩)) L A packets assigned z (top,j) := by | |
| have hr := (Q top).physicalMaskedBand_const_eq_rawBand (alts top) (halt top) | |
| (T top).slope (selector top) v f (T top) L A z j | |
| exact hr.symm.trans (P.assignedTopReference_topMaskBand_all packets assigned top | |
| oldSlope (R top) cone w F hw hcone hF hwide hfrequency T hcondition alt hAlt b v f L A z j) | |
| /-- Original packets, their literal top/length fibers and the recentered | |
| raw bands have exactly the same source amplitude. -/ | |
| theorem assignedReference_packetAmplitude_original | |
| (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 L A : ℝ) | |
| (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) | |
| (P.physicalMaskedValue alt hAlt oldSlope b v f | |
| (fun j l u => T (assigned ⟨j,⟨l,u⟩⟩)) L A 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) | |
| (fun p => ((Q p.1).withProfile (alts p.1) (halt p.1)).rawBand | |
| (fun j l u => (T p.1).mask L A z • | |
| (Q p.1).physicalMultiplierCoefficient (T p.1).slope (selector p.1) v f j l u) | |
| 0 p.2 z.1 (z.2-(T p.1).slope*z.1)) phase a z level cell := by | |
| rw [grid.sourcePacketAmplitude_regroup tops (fun t => (T t).slope) precision cut weight K gap | |
| packets assigned hassigned (fun q => q.1) stop | |
| (P.physicalMaskedValue alt hAlt oldSlope b v f | |
| (fun j l u => T (assigned ⟨j,⟨l,u⟩⟩)) L A z) 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 | |
| rw [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)] | |
| exact (P.assignedPhysicalBands_eq alt hAlt oldSlope b v f | |
| (fun j l u => T (assigned ⟨j,⟨l,u⟩⟩)) L A packets assigned z p).symm | |
| /-- The exact off-child regrouping also retains original packet masks | |
| and coefficients; only the assignment fiber is summed. -/ | |
| theorem assignedReference_offchildAmplitude_original | |
| (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 L A : ℝ) | |
| (z : ℝ×ℝ) (level : ℕ) (cell : ℤ) (child : Finset τ) : | |
| grid.sourcePacketAmplitude tops (fun t => (T t).slope) precision cut weight K gap | |
| (packets.filter (fun u => assigned u ∉ child)) assigned (fun q => stop (assigned q) q.1) | |
| (P.physicalMaskedValue alt hAlt oldSlope b v f | |
| (fun j l u => T (assigned ⟨j,⟨l,u⟩⟩)) L A 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))).filter fun p => p.1 ∉ child) | |
| Prod.fst (fun p => stop p.1 p.2) | |
| (fun p => ((T p.1).mask L A z : ℂ) • | |
| ((Q p.1).withProfile (alts p.1) (halt p.1)).rawBand | |
| ((Q p.1).physicalMultiplierCoefficient (T p.1).slope (selector p.1) v f) | |
| 0 p.2 z.1 (z.2-(T p.1).slope*z.1)) phase a z level cell := by | |
| rw [P.physicalOffchildAmplitude_top_bands alt hAlt oldSlope b v f | |
| (fun j l u => T (assigned ⟨j,⟨l,u⟩⟩)) L A packets assigned grid tops | |
| (fun t => (T t).slope) precision cut weight K gap hassigned stop phase a z level cell child] | |
| 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))).filter fun p => p.1 ∉ child) | |
| Prod.fst (fun p => stop p.1 p.2) values phase a z level cell) | |
| funext p | |
| have hr := 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) | |
| have hs := ((Q p.1).withProfile (alts p.1) (halt p.1)).rawBand_coeff_real_smul | |
| ((Q p.1).physicalMultiplierCoefficient (T p.1).slope (selector p.1) v f) | |
| ((T p.1).mask L A z) 0 p.2 z.1 (z.2-(T p.1).slope*z.1) | |
| exact hr.symm.trans (hs.trans (IsScalarTower.algebraMap_smul ℂ _ _).symm) | |
| end LipschitzHilbert.SourceLabeledLattice | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 10.4 kB
- Xet hash:
- cf8afa9ac5174aff348cb51b1bba957540354d9aff8e92bdb255663d1d5b7b66
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.