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.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceDatum |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuadraticConjugation |
| 3 | import OAI.RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles |
| 4 | |
| 5 | /-! # Archimedean Places -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ArchimedeanPlaces.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original CM representatives enumerate the real places of the |
| 12 | maximal real subfield, with their actual completion coordinates. -/ |
| 13 | |
| 14 | open scoped Classical _root_.NumberField |
| 15 | open _root_.NumberField _root_.NumberField.InfinitePlace _root_.NumberField.InfinitePlace.Completion |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceDatum.CM |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QuadraticConjugation.CM.Field OAI.RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction |
| 18 | |
| 19 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [IsGalois ℚ E] [IsCMField E] |
| 20 | (places : GeometricSource.CM.Places E) |
| 21 | |
| 22 | def cmPlace (i : Fin places.count) : InfinitePlace E := |
| 23 | InfinitePlace.mk (ReferenceDatum.CM.embeddings E places i).toRingHom |
| 24 | |
| 25 | theorem cmPlace_bijective : Function.Bijective (cmPlace E places) := by |
| 26 | have hc := ReferenceDatum.CM.embeddings_complete E places |
| 27 | constructor |
| 28 | · intro i j h |
| 29 | rcases InfinitePlace.mk_eq_iff.mp h with he | he |
| 30 | · have he' : ReferenceDatum.CM.embeddings E places i = ReferenceDatum.CM.embeddings E places j := by |
| 31 | ext x |
| 32 | exact DFunLike.congr_fun he x |
| 33 | exact congrArg Prod.fst (hc.1 (a₁ := (i, false)) (a₂ := (j, false)) he') |
| 34 | · have he' : ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (ReferenceDatum.CM.embeddings E places i) = ReferenceDatum.CM.embeddings E places j := by |
| 35 | ext x |
| 36 | exact DFunLike.congr_fun he x |
| 37 | exact congrArg Prod.fst (hc.1 (a₁ := (i, true)) (a₂ := (j, false)) he') |
| 38 | · intro w |
| 39 | obtain ⟨⟨i, b⟩, hi⟩ := hc.2 w.embedding.toRatAlgHom |
| 40 | refine ⟨i, ?_⟩ |
| 41 | cases b |
| 42 | · change ReferenceDatum.CM.embeddings E places i = w.embedding.toRatAlgHom at hi |
| 43 | exact (congrArg InfinitePlace.mk (congrArg AlgHom.toRingHom hi)).trans (mk_embedding w) |
| 44 | · change ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (ReferenceDatum.CM.embeddings E places i) = w.embedding.toRatAlgHom at hi |
| 45 | have hm := congrArg InfinitePlace.mk (congrArg AlgHom.toRingHom hi) |
| 46 | change InfinitePlace.mk (ComplexEmbedding.conjugate (ReferenceDatum.CM.embeddings E places i).toRingHom) = |
| 47 | InfinitePlace.mk w.embedding at hm |
| 48 | rw [mk_conjugate_eq, mk_embedding] at hm |
| 49 | exact hm |
| 50 | |
| 51 | def enumeration : Fin places.count ≃ InfinitePlace (QuadraticConjugation.CM.Field.RealField E) := |
| 52 | (Equiv.ofBijective (cmPlace E places) (cmPlace_bijective E places)).trans |
| 53 | (IsCMField.equivInfinitePlace E) |
| 54 | |
| 55 | theorem restriction (i : Fin places.count) : |
| 56 | enumeration E places i = InfinitePlace.mk |
| 57 | ((ReferenceDatum.CM.embeddings E places i).toRingHom.comp (algebraMap (QuadraticConjugation.CM.Field.RealField E) E)) := rfl |
| 58 | |
| 59 | theorem embedding (i : Fin places.count) (x : QuadraticConjugation.CM.Field.RealField E) : |
| 60 | (embedding_of_isReal (IsTotallyReal.isReal (enumeration E places i)) x : ℂ) = |
| 61 | ReferenceDatum.CM.embeddings E places i (x : E) := by |
| 62 | rw [embedding_of_isReal_apply] |
| 63 | have h := InfinitePlace.embedding_mk_eq_of_isReal |
| 64 | (IsTotallyReal.complexEmbedding_isReal |
| 65 | ((ReferenceDatum.CM.embeddings E places i).toRingHom.comp (algebraMap (QuadraticConjugation.CM.Field.RealField E) E))) |
| 66 | rw [← restriction] at h |
| 67 | exact congrArg (fun f : QuadraticConjugation.CM.Field.RealField E →+* ℂ => f x) h |
| 68 | |
| 69 | def realCoordinate (i : Fin places.count) : |
| 70 | (enumeration E places i).Completion ≃+* ℝ := |
| 71 | ringEquivRealOfIsReal (IsTotallyReal.isReal (enumeration E places i)) |
| 72 | |
| 73 | theorem real_continuous (i : Fin places.count) : Continuous (realCoordinate E places i) := |
| 74 | (isometryEquivRealOfIsReal (IsTotallyReal.isReal (enumeration E places i))).continuous |
| 75 | |
| 76 | theorem real_inverse_continuous (i : Fin places.count) : |
| 77 | Continuous (realCoordinate E places i).symm := |
| 78 | (isometryEquivRealOfIsReal (IsTotallyReal.isReal (enumeration E places i))).symm.continuous |
| 79 | |
| 80 | theorem rational (i : Fin places.count) (x : QuadraticConjugation.CM.Field.RealField E) : |
| 81 | (realCoordinate E places i |
| 82 | (RepresentationTheory.Weil.AdelicSplitting.ArchimedeanAdeles.Construction.rationalScalar (QuadraticConjugation.CM.Field.RealField E) (.inl (enumeration E places i)) x) : ℂ) = |
| 83 | ReferenceDatum.CM.embeddings E places i (x : E) := by |
| 84 | change (extensionEmbeddingOfIsReal (IsTotallyReal.isReal (enumeration E places i)) |
| 85 | (algebraMap (QuadraticConjugation.CM.Field.RealField E) (enumeration E places i).Completion x) : ℂ) = _ |
| 86 | simpa using CM.embedding E places i x |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ArchimedeanPlaces.CM |