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.FormallyUnramified |
| 2 | import Mathlib.AlgebraicGeometry.OpenImmersion |
| 3 | |
| 4 | /-! # Unramified Pullback Refinements -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.UnramifiedPullbackRefinements |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Formal unramifiedness of a base change is preserved by open source restriction and transported across iterated pullbacks. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem unramified_pullback_precomp_open {X Y S T : Scheme.{u}} |
| 17 | (f : X ⟶ S) (j : Y ⟶ X) [IsOpenImmersion j] (b : T ⟶ S) |
| 18 | [FormallyUnramified (pullback.snd f b)] : FormallyUnramified (pullback.snd (j ≫ f) b) := by |
| 19 | have hj : FormallyUnramified j := inferInstance |
| 20 | have hp : FormallyUnramified (pullback.snd j (pullback.fst f b)) := |
| 21 | MorphismProperty.of_isPullback (P := @FormallyUnramified) |
| 22 | (IsPullback.of_hasPullback j (pullback.fst f b)) hj |
| 23 | have hc : FormallyUnramified (pullback.snd j (pullback.fst f b) ≫ pullback.snd f b) := |
| 24 | MorphismProperty.comp_mem (@FormallyUnramified) _ _ hp inferInstance |
| 25 | have H : FormallyUnramified ((pullbackRightPullbackFstIso f b j).inv ≫ |
| 26 | pullback.snd j (pullback.fst f b) ≫ pullback.snd f b) := |
| 27 | MorphismProperty.comp_mem (@FormallyUnramified) _ _ inferInstance hc |
| 28 | exact (congrArg FormallyUnramified (pullbackRightPullbackFstIso_inv_snd_snd f b j)).mp H |
| 29 | |
| 30 | theorem unramified_iterated_pullback {X S T U : Scheme.{u}} |
| 31 | (f : X ⟶ S) (b : T ⟶ S) (c : U ⟶ T) |
| 32 | [FormallyUnramified (pullback.snd f (c ≫ b))] : |
| 33 | FormallyUnramified (pullback.snd (pullback.snd f b) c) := by |
| 34 | have H : FormallyUnramified ((pullbackLeftPullbackSndIso f b c).hom ≫ pullback.snd f (c ≫ b)) := |
| 35 | MorphismProperty.comp_mem (@FormallyUnramified) _ _ inferInstance inferInstance |
| 36 | exact (congrArg FormallyUnramified (pullbackLeftPullbackSndIso_hom_snd f b c)).mp H |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.UnramifiedPullbackRefinements |