Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.RepresentationTheory.Weil.AdelicSplitting.NontrivialLocalCharacter |
| 2 | import OAI.RepresentationTheory.Weil.AdelicSplitting.FourierTools |
| 3 | import OAI.RepresentationTheory.Weil.AdelicSplitting.RationalLevi |
| 4 | |
| 5 | /-! # Normalization Nonvanishing -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Weil.AdelicSplitting.NormalizationNonvanishing.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Nonvanishing forced by the actual normalized local operators. The Haar |
| 14 | scale and Gaussian factors below are consequences of the supplied local |
| 15 | splittings, with no extra analytic-normalization hypothesis. -/ |
| 16 | |
| 17 | open OAI.RepresentationTheory.Weil.AdelicSplitting.FourierTools.LocalAnalysis _root_.MeasureTheory |
| 18 | open scoped InnerProductSpace |
| 19 | |
| 20 | variable (F : Type) [Field F] [NumberField F] (d : F) (hd : d ≠ 0) |
| 21 | (n m : ℕ) |
| 22 | (H : (Matrix (Fin n) (Fin n) (UnitaryBase.Construction.Quadratic F d))ˣ) |
| 23 | (K : (Matrix (Fin m) (Fin m) (UnitaryBase.Construction.Quadratic F d))ˣ) |
| 24 | (C : Characters.Construction.GlobalCharacters F d n m) (P : Assembly.Construction.GlobalFrames F d n m H K) |
| 25 | (D : Assembly.Construction.NormalizedLocalSplittings F d n m H K hd C P) (v : ArchimedeanAdeles.Construction.Places F) |
| 26 | |
| 27 | include D |
| 28 | |
| 29 | theorem normalized_correctedFirstFactor_nonvanishing |
| 30 | (g : Integral.Construction.LocalUnitary F H.val v) |
| 31 | (u : (Matrix (Fin n) (Fin n) (ArchimedeanAdeles.Construction.localQuadratic F d v))ˣ) |
| 32 | (hu : u.val = g.val.val - 1) : |
| 33 | CorrectedNormalization.Construction.correctedFirstFactorScalar F d hd n m C v (Assembly.Construction.localizedUnit F d H v) |
| 34 | (Assembly.Construction.localizedUnit F d K v) u ≠ 0 ∧ |
| 35 | ∃ f h : Local.FunctionsMetaplectic.Construction.schwartzBruhat (ArchimedeanAdeles.Construction.Completion F v) (n * m), |
| 36 | CorrectedNormalization.Construction.correctedWeakOpenCellValue (ArchimedeanAdeles.Construction.Completion F v) (n * m) (Characters.Construction.localAdditiveCharacter F C.ψ v) |
| 37 | (TensorSpace.Construction.dualPairSymplectic (Assembly.Construction.localizedUnit F d H v).val |
| 38 | (Assembly.Construction.localizedUnit F d K v).val (P.localFrame v) (g, 1)) f.val h.val ≠ 0 := by |
| 39 | obtain ⟨f, hf⟩ := NontrivialLocalCharacter.Construction.local_test_one F (n * m) v |
| 40 | let T := Oscillator.Construction.localOperator (ArchimedeanAdeles.Construction.Completion F v) (n * m) (Characters.Construction.localAdditiveCharacter F C.ψ v) |
| 41 | (D.atPlace v (g, 1)) |
| 42 | have hpair : (∫ x, f.val x * star (f.val x) |
| 43 | ∂ UnitarySplitting.Weak.Construction.referencePositionMeasure (ArchimedeanAdeles.Construction.Completion F v) (n * m)) ≠ 0 := by |
| 44 | intro hz |
| 45 | have hi : ⟪UnitarySplitting.Weak.Construction.testToL2 (ArchimedeanAdeles.Construction.Completion F v) (n * m) f, |
| 46 | UnitarySplitting.Weak.Construction.testToL2 (ArchimedeanAdeles.Construction.Completion F v) (n * m) f⟫_ℂ = 0 := by |
| 47 | rw [UnitarySplitting.Weak.Construction.testToL2_inner] |
| 48 | exact hz |
| 49 | have hfzero : f = 0 := UnitarySplitting.Weak.Construction.testToL2_injective (ArchimedeanAdeles.Construction.Completion F v) (n * m) |
| 50 | ((inner_self_eq_zero.mp hi).trans (map_zero _).symm) |
| 51 | rw [hfzero] at hf |
| 52 | exact zero_ne_one hf |
| 53 | have he := (D.normalization v).1 g u hu (T.symm f) f |
| 54 | change (∫ x, (T (T.symm f)).val x * star (f.val x) |
| 55 | ∂ UnitarySplitting.Weak.Construction.referencePositionMeasure (ArchimedeanAdeles.Construction.Completion F v) (n * m)) = _ at he |
| 56 | rw [T.apply_symm_apply] at he |
| 57 | have hprod := mul_ne_zero_iff.mp (fun hz => hpair (he.trans hz)) |
| 58 | exact ⟨hprod.1, T.symm f, f, hprod.2⟩ |
| 59 | |
| 60 | theorem normalized_selfDualMeasure_ne_zero (hN : 0 < n * m) : |
| 61 | Local.FunctionsMetaplectic.Construction.selfDualMeasure (ArchimedeanAdeles.Construction.Completion F v) (Characters.Construction.localAdditiveCharacter F C.ψ v) ≠ 0 := by |
| 62 | obtain ⟨u, hu⟩ := NontrivialLocalCharacter.Construction.negativeUnitary_open (ArchimedeanAdeles.Construction.rationalScalar F v d) (Assembly.Construction.localizedUnit F d H v).val |
| 63 | obtain ⟨_, f, h, hx⟩ := normalized_correctedFirstFactor_nonvanishing F d hd n m H K C P D v |
| 64 | (NontrivialLocalCharacter.Construction.negativeUnitary (Assembly.Construction.localizedUnit F d H v).val) u hu |
| 65 | intro hμ |
| 66 | exact hx (CorrectedNormalizationAnalysis.Construction.correctedWeakOpenCellValue_of_measure_zero _ _ hμ (n * m) hN _ _ _) |
| 67 | |
| 68 | theorem normalized_fourierHaarScaleSquared_pos (hN : 0 < n * m) : |
| 69 | 0 < Local.FunctionsMetaplectic.Construction.fourierHaarScaleSquared (ArchimedeanAdeles.Construction.Completion F v) (Characters.Construction.localAdditiveCharacter F C.ψ v) := by |
| 70 | have h := normalized_selfDualMeasure_ne_zero F d hd n m H K C P D v hN |
| 71 | by_contra! hn |
| 72 | apply h |
| 73 | simp [Local.FunctionsMetaplectic.Construction.selfDualMeasure, Real.sqrt_eq_zero_of_nonpos hn] |
| 74 | |
| 75 | theorem normalized_selfDualMeasure_isAddHaarMeasure (hN : 0 < n * m) : |
| 76 | (Local.FunctionsMetaplectic.Construction.selfDualMeasure (ArchimedeanAdeles.Construction.Completion F v) (Characters.Construction.localAdditiveCharacter F C.ψ v)).IsAddHaarMeasure := |
| 77 | FourierTools.LocalAnalysis.selfDualMeasure_isAddHaarMeasure_of_scale_pos _ _ |
| 78 | (normalized_fourierHaarScaleSquared_pos F d hd n m H K C P D v hN) |
| 79 | |
| 80 | theorem normalized_schrodingerQuadraticWeilConstant_ne_zero (hN : 0 < n * m) : |
| 81 | CorrectedGeneratorKernels.Construction.schrodingerQuadraticWeilConstant (ArchimedeanAdeles.Construction.Completion F v) (Characters.Construction.localAdditiveCharacter F C.ψ v) |
| 82 | (ArchimedeanAdeles.Construction.rationalScalar F v d) ≠ 0 := by |
| 83 | obtain ⟨u, hu⟩ := NontrivialLocalCharacter.Construction.negativeUnitary_open (ArchimedeanAdeles.Construction.rationalScalar F v d) (Assembly.Construction.localizedUnit F d H v).val |
| 84 | have h := (normalized_correctedFirstFactor_nonvanishing F d hd n m H K C P D v |
| 85 | (NontrivialLocalCharacter.Construction.negativeUnitary (Assembly.Construction.localizedUnit F d H v).val) u hu).1 |
| 86 | intro hz |
| 87 | apply h |
| 88 | simp [CorrectedNormalization.Construction.correctedFirstFactorScalar, hz, Nat.ne_of_gt hN] |
| 89 | |
| 90 | theorem normalized_corrected_gaussianIntegral_ne_zero (hN : 0 < n * m) : |
| 91 | Local.FunctionsMetaplectic.Construction.gaussianIntegral (ArchimedeanAdeles.Construction.Completion F v) (Characters.Construction.localAdditiveCharacter F C.ψ v) (-1) ≠ 0 ∧ |
| 92 | Local.FunctionsMetaplectic.Construction.gaussianIntegral (ArchimedeanAdeles.Construction.Completion F v) (Characters.Construction.localAdditiveCharacter F C.ψ v) |
| 93 | (ArchimedeanAdeles.Construction.rationalScalar F v d) ≠ 0 := by |
| 94 | have h := normalized_schrodingerQuadraticWeilConstant_ne_zero F d hd n m H K C P D v hN |
| 95 | constructor <;> intro hz <;> apply h <;> |
| 96 | simp [CorrectedGeneratorKernels.Construction.schrodingerQuadraticWeilConstant, Local.FunctionsMetaplectic.Construction.gaussianIndex, hz, Local.FunctionsMetaplectic.Construction.phase] |
| 97 | |
| 98 | theorem normalized_schrodingerQuadraticWeilConstant_norm (hN : 0 < n * m) : |
| 99 | ‖CorrectedGeneratorKernels.Construction.schrodingerQuadraticWeilConstant (ArchimedeanAdeles.Construction.Completion F v) (Characters.Construction.localAdditiveCharacter F C.ψ v) |
| 100 | (ArchimedeanAdeles.Construction.rationalScalar F v d)‖ = 1 := by |
| 101 | have h := normalized_corrected_gaussianIntegral_ne_zero F d hd n m H K C P D v hN |
| 102 | rw [CorrectedGeneratorKernels.Construction.schrodingerQuadraticWeilConstant, norm_mul, Local.FunctionsMetaplectic.Construction.gaussianIndex_norm _ _ _ h.1, |
| 103 | Local.FunctionsMetaplectic.Construction.gaussianIndex_norm _ _ _ h.2, mul_one] |
| 104 | |
| 105 | end |
| 106 | |
| 107 | /-! A nonzero normalized oscillator pairing forces the rational Cayley |
| 108 | difference matrix to be invertible. -/ |
| 109 | |
| 110 | open _root_.MeasureTheory |
| 111 | open scoped Classical _root_.NumberField ComplexConjugate InnerProductSpace |
| 112 | |
| 113 | variable (F : Type) [Field F] [NumberField F] (N : ℕ) (ψ : AddChar (ArchimedeanAdeles.Construction.Adeles F) ℂ) |
| 114 | |
| 115 | theorem rational_weak_normalization_open (a : Rational.Construction.RestrictedCover F N ψ) (γ : Local.FunctionsMetaplectic.Construction.Symplectic F N) |
| 116 | (c : ArchimedeanAdeles.Construction.Places F → ℂ) |
| 117 | (hnorm : ∀ v (f h : Local.FunctionsMetaplectic.Construction.schwartzBruhat (ArchimedeanAdeles.Construction.Completion F v) N), |
| 118 | (∫ x, (Oscillator.Construction.localOperator (ArchimedeanAdeles.Construction.Completion F v) N (Characters.Construction.localAdditiveCharacter F ψ v) (a v) f).val x * conj (h.val x) |
| 119 | ∂ UnitarySplitting.Weak.Construction.referencePositionMeasure (ArchimedeanAdeles.Construction.Completion F v) N) = |
| 120 | c v * CorrectedNormalization.Construction.correctedWeakOpenCellValue (ArchimedeanAdeles.Construction.Completion F v) N (Characters.Construction.localAdditiveCharacter F ψ v) |
| 121 | (Vacuum.Construction.rationalSymplecticLocal F N v γ) f.val h.val) : (γ.val - 1).det ≠ 0 := by |
| 122 | obtain ⟨v⟩ : Nonempty (ArchimedeanAdeles.Construction.Places F) := |
| 123 | ⟨.inl (Classical.choice (inferInstance : Nonempty (NumberField.InfinitePlace F)))⟩ |
| 124 | obtain ⟨f, hf⟩ := NontrivialLocalCharacter.Construction.local_test_one F N v |
| 125 | let T := Oscillator.Construction.localOperator (ArchimedeanAdeles.Construction.Completion F v) N (Characters.Construction.localAdditiveCharacter F ψ v) (a v) |
| 126 | have hpair : (∫ x, f.val x * conj (f.val x) |
| 127 | ∂ UnitarySplitting.Weak.Construction.referencePositionMeasure (ArchimedeanAdeles.Construction.Completion F v) N) ≠ 0 := by |
| 128 | intro hz |
| 129 | have hi : ⟪UnitarySplitting.Weak.Construction.testToL2 (ArchimedeanAdeles.Construction.Completion F v) N f, |
| 130 | UnitarySplitting.Weak.Construction.testToL2 (ArchimedeanAdeles.Construction.Completion F v) N f⟫_ℂ = 0 := by |
| 131 | rw [UnitarySplitting.Weak.Construction.testToL2_inner] |
| 132 | exact hz |
| 133 | have hfzero : f = 0 := UnitarySplitting.Weak.Construction.testToL2_injective (ArchimedeanAdeles.Construction.Completion F v) N |
| 134 | ((inner_self_eq_zero.mp hi).trans (map_zero _).symm) |
| 135 | rw [hfzero] at hf |
| 136 | exact zero_ne_one hf |
| 137 | have he := hnorm v (T.symm f) f |
| 138 | change (∫ x, (T (T.symm f)).val x * conj (f.val x) |
| 139 | ∂ UnitarySplitting.Weak.Construction.referencePositionMeasure (ArchimedeanAdeles.Construction.Completion F v) N) = _ at he |
| 140 | rw [T.apply_symm_apply] at he |
| 141 | intro hdet |
| 142 | have hl : ((Vacuum.Construction.rationalSymplecticLocal F N v γ).val - 1).det = 0 := by |
| 143 | change (γ.val.map (ArchimedeanAdeles.Construction.rationalScalar F v) - 1).det = 0 |
| 144 | have hm : (γ.val - 1).map (ArchimedeanAdeles.Construction.rationalScalar F v) = γ.val.map (ArchimedeanAdeles.Construction.rationalScalar F v) - 1 := by |
| 145 | change (ArchimedeanAdeles.Construction.rationalScalar F v).mapMatrix (γ.val - 1) = _ |
| 146 | rw [map_sub, map_one] |
| 147 | rfl |
| 148 | rw [← hm] |
| 149 | exact (RingHom.map_det (ArchimedeanAdeles.Construction.rationalScalar F v) (γ.val - 1)).symm.trans (by rw [hdet, map_zero]) |
| 150 | rw [CorrectedNormalization.Construction.correctedWeakOpenCellValue, dite_eq_right (not_not.mpr hl), mul_zero] at he |
| 151 | exact hpair he |
| 152 | |
| 153 | end |
| 154 | |
| 155 | end OAI.RepresentationTheory.Weil.AdelicSplitting.NormalizationNonvanishing.Construction |