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.NormalizationLevi |
| 2 | import OAI.RepresentationTheory.Weil.AdelicSplitting.Assembly |
| 3 | import OAI.RepresentationTheory.Weil.AdelicSplitting.CharacterProduct |
| 4 | import OAI.RepresentationTheory.Weil.AdelicSplitting.Scalars |
| 5 | import OAI.RepresentationTheory.Weil.AdelicSplitting.CorrectedNormalizationAnalysis |
| 6 | |
| 7 | /-! # Zero Rank Compatibility -/ |
| 8 | |
| 9 | namespace OAI.RepresentationTheory.Weil.AdelicSplitting.ZeroRankCompatibility.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Rational compatibility in tensor rank zero, with the corrected local |
| 14 | normalization and global principal-character conditions. -/ |
| 15 | |
| 16 | open _root_.MeasureTheory |
| 17 | |
| 18 | variable (F : Type) [Field F] [NumberField F] (d : F) (hd : d ≠ 0) |
| 19 | (n m : ℕ) |
| 20 | (H : (Matrix (Fin n) (Fin n) (UnitaryBase.Construction.Quadratic F d))ˣ) |
| 21 | (K : (Matrix (Fin m) (Fin m) (UnitaryBase.Construction.Quadratic F d))ˣ) |
| 22 | (C : Characters.Construction.GlobalCharacters F d n m) (P : Assembly.Construction.GlobalFrames F d n m H K) |
| 23 | (D : Assembly.Construction.NormalizedLocalSplittings F d n m H K hd C P) |
| 24 | |
| 25 | include D in |
| 26 | theorem constructedAdelicLift_rational_eq_one_of_local_scalars |
| 27 | (g : UnitaryBase.Construction.Unitary H.val × UnitaryBase.Construction.Unitary K.val) (z : ArchimedeanAdeles.Construction.Places F → Circle) |
| 28 | (hz : HasProd z 1) |
| 29 | (ha : ∀ v, D.atPlace v (Integral.Construction.rationalPairLocal F H.val K.val v g) = |
| 30 | Vacuum.Construction.scalarAt F (n * m) C.ψ v (z v)) : |
| 31 | Assembly.Construction.constructedAdelicLift F d n m H K hd C P D (Integral.Construction.rationalPair F H.val K.val g) = 1 := by |
| 32 | let w : ArchimedeanAdeles.Construction.Places F := .inl (Classical.choice inferInstance) |
| 33 | exact Scalars.Construction.assemble_scalar_eq_one_of_hasProd F (n * m) C.ψ w |
| 34 | (RestrictedLimits.Construction.restrictedMap (Integral.Construction.localPairIntegral F H.val K.val) (Vacuum.Construction.coverIntegral F (n * m) C.ψ) |
| 35 | (fun v => (D.atPlace v).toMonoidHom) D.unramified (Integral.Construction.rationalPair F H.val K.val g)) z ha hz |
| 36 | |
| 37 | include D in |
| 38 | theorem zeroRank_first_rational_open (hN : n * m = 0) |
| 39 | (g : UnitaryBase.Construction.Unitary H.val) (hg : IsUnit (g.val.val - 1)) : |
| 40 | Assembly.Construction.constructedAdelicLift F d n m H K hd C P D (Integral.Construction.rationalPair F H.val K.val (g, 1)) = 1 := by |
| 41 | obtain ⟨u, hu⟩ := hg |
| 42 | let a : (UnitaryBase.Construction.Quadratic F d)ˣ := (Normalization.Construction.deltaUnit d hd) ^ n * Matrix.GeneralLinearGroup.det H * Matrix.GeneralLinearGroup.det u |
| 43 | let z : ArchimedeanAdeles.Construction.Places F → Circle := fun v => Characters.Construction.localCharacter F d C.χW v |
| 44 | (Units.map (Integral.Construction.rationalQuadraticLocal F d v).toMonoidHom a) |
| 45 | apply constructedAdelicLift_rational_eq_one_of_local_scalars F d hd n m H K C P D (g, 1) z |
| 46 | (CharacterProduct.Construction.globalCharacters_chiW_hasProd F d n m C a) |
| 47 | intro v |
| 48 | let : Subsingleton (Local.FunctionsMetaplectic.Construction.Symplectic (ArchimedeanAdeles.Construction.Completion F v) (n * m)) := by |
| 49 | rw [hN] |
| 50 | infer_instance |
| 51 | have hlocal : (Assembly.Construction.localizedUnit F d u v).val = |
| 52 | (Integral.Construction.rationalUnitaryLocal F H.val v g).val.val - 1 := by |
| 53 | change u.val.map (Integral.Construction.rationalQuadraticLocal F d v) = |
| 54 | g.val.val.map (Integral.Construction.rationalQuadraticLocal F d v) - 1 |
| 55 | rw [hu] |
| 56 | exact map_sub (Integral.Construction.rationalQuadraticLocal F d v).mapMatrix _ _ |>.trans |
| 57 | (congrArg (g.val.val.map (Integral.Construction.rationalQuadraticLocal F d v) - ·) |
| 58 | (map_one (Integral.Construction.rationalQuadraticLocal F d v).mapMatrix)) |
| 59 | have hs : CorrectedNormalization.Construction.correctedFirstFactorScalar F d hd n m C v (Assembly.Construction.localizedUnit F d H v) |
| 60 | (Assembly.Construction.localizedUnit F d K v) (Assembly.Construction.localizedUnit F d u v) = (z v : ℂ) := by |
| 61 | rw [Assembly.Construction.correctedFirstFactorScalar_zero_rank F d hd n m hN] |
| 62 | simp only [Assembly.Construction.localDelta_eq_map, Assembly.Construction.determinant_localizedUnit, z, a, map_mul, map_pow] |
| 63 | apply CorrectedNormalizationAnalysis.Construction.localCover_pairing_ext (Subsingleton.elim _ _) |
| 64 | intro f h |
| 65 | have he := (D.normalization v).1 (Integral.Construction.rationalUnitaryLocal F H.val v g) |
| 66 | (Assembly.Construction.localizedUnit F d u v) hlocal f h |
| 67 | have ho : ∀ (γ : Local.FunctionsMetaplectic.Construction.Symplectic (ArchimedeanAdeles.Construction.Completion F v) (n * m)) |
| 68 | (φ η : Local.FunctionsMetaplectic.Construction.Position (ArchimedeanAdeles.Construction.Completion F v) (n * m) → ℂ), |
| 69 | CorrectedNormalization.Construction.correctedWeakOpenCellValue (ArchimedeanAdeles.Construction.Completion F v) (n * m) (Characters.Construction.localAdditiveCharacter F C.ψ v) γ φ η = |
| 70 | ∫ x, φ x * star (η x) ∂ UnitarySplitting.Weak.Construction.referencePositionMeasure (ArchimedeanAdeles.Construction.Completion F v) (n * m) := by |
| 71 | rw [hN] |
| 72 | exact CorrectedNormalizationAnalysis.Construction.correctedWeakOpenCellValue_zero_rank (ArchimedeanAdeles.Construction.Completion F v) (Characters.Construction.localAdditiveCharacter F C.ψ v) |
| 73 | rw [ho, hs] at he |
| 74 | change (∫ x, (Oscillator.Construction.localOperator _ _ _ (D.atPlace v (Integral.Construction.rationalUnitaryLocal F H.val v g, Integral.Construction.rationalUnitaryLocal F K.val v 1)) f).val x * star (h.val x) |
| 75 | ∂ UnitarySplitting.Weak.Construction.referencePositionMeasure (ArchimedeanAdeles.Construction.Completion F v) (n * m)) = |
| 76 | ∫ x, ((z v : ℂ) * f.val x) * star (h.val x) |
| 77 | ∂ UnitarySplitting.Weak.Construction.referencePositionMeasure (ArchimedeanAdeles.Construction.Completion F v) (n * m) |
| 78 | rw [map_one] |
| 79 | simpa only [mul_assoc, integral_const_mul] using! he |
| 80 | |
| 81 | include D in |
| 82 | theorem zeroRank_second_rational_open (hN : n * m = 0) |
| 83 | (g : UnitaryBase.Construction.Unitary K.val) (hg : IsUnit (g.val.val - 1)) : |
| 84 | Assembly.Construction.constructedAdelicLift F d n m H K hd C P D (Integral.Construction.rationalPair F H.val K.val (1, g)) = 1 := by |
| 85 | obtain ⟨u, hu⟩ := hg |
| 86 | let a : (UnitaryBase.Construction.Quadratic F d)ˣ := Matrix.GeneralLinearGroup.det K * Matrix.GeneralLinearGroup.det u |
| 87 | let z : ArchimedeanAdeles.Construction.Places F → Circle := fun v => Characters.Construction.localCharacter F d C.χV v |
| 88 | (Units.map (Integral.Construction.rationalQuadraticLocal F d v).toMonoidHom a) |
| 89 | apply constructedAdelicLift_rational_eq_one_of_local_scalars F d hd n m H K C P D (1, g) z |
| 90 | (CharacterProduct.Construction.globalCharacters_chiV_hasProd F d n m C a) |
| 91 | intro v |
| 92 | let : Subsingleton (Local.FunctionsMetaplectic.Construction.Symplectic (ArchimedeanAdeles.Construction.Completion F v) (n * m)) := by |
| 93 | rw [hN] |
| 94 | infer_instance |
| 95 | have hlocal : (Assembly.Construction.localizedUnit F d u v).val = |
| 96 | (Integral.Construction.rationalUnitaryLocal F K.val v g).val.val - 1 := by |
| 97 | change u.val.map (Integral.Construction.rationalQuadraticLocal F d v) = |
| 98 | g.val.val.map (Integral.Construction.rationalQuadraticLocal F d v) - 1 |
| 99 | rw [hu] |
| 100 | exact map_sub (Integral.Construction.rationalQuadraticLocal F d v).mapMatrix _ _ |>.trans |
| 101 | (congrArg (g.val.val.map (Integral.Construction.rationalQuadraticLocal F d v) - ·) |
| 102 | (map_one (Integral.Construction.rationalQuadraticLocal F d v).mapMatrix)) |
| 103 | have hs : CorrectedNormalization.Construction.correctedSecondFactorScalar F d n m C v (Assembly.Construction.localizedUnit F d H v) |
| 104 | (Assembly.Construction.localizedUnit F d K v) (Assembly.Construction.localizedUnit F d u v) = (z v : ℂ) := by |
| 105 | rw [Assembly.Construction.correctedSecondFactorScalar_zero_rank F d n m hN] |
| 106 | simp only [Assembly.Construction.determinant_localizedUnit, z, a, map_mul] |
| 107 | apply CorrectedNormalizationAnalysis.Construction.localCover_pairing_ext (Subsingleton.elim _ _) |
| 108 | intro f h |
| 109 | have he := (D.normalization v).2 (Integral.Construction.rationalUnitaryLocal F K.val v g) |
| 110 | (Assembly.Construction.localizedUnit F d u v) hlocal f h |
| 111 | have ho : ∀ (γ : Local.FunctionsMetaplectic.Construction.Symplectic (ArchimedeanAdeles.Construction.Completion F v) (n * m)) |
| 112 | (φ η : Local.FunctionsMetaplectic.Construction.Position (ArchimedeanAdeles.Construction.Completion F v) (n * m) → ℂ), |
| 113 | CorrectedNormalization.Construction.correctedWeakOpenCellValue (ArchimedeanAdeles.Construction.Completion F v) (n * m) (Characters.Construction.localAdditiveCharacter F C.ψ v) γ φ η = |
| 114 | ∫ x, φ x * star (η x) ∂ UnitarySplitting.Weak.Construction.referencePositionMeasure (ArchimedeanAdeles.Construction.Completion F v) (n * m) := by |
| 115 | rw [hN] |
| 116 | exact CorrectedNormalizationAnalysis.Construction.correctedWeakOpenCellValue_zero_rank (ArchimedeanAdeles.Construction.Completion F v) (Characters.Construction.localAdditiveCharacter F C.ψ v) |
| 117 | rw [ho, hs] at he |
| 118 | change (∫ x, (Oscillator.Construction.localOperator _ _ _ (D.atPlace v (Integral.Construction.rationalUnitaryLocal F H.val v 1, Integral.Construction.rationalUnitaryLocal F K.val v g)) f).val x * star (h.val x) |
| 119 | ∂ UnitarySplitting.Weak.Construction.referencePositionMeasure (ArchimedeanAdeles.Construction.Completion F v) (n * m)) = |
| 120 | ∫ x, ((z v : ℂ) * f.val x) * star (h.val x) |
| 121 | ∂ UnitarySplitting.Weak.Construction.referencePositionMeasure (ArchimedeanAdeles.Construction.Completion F v) (n * m) |
| 122 | rw [map_one] |
| 123 | simpa only [mul_assoc, integral_const_mul] using! he |
| 124 | |
| 125 | include D in |
| 126 | theorem constructedAdelicLift_rational_zero_rank (hns : ¬ IsSquare d) (hN : n * m = 0) |
| 127 | (g : UnitaryBase.Construction.Unitary H.val × UnitaryBase.Construction.Unitary K.val) : |
| 128 | Assembly.Construction.constructedAdelicLift F d n m H K hd C P D (Integral.Construction.rationalPair F H.val K.val g) = 1 := by |
| 129 | let s : UnitaryBase.Construction.Unitary H.val × UnitaryBase.Construction.Unitary K.val →* Vacuum.Construction.GlobalCover F (n * m) C.ψ := |
| 130 | (Assembly.Construction.constructedAdelicLift F d n m H K hd C P D).toMonoidHom.comp |
| 131 | (Integral.Construction.rationalPair F H.val K.val) |
| 132 | have h₁ : s.comp (MonoidHom.inl _ _) = 1 := |
| 133 | NormalizationLevi.Construction.unitary_hom_ext_openCell d hns H.val _ _ |
| 134 | (zeroRank_first_rational_open F d hd n m H K C P D hN) |
| 135 | have h₂ : s.comp (MonoidHom.inr _ _) = 1 := |
| 136 | NormalizationLevi.Construction.unitary_hom_ext_openCell d hns K.val _ _ |
| 137 | (zeroRank_second_rational_open F d hd n m H K C P D hN) |
| 138 | change s g = 1 |
| 139 | have hg : g = (g.1, 1) * (1, g.2) := by simp |
| 140 | rw [hg, map_mul] |
| 141 | have he₁ : s (g.1, 1) = 1 := DFunLike.congr_fun h₁ g.1 |
| 142 | have he₂ : s (1, g.2) = 1 := DFunLike.congr_fun h₂ g.2 |
| 143 | rw [he₁, he₂, one_mul] |
| 144 | |
| 145 | /-- The full AdelicSplitting conclusion when the tensor rank vanishes. -/ |
| 146 | theorem adelic_unitary_splitting_zero_rank (hns : ¬ IsSquare d) (hN : n * m = 0) : |
| 147 | (∀ g : Integral.Construction.AdelicDualPair F H.val K.val, |
| 148 | Vacuum.Construction.globalProjection F (n * m) C.ψ |
| 149 | (Assembly.Construction.constructedAdelicLift F d n m H K hd C P D g) = |
| 150 | Assembly.Construction.adelicDualPairAction F d n m H K hd C P D g) ∧ |
| 151 | (∀ v (g : Integral.Construction.LocalUnitary F H.val v × Integral.Construction.LocalUnitary F K.val v), |
| 152 | Assembly.Construction.constructedAdelicLift F d n m H K hd C P D |
| 153 | (Integral.Construction.includeUnitaryPlace F H.val K.val v g) = |
| 154 | Vacuum.Construction.globalInclude F (n * m) C.ψ v (D.atPlace v g)) ∧ |
| 155 | ∃ r : Local.FunctionsMetaplectic.Construction.Symplectic F (n * m) →* Vacuum.Construction.GlobalCover F (n * m) C.ψ, |
| 156 | (∀ γ a, (γ, a) ∈ Rational.Construction.rationalGraph F (n * m) C.ψ ↔ r γ = a) ∧ |
| 157 | (∀ γ, Vacuum.Construction.globalProjection F (n * m) C.ψ (r γ) = |
| 158 | Vacuum.Construction.rationalSymplectic F (n * m) γ) ∧ |
| 159 | (∀ g : UnitaryBase.Construction.Unitary H.val × UnitaryBase.Construction.Unitary K.val, |
| 160 | Assembly.Construction.constructedAdelicLift F d n m H K hd C P D (Integral.Construction.rationalPair F H.val K.val g) = |
| 161 | r (TensorSpace.Construction.dualPairSymplectic H.val K.val P.rational g)) := by |
| 162 | let : Subsingleton (Local.FunctionsMetaplectic.Construction.Symplectic F (n * m)) := by rw [hN]; infer_instance |
| 163 | refine ⟨Assembly.Construction.constructedAdelicLift_covers F d n m H K hd C P D, |
| 164 | Assembly.Construction.constructedAdelicLift_factors F d n m H K hd C P D, 1, ?_, ?_, ?_⟩ |
| 165 | · intro γ a |
| 166 | have hgraph : Rational.Construction.rationalGraph F (n * m) C.ψ = ⊥ := by |
| 167 | rw [hN] |
| 168 | exact NormalizationLevi.Construction.rationalGraph_zero_rank F C.ψ |
| 169 | rw [hgraph] |
| 170 | change (γ, a) = (1, 1) ↔ 1 = a |
| 171 | constructor |
| 172 | · intro h |
| 173 | exact (congrArg Prod.snd h).symm |
| 174 | · intro h |
| 175 | exact Prod.ext (Subsingleton.elim _ _) h.symm |
| 176 | · intro γ |
| 177 | have hγ : γ = 1 := Subsingleton.elim _ _ |
| 178 | change Vacuum.Construction.globalProjection F (n * m) C.ψ 1 = Vacuum.Construction.rationalSymplectic F (n * m) γ |
| 179 | rw [hγ, map_one, map_one] |
| 180 | · intro g |
| 181 | exact constructedAdelicLift_rational_zero_rank F d hd n m H K C P D hns hN g |
| 182 | |
| 183 | end |
| 184 | |
| 185 | end OAI.RepresentationTheory.Weil.AdelicSplitting.ZeroRankCompatibility.Construction |