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.Isogenies.NeighborCounting.Intrinsic.ComponentLift |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ComponentKernel |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.UniversallyOpen |
| 4 | |
| 5 | /-! # Component Surjective -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ComponentSurjective.Components |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | Surjectivity of the component map is proved from the special fiber. |
| 13 | The flat map has open image; the proper target over the local base |
| 14 | forces every nonempty closed complement to meet the closed fiber. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 18 | open scoped _root_.CategoryTheory.Obj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable (R : Type u) [CommRing R] [IsNoetherianRing R] |
| 23 | variable {A E : Over (Spec (.of R))} |
| 24 | variable [IsFinite A.hom] [Flat A.hom] [IsFinite E.hom] [Etale E.hom] |
| 25 | |
| 26 | /-- A finite flat source maps onto the etale target if its native |
| 27 | special-fiber map is onto. No generic surjectivity is supplied. -/ |
| 28 | theorem componentMap_surjective_of_special [IsLocalRing R] (f : A ⟶ E) |
| 29 | (hf : Surjective |
| 30 | ((Over.pullback (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)))).map f).left) : |
| 31 | Surjective f.left := by |
| 32 | let s := Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)) |
| 33 | let F := Over.pullback s |
| 34 | have : Flat f.left := ComponentKernel.Lifts.flat_map_to_etale f |
| 35 | have : IsFinite f.left := ComponentKernel.Lifts.componentMap_finite f |
| 36 | have : IsLocallyNoetherian E.left := LocallyOfFiniteType.isLocallyNoetherian E.hom |
| 37 | have : LocallyOfFinitePresentation f.left := inferInstance |
| 38 | have : Surjective (F.map f).left := hf |
| 39 | constructor |
| 40 | intro y |
| 41 | by_contra hy |
| 42 | have hclosed : IsClosed (E.hom '' (Set.range f.left)ᶜ) := |
| 43 | E.hom.isClosedMap _ f.left.isOpenMap.isOpen_range.isClosed_compl |
| 44 | have hmem : IsLocalRing.closedPoint R ∈ E.hom '' (Set.range f.left)ᶜ := |
| 45 | (IsLocalRing.specializes_closedPoint (E.hom y)).mem_closed hclosed ⟨y, hy, rfl⟩ |
| 46 | obtain ⟨z, hz, hzs⟩ := hmem |
| 47 | have hzrange : z ∈ Set.range (pullback.fst E.hom s) := by |
| 48 | rw [Scheme.Pullback.range_fst] |
| 49 | refine ⟨IsLocalRing.closedPoint (IsLocalRing.ResidueField R), ?_⟩ |
| 50 | change PrimeSpectrum.comap (IsLocalRing.residue R) |
| 51 | (IsLocalRing.closedPoint (IsLocalRing.ResidueField R)) = E.hom z |
| 52 | rw [IsLocalRing.comap_closedPoint, hzs] |
| 53 | obtain ⟨z₀, hz₀⟩ := hzrange |
| 54 | obtain ⟨a₀, ha₀⟩ := (F.map f).left.surjective z₀ |
| 55 | have hp : (F.map f).left ≫ pullback.fst E.hom s = |
| 56 | pullback.fst A.hom s ≫ f.left := pullback.lift_fst _ _ _ |
| 57 | apply hz |
| 58 | refine ⟨pullback.fst A.hom s a₀, ?_⟩ |
| 59 | have he := congrArg (fun h => h a₀) hp |
| 60 | change pullback.fst E.hom s ((F.map f).left a₀) = |
| 61 | f.left (pullback.fst A.hom s a₀) at he |
| 62 | exact he.symm.trans ((congrArg (pullback.fst E.hom s) ha₀).trans hz₀) |
| 63 | |
| 64 | variable [HenselianLocalRing R] [GrpObj A] [GrpObj E] |
| 65 | |
| 66 | /-- The constructed component projection is finite, flat, and onto, |
| 67 | as a consequence of the actual special-fiber projection. -/ |
| 68 | theorem nativeComponentMap_geometry |
| 69 | (π₀ : (Over.pullback (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)))).obj A ⟶ |
| 70 | (Over.pullback (Spec.map (CommRingCat.ofHom (IsLocalRing.residue R)))).obj E) |
| 71 | [IsMonHom π₀] [Surjective π₀.left] : |
| 72 | IsFinite (Intrinsic.ComponentLift.Components.nativeComponentMap R π₀).left ∧ Flat (Intrinsic.ComponentLift.Components.nativeComponentMap R π₀).left ∧ |
| 73 | Surjective (Intrinsic.ComponentLift.Components.nativeComponentMap R π₀).left ∧ |
| 74 | IsFinite (Picard.PoincareBundle.Kernel.Scheme.kernelObject (Intrinsic.ComponentLift.Components.nativeComponentMap R π₀)).hom ∧ |
| 75 | Flat (Picard.PoincareBundle.Kernel.Scheme.kernelObject (Intrinsic.ComponentLift.Components.nativeComponentMap R π₀)).hom := by |
| 76 | refine ⟨ComponentKernel.Lifts.componentMap_finite _, ComponentKernel.Lifts.flat_map_to_etale _, ?_, |
| 77 | ComponentKernel.Lifts.componentKernel_finite_flat _⟩ |
| 78 | apply componentMap_surjective_of_special R |
| 79 | rw [Intrinsic.ComponentLift.Components.nativeComponentMap_special] |
| 80 | infer_instance |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ComponentSurjective.Components |