File size: 4,073 Bytes
cacddf5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | import OAI.NumberTheory.DirichletL.Inversion.InitialCommonPool
namespace OAI
noncomputable section
open scoped BigOperators Classical
open ActualEisensteinCubic CompletedGauss CanonicalQuadraticSieve ConcretePrimeRowBridge
open FirstCauchyArithmetic SecondPassArithmetic
namespace SevenEighths.InverseInitialCommonForcing
open InverseInitialOverlap InverseInitialPoissonBridge InverseInitialKernelBridge
open InverseInitialRayAttachment InverseInitialArithmetic InverseInitialCommonPool
open InverseInitialEnergyCallerWindow InverseInitialEnergyCallerSelector
local notation "Eis"=>ActualEisensteinCubic.O
theorem common_selector_window
(W:ℝ→ℂ)(Z r z G b:ℝ)(hZ:0<Z)(hW:∀x,W x≠0→x≤b)
{P j:Ideal Eis}(hP:Admissible P)(hj:j∣P)
(F:Finset (Ideal Eis))(hF:∀I∈F,Admissible I)(A:Finset (primePool F)) :
(if (∏i∈A,i.val)∈columns (originalSource Z r b) P j then
residualOverlapWindow P j W Z z G (((∏i∈A,i.val).absNorm:ℝ)/Z^(r+z-2*G)) else 0)*
rowCoprimeMask (fun i:primePool F=>i.val) A (primaryGenerator j) =
(if residual P j∣(∏i∈A,i.val) then
residualOverlapWindow P j W Z z G (((∏i∈A,i.val).absNorm:ℝ)/Z^(r+z-2*G)) else 0)*
rowCoprimeMask (fun i:primePool F=>i.val) A (primaryGenerator j) := by
by_cases hm : rowCoprimeMask (fun i:primePool F=>i.val) A (primaryGenerator j)=0
· simp only [hm,mul_zero]
by_cases hw : residualOverlapWindow P j W Z z G (((∏i∈A,i.val).absNorm:ℝ)/Z^(r+z-2*G))=0
· simp only [hw,ite_self,zero_mul]
have hA := InitialMeanSquare.poolProduct_admissible F hF A
have hcop := mask_nonzero_coprime F j (admissible_of_dvd hP hj) A hm
by_cases hd : residual P j∣(∏i∈A,i.val)
· have hmem := (mem_columns hP.2.1 hj).mpr ⟨hA.2.1,hcop,hd,
reconstructed_mem_originalSource W Z r z G b hZ hW hP hj hA hd hw⟩
simp only [hd,hmem,ite_true]
· have hn : (∏i∈A,i.val)∉columns (originalSource Z r b) P j :=
fun h=>hd ((mem_columns hP.2.1 hj).mp h).2.2.1
simp only [hd,hn,ite_false]
theorem residual_eq_common_forcing
(W:ℝ→ℂ)(Z r z G b:ℝ)(hZ:0<Z)(hW:∀x,W x≠0→x≤b)
{P j:Ideal Eis}(hP:Admissible P)(hj:j∣P)
(F:Finset (Ideal Eis))(hF:∀I∈F,Admissible I)
(hcop:∀I∈F,IsCoprime I j)(hsub:columns (originalSource Z r b) P j⊆F)
(η:Ideal Eis→*ℂ)(u:Eis) :
letI : ∀i:primePool F,(Ideal.span {poolPrimary F i}).IsMaximal :=
fun i=>by rw [poolPrimary_span F hF i];infer_instance
residualNormalizedPolynomial (originalSource Z r b) P j η (fun _=>1) W Z r z G u =
((Z^(-(r+z-2*G)/2):ℝ):ℂ)*inputConjugateRow
(poolPrimary F) (poolPrimary_good F hF) Finset.univ
(elementCharacter η) (primaryGenerator j) 1 1
(fun A=>if residual P j∣(∏i∈A,i.val) then
residualOverlapWindow P j W Z z G
(((∏i∈A,i.val).absNorm:ℝ)/Z^(r+z-2*G)) else 0) u := by
let : ∀i:primePool F,(Ideal.span {poolPrimary F i}).IsMaximal :=
fun i=>by rw [poolPrimary_span F hF i];infer_instance
rw [residual_eq_common_input _ F hP hj hF hcop hsub η (fun _=>1) W Z r z G u]
simp only [one_mul]
apply congrArg (fun v:ℂ=>((Z^(-(r+z-2*G)/2):ℝ):ℂ)*v)
rw [initial_input_row (poolPrimary F) (poolPrimary_good F hF),
initial_input_row (poolPrimary F) (poolPrimary_good F hF)]
unfold supportConjugateSum
apply Finset.sum_congr rfl
intro A hA
have he := common_selector_window W Z r z G b hZ hW hP hj F hF A
have hm : rowCoprimeMask (fun i:primePool F=>Ideal.span {poolPrimary F i}) A
(primaryGenerator j)=rowCoprimeMask (fun i:primePool F=>i.val) A
(primaryGenerator j) := by
congr 1
funext i
exact poolPrimary_span F hF i
dsimp only
rw [hm]
linear_combination
(supportMobius (fun i:primePool F=>Ideal.span {poolPrimary F i}) A *
elementCharacter η (∏i∈A,poolPrimary F i) *
star (finiteSquarefreeRow (fun i:primePool F=>Ideal.span {poolPrimary F i})
(poolPrimary_good F hF) A u))*he
end SevenEighths.InverseInitialCommonForcing
end
end OAI
|