cfahlgren1/math / lean /OAI /NumberTheory /DirichletL /Inversion /InitialEnergyCallerModes.lean
cfahlgren1's picture
download
raw
8.74 kB
import OAI.NumberTheory.DirichletL.Inversion.InitialEnergyCallerFamily
import OAI.NumberTheory.DirichletL.Inversion.InitialPhysicalMeasure
namespace OAI
noncomputable section
open scoped BigOperators Classical
open ActualEisensteinCubic CompletedGauss FirstPassCubeLabels SecondPassArithmetic
open SevenEighths.InverseMoment SevenEighths.InverseInitialArithmetic
open SevenEighths.InverseInitialPhysicalMeasure SevenEighths.InverseInitialKernelBridge
open SevenEighths.InverseInitialEnergyCallerFamily SevenEighths.InverseInitialProfile
namespace SevenEighths.InverseInitialEnergyCallerModes
local notation "Eis" => ActualEisensteinCubic.O
variable {ι σ : Type*} [DecidableEq ι] [DecidableEq σ]
(p : ι → Eis) (hp : ∀ i,p i≠0) [∀ i,(Ideal.span {p i}).IsMaximal]
(hcop : Pairwise (Function.onFun IsCoprime (fun i=>Ideal.span {p i})))
(hg : ∀ i,ConcretePrimeRowBridge.goodLambda∉Ideal.span {p i})
theorem canonicalColumn_marked_sum
(hpr : ∀ i,ConcretePrimeRowBridge.goodLambda^2∣p i-1)
(x : Point ι) (hE : x.divisor⊆x.common)
(F : Finset ι) (Ψ : Eis →* ℂ) (j h : Eis)
(slots : Finset σ) (lists : σ→Finset ι) (a : σ→ι→ℂ)
(W : ℝ→ℂ) (Z D B v : ℝ) :
(∑ N∈(F\x.overlap).powerset,
canonicalColumn p hp hcop hg hpr Ψ j (primeMark slots lists a) x h
(fun A=>W (columnRatio p A Z D B v)) N) =
∑ J∈slots.powerset,primeMark J lists a (x.common∪x.overlap)*
finiteCanonicalMarkedRow p hp hcop hg F Ψ (j*quotient p x)
(primaryGenerator (sourceIdeal p x.divisor*sourceIdeal p x.overlap))
(primaryGenerator (sourceIdeal p x.divisor)*((unitSector p hp hpr x:Eis)^5*h))
(slots\J) lists a W (Z^(columnCenter D B v)) := by
have hgen (A : Finset ι) : primaryGenerator (sourceIdeal p A)≠0 := by
rw [sourceIdeal_gen p hp hpr A]
exact Finset.prod_ne_zero_iff.mpr (fun i _=>hp i)
have hd : Ideal.span {primaryGenerator (sourceIdeal p x.divisor)}=sourceIdeal p x.divisor :=
(primaryGenerator_spec _ (hgen _)).1
have ht : Ideal.span {quotient p x}=sourceIdeal p (x.common\x.divisor) :=
(primaryGenerator_spec _ (hgen _)).1
obtain ⟨u,hu,hsplit⟩ := fresh_initial_split_fixed_family p hp hcop hg hpr
x.common x.divisor x.overlap hE (primaryGenerator (sourceIdeal p x.divisor))
(quotient p x) hd ht (σ:=σ)
have hu1 : u=1 := by
apply Units.val_injective
apply mul_right_cancel₀ (hgen x.divisor)
simpa only [Units.val_one,one_mul] using hu.symm
subst u
have he := hsplit F Ψ j ((unitSector p hp hpr x:Eis)^5*h) slots lists a W
(Z^(columnCenter D B v))
simp only [Units.val_one,one_pow,one_mul] at he
convert he using 1
· apply Finset.sum_congr rfl
intro N hN
simp only [canonicalColumn,primaryGenerator_mul,sourceIdeal_gen p hp hpr x.overlap,
secondChildColumn,columnRatio_actual,Finset.union_assoc]
· rfl
def sourcePoint (x : Source (ι:=ι) 0) (N M : Finset ι) : Point ι where
common := x.common
divisor := x.divisor
overlap := x.overlap
left := N
right := M
frequency := x.frequency
omit [DecidableEq ι] [∀ (i : ι), (Ideal.span {p i}).IsMaximal] in
theorem sourcePoint_outer_phase (x : Source (ι:=ι) 0) (N M : Finset ι)
(height : Fin 6→ℝ) (Z D B v θ H : ℝ) :
secondOuterPhase height (relativeLog (coordinates p (sourcePoint x N M)) Z D B v θ H) =
secondOuterPhase height (relativeLog (coordinates p (sourcePoint x ∅ ∅)) Z D B v θ H) := by
have hc₀ : coordinates p (sourcePoint x N M) 0=coordinates p (sourcePoint x ∅ ∅) 0 := by
simp [coordinates,physicalCoordinates,sourcePoint]
have hc₁ : coordinates p (sourcePoint x N M) 1=coordinates p (sourcePoint x ∅ ∅) 1 := by
simp [coordinates,physicalCoordinates,sourcePoint]
have hc₂ : coordinates p (sourcePoint x N M) 2=coordinates p (sourcePoint x ∅ ∅) 2 := by
simp [coordinates,physicalCoordinates,sourcePoint]
have hc₃ : coordinates p (sourcePoint x N M) 3=coordinates p (sourcePoint x ∅ ∅) 3 := by
simp [coordinates,physicalCoordinates,sourcePoint]
simp [secondOuterPhase,relativeLog,relativeNorm,secondRelativeNorm,hc₀,hc₁,hc₂,hc₃]
omit [∀ i,(Ideal.span {p i}).IsMaximal] in
theorem sourcePoint_unitSector
(hpr : ∀ i,ConcretePrimeRowBridge.goodLambda^2∣p i-1)
(x : Source (ι:=ι) 0) (N M : Finset ι) :
unitSector p hp hpr (sourcePoint x N M)=unitSector p hp hpr (sourcePoint x ∅ ∅) := by
have hgen : primaryGenerator (sourceIdeal p x.divisor)≠0 := by
rw [sourceIdeal_gen p hp hpr]
exact Finset.prod_ne_zero_iff.mpr (fun i _=>hp i)
apply Units.val_injective
apply mul_right_cancel₀ hgen
exact (unitSector_spec p hp hpr (sourcePoint x N M)).symm.trans
(unitSector_spec p hp hpr (sourcePoint x ∅ ∅))
def markedModeColumn (hpr : ∀ i,ConcretePrimeRowBridge.goodLambda^2∣p i-1)
(F : Finset ι) (Ψ : Eis →* ℂ) (j h : Eis) (x : Source (ι:=ι) 0)
(slots : Finset σ) (lists : σ→Finset ι) (a : σ→ι→ℂ)
(W : ℝ→ℂ) (Z D B v : ℝ) : ℂ :=
∑ J∈slots.powerset,primeMark J lists a (x.common∪x.overlap)*
finiteCanonicalMarkedRow p hp hcop hg F Ψ
(j*quotient p (sourcePoint x ∅ ∅))
(primaryGenerator (sourceIdeal p x.divisor*sourceIdeal p x.overlap))
(primaryGenerator (sourceIdeal p x.divisor)*
((unitSector p hp hpr (sourcePoint x ∅ ∅):Eis)^5*h))
(slots\J) lists a W (Z^(columnCenter D B v))
theorem canonicalPairMode_rectangle
(hpr : ∀ i,ConcretePrimeRowBridge.goodLambda^2∣p i-1)
(x : Source (ι:=ι) 0) (hE : x.divisor⊆x.common)
(F : Finset ι) (Ψ : Eis →* ℂ) (j : Eis)
(slots : Finset σ) (lists : σ→Finset ι) (a : σ→ι→ℂ)
(ω₁ ω₂ : ℝ→ℂ) (Z D B v θ H : ℝ) (ρ : SecondRayIndex)
(z : JointLogSeparation.Frequency × (Fin 6→ℝ)) :
let height := profileHeight secondLeftSlope secondRightSlope secondKernelSlope z.1 z.2
(∑ N∈(F\x.overlap).powerset,∑ M∈(F\x.overlap).powerset,
canonicalPairMode p hp hcop hg hpr Ψ j (primeMark slots lists a) ω₁ ω₂
Z D B v θ H (sourcePoint x N M) ρ z) =
(outerCoefficient p hp hcop hg Ψ j (sourcePoint x ∅ ∅) ρ *
secondOuterPhase height (relativeLog (coordinates p (sourcePoint x ∅ ∅)) Z D B v θ H)) *
(star (markedModeColumn p hp hcop hg hpr F (secondRayMinus Ψ ρ) j x.frequency x
slots lists a (childLogTest ω₁ (-height 4)) Z D B v) *
markedModeColumn p hp hcop hg hpr F (secondRayPlus Ψ ρ) j (-x.frequency) x
slots lists a (childLogTest ω₂ (height 5)) Z D B v) := by
dsimp only
let x₀ := sourcePoint x ∅ ∅
have hpoint (N M : Finset ι) :
canonicalPairMode p hp hcop hg hpr Ψ j (primeMark slots lists a) ω₁ ω₂
Z D B v θ H (sourcePoint x N M) ρ z =
(outerCoefficient p hp hcop hg Ψ j x₀ ρ *
secondOuterPhase (profileHeight secondLeftSlope secondRightSlope secondKernelSlope z.1 z.2)
(relativeLog (coordinates p x₀) Z D B v θ H)) *
star (canonicalColumn p hp hcop hg hpr (secondRayMinus Ψ ρ) j (primeMark slots lists a) x₀ x.frequency
(fun A=>childLogTest ω₁ (-(profileHeight secondLeftSlope secondRightSlope secondKernelSlope z.1 z.2) 4)
(columnRatio p A Z D B v)) N) *
canonicalColumn p hp hcop hg hpr (secondRayPlus Ψ ρ) j (primeMark slots lists a) x₀ (-x.frequency)
(fun A=>childLogTest ω₂ ((profileHeight secondLeftSlope secondRightSlope secondKernelSlope z.1 z.2) 5)
(columnRatio p A Z D B v)) M := by
unfold InverseInitialPhysicalMeasure.canonicalPairMode
dsimp only
rw [sourcePoint_outer_phase p x N M
(profileHeight secondLeftSlope secondRightSlope secondKernelSlope z.1 z.2) Z D B v θ H]
simp only [canonicalColumn]
simp only [sourcePoint_unitSector p hp hpr x N M]
simp only [outerCoefficient,sourcePoint,divisor,quotient,x₀]
simp_rw [hpoint,←Finset.mul_sum]
rw [←Finset.sum_mul,←Finset.mul_sum,←star_sum]
have hleft := canonicalColumn_marked_sum p hp hcop hg hpr x₀ hE F (secondRayMinus Ψ ρ) j x.frequency
slots lists a (childLogTest ω₁ (-(profileHeight secondLeftSlope secondRightSlope secondKernelSlope z.1 z.2) 4)) Z D B v
have hright := canonicalColumn_marked_sum p hp hcop hg hpr x₀ hE F (secondRayPlus Ψ ρ) j (-x.frequency)
slots lists a (childLogTest ω₂ ((profileHeight secondLeftSlope secondRightSlope secondKernelSlope z.1 z.2) 5)) Z D B v
dsimp only [x₀,sourcePoint] at hleft hright ⊢
rw [hleft,hright]
simp only [markedModeColumn,sourcePoint]
ring
end SevenEighths.InverseInitialEnergyCallerModes
end
end OAI

Xet Storage Details

Size:
8.74 kB
·
Xet hash:
149be2a449df1d4504984744c320a626539136f7283c85f1a42cd688ac104000

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.