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.Geometry.ComplexBall.Archimedean |
| 2 | import OAI.Geometry.ComplexBall.Congruence |
| 3 | |
| 4 | /-! # Arithmetic Presentation -/ |
| 5 | |
| 6 | namespace OAI.Geometry.ComplexBall.ArithmeticPresentation.Quotient |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual arithmetic presentation: one distinguished completed factor, |
| 11 | the original integral stabilizer, and compactness of every omitted factor. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open _root_.NumberField _root_.Topology |
| 15 | |
| 16 | section Points |
| 17 | variable {k K : Type} [Field k] [Field K] {n : ℕ} |
| 18 | [TopologicalSpace K] |
| 19 | |
| 20 | def matrixPointsCongr (G : NumberTheory.ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup k n) (ι κ : k →+* K) (h : ι = κ) : |
| 21 | G.Points ι ≃ₜ* G.Points κ where |
| 22 | toFun g := ⟨g.val, h ▸ g.property⟩ |
| 23 | invFun g := ⟨g.val, h.symm ▸ g.property⟩ |
| 24 | left_inv _ := rfl |
| 25 | right_inv _ := rfl |
| 26 | map_mul' _ _ := rfl |
| 27 | continuous_toFun := continuous_subtype_val.subtype_mk _ |
| 28 | continuous_invFun := continuous_subtype_val.subtype_mk _ |
| 29 | |
| 30 | end Points |
| 31 | |
| 32 | section SinglePlace |
| 33 | variable {k : Type} [Field k] [NumberField k] {n : ℕ} |
| 34 | |
| 35 | def completedRealPointsEquiv (G : NumberTheory.ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup k n) (v : InfinitePlace k) (hv : v.IsReal) : |
| 36 | G.AtPlace v ≃ₜ* G.Points (v.embedding_of_isReal hv) := |
| 37 | (G.pointsContinuousMulEquiv (algebraMap k v.Completion) |
| 38 | (InfinitePlace.Completion.ringEquivRealOfIsReal hv) |
| 39 | (InfinitePlace.Completion.isometryEquivRealOfIsReal hv).continuous |
| 40 | (InfinitePlace.Completion.isometryEquivRealOfIsReal hv).symm.continuous).trans |
| 41 | (matrixPointsCongr _ _ _ (NumberTheory.ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup.realPlaceEmbedding_eq v hv)) |
| 42 | |
| 43 | omit [NumberField k] in |
| 44 | lemma completedRealPointsEquiv_entry (G : NumberTheory.ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup k n) |
| 45 | (v : InfinitePlace k) (hv : v.IsReal) (g : G.AtPlace v) (i j : Fin n) : |
| 46 | (completedRealPointsEquiv G v hv g).val i j = |
| 47 | InfinitePlace.Completion.ringEquivRealOfIsReal hv (g.val i j) := rfl |
| 48 | |
| 49 | def singlePlaceProductEquiv (G : NumberTheory.ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup k n) (v : InfinitePlace k) : |
| 50 | G.AtPlace v ≃ₜ* G.ArchimedeanProduct {v} where |
| 51 | toFun g w := (Set.mem_singleton_iff.mp w.property).symm ▸ g |
| 52 | invFun g := g ⟨v, Set.mem_singleton v⟩ |
| 53 | left_inv _ := rfl |
| 54 | right_inv g := by |
| 55 | funext w |
| 56 | obtain ⟨w, hw⟩ := w |
| 57 | have he : w = v := hw |
| 58 | subst w |
| 59 | rfl |
| 60 | map_mul' g h := by |
| 61 | funext w |
| 62 | obtain ⟨w, hw⟩ := w |
| 63 | have he : w = v := hw |
| 64 | subst w |
| 65 | rfl |
| 66 | continuous_toFun := by |
| 67 | apply continuous_pi |
| 68 | intro w |
| 69 | obtain ⟨w, hw⟩ := w |
| 70 | have he : w = v := hw |
| 71 | subst w |
| 72 | exact continuous_id |
| 73 | continuous_invFun := continuous_apply _ |
| 74 | |
| 75 | end SinglePlace |
| 76 | |
| 77 | variable {E : Type} [Field E] [NumberField E] [IsCMField E] |
| 78 | |
| 79 | omit [IsCMField E] in |
| 80 | lemma realPlaceEmbedding_eq_realEmbedding (μ : E →+* ℂ) : |
| 81 | (RealPlaces.ArithmeticQuotient.realPlace μ).embedding_of_isReal (IsTotallyReal.isReal _) = RealPlaces.ArithmeticQuotient.realEmbedding μ := by |
| 82 | have hreal : ComplexEmbedding.IsReal (Complex.ofRealHom.comp (RealPlaces.ArithmeticQuotient.realEmbedding μ)) := by |
| 83 | ext x |
| 84 | change star (RealPlaces.ArithmeticQuotient.realEmbedding μ x : ℂ) = (RealPlaces.ArithmeticQuotient.realEmbedding μ x : ℂ) |
| 85 | simp |
| 86 | ext x |
| 87 | apply Complex.ofReal_injective |
| 88 | rw [InfinitePlace.embedding_of_isReal_apply] |
| 89 | change (InfinitePlace.mk (Complex.ofRealHom.comp (RealPlaces.ArithmeticQuotient.realEmbedding μ))).embedding x = _ |
| 90 | rw [InfinitePlace.embedding_mk_eq_of_isReal hreal] |
| 91 | rfl |
| 92 | |
| 93 | def originalAtDistinguishedPlaceEquiv (b : E) (hb : IsCMField.complexConj E b = b) |
| 94 | (δ : E) (hδ : IsCMField.complexConj E δ = -δ) (hδ0 : δ ≠ 0) (μ : E →+* ℂ) : |
| 95 | (ArithmeticQuotientSplitUnitary.originalUnitaryAlgebraicGroup b hb δ hδ).AtPlace (RealPlaces.ArithmeticQuotient.realPlace μ) ≃ₜ* ArithmeticQuotientEquationsData.ArchimedeanSU b μ := |
| 96 | (completedRealPointsEquiv (ArithmeticQuotientSplitUnitary.originalUnitaryAlgebraicGroup b hb δ hδ) (RealPlaces.ArithmeticQuotient.realPlace μ) |
| 97 | (IsTotallyReal.isReal _)).trans |
| 98 | ((matrixPointsCongr _ _ _ (realPlaceEmbedding_eq_realEmbedding μ)).trans |
| 99 | (Archimedean.ArithmeticQuotient.originalRealPointsEquiv b hb δ hδ hδ0 μ)) |
| 100 | |
| 101 | def originalArchimedeanProductEquiv (b : E) (hb : IsCMField.complexConj E b = b) |
| 102 | (δ : E) (hδ : IsCMField.complexConj E δ = -δ) (hδ0 : δ ≠ 0) (μ : E →+* ℂ) : |
| 103 | ArithmeticQuotientEquationsData.ArchimedeanSU b μ ≃ₜ* |
| 104 | (ArithmeticQuotientSplitUnitary.originalUnitaryAlgebraicGroup b hb δ hδ).ArchimedeanProduct {RealPlaces.ArithmeticQuotient.realPlace μ} := |
| 105 | (originalAtDistinguishedPlaceEquiv b hb δ hδ hδ0 μ).symm.trans |
| 106 | (singlePlaceProductEquiv _ (RealPlaces.ArithmeticQuotient.realPlace μ)) |
| 107 | |
| 108 | lemma originalAtDistinguishedPlaceEquiv_diagonal (b : E) (hb : IsCMField.complexConj E b = b) |
| 109 | (δ : E) (hδ : IsCMField.complexConj E δ = -δ) (hδ0 : δ ≠ 0) (μ : E →+* ℂ) |
| 110 | (g : ArithmeticQuotientEquationsData.RationalSU b) : |
| 111 | originalAtDistinguishedPlaceEquiv b hb δ hδ hδ0 μ |
| 112 | ((ArithmeticQuotientSplitUnitary.originalUnitaryAlgebraicGroup b hb δ hδ).diagonalAtPlace (RealPlaces.ArithmeticQuotient.realPlace μ) |
| 113 | (ArithmeticQuotientSplitUnitary.originalUnitaryRationalEquiv b hb δ hδ hδ0 g)) = ArithmeticQuotientEquationsData.infinitePlaceMap b μ g := by |
| 114 | let G := ArithmeticQuotientSplitUnitary.originalUnitaryAlgebraicGroup b hb δ hδ |
| 115 | let w := RealPlaces.ArithmeticQuotient.realPlace μ |
| 116 | let hv := IsTotallyReal.isReal w |
| 117 | have he : matrixPointsCongr G _ _ (realPlaceEmbedding_eq_realEmbedding μ) |
| 118 | (completedRealPointsEquiv G w hv (G.diagonalAtPlace w |
| 119 | (ArithmeticQuotientSplitUnitary.originalUnitaryRationalEquiv b hb δ hδ hδ0 g))) = |
| 120 | G.map (RingHom.id _) (RealPlaces.ArithmeticQuotient.realEmbedding μ) (ArithmeticQuotientSplitUnitary.originalUnitaryRationalEquiv b hb δ hδ hδ0 g) := by |
| 121 | apply Subtype.ext |
| 122 | apply Matrix.SpecialLinearGroup.ext |
| 123 | intro i j |
| 124 | change InfinitePlace.Completion.ringEquivRealOfIsReal hv |
| 125 | (algebraMap (ArithmeticQuotientEquationsData.RealField E) w.Completion |
| 126 | ((ArithmeticQuotientSplitUnitary.originalUnitaryRationalEquiv b hb δ hδ hδ0 g).val i j)) = _ |
| 127 | have hx := RingHom.congr_fun (NumberTheory.ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup.realPlaceEmbedding_eq w hv) |
| 128 | ((ArithmeticQuotientSplitUnitary.originalUnitaryRationalEquiv b hb δ hδ hδ0 g).val i j) |
| 129 | change _ = w.embedding_of_isReal hv _ at hx |
| 130 | rw [realPlaceEmbedding_eq_realEmbedding μ] at hx |
| 131 | exact hx |
| 132 | exact (congrArg (Archimedean.ArithmeticQuotient.originalRealPointsEquiv b hb δ hδ hδ0 μ) he).trans |
| 133 | (Archimedean.ArithmeticQuotient.originalRealPointsEquiv_diagonal b hb δ hδ hδ0 μ g) |
| 134 | |
| 135 | lemma originalArchimedeanProductEquiv_diagonal (b : E) (hb : IsCMField.complexConj E b = b) |
| 136 | (δ : E) (hδ : IsCMField.complexConj E δ = -δ) (hδ0 : δ ≠ 0) (μ : E →+* ℂ) |
| 137 | (g : ArithmeticQuotientEquationsData.RationalSU b) : |
| 138 | originalArchimedeanProductEquiv b hb δ hδ hδ0 μ (ArithmeticQuotientEquationsData.infinitePlaceMap b μ g) = |
| 139 | (ArithmeticQuotientSplitUnitary.originalUnitaryAlgebraicGroup b hb δ hδ).diagonal {RealPlaces.ArithmeticQuotient.realPlace μ} |
| 140 | (ArithmeticQuotientSplitUnitary.originalUnitaryRationalEquiv b hb δ hδ hδ0 g) := by |
| 141 | funext w |
| 142 | obtain ⟨w, hw⟩ := w |
| 143 | have he : w = RealPlaces.ArithmeticQuotient.realPlace μ := hw |
| 144 | subst w |
| 145 | change (originalAtDistinguishedPlaceEquiv b hb δ hδ hδ0 μ).symm (ArithmeticQuotientEquationsData.infinitePlaceMap b μ g) = _ |
| 146 | apply (originalAtDistinguishedPlaceEquiv b hb δ hδ hδ0 μ).injective |
| 147 | rw [ContinuousMulEquiv.apply_symm_apply] |
| 148 | exact (originalAtDistinguishedPlaceEquiv_diagonal b hb δ hδ hδ0 μ g).symm |
| 149 | |
| 150 | theorem originalUnitary_arithmeticPresentation (b : E) (hb : IsCMField.complexConj E b = b) |
| 151 | (hb0 : b ≠ 0) (δ : E) (hδ : IsCMField.complexConj E δ = -δ) (hδ0 : δ ≠ 0) |
| 152 | (μ : E →+* ℂ) |
| 153 | (hpos : ∀ ν : E →+* ℂ, ν ≠ μ → ν ≠ (starRingEnd ℂ).comp μ → 0 < (ν b).re) : |
| 154 | NumberTheory.ArithmeticGroups.Lattices.IntegralLattice.IsArithmeticPresentation (Connected.ArithmeticQuotient.originalConnectedSemisimpleUnitaryGroup b hb hb0 δ hδ hδ0) |
| 155 | (ArithmeticQuotientEquationsData.infinitePlaceMap b μ) (Congruence.ArithmeticQuotient.integralUnitarySubgroup b) := by |
| 156 | refine ⟨IntegralLattice.ArithmeticQuotient.cmIntegralLattice δ hδ hδ0, ArithmeticQuotientSplitUnitary.originalUnitaryRationalEquiv b hb δ hδ hδ0, |
| 157 | {RealPlaces.ArithmeticQuotient.realPlace μ}, originalArchimedeanProductEquiv b hb δ hδ hδ0 μ, ?_, ?_, ?_⟩ |
| 158 | · intro v hv |
| 159 | exact RealPlaces.ArithmeticQuotient.originalUnitary_omittedPlace_compact b hb δ hδ hδ0 μ hpos v hv |
| 160 | · exact Congruence.ArithmeticQuotient.integralUnitary_map_stabilizer b hb δ hδ hδ0 |
| 161 | · exact originalArchimedeanProductEquiv_diagonal b hb δ hδ hδ0 μ |
| 162 | |
| 163 | end |
| 164 | |
| 165 | end OAI.Geometry.ComplexBall.ArithmeticPresentation.Quotient |