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.PELModuli.IntegralModel.Finite.EtaleReduced |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.OverEffectiveDescent |
| 3 | import Mathlib.AlgebraicGeometry.Sites.Fpqc |
| 4 | |
| 5 | /-! # Etale Quotient Comparison -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Finite.EtaleQuotientComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Two finite etale quotients with the same fibers on reduced test |
| 12 | schemes are canonically isomorphic. Reducedness of their actual kernel |
| 13 | pairs is proved, so arbitrary nonreduced tests are also accounted for. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | variable {S : Scheme.{0}} {X Y Z : Over S} [IsReduced X.left] |
| 18 | |
| 19 | theorem finite_etale_factor_of_reduced_fibers (p : X ⟶ Y) |
| 20 | [IsFinite p.left] [Etale p.left] [Surjective p.left] (q : X ⟶ Z) |
| 21 | (h : ∀ (T : Over S) [IsReduced T.left] (a b : T ⟶ X), |
| 22 | a ≫ p = b ≫ p → a ≫ q = b ≫ q) : |
| 23 | ∃! d : Y ⟶ Z, p ≫ d = q := by |
| 24 | have hs := (IsPullback.of_hasPullback p p).map (Over.forget S) |
| 25 | have : IsFinite (pullback.fst p p).left := |
| 26 | MorphismProperty.of_isPullback hs.flip (inferInstanceAs (IsFinite p.left)) |
| 27 | have : Etale (pullback.fst p p).left := |
| 28 | MorphismProperty.of_isPullback hs.flip (inferInstanceAs (Etale p.left)) |
| 29 | have : IsReduced (pullback p p).left := EtaleReduced.finite_etale_isReduced (pullback.fst p p).left |
| 30 | have he := h (pullback p p) (pullback.fst p p) (pullback.snd p p) pullback.condition |
| 31 | apply OverEffectiveDescent.over_factor_of_effectiveEpi p q |
| 32 | intro T a b hab |
| 33 | have hh := congrArg (fun f => pullback.lift a b hab ≫ f) he |
| 34 | simpa only [← Category.assoc, pullback.lift_fst, pullback.lift_snd] using hh |
| 35 | |
| 36 | theorem finite_etale_quotient_iso (p : X ⟶ Y) (q : X ⟶ Z) |
| 37 | [IsFinite p.left] [Etale p.left] [Surjective p.left] |
| 38 | [IsFinite q.left] [Etale q.left] [Surjective q.left] |
| 39 | (h : ∀ (T : Over S) [IsReduced T.left] (a b : T ⟶ X), |
| 40 | a ≫ p = b ≫ p ↔ a ≫ q = b ≫ q) : |
| 41 | ∃ e : Y ≅ Z, p ≫ e.hom = q := by |
| 42 | obtain ⟨f, hf, _⟩ := finite_etale_factor_of_reduced_fibers p q (fun T _ a b => (h T a b).mp) |
| 43 | obtain ⟨g, hg, _⟩ := finite_etale_factor_of_reduced_fibers q p (fun T _ a b => (h T a b).mpr) |
| 44 | have hfg : f ≫ g = 𝟙 Y := by |
| 45 | apply Over.OverMorphism.ext |
| 46 | apply (cancel_epi p.left).mp |
| 47 | have he : p ≫ f ≫ g = p ≫ 𝟙 Y := by rw [← Category.assoc, hf, hg, Category.comp_id] |
| 48 | exact congrArg Over.Hom.left he |
| 49 | have hgf : g ≫ f = 𝟙 Z := by |
| 50 | apply Over.OverMorphism.ext |
| 51 | apply (cancel_epi q.left).mp |
| 52 | have he : q ≫ g ≫ f = q ≫ 𝟙 Z := by rw [← Category.assoc, hg, hf, Category.comp_id] |
| 53 | exact congrArg Over.Hom.left he |
| 54 | exact ⟨⟨f, g, hfg, hgf⟩, hf⟩ |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Finite.EtaleQuotientComparison |