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.Noetherian.ConnectedComponents |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MonomorphismLocalSections |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.FormallyUnramified |
| 4 | |
| 5 | /-! # Rigid Parameter Diagonal -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RigidParameterDiagonal |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A parameter whose maps from connected tests are detected by one field-valued point has an open diagonal when its self-product is Noetherian. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | def FieldFaithfulParameter {S : Scheme.{u}} (M : Over S) : Prop := |
| 18 | ∀ (F : Type u) [Field F] (T : Over S) [PreconnectedSpace T.left] |
| 19 | (s : Spec (.of F) ⟶ T.left) (a b : T ⟶ M), s ≫ a.left = s ≫ b.left → a = b |
| 20 | |
| 21 | theorem fieldFaithfulParameter_open_diagonal {S : Scheme.{u}} (M : Over S) |
| 22 | [IsNoetherian (pullback M.hom M.hom)] (hM : FieldFaithfulParameter M) : |
| 23 | IsOpenImmersion (pullback.diagonal M.hom) := by |
| 24 | let δ := pullback.diagonal M.hom |
| 25 | apply MonomorphismLocalSections.monomorphism_open_of_local_sections δ |
| 26 | intro x |
| 27 | let U := Noetherian.ConnectedComponents.noetherianConnectedComponentOpen (pullback M.hom M.hom) (δ x) |
| 28 | let V : Over S := Over.mk ((U.ι ≫ pullback.fst M.hom M.hom) ≫ M.hom) |
| 29 | have : PreconnectedSpace V.left := inferInstanceAs (PreconnectedSpace U.toScheme) |
| 30 | let a : V ⟶ M := Over.homMk (U.ι ≫ pullback.fst M.hom M.hom) rfl |
| 31 | let b : V ⟶ M := Over.homMk (U.ι ≫ pullback.snd M.hom M.hom) (by |
| 32 | change (U.ι ≫ pullback.snd M.hom M.hom) ≫ M.hom = (U.ι ≫ pullback.fst M.hom M.hom) ≫ M.hom |
| 33 | rw [Category.assoc, Category.assoc, pullback.condition]) |
| 34 | let s₀ := M.left.fromSpecResidueField x ≫ δ |
| 35 | have hr : Set.range s₀ ⊆ (U : Set (↑(pullback M.hom M.hom) : Type u)) := by |
| 36 | rintro _ ⟨v, rfl⟩ |
| 37 | change δ (M.left.fromSpecResidueField x v) ∈ connectedComponent (δ x) |
| 38 | rw [Scheme.fromSpecResidueField_apply] |
| 39 | exact mem_connectedComponent |
| 40 | let s : Spec (M.left.residueField x) ⟶ V.left := |
| 41 | IsOpenImmersion.lift U.ι s₀ ((Scheme.Opens.range_ι U).symm ▸ hr) |
| 42 | have hs : s ≫ U.ι = s₀ := IsOpenImmersion.lift_fac _ _ _ |
| 43 | have hsa : s ≫ a.left = M.left.fromSpecResidueField x := by |
| 44 | change s ≫ (U.ι ≫ pullback.fst M.hom M.hom) = _ |
| 45 | rw [← Category.assoc, hs] |
| 46 | change (M.left.fromSpecResidueField x ≫ pullback.diagonal M.hom) ≫ pullback.fst M.hom M.hom = _ |
| 47 | rw [Category.assoc, pullback.diagonal_fst, Category.comp_id] |
| 48 | have hsb : s ≫ b.left = M.left.fromSpecResidueField x := by |
| 49 | change s ≫ (U.ι ≫ pullback.snd M.hom M.hom) = _ |
| 50 | rw [← Category.assoc, hs] |
| 51 | change (M.left.fromSpecResidueField x ≫ pullback.diagonal M.hom) ≫ pullback.snd M.hom M.hom = _ |
| 52 | rw [Category.assoc, pullback.diagonal_snd, Category.comp_id] |
| 53 | have hab : a = b := hM (M.left.residueField x) V s a b (hsa.trans hsb.symm) |
| 54 | refine ⟨U, mem_connectedComponent, a.left, ?_⟩ |
| 55 | apply pullback.hom_ext |
| 56 | · change (a.left ≫ pullback.diagonal M.hom) ≫ pullback.fst M.hom M.hom = _ |
| 57 | rw [Category.assoc, pullback.diagonal_fst, Category.comp_id] |
| 58 | rfl |
| 59 | · change (a.left ≫ pullback.diagonal M.hom) ≫ pullback.snd M.hom M.hom = _ |
| 60 | rw [Category.assoc, pullback.diagonal_snd, Category.comp_id] |
| 61 | exact congrArg Over.Hom.left hab |
| 62 | |
| 63 | theorem fieldFaithfulParameter_formallyUnramified {S : Scheme.{u}} (M : Over S) |
| 64 | [IsNoetherian (pullback M.hom M.hom)] (hM : FieldFaithfulParameter M) : FormallyUnramified M.hom := by |
| 65 | have := fieldFaithfulParameter_open_diagonal M hM |
| 66 | infer_instance |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RigidParameterDiagonal |