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.FormalGeometry.Completion.FppfSheafSectionDescent |
| 2 | import Mathlib.CategoryTheory.Limits.Constructions.Over.Connected |
| 3 | |
| 4 | /-! # Fppf Pair Lift -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.FppfPairLift |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Two maps into the target of an fppf cover lift simultaneously |
| 11 | after two actual pullbacks. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 16 | |
| 17 | namespace Construction |
| 18 | |
| 19 | universe u |
| 20 | variable {S : Scheme.{u}} {X Y T : Over S} (q : X ⟶ Y) |
| 21 | [Flat q.left] [Surjective q.left] [LocallyOfFinitePresentation q.left] |
| 22 | |
| 23 | theorem overPullbackFst_fppf (a : T ⟶ Y) : |
| 24 | Flat (pullback.fst a q).left ∧ Surjective (pullback.fst a q).left ∧ |
| 25 | LocallyOfFinitePresentation (pullback.fst a q).left := by |
| 26 | have h := (IsPullback.of_hasPullback a q).map (Over.forget S) |
| 27 | change IsPullback (pullback.fst a q).left (pullback.snd a q).left a.left q.left at h |
| 28 | exact ⟨MorphismProperty.of_isPullback (P := @Flat) h.flip inferInstance, |
| 29 | MorphismProperty.of_isPullback (P := @Surjective) h.flip inferInstance, |
| 30 | MorphismProperty.of_isPullback (P := @LocallyOfFinitePresentation) h.flip inferInstance⟩ |
| 31 | |
| 32 | theorem fppf_lift_pair (a b : T ⟶ Y) : |
| 33 | ∃ (U : Over S) (p : U ⟶ T) (x y : U ⟶ X), |
| 34 | Flat p.left ∧ Surjective p.left ∧ LocallyOfFinitePresentation p.left ∧ |
| 35 | p ≫ a = x ≫ q ∧ p ≫ b = y ≫ q := by |
| 36 | let v := pullback.fst a q |
| 37 | let w := pullback.fst (v ≫ b) q |
| 38 | obtain ⟨hvf, hvs, hvp⟩ := overPullbackFst_fppf q a |
| 39 | obtain ⟨hwf, hws, hwp⟩ := overPullbackFst_fppf q (v ≫ b) |
| 40 | have : Flat v.left := hvf |
| 41 | have : Surjective v.left := hvs |
| 42 | have : LocallyOfFinitePresentation v.left := hvp |
| 43 | have : Flat w.left := hwf |
| 44 | have : Surjective w.left := hws |
| 45 | have : LocallyOfFinitePresentation w.left := hwp |
| 46 | refine ⟨_, w ≫ v, w ≫ pullback.snd a q, pullback.snd (v ≫ b) q, |
| 47 | inferInstanceAs (Flat (w.left ≫ v.left)), inferInstanceAs (Surjective (w.left ≫ v.left)), |
| 48 | inferInstanceAs (LocallyOfFinitePresentation (w.left ≫ v.left)), ?_, ?_⟩ |
| 49 | · rw [Category.assoc, pullback.condition, Category.assoc] |
| 50 | · exact (Category.assoc _ _ _).trans pullback.condition |
| 51 | |
| 52 | end Construction |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.FppfPairLift |