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.Proper |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Smooth |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.UniversallyOpen |
| 4 | import Mathlib.AlgebraicGeometry.Pullbacks |
| 5 | import Mathlib.CategoryTheory.Comma.Over.Pullback |
| 6 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Albanese |
| 7 | import Lean.Util.CollectAxioms |
| 8 | |
| 9 | /-! # Specialization -/ |
| 10 | |
| 11 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Specialization |
| 12 | |
| 13 | /-! |
| 14 | IntegralModel: properness and specialization of surjectivity on actual schemes. |
| 15 | |
| 16 | This file proves the specialization mechanism on actual schemes. It does not |
| 17 | import any of the admitted statement files. The PEL construction and the |
| 18 | Albanese descent interfaces in the target specification are still separate |
| 19 | obligations; the theorem below is not advertised as the complete IntegralModel result. |
| 20 | -/ |
| 21 | |
| 22 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | /-- Base changing a morphism gives the usual cartesian square on schemes. -/ |
| 27 | theorem base_change_square {S T : Scheme.{u}} (g : T ⟶ S) |
| 28 | {X Y : Over S} (f : X ⟶ Y) : |
| 29 | IsPullback (pullback.fst X.hom g) ((Over.pullback g).map f).left |
| 30 | f.left (pullback.fst Y.hom g) := by |
| 31 | apply IsPullback.of_bot |
| 32 | (v₂₁ := pullback.snd Y.hom g) (v₂₂ := Y.hom) (h₃₁ := g) |
| 33 | · have hsnd : ((Over.pullback g).map f).left ≫ pullback.snd Y.hom g = |
| 34 | pullback.snd X.hom g := pullback.lift_snd _ _ _ |
| 35 | rw [hsnd, f.w] |
| 36 | exact IsPullback.of_hasPullback X.hom g |
| 37 | · exact (pullback.lift_fst _ _ _).symm |
| 38 | · exact IsPullback.of_hasPullback Y.hom g |
| 39 | |
| 40 | /-- A proper map over a base is surjective if it becomes surjective over |
| 41 | a dominant base change and its target is open over the base. In particular, |
| 42 | this applies to the generic fiber when the target is an abelian scheme. -/ |
| 43 | theorem surjective_of_dominant_base_change |
| 44 | {S T : Scheme.{u}} (g : T ⟶ S) [IsDominant g] |
| 45 | {X Y : Over S} (f : X ⟶ Y) |
| 46 | [IsProper f.left] [UniversallyOpen Y.hom] |
| 47 | (hgeneric : Surjective ((Over.pullback g).map f).left) : |
| 48 | Surjective f.left := by |
| 49 | let fT := ((Over.pullback g).map f).left |
| 50 | have hT : Function.Surjective fT := hgeneric.surj |
| 51 | have hdense : Dense (Y.hom ⁻¹' Set.range g) := |
| 52 | g.denseRange.preimage Y.hom.isOpenMap |
| 53 | have hsub : Y.hom ⁻¹' Set.range g ⊆ Set.range f.left := by |
| 54 | intro y hy |
| 55 | obtain ⟨t, ht⟩ := hy |
| 56 | obtain ⟨yT, hyT, _⟩ := Scheme.Pullback.exists_preimage_pullback y t ht.symm |
| 57 | obtain ⟨xT, hxT⟩ := hT yT |
| 58 | refine ⟨pullback.fst X.hom g xT, ?_⟩ |
| 59 | have heq : fT ≫ pullback.fst Y.hom g = pullback.fst X.hom g ≫ f.left := by |
| 60 | exact pullback.lift_fst _ _ _ |
| 61 | calc |
| 62 | f.left (pullback.fst X.hom g xT) = pullback.fst Y.hom g (fT xT) := |
| 63 | (congrArg (fun h : (pullback X.hom g) ⟶ Y.left => h xT) heq).symm |
| 64 | _ = y := by rw [hxT, hyT] |
| 65 | let : IsDominant f.left := ⟨hdense.mono hsub⟩ |
| 66 | infer_instance |
| 67 | |
| 68 | /-- Surjectivity obtained from the generic fiber persists after every |
| 69 | further base change, including arbitrary geometric special fibers. -/ |
| 70 | theorem every_base_change_surjective |
| 71 | {S T : Scheme.{u}} (g : T ⟶ S) [IsDominant g] |
| 72 | {X Y : Over S} (f : X ⟶ Y) |
| 73 | [IsProper f.left] [UniversallyOpen Y.hom] |
| 74 | (hgeneric : Surjective ((Over.pullback g).map f).left) |
| 75 | {U : Scheme.{u}} (t : U ⟶ S) : |
| 76 | Surjective ((Over.pullback t).map f).left := by |
| 77 | let : Surjective f.left := surjective_of_dominant_base_change g f hgeneric |
| 78 | exact MorphismProperty.of_isPullback (P := @Surjective) |
| 79 | (base_change_square t f) inferInstance |
| 80 | |
| 81 | /-- Every geometric fiber is surjective on its algebraically closed field |
| 82 | points. This uses actual rational points, rather than just closed supports. -/ |
| 83 | theorem every_geometric_fiber_point_surjective |
| 84 | {S T : Scheme.{u}} (g : T ⟶ S) [IsDominant g] |
| 85 | {X Y : Over S} (f : X ⟶ Y) |
| 86 | [IsProper f.left] [UniversallyOpen Y.hom] |
| 87 | [LocallyOfFiniteType X.hom] [LocallyOfFiniteType Y.hom] |
| 88 | (hgeneric : Surjective ((Over.pullback g).map f).left) |
| 89 | (Ω : Type u) [Field Ω] [IsAlgClosed Ω] |
| 90 | (t : Spec (.of Ω) ⟶ S) : |
| 91 | Function.Surjective |
| 92 | (fun p : Over.mk (𝟙 (Spec (.of Ω))) ⟶ (Over.pullback t).obj X => |
| 93 | p ≫ (Over.pullback t).map f) := by |
| 94 | let : Surjective ((Over.pullback t).map f).left := |
| 95 | every_base_change_surjective g f hgeneric t |
| 96 | let : LocallyOfFiniteType ((Over.pullback t).obj X).hom := |
| 97 | inferInstanceAs (LocallyOfFiniteType (pullback.snd X.hom t)) |
| 98 | let : LocallyOfFiniteType ((Over.pullback t).obj Y).hom := |
| 99 | inferInstanceAs (LocallyOfFiniteType (pullback.snd Y.hom t)) |
| 100 | intro q |
| 101 | apply (Albanese.Construction.ClosedPoints.pointMap_range_iff |
| 102 | ((Over.pullback t).obj X) ((Over.pullback t).obj Y) |
| 103 | ((Over.pullback t).map f) q).mpr |
| 104 | exact ((Over.pullback t).map f).left.surjective _ |
| 105 | |
| 106 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Specialization |