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.AbelianModuli.HilbertConstruction.Proper.IdealCartesianLocus |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.EqualizerIdealCriterion |
| 3 | |
| 4 | /-! # Morphism Equality Locus -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProperFlat.MorphismEqualityLocus |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Equality of two maps from a proper flat family is represented by an |
| 11 | actual closed base locus, with its universal property on all test schemes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | |
| 16 | theorem equalizerIdeal_baseChange_zero_iff |
| 17 | {S T : Scheme.{u}} {X Y : Over S} [IsSeparated Y.hom] |
| 18 | (b : T ⟶ S) (f g : X ⟶ Y) : |
| 19 | (equalizer.ι f g).left.ker.comap (pullback.fst X.hom b) = ⊥ ↔ |
| 20 | (Over.pullback b).map f = (Over.pullback b).map g := by |
| 21 | let c : (Over.map b).obj ((Over.pullback b).obj X) ⟶ X := |
| 22 | Over.homMk (pullback.fst X.hom b) pullback.condition |
| 23 | constructor |
| 24 | · intro h |
| 25 | have hc : c ≫ f = c ≫ g := |
| 26 | (HilbertScheme.Presentations.EqualizerIdealCriterion.equalizer_ideal_comap_eq_bot_iff f g c).mp h |
| 27 | have he := congrArg Over.Hom.left hc |
| 28 | change pullback.fst X.hom b ≫ f.left = pullback.fst X.hom b ≫ g.left at he |
| 29 | apply Over.OverMorphism.ext |
| 30 | apply pullback.hom_ext |
| 31 | · simpa only [Over.pullback_map_left, pullback.lift_fst] using he |
| 32 | · simp only [Over.pullback_map_left, pullback.lift_snd] |
| 33 | · intro h |
| 34 | apply (HilbertScheme.Presentations.EqualizerIdealCriterion.equalizer_ideal_comap_eq_bot_iff f g c).mpr |
| 35 | apply Over.OverMorphism.ext |
| 36 | change pullback.fst X.hom b ≫ f.left = pullback.fst X.hom b ≫ g.left |
| 37 | have he := congrArg |
| 38 | (fun z : (Over.pullback b).obj X ⟶ (Over.pullback b).obj Y => |
| 39 | z.left ≫ pullback.fst Y.hom b) h |
| 40 | simpa only [Over.pullback_map_left, pullback.lift_fst] using he |
| 41 | |
| 42 | theorem proper_flat_morphism_equality_closed_locus |
| 43 | {S : Scheme.{u}} [IsLocallyNoetherian S] {X Y : Over S} |
| 44 | [IsProper X.hom] [Flat X.hom] [IsSeparated Y.hom] |
| 45 | (f g : X ⟶ Y) : |
| 46 | ∃ (Z : Over S) (j : Z ⟶ Over.mk (𝟙 S)), IsClosedImmersion j.left ∧ |
| 47 | ∀ T : Over S, |
| 48 | (Over.pullback T.hom).map f = (Over.pullback T.hom).map g ↔ |
| 49 | ∃! y : T ⟶ Z, y ≫ j = Over.mkIdTerminal.from T := by |
| 50 | obtain ⟨Z, j, hj, ht⟩ := Proper.IdealCartesianLocus.proper_ideal_baseChange_closed_locus X (equalizer.ι f g).left.ker |
| 51 | exact ⟨Z, j, hj, fun T => |
| 52 | (equalizerIdeal_baseChange_zero_iff T.hom f g).symm.trans (ht T)⟩ |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProperFlat.MorphismEqualityLocus |