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.AbelianScheme.IsogenyQuotient.Kernel.Assembly |
| 2 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FieldMultiplicationFlat |
| 3 | import OAI.ArithmeticGeometry.OrdinaryLocus.Openness.FiberwiseFlatness |
| 4 | |
| 5 | /-! # Multiplication -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Multiplication.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | Discharge the multiplication hypotheses used in relative polarization |
| 13 | descent. TorsionQuotient supplies the finite etale torsion kernel. Proved Openness helpers |
| 14 | give finite presentation, finiteness, and flatness on geometric fibers; |
| 15 | their fiberwise criterion gives relative flatness. The Openness theorem stub |
| 16 | is not used: the IsogenyQuotient axiom audit checks the full transitive proof closure. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 20 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | /-- Surjectivity can be checked after every geometric change of the base. |
| 25 | The proof lifts an actual point to the base change of its algebraically |
| 26 | closed residue field and projects its preimage back to the source. -/ |
| 27 | theorem surjective_of_geometric_baseChanges |
| 28 | {S : Scheme.{u}} {X Y : Over S} (f : X ⟶ Y) |
| 29 | (hf : ∀ (K : Type u) [Field K] [IsAlgClosed K] (t : Spec (.of K) ⟶ S), |
| 30 | Surjective ((Over.pullback t).map f).left) : Surjective f.left := by |
| 31 | constructor |
| 32 | intro y |
| 33 | let K := AlgebraicClosure (Y.left.residueField y) |
| 34 | let a : Spec (.of K) ⟶ Y.left := |
| 35 | Spec.map (CommRingCat.ofHom (algebraMap (Y.left.residueField y) K)) ≫ |
| 36 | Y.left.fromSpecResidueField y |
| 37 | let t := a ≫ Y.hom |
| 38 | let b : Spec (.of K) ⟶ ((Over.pullback t).obj Y).left := |
| 39 | pullback.lift a (𝟙 _) (Category.id_comp _).symm |
| 40 | let z₀ : Spec (.of K) := default |
| 41 | obtain ⟨x, hx⟩ := (hf K t).surj (b z₀) |
| 42 | refine ⟨pullback.fst X.hom t x, ?_⟩ |
| 43 | have hnat : ((Over.pullback t).map f).left ≫ pullback.fst Y.hom t = |
| 44 | pullback.fst X.hom t ≫ f.left := by |
| 45 | simp only [Over.pullback_map_left, pullback.lift_fst] |
| 46 | calc |
| 47 | f.left (pullback.fst X.hom t x) = |
| 48 | pullback.fst Y.hom t (((Over.pullback t).map f).left x) := |
| 49 | congrArg (fun z : ((Over.pullback t).obj X).left ⟶ Y.left => z x) hnat.symm |
| 50 | _ = pullback.fst Y.hom t (b z₀) := by rw [hx] |
| 51 | _ = a z₀ := congrArg (fun z : Spec (.of K) ⟶ Y.left => z z₀) |
| 52 | (pullback.lift_fst a (𝟙 _) (Category.id_comp _).symm) |
| 53 | _ = y := Y.left.fromSpecResidueField_apply y _ |
| 54 | |
| 55 | variable {S : Scheme.{u}} (A : Over S) [GrpObj A] [IsCommMonObj A] |
| 56 | variable [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 57 | |
| 58 | /-- TorsionQuotient and the independent multiplication lemmas imply that [n] is a |
| 59 | finite flat morphism of finite presentation over an arbitrary base. -/ |
| 60 | theorem multiplication_finite_flat |
| 61 | (n : ℕ) (h_TorsionQuotient : IsFinite (TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom) : |
| 62 | IsFinite (((𝟙 A) ^ n).left) ∧ Flat (((𝟙 A) ^ n).left) ∧ |
| 63 | LocallyOfFinitePresentation (((𝟙 A) ^ n).left) := by |
| 64 | have : IsFinite (ArithmeticGeometry.OrdinaryLocus.Openness.DefinitionsTorsion.Construction.torsionScheme A n).hom := h_TorsionQuotient |
| 65 | have hf : IsFinite (((𝟙 A) ^ n).left) := |
| 66 | ArithmeticGeometry.OrdinaryLocus.Openness.Multiplication.Construction.isFinite_multiplication_of_isFinite_torsion A n |
| 67 | have hfp : LocallyOfFinitePresentation (((𝟙 A) ^ n).left) := |
| 68 | ArithmeticGeometry.OrdinaryLocus.Openness.FinitePresentation.Construction.locallyOfFinitePresentation_multiplication A n |
| 69 | refine ⟨hf, ?_, hfp⟩ |
| 70 | apply ArithmeticGeometry.OrdinaryLocus.Openness.FiberwiseFlatness.Construction.flat_finite_of_flat_geometric_baseChanges ((𝟙 A) ^ n) |
| 71 | intro K _ _ t |
| 72 | let B := (Over.pullback t).obj A |
| 73 | have : Smooth B.hom := inferInstanceAs (Smooth (pullback.snd A.hom t)) |
| 74 | have : IsProper B.hom := inferInstanceAs (IsProper (pullback.snd A.hom t)) |
| 75 | have : GeometricallyConnected B.hom := |
| 76 | inferInstanceAs (GeometricallyConnected (pullback.snd A.hom t)) |
| 77 | have : IsFinite (ArithmeticGeometry.OrdinaryLocus.Openness.DefinitionsTorsion.Construction.torsionScheme B n).hom := |
| 78 | ArithmeticGeometry.OrdinaryLocus.Openness.BaseChange.Construction.isFinite_torsion_baseChange t A n |
| 79 | have hflat := ArithmeticGeometry.OrdinaryLocus.Openness.FieldMultiplicationFlat.Construction.flat_multiplication_of_isFinite_torsion_over_algClosed B n |
| 80 | have heq : (Over.pullback t).map ((𝟙 A) ^ n) = (𝟙 B) ^ n := by |
| 81 | exact ((Over.pullback t).homMonoidHom (X := A) (M := A)).map_pow (𝟙 A) n |>.trans |
| 82 | (congrArg (fun z => z ^ n) ((Over.pullback t).map_id A)) |
| 83 | rw [heq] |
| 84 | exact hflat |
| 85 | |
| 86 | /-- Multiplication is surjective over the arbitrary base, as well as on |
| 87 | every geometric fiber. Only finite torsion and the abelian-scheme |
| 88 | geometric conditions enter this argument. -/ |
| 89 | theorem multiplication_surjective |
| 90 | (n : ℕ) (h_TorsionQuotient : IsFinite (TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom) : |
| 91 | Surjective (((𝟙 A) ^ n).left) := by |
| 92 | have : IsFinite (ArithmeticGeometry.OrdinaryLocus.Openness.DefinitionsTorsion.Construction.torsionScheme A n).hom := h_TorsionQuotient |
| 93 | apply surjective_of_geometric_baseChanges ((𝟙 A) ^ n) |
| 94 | intro K _ _ t |
| 95 | let B := (Over.pullback t).obj A |
| 96 | have : Smooth B.hom := inferInstanceAs (Smooth (pullback.snd A.hom t)) |
| 97 | have : IsProper B.hom := inferInstanceAs (IsProper (pullback.snd A.hom t)) |
| 98 | have : GeometricallyConnected B.hom := |
| 99 | inferInstanceAs (GeometricallyConnected (pullback.snd A.hom t)) |
| 100 | have : IsFinite (ArithmeticGeometry.OrdinaryLocus.Openness.DefinitionsTorsion.Construction.torsionScheme B n).hom := ArithmeticGeometry.OrdinaryLocus.Openness.BaseChange.Construction.isFinite_torsion_baseChange t A n |
| 101 | have : IsFinite (((𝟙 B) ^ n).left) := ArithmeticGeometry.OrdinaryLocus.Openness.Multiplication.Construction.isFinite_multiplication_of_isFinite_torsion B n |
| 102 | have hs := (ArithmeticGeometry.OrdinaryLocus.Openness.FieldMultiplicationFlat.Construction.surjective_flat_multiplication_of_isFinite B n).1 |
| 103 | have heq : (Over.pullback t).map ((𝟙 A) ^ n) = (𝟙 B) ^ n := by |
| 104 | exact ((Over.pullback t).homMonoidHom (X := A) (M := A)).map_pow (𝟙 A) n |>.trans |
| 105 | (congrArg (fun z => z ^ n) ((Over.pullback t).map_id A)) |
| 106 | rw [heq] |
| 107 | exact hs |
| 108 | |
| 109 | /-- TorsionQuotient's etale torsion gives all the multiplication-map geometry needed |
| 110 | by the relative polarization construction, including faithful flatness. -/ |
| 111 | theorem multiplication_geometry_from_TorsionQuotient |
| 112 | (n : ℕ) (h_TorsionQuotient : IsFinite (TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom ∧ Etale (TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom) : |
| 113 | IsFinite (((𝟙 A) ^ n).left) ∧ Flat (((𝟙 A) ^ n).left) ∧ |
| 114 | Surjective (((𝟙 A) ^ n).left) ∧ LocallyOfFinitePresentation (((𝟙 A) ^ n).left) ∧ |
| 115 | Etale (((𝟙 A) ^ n).left) := by |
| 116 | obtain ⟨hf, hflat, hfp⟩ := multiplication_finite_flat A n h_TorsionQuotient.1 |
| 117 | have hs := multiplication_surjective A n h_TorsionQuotient.1 |
| 118 | have : IsMonHom ((𝟙 A) ^ n) := Picard.PoincareBundle.Epi.Construction.isMonHom_pow (𝟙 A) n |
| 119 | have : Etale (Torsion.Groups.Construction.nativeTorsionScheme A n).hom := (Torsion.Groups.Construction.nativeTorsionScheme_finite_etale A n h_TorsionQuotient).2 |
| 120 | refine ⟨hf, hflat, hs, hfp, ?_⟩ |
| 121 | apply IsogenyQuotient.Etale.Construction.quotient_etale_of_etale_kernel (Torsion.Groups.Construction.nativeTorsionInclusion A n) ((𝟙 A) ^ n) |
| 122 | intro T a |
| 123 | constructor |
| 124 | · intro ha |
| 125 | have han : a ^ n = 1 := by simpa only [MonObj.comp_pow, Category.comp_id] using ha |
| 126 | refine ⟨Torsion.Groups.Construction.nativeTorsionLift A n a han, Torsion.Groups.Construction.nativeTorsionLift_inclusion _ _ _ _, ?_⟩ |
| 127 | intro g hg |
| 128 | apply (cancel_mono (Torsion.Groups.Construction.nativeTorsionInclusion A n)).mp |
| 129 | rw [Torsion.Groups.Construction.nativeTorsionLift_inclusion, hg] |
| 130 | · rintro ⟨g, hg, _⟩ |
| 131 | rw [← hg, MonObj.comp_pow, Category.comp_id, ← MonObj.comp_pow, |
| 132 | Torsion.Groups.Construction.nativeTorsionInclusion_killed, MonObj.comp_one] |
| 133 | |
| 134 | end |
| 135 | |
| 136 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Multiplication.Construction |