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.ThetaCycle.ReferenceDatum |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.QuadraticModel |
| 3 | |
| 4 | /-! # Real Places -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.RealPlaces.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! ThetaCycle: the selected CM embedding representatives enumerate exactly |
| 11 | the infinite places of the actual maximal real subfield. -/ |
| 12 | |
| 13 | open scoped Classical _root_.NumberField |
| 14 | open _root_.NumberField _root_.NumberField.InfinitePlace |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceDatum.CM |
| 16 | |
| 17 | variable (K : IntermediateField ℚ ℂ) |
| 18 | [NumberField K] [IsGalois ℚ K] [IsCMField K] (places : HeckeCycles.GeometricSource.CM.Places K) |
| 19 | |
| 20 | def sourceInfinitePlace (i : Fin places.count) : InfinitePlace K := |
| 21 | InfinitePlace.mk (HeckeCycles.ReferenceDatum.CM.embeddings K places i).toRingHom |
| 22 | |
| 23 | theorem source_infinite_place_bijective : Function.Bijective (sourceInfinitePlace K places) := by |
| 24 | have hc := HeckeCycles.ReferenceDatum.CM.embeddings_complete K places |
| 25 | constructor |
| 26 | · intro i j h |
| 27 | rcases InfinitePlace.mk_eq_iff.mp h with he | he |
| 28 | · have he' : HeckeCycles.ReferenceDatum.CM.embeddings K places i = HeckeCycles.ReferenceDatum.CM.embeddings K places j := by |
| 29 | ext x |
| 30 | exact DFunLike.congr_fun he x |
| 31 | exact congrArg Prod.fst (hc.1 (a₁ := (i, false)) (a₂ := (j, false)) he') |
| 32 | · have he' : ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (HeckeCycles.ReferenceDatum.CM.embeddings K places i) = HeckeCycles.ReferenceDatum.CM.embeddings K places j := by |
| 33 | ext x |
| 34 | exact DFunLike.congr_fun he x |
| 35 | exact congrArg Prod.fst (hc.1 (a₁ := (i, true)) (a₂ := (j, false)) he') |
| 36 | · intro w |
| 37 | obtain ⟨⟨i, b⟩, hi⟩ := hc.2 w.embedding.toRatAlgHom |
| 38 | refine ⟨i, ?_⟩ |
| 39 | cases b |
| 40 | · change HeckeCycles.ReferenceDatum.CM.embeddings K places i = w.embedding.toRatAlgHom at hi |
| 41 | exact (congrArg InfinitePlace.mk (congrArg AlgHom.toRingHom hi)).trans (mk_embedding w) |
| 42 | · change ComplexMultiplication.EmbeddingHodgeType.CM.conjugateEmbedding (HeckeCycles.ReferenceDatum.CM.embeddings K places i) = w.embedding.toRatAlgHom at hi |
| 43 | have hm := congrArg InfinitePlace.mk (congrArg AlgHom.toRingHom hi) |
| 44 | change InfinitePlace.mk (ComplexEmbedding.conjugate (HeckeCycles.ReferenceDatum.CM.embeddings K places i).toRingHom) = |
| 45 | InfinitePlace.mk w.embedding at hm |
| 46 | rw [mk_conjugate_eq, mk_embedding] at hm |
| 47 | exact hm |
| 48 | |
| 49 | def sourceRealPlaces : Fin places.count ≃ InfinitePlace (maximalRealSubfield K) := |
| 50 | (Equiv.ofBijective (sourceInfinitePlace K places) (source_infinite_place_bijective K places)).trans |
| 51 | (IsCMField.equivInfinitePlace K) |
| 52 | |
| 53 | theorem source_real_place_restriction (i : Fin places.count) : |
| 54 | sourceRealPlaces K places i = |
| 55 | InfinitePlace.mk ((HeckeCycles.ReferenceDatum.CM.embeddings K places i).toRingHom.comp |
| 56 | (algebraMap (maximalRealSubfield K) K)) := by |
| 57 | rfl |
| 58 | |
| 59 | theorem source_real_embedding (i : Fin places.count) (x : maximalRealSubfield K) : |
| 60 | (embedding_of_isReal (IsTotallyReal.isReal (sourceRealPlaces K places i)) x : ℂ) = |
| 61 | HeckeCycles.ReferenceDatum.CM.embeddings K places i (x : K) := by |
| 62 | rw [embedding_of_isReal_apply] |
| 63 | have h := InfinitePlace.embedding_mk_eq_of_isReal |
| 64 | (IsTotallyReal.complexEmbedding_isReal |
| 65 | ((HeckeCycles.ReferenceDatum.CM.embeddings K places i).toRingHom.comp (algebraMap (maximalRealSubfield K) K))) |
| 66 | rw [← source_real_place_restriction] at h |
| 67 | exact congrArg (fun f : maximalRealSubfield K →+* ℂ => f x) h |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.HodgeConjecture.ThetaCycle.RealPlaces.CM |