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.Picard.Homomorphisms.UnbundledOrdinaryKernel |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.MultiplicativeSubgroup |
| 3 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.AbelianSchemes |
| 4 | |
| 5 | /-! # Unbundled Ordinary Fiber -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.UnbundledOrdinaryFiber |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Ordinarity is the equality of p-rank and the actual smooth dimension |
| 12 | on an algebraically closed fiber. No dimension is fixed on the original base. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | namespace Construction |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | def IsOrdinary (p : ℕ) {k : Type u} [Field k] |
| 24 | (A : Over (Spec (.of k))) [GrpObj A] [IsCommMonObj A] : Prop := |
| 25 | ∃ g : ℕ, SmoothOfRelativeDimension g A.hom ∧ |
| 26 | Nat.card (powMonoidHom p : (Over.mk (𝟙 (Spec (.of k))) ⟶ A) →* _).ker = p ^ g |
| 27 | |
| 28 | namespace UnbundledPicard |
| 29 | |
| 30 | variable (p : ℕ) [Fact p.Prime] {S : Scheme.{u}} (hS : (p : Γ(S, ⊤)) = 0) |
| 31 | variable (A : Over S) [GrpObj A] [IsCommMonObj A] |
| 32 | variable [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 33 | variable (D : UnbundledDualData.Construction.UnbundledPicard.DualData A) (ell : A ⟶ D.abelian) |
| 34 | variable [IsMonHom ell] [IsFinite ell.left] [Surjective ell.left] |
| 35 | variable {k : Type u} [Field k] [IsAlgClosed k] (s : Spec (.of k) ⟶ S) |
| 36 | |
| 37 | include D ell in |
| 38 | theorem ordinary_geometricFiber_kernel_eq_multiplicativePTorsion |
| 39 | (hordinary : IsOrdinary p (UnbundledBaseChangePoints.Construction.UnbundledPicard.baseChangeGroup A s)) : |
| 40 | Subobject.mk ((Over.pullback s).map (Kernel.Construction.kernelInclusion |
| 41 | (Frobenius.Construction.relativeFrobenius p Fact.out hS A))) = |
| 42 | MultiplicativeSubgroup.Construction.multiplicativePTorsion p k (UnbundledBaseChangePoints.Construction.UnbundledPicard.baseChangeGroup A s) := by |
| 43 | have : CharP k p := GeometricPoints.Construction.charP_of_geometric_map p Fact.out hS k s |
| 44 | obtain ⟨g, hg, hcount⟩ := hordinary |
| 45 | have : SmoothOfRelativeDimension g (UnbundledBaseChangePoints.Construction.UnbundledPicard.baseChangeGroup A s).hom := hg |
| 46 | have : Smooth (UnbundledBaseChangePoints.Construction.UnbundledPicard.baseChangeGroup A s).hom := SmoothOfRelativeDimension.smooth g _ |
| 47 | have : IsProper (UnbundledBaseChangePoints.Construction.UnbundledPicard.baseChangeGroup A s).hom := |
| 48 | inferInstanceAs (IsProper (CategoryTheory.Limits.pullback.snd A.hom s)) |
| 49 | have : GeometricallyConnected (UnbundledBaseChangePoints.Construction.UnbundledPicard.baseChangeGroup A s).hom := |
| 50 | inferInstanceAs (GeometricallyConnected (CategoryTheory.Limits.pullback.snd A.hom s)) |
| 51 | let ell' : UnbundledBaseChangePoints.Construction.UnbundledPicard.baseChangeGroup A s ⟶ (D.pullback s).abelian := (Over.pullback s).map ell |
| 52 | have : IsMonHom ell' := Functor.map.instIsMonHom (F := Over.pullback s) (f := ell) A D.abelian |
| 53 | have : IsFinite ell'.left := MorphismProperty.overPullbackMap s ell (inferInstanceAs (IsFinite ell.left)) |
| 54 | have : Surjective ell'.left := MorphismProperty.overPullbackMap s ell (inferInstanceAs (Surjective ell.left)) |
| 55 | obtain ⟨i⟩ := UnbundledOrdinaryKernel.Construction.UnbundledPicard.ordinary_frobeniusKernel_multiplicative p (UnbundledBaseChangePoints.Construction.UnbundledPicard.baseChangeGroup A s) (D.pullback s) |
| 56 | ell' g hcount |
| 57 | have hi := MultiplicativeSubgroup.Construction.frobeniusKernel_eq_multiplicativePTorsion_of_iso p k (UnbundledBaseChangePoints.Construction.UnbundledPicard.baseChangeGroup A s) g i |
| 58 | let e := FrobeniusKernelBaseChange.Construction.relativeFrobeniusKernelBaseChangeIso p Fact.out hS s A |
| 59 | have he := FrobeniusKernelBaseChange.Construction.relativeFrobeniusKernelBaseChangeIso_inclusion p Fact.out hS s A |
| 60 | have h := Subobject.mk_eq_mk_of_comm |
| 61 | ((Over.pullback s).map (Kernel.Construction.kernelInclusion (Frobenius.Construction.relativeFrobenius p Fact.out hS A))) |
| 62 | (Kernel.Construction.kernelInclusion (Frobenius.Construction.relativeFrobenius p Fact.out (Frobenius.Construction.prime_eq_zero_of_map p hS s) |
| 63 | ((Over.pullback s).obj A))) e he |
| 64 | exact h.trans hi |
| 65 | |
| 66 | end UnbundledPicard |
| 67 | |
| 68 | end Construction |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.UnbundledOrdinaryFiber |