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.Quotients.FiniteDescent.AbelianQuotient |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.GroupAffine |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.PairedKernels |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Prescribed |
| 5 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.Quotient |
| 6 | |
| 7 | /-! # Geometric Quotient -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.GeometricQuotient.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | Construct geometric quotients by finite flat subgroup schemes. Finite |
| 15 | translation orbits have affine neighborhoods because the smooth connected |
| 16 | proper group is integral and translations move finitely many points into |
| 17 | one affine open. Thus the remaining orbit hypothesis of FiniteDescent is proved. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 21 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 22 | open scoped _root_.CategoryTheory.MonObj |
| 23 | |
| 24 | universe u |
| 25 | |
| 26 | variable {K : Type u} [Field K] [IsAlgClosed K] {g : ℕ} |
| 27 | variable (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of K))) |
| 28 | variable (H : Grp (Over (Spec (.of K)))) (i : H.X ⟶ A.scheme) [IsMonHom i] |
| 29 | |
| 30 | omit [IsMonHom i] in |
| 31 | /-- The affine-orbit hypothesis is a theorem on the geometric abelian |
| 32 | fiber, including for nonreduced subgroup schemes. -/ |
| 33 | theorem geometricKernel_affine_orbits [IsFinite H.X.hom] : |
| 34 | ∀ x : A.scheme.left, ∃ U : A.scheme.left.Opens, IsAffineOpen U ∧ |
| 35 | ∀ y, Quotients.FiniteDescent.Invariant.Construction.InvariantCore.Related (snd H.X A.scheme).left |
| 36 | (Quotients.FiniteDescent.Epi.Construction.translation i).left x y → y ∈ U := by |
| 37 | have : IsFinite (snd H.X A.scheme).left := |
| 38 | inferInstanceAs (IsFinite (CategoryTheory.Limits.pullback.snd H.X.hom A.scheme.hom)) |
| 39 | intro x |
| 40 | obtain ⟨U, hU, hsub⟩ := Quotients.FiniteDescent.GroupIrreducibleOf.Construction.GroupIrreducible.exists_affineOpen_of_finite A.scheme |
| 41 | {y | Quotients.FiniteDescent.Invariant.Construction.InvariantCore.Related (snd H.X A.scheme).left (Quotients.FiniteDescent.Epi.Construction.translation i).left x y} |
| 42 | (Quotients.FiniteDescent.Invariant.Construction.InvariantCore.finite_orbit _ _ x) |
| 43 | exact ⟨U, hU, fun y hy => hsub hy⟩ |
| 44 | |
| 45 | /-- The native scheme quotient, its group structure, and its exact kernel |
| 46 | are constructed from the specified embedded finite locally free subgroup. -/ |
| 47 | theorem exists_geometricKernelQuotient |
| 48 | (hi : IsClosedImmersion i.left) |
| 49 | (hH : IsFinite H.X.hom ∧ Flat H.X.hom ∧ LocallyOfFinitePresentation H.X.hom) : |
| 50 | ∃ (B : Quotients.FiniteDescent.AbelianQuotient.Construction.AbelianScheme (Spec (.of K))) (f : A.scheme ⟶ B.toOver), |
| 51 | IsMonHom f ∧ Quotients.FiniteDescent.AbelianQuotient.Construction.FiniteLocallyFree f.left ∧ Surjective f.left ∧ |
| 52 | (∀ (T : Over (Spec (.of K))) (a : T ⟶ A.scheme), |
| 53 | a ≫ f = 1 ↔ ∃! h : T ⟶ H.X, h ≫ i = a) ∧ |
| 54 | (∀ (T : Over (Spec (.of K))) (f' : A.scheme ⟶ T), |
| 55 | (∀ (U : Over (Spec (.of K))) (a : U ⟶ A.scheme) (h : U ⟶ H.X), |
| 56 | ((h ≫ i) * a) ≫ f' = a ≫ f') → |
| 57 | ∃! b : B.toOver ⟶ T, f ≫ b = f') := by |
| 58 | let A' : Quotients.FiniteDescent.AbelianQuotient.Construction.AbelianScheme (Spec (.of K)) := |
| 59 | { toOver := A.scheme, group := A.group, commutative := A.commutative, |
| 60 | proper := A.proper, smooth := inferInstance, connected := A.connected } |
| 61 | have : IsFinite H.X.hom := hH.1 |
| 62 | exact Quotients.FiniteDescent.AbelianQuotient.Construction.exists_abelian_scheme_quotient_of_affine_orbits (Spec (.of K)) A' H.X i hi hH |
| 63 | (geometricKernel_affine_orbits A H i) |
| 64 | |
| 65 | /-- A constructed geometric quotient, retaining its actual projection |
| 66 | and scheme-theoretic kernel rather than only its isomorphism class. -/ |
| 67 | structure GeometricKernelQuotient where |
| 68 | target : Quotients.FiniteDescent.AbelianQuotient.Construction.AbelianScheme (Spec (.of K)) |
| 69 | projection : A.scheme ⟶ target.toOver |
| 70 | groupHom : IsMonHom projection |
| 71 | finite : IsFinite projection.left |
| 72 | flat : Flat projection.left |
| 73 | finitelyPresented : LocallyOfFinitePresentation projection.left |
| 74 | surjective : Surjective projection.left |
| 75 | kernel : Prescribed.Construction.PrescribedKernel projection i |
| 76 | |
| 77 | attribute [instance] GeometricKernelQuotient.groupHom GeometricKernelQuotient.finite |
| 78 | GeometricKernelQuotient.flat GeometricKernelQuotient.finitelyPresented |
| 79 | GeometricKernelQuotient.surjective |
| 80 | |
| 81 | def geometricKernelQuotient |
| 82 | (hi : IsClosedImmersion i.left) |
| 83 | (hH : IsFinite H.X.hom ∧ Flat H.X.hom ∧ LocallyOfFinitePresentation H.X.hom) : |
| 84 | GeometricKernelQuotient A H i := |
| 85 | Classical.choice (by |
| 86 | obtain ⟨B, f, hf, hfinite, hsurj, hker, _⟩ := exists_geometricKernelQuotient A H i hi hH |
| 87 | exact ⟨⟨B, f, hf, hfinite.1, hfinite.2.1, hfinite.2.2, hsurj, hker⟩⟩) |
| 88 | |
| 89 | namespace GeometricKernelQuotient |
| 90 | |
| 91 | variable {A H i} (Q : GeometricKernelQuotient A H i) [Mono i] |
| 92 | |
| 93 | /-- The quotient scheme represents the independently constructed fppf |
| 94 | subgroup quotient, with its full infinitesimal test-scheme behavior. -/ |
| 95 | def sheafIso : BaseChange.Construction.subgroupQuotient i ≅ (BaseChange.Construction.fppfPoints (Spec (.of K))).obj Q.target.toOver := |
| 96 | Prescribed.Construction.prescribedFrobeniusQuotientIsoOfHomomorphisms Q.projection i Q.kernel |
| 97 | (Picard.Homomorphisms.Quotient.Construction.isFppfQuotientByKernel_of_fppf Q.projection) |
| 98 | |
| 99 | omit [IsAlgClosed K] [IsMonHom i] in |
| 100 | theorem sheafIso_projection : |
| 101 | Prescribed.Construction.subgroupQuotientProjection i ≫ Q.sheafIso.hom = |
| 102 | (BaseChange.Construction.fppfPoints (Spec (.of K))).map Q.projection := |
| 103 | Prescribed.Construction.prescribedFrobeniusQuotientIsoOfHomomorphisms_projection Q.projection i Q.kernel |
| 104 | (Picard.Homomorphisms.Quotient.Construction.isFppfQuotientByKernel_of_fppf Q.projection) |
| 105 | |
| 106 | end GeometricKernelQuotient |
| 107 | |
| 108 | /-- Apply the quotient construction to the assembled chosen/opposite |
| 109 | kernel. Both finite flatness and closedness are supplied by proved kernel |
| 110 | assembly theorems, including the actual opposite-annihilator factors. -/ |
| 111 | def fullPairedGeometricQuotient (n k : ℕ) |
| 112 | (G H B : Fin k → Grp (Over (Spec (.of K)))) |
| 113 | (P : ∀ v, CartierModel.Construction.CartierCoordinates (.of K) (G v)) |
| 114 | (Q : ∀ v, CartierModel.Construction.CartierCoordinates (.of K) (H v)) |
| 115 | (i : ∀ v, H v ⟶ G v) (pairing : ∀ v, B v ≅ (P v).dualGroup) |
| 116 | (split : Assembly.Construction.torsionGroup A n ≅ BlockProducts.Construction.groupBlockProduct k (fun v => G v ⊗ B v)) |
| 117 | (hi : ∀ v, IsClosedImmersion (i v).hom.hom.left) |
| 118 | (hH : ∀ v, IsFinite (H v).X.hom ∧ Flat (H v).X.hom ∧ |
| 119 | LocallyOfFinitePresentation (H v).X.hom) : |
| 120 | GeometricKernelQuotient A (BlockProducts.Construction.groupBlockProduct k (fun v => (P v).pairedKernel (Q v) (i v))) |
| 121 | (PairedKernels.Construction.fullPairedKernelToAbelian A n k G H B P Q i pairing split) := |
| 122 | geometricKernelQuotient A _ _ |
| 123 | (PairedKernels.Construction.fullPairedKernelToAbelian_closed A n k G H B P Q i pairing split hi) |
| 124 | (PairedKernels.Construction.fullPairedKernel_finiteLocallyFree k G H P Q i hH) |
| 125 | |
| 126 | end |
| 127 | |
| 128 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.GeometricQuotient.Construction |