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 Mathlib.AlgebraicGeometry.Morphisms.FlatMono |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Etale |
| 3 | import Mathlib.CategoryTheory.EquivalenceRelation |
| 4 | |
| 5 | /-! # Etale Kernel Pair -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.EtaleKernelPair |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A flat finitely presented quotient with an etale kernel-pair |
| 12 | projection is etale. Its diagonal is the identity section of the |
| 13 | represented equivalence relation. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | theorem etale_of_etale_kernelPair {R X Q : Scheme.{0}} (s t : R ⟶ X) (π : X ⟶ Q) |
| 18 | [Etale s] [Flat π] [LocallyOfFinitePresentation π] |
| 19 | (e : CategoryTheory.EquivalenceRelation s t) (h : IsKernelPair π s t) : Etale π := by |
| 20 | let : IsSplitMono e.r := ⟨⟨⟨s, e.reflexivity₁⟩⟩⟩ |
| 21 | have hrs : Etale (e.r ≫ s) := e.reflexivity₁.symm ▸ inferInstanceAs (Etale (𝟙 X)) |
| 22 | let : Etale e.r := Etale.of_comp e.r s |
| 23 | let : IsOpenImmersion e.r := IsOpenImmersion.of_flat_of_mono e.r |
| 24 | have hdiag : e.r ≫ h.isoPullback.hom = pullback.diagonal π := by |
| 25 | apply pullback.hom_ext |
| 26 | · rw [Category.assoc, h.isoPullback_hom_fst, e.reflexivity₁, pullback.diagonal_fst] |
| 27 | · rw [Category.assoc, h.isoPullback_hom_snd, e.reflexivity₂, pullback.diagonal_snd] |
| 28 | have : IsOpenImmersion (pullback.diagonal π) := by |
| 29 | rw [← hdiag] |
| 30 | infer_instance |
| 31 | exact Etale.of_formallyUnramified_of_flat π |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.EtaleKernelPair |