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.CMExtraction.CM.ActivePlace |
| 2 | |
| 3 | /-! # Padic Embedding Place -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PadicEmbeddingPlace.Approximation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A Q_q-valued embedding of a number field is determined by its |
| 10 | finite place. The proof uses continuity on the actual completion. -/ |
| 11 | |
| 12 | open scoped Classical |
| 13 | open _root_.NumberField IsDedekindDomain |
| 14 | |
| 15 | variable {q : ℕ} [Fact q.Prime] |
| 16 | |
| 17 | theorem continuous_padic_ringHom_eq (f g : Padic q →+* Padic q) |
| 18 | (hf : Continuous f) (hg : Continuous g) : f = g := by |
| 19 | apply DFunLike.coe_injective |
| 20 | apply (Padic.denseRange_ratCast q).equalizer hf hg |
| 21 | funext r |
| 22 | exact (map_ratCast f r).trans (map_ratCast g r).symm |
| 23 | |
| 24 | theorem completion_ringHom_eq {V : Type*} [Field V] [TopologicalSpace V] |
| 25 | (e : V ≃+* Padic q) (he : Continuous e.symm) |
| 26 | (f g : V →+* Padic q) (hf : Continuous f) (hg : Continuous g) : f = g := by |
| 27 | have h := continuous_padic_ringHom_eq |
| 28 | (f.comp e.symm.toRingHom) (g.comp e.symm.toRingHom) (hf.comp he) (hg.comp he) |
| 29 | ext x |
| 30 | have hx := RingHom.congr_fun h (e x) |
| 31 | change f (e.symm (e x)) = g (e.symm (e x)) at hx |
| 32 | simpa only [RingEquiv.symm_apply_apply] using hx |
| 33 | |
| 34 | variable (F : Type) [Field F] [NumberField F] |
| 35 | |
| 36 | def finiteCompletionCongr {v w : HeightOneSpectrum (𝓞 F)} (h : v = w) : |
| 37 | v.adicCompletion F ≃+* w.adicCompletion F := by |
| 38 | subst w |
| 39 | exact RingEquiv.refl _ |
| 40 | |
| 41 | theorem finiteCompletionCongr_continuous {v w : HeightOneSpectrum (𝓞 F)} (h : v = w) : |
| 42 | Continuous (finiteCompletionCongr F h) := by |
| 43 | subst w |
| 44 | exact continuous_id |
| 45 | |
| 46 | theorem finiteCompletionCongr_rational {v w : HeightOneSpectrum (𝓞 F)} (h : v = w) (x : F) : |
| 47 | finiteCompletionCongr F h (FinitePlace.embedding v x) = FinitePlace.embedding w x := by |
| 48 | subst w |
| 49 | rfl |
| 50 | |
| 51 | theorem padic_embeddingPlace_injective : |
| 52 | Function.Injective (PELModuli.CMPoints.LocalPadic.embeddingPlace : (F →+* Padic q) → HeightOneSpectrum (𝓞 F)) := by |
| 53 | intro f g h |
| 54 | let e := PELModuli.CMPoints.LocalPadic.embeddingCompletionEquiv f |
| 55 | let p := (PELModuli.CMPoints.LocalPadic.embeddingCompletionEquiv g).toRingHom.comp (finiteCompletionCongr F h).toRingHom |
| 56 | have hp : Continuous p := |
| 57 | (PELModuli.CMPoints.LocalPadic.embeddingCompletionEquiv_continuous g).comp (finiteCompletionCongr_continuous F h) |
| 58 | have heq := completion_ringHom_eq e (PELModuli.CMPoints.LocalPadic.embeddingCompletionEquiv_symm_continuous f) |
| 59 | e.toRingHom p (PELModuli.CMPoints.LocalPadic.embeddingCompletionEquiv_continuous f) hp |
| 60 | ext x |
| 61 | have hx := RingHom.congr_fun heq (FinitePlace.embedding (PELModuli.CMPoints.LocalPadic.embeddingPlace f) x) |
| 62 | change PELModuli.CMPoints.LocalPadic.embeddingCompletionHom f (FinitePlace.embedding (PELModuli.CMPoints.LocalPadic.embeddingPlace f) x) = |
| 63 | PELModuli.CMPoints.LocalPadic.embeddingCompletionHom g |
| 64 | (finiteCompletionCongr F h (FinitePlace.embedding (PELModuli.CMPoints.LocalPadic.embeddingPlace f) x)) at hx |
| 65 | rw [finiteCompletionCongr_rational, PELModuli.CMPoints.LocalPadic.embeddingCompletionHom_coe, |
| 66 | PELModuli.CMPoints.LocalPadic.embeddingCompletionHom_coe] at hx |
| 67 | exact hx |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.PadicEmbeddingPlace.Approximation |