Buckets:
| import OAI.NumberTheory.DirichletL.Detector.CalibrationCRT | |
| import OAI.NumberTheory.DirichletL.Detector.PhysicalPoisson | |
| namespace OAI | |
| noncomputable section | |
| open scoped Classical BigOperators | |
| namespace SevenEighths.ProbePhysical | |
| open ActualEisensteinCubic CubicEisenstein GaussianShiftedPartition CanonicalRowCompletion | |
| open CenteredMomentCommonSupport CenteredMomentFourier | |
| local notation "O" => ActualEisensteinCubic.O | |
| def elementFourier (c : O) (hc : c≠0) (f : O → ℂ) (H : O) : ℂ := | |
| ∑' x : Residue c, f (representative c x) * quotientTrace c hc (Ideal.Quotient.mk _ H*x) | |
| lemma elementFourier_congr (c d : O) (hc : c≠0) (hd : d≠0) (f : O → ℂ) (H : O) | |
| (he : c=d) : elementFourier c hc f H = elementFourier d hd f H := by | |
| subst d | |
| rfl | |
| def movingQuotient (A s : O) (hs : s≠0) (x : Residue (A*s)) : ℂ := | |
| idealRowHom (representative (A*s) x) (Ideal.span {A}) * | |
| sexticGauss s hs (-representative (A*s) x) | |
| lemma movingQuotient_mk (A s : O) (hs : s≠0) (m : O) : | |
| movingQuotient A s hs (Ideal.Quotient.mk _ m) = | |
| idealRowHom m (Ideal.span {A}) * sexticGauss s hs (-m) := by | |
| have hd : A*s ∣ representative (A*s) (Ideal.Quotient.mk _ m)-m := | |
| Ideal.mem_span_singleton.mp (Ideal.Quotient.eq.mp (representative_spec _ _)) | |
| have hA : representative (A*s) (Ideal.Quotient.mk _ m)-m ∈ (Ideal.span {A}:Ideal O) := | |
| Ideal.mem_span_singleton.mpr ((dvd_mul_right A s).trans hd) | |
| have hs' : -representative (A*s) (Ideal.Quotient.mk _ m)-(-m) ∈ (Ideal.span {s}:Ideal O) := by | |
| apply Ideal.mem_span_singleton.mpr | |
| rw [show -representative (A*s) (Ideal.Quotient.mk _ m)-(-m) = | |
| -(representative (A*s) (Ideal.Quotient.mk _ m)-m) by ring] | |
| exact dvd_neg.mpr ((dvd_mul_left s A).trans hd) | |
| unfold movingQuotient | |
| rw [idealRowHom_congr_mod _ _ _ hA, sexticGauss_frequency_congr s hs _ (-m) hs'] | |
| lemma physicalFourier_eq_element (C : CalibrationData) (A s : O) (hA : A≠0) (hs : s≠0) (H : O) : | |
| actualPhysicalFourier C A s hA hs H = | |
| elementFourier (C.generator*(A*s)) (mul_ne_zero C.generator_ne_zero (mul_ne_zero hA hs)) | |
| (fun m => C.residueMonoid m * idealRowHom m (Ideal.span {A}) * sexticGauss s hs (-m)) H := by | |
| change elementFourier ((C.generator*A)*s) (mul_ne_zero (mul_ne_zero C.generator_ne_zero hA) hs) | |
| (fun m => C.residueMonoid m * idealRowHom m (Ideal.span {A}) * sexticGauss s hs (-m)) H = _ | |
| apply elementFourier_congr | |
| exact mul_assoc _ _ _ | |
| lemma physicalFourier_eq_mixed (C : CalibrationData) (A s : O) (hA : A≠0) (hs : s≠0) (H : O) : | |
| actualPhysicalFourier C A s hA hs H = | |
| ∑' x : Residue (C.generator*(A*s)), | |
| C.residue (frequencyReduction C.generator (C.generator*(A*s)) (dvd_mul_right _ _) x) * | |
| movingQuotient A s hs (frequencyReduction (A*s) (C.generator*(A*s)) (dvd_mul_left _ _) x) * | |
| quotientTrace (C.generator*(A*s)) (mul_ne_zero C.generator_ne_zero (mul_ne_zero hA hs)) | |
| (Ideal.Quotient.mk _ H*x) := by | |
| rw [physicalFourier_eq_element] | |
| unfold elementFourier | |
| apply tsum_congr | |
| intro x | |
| have he : Ideal.Quotient.mk (Ideal.span {C.generator*(A*s)}) | |
| (representative (C.generator*(A*s)) x) = x := representative_spec _ _ | |
| have hrA : frequencyReduction C.generator (C.generator*(A*s)) (dvd_mul_right _ _) x = | |
| Ideal.Quotient.mk _ (representative (C.generator*(A*s)) x) := by | |
| conv_lhs => rw [← he] | |
| rfl | |
| have hrB : frequencyReduction (A*s) (C.generator*(A*s)) (dvd_mul_left _ _) x = | |
| Ideal.Quotient.mk _ (representative (C.generator*(A*s)) x) := by | |
| conv_lhs => rw [← he] | |
| rfl | |
| rw [hrA, hrB, movingQuotient_mk] | |
| change _ = (C.residueMonoid _ * (_ * _)) * _ | |
| ring | |
| theorem actualPhysicalFourier_zero_off_calibration (S : Finset (Ideal O)) | |
| (hS : ∀ P∈S, P.IsMaximal) (A s : O) (hA : A≠0) (hs : s≠0) | |
| (hcop : IsCoprime (calibrationForSet S hS).generator (A*s)) (H : O) | |
| (hH : ¬IsCoprime (calibrationForSet S hS).generator H) : | |
| actualPhysicalFourier (calibrationForSet S hS) A s hA hs H=0 := by | |
| rw [physicalFourier_eq_mixed] | |
| exact calibration_mixed_fourier_zero S hS (A*s) (mul_ne_zero hA hs) hcop (movingQuotient A s hs) H hH | |
| theorem actualCongruenceCoefficient_zero_off_calibration (S : Finset (Ideal O)) | |
| (hS : ∀ P∈S, P.IsMaximal) (A s : O) (hA : A≠0) (hs : s≠0) | |
| (hcop : IsCoprime (calibrationForSet S hS).generator (A*s)) (H : O) | |
| (hH : ¬IsCoprime (calibrationForSet S hS).generator H) : | |
| actualCongruenceCoefficient (calibrationForSet S hS) A s hA H=0 := by | |
| have he := actualPhysicalFourier_zero_off_calibration S hS A s hA hs hcop H hH | |
| rw [actualPhysicalFourier_eq] at he | |
| have hn : (Ideal.absNorm (Ideal.span {s}):ℂ)≠0 := by | |
| exact_mod_cast Ideal.absNorm_eq_zero_iff.not.mpr (Ideal.span_singleton_eq_bot.not.mpr hs) | |
| exact (mul_eq_zero.mp he).resolve_left hn | |
| end SevenEighths.ProbePhysical | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 4.87 kB
- Xet hash:
- a7ff5491c769b97eeb8788281e314b99da7535124e40f52af35fb46821692186
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.