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.FormalGeometry.Completion.TorsionPointAction |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.SchemeSmooth |
| 3 | |
| 4 | /-! # Torsion Point Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.TorsionPointDetection.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual geometric torsion points detect restriction to the actual finite torsion scheme. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open MonoidalCategory CartesianMonoidalCategory MonObj |
| 14 | |
| 15 | set_option backward.defeqAttrib.useBackward true |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {K : Type u} [Field K] [IsAlgClosed K] |
| 22 | |
| 23 | /-- Field-valued points detect actual morphisms from a reduced finite-type geometric scheme. -/ |
| 24 | theorem over_hom_ext_of_field_points |
| 25 | {X Y : Over (Spec (CommRingCat.of K))} [IsReduced X.left] |
| 26 | [LocallyOfFiniteType X.hom] [IsSeparated Y.hom] [LocallyOfFiniteType Y.hom] |
| 27 | (f g : X ⟶ Y) |
| 28 | (h : ∀ a : 𝟙_ (Over (Spec (CommRingCat.of K))) ⟶ X, a ≫ f = a ≫ g) : f = g := by |
| 29 | have : LocallyOfFiniteType (f.left ≫ Y.hom) := by rw [f.w]; infer_instance |
| 30 | apply Over.OverMorphism.ext |
| 31 | apply ext_of_apply_eq Y.hom Set.univ isOpen_univ.isLocallyClosed dense_univ |
| 32 | · intro x _ hx |
| 33 | let a : 𝟙_ (Over (Spec (CommRingCat.of K))) ⟶ X := |
| 34 | Over.homMk (pointOfClosedPoint X.hom x hx) (pointOfClosedPoint_comp X.hom x hx) |
| 35 | have he := congrArg (fun b : 𝟙_ (Over (Spec (CommRingCat.of K))) ⟶ Y => |
| 36 | b.left (IsLocalRing.closedPoint K)) (h a) |
| 37 | have ha : a.left (IsLocalRing.closedPoint K) = x := |
| 38 | pointOfClosedPoint_apply X.hom x hx (IsLocalRing.closedPoint K) |
| 39 | change f.left (a.left (IsLocalRing.closedPoint K)) = |
| 40 | g.left (a.left (IsLocalRing.closedPoint K)) at he |
| 41 | rw [ha] at he |
| 42 | exact he |
| 43 | · exact f.w.trans g.w.symm |
| 44 | |
| 45 | variable (A : Over (Spec (CommRingCat.of K))) [GrpObj A] [IsCommMonObj A] |
| 46 | [IsProper A.hom] [Smooth A.hom] |
| 47 | |
| 48 | /-- Vanishing on all actual field-valued torsion points is vanishing on the whole torsion scheme. -/ |
| 49 | theorem torsion_restriction_eq_one_of_points |
| 50 | (n : ℕ) (hn : (n : K) ≠ 0) (f : Endomorphisms.Construction.AlgebraicEnd A) |
| 51 | (hf : TorsionPointAction.Construction.algebraicEndTorsionPointAction A n f = 0) : |
| 52 | AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A n ≫ f.toMul.hom.hom = 1 := by |
| 53 | have : IsFinite (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom := (Multiplication.Construction.torsionScheme_finite_etale A n hn).1 |
| 54 | have : Etale (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom := (Multiplication.Construction.torsionScheme_finite_etale A n hn).2 |
| 55 | have : IsReduced (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A n).left := |
| 56 | Quotients.FiniteDescent.SchemeSmooth.Construction.SchemeSmoothReduced.reduced_of_smooth_field (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom |
| 57 | apply over_hom_ext_of_field_points |
| 58 | intro a |
| 59 | have ha : (a ≫ AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A n) ^ n = 1 := |
| 60 | (AbelianScheme.TorsionQuotient.SubgroupFunctor.factors_through_torsion_iff n (a ≫ AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A n)).mp ⟨a, rfl⟩ |
| 61 | let t : TorsionPointAction.Construction.geometricTorsionPoints A n := ⟨a ≫ AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A n, ha⟩ |
| 62 | have he := congrArg (fun F => F (Additive.ofMul t)) hf |
| 63 | have hz := congrArg (fun b : Additive (TorsionPointAction.Construction.geometricTorsionPoints A n) => b.toMul.val) he |
| 64 | change (a ≫ AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A n) ≫ f.toMul.hom.hom = 1 at hz |
| 65 | simpa only [Category.assoc, MonObj.comp_one] using hz |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.TorsionPointDetection.Construction |