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.HodgeConjecture.HeckeCycles.TangentRank |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ConstantScheme.Iff |
| 3 | import Mathlib.RingTheory.DualNumber |
| 4 | |
| 5 | /-! # Etale Tangents -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.EtaleTangents.CM |
| 12 | |
| 13 | /-! Constant etale group schemes have no nonidentity dual-number |
| 14 | tangent points; the proof retains the nilpotent test scheme. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | variable (k : Type) [Field k] |
| 20 | |
| 21 | theorem dualNumber_subsingleton : Subsingleton (Spec (.of (DualNumber k))) := by |
| 22 | refine ⟨fun x y => ?_⟩ |
| 23 | have hid (p : PrimeSpectrum (DualNumber k)) : |
| 24 | p.asIdeal = IsLocalRing.maximalIdeal (DualNumber k) := by |
| 25 | apply le_antisymm |
| 26 | · exact IsLocalRing.le_maximalIdeal p.isPrime.ne_top |
| 27 | · rw [DualNumber.maximalIdeal_eq_span_singleton_eps] |
| 28 | apply Ideal.span_le.mpr |
| 29 | intro z hz |
| 30 | have hz' : z = (DualNumber.eps : DualNumber k) := Set.mem_singleton_iff.mp hz |
| 31 | rw [hz'] |
| 32 | exact p.isPrime.mem_of_pow_mem 2 (by simp) |
| 33 | exact PrimeSpectrum.ext (by rw [hid x, hid y]) |
| 34 | |
| 35 | theorem constant_hom_ext (I : Type) |
| 36 | (f g : AbelianModuli.ReferenceFamily.LieRanks.dualNumberTest k ⟶ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) I) |
| 37 | (h : AbelianModuli.ReferenceFamily.LieRanks.dualNumberOrigin k ≫ f = AbelianModuli.ReferenceFamily.LieRanks.dualNumberOrigin k ≫ g) : f = g := by |
| 38 | let : Subsingleton (AbelianModuli.ReferenceFamily.LieRanks.dualNumberTest k).left := dualNumber_subsingleton k |
| 39 | apply (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePointsEquiv (Spec (.of k)) I (AbelianModuli.ReferenceFamily.LieRanks.dualNumberTest k)).injective |
| 40 | apply LocallyConstant.ext |
| 41 | intro t |
| 42 | have he := congrArg (fun z : Over.mk (𝟙 (Spec (.of k))) ⟶ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) I => |
| 43 | AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePoint (Over.mk (𝟙 (Spec (.of k)))) z (IsLocalRing.closedPoint k)) h |
| 44 | change AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePoint (AbelianModuli.ReferenceFamily.LieRanks.dualNumberTest k) f |
| 45 | ((AbelianModuli.ReferenceFamily.LieRanks.dualNumberOrigin k).left (IsLocalRing.closedPoint k)) = |
| 46 | AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePoint (AbelianModuli.ReferenceFamily.LieRanks.dualNumberTest k) g |
| 47 | ((AbelianModuli.ReferenceFamily.LieRanks.dualNumberOrigin k).left (IsLocalRing.closedPoint k)) at he |
| 48 | exact (congrArg (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePoint (AbelianModuli.ReferenceFamily.LieRanks.dualNumberTest k) f) (Subsingleton.elim _ _)).trans |
| 49 | (he.trans (congrArg (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePoint (AbelianModuli.ReferenceFamily.LieRanks.dualNumberTest k) g) (Subsingleton.elim _ _))) |
| 50 | |
| 51 | theorem point_eq_one (I : Type) [Group I] |
| 52 | (p : TangentRank.CM.Points (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of k)) I)) : p.val = 1 := |
| 53 | constant_hom_ext k I p.val |
| 54 | (1 : AbelianModuli.ReferenceFamily.LieRanks.dualNumberTest k ⟶ (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of k)) I).X) |
| 55 | (p.property.trans (MonObj.comp_one _).symm) |
| 56 | |
| 57 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.EtaleTangents.CM |
| 58 | |
| 59 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.EtaleTangents.CM.SplitTangentRank |
| 60 | |
| 61 | /-! Adding the actual constant etale factor leaves tangent rank |
| 62 | unchanged, so an ordinary splitting determines the original tangent rank. -/ |
| 63 | |
| 64 | open _root_.CategoryTheory _root_.AlgebraicGeometry MonoidalCategory CartesianMonoidalCategory |
| 65 | open scoped _root_.CategoryTheory.MonObj |
| 66 | |
| 67 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.TangentRank.CM |
| 68 | |
| 69 | variable {k : Type} [Field k] |
| 70 | |
| 71 | def pointMap {G H : Grp (Over (Spec (.of k)))} (f : G ⟶ H) : TangentRank.CM.Points G → TangentRank.CM.Points H := |
| 72 | fun p => ⟨p.val ≫ f.hom.hom, by rw [← Category.assoc, p.property, MonObj.one_comp]⟩ |
| 73 | |
| 74 | theorem rank_of_bijective {G H : Grp (Over (Spec (.of k)))} (f : G ⟶ H) |
| 75 | (hf : Function.Bijective (pointMap f)) {d : ℕ} (hd : TangentRank.CM.HasRank G d) : TangentRank.CM.HasRank H d := by |
| 76 | obtain ⟨c, ha, hs⟩ := hd |
| 77 | refine ⟨c.trans (Equiv.ofBijective (pointMap f) hf), ?_, ?_⟩ |
| 78 | · intro x y |
| 79 | change (c (x + y)).val ≫ f.hom.hom = _ |
| 80 | rw [ha, MonObj.mul_comp] |
| 81 | rfl |
| 82 | · intro a x |
| 83 | change (c (a • x)).val ≫ f.hom.hom = _ |
| 84 | rw [hs, Category.assoc] |
| 85 | rfl |
| 86 | |
| 87 | def inclusion (G : Grp (Over (Spec (.of k)))) (I : Type) [Group I] : |
| 88 | G ⟶ Grp.mk (G.X ⊗ (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of k)) I).X) := by |
| 89 | let E := AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of k)) I |
| 90 | let : IsMonHom (1 : G.X ⟶ E.X) := |
| 91 | inferInstanceAs (IsMonHom (toUnit G.X ≫ η[E.X])) |
| 92 | exact Grp.ofHom (lift (𝟙 G.X) (1 : G.X ⟶ E.X)) |
| 93 | |
| 94 | theorem inclusion_bijective (G : Grp (Over (Spec (.of k)))) (I : Type) [Group I] : |
| 95 | Function.Bijective (pointMap (inclusion G I)) := by |
| 96 | let E := AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of k)) I |
| 97 | constructor |
| 98 | · intro p t he |
| 99 | apply Subtype.ext |
| 100 | have h := congrArg (fun z : TangentRank.CM.Points (Grp.mk (G.X ⊗ E.X)) => z.val ≫ fst G.X E.X) he |
| 101 | change (p.val ≫ lift (𝟙 G.X) (1 : G.X ⟶ E.X)) ≫ fst G.X E.X = |
| 102 | (t.val ≫ lift (𝟙 G.X) (1 : G.X ⟶ E.X)) ≫ fst G.X E.X at h |
| 103 | simpa only [Category.assoc, lift_fst, Category.comp_id] using h |
| 104 | · intro p |
| 105 | let t : TangentRank.CM.Points G := ⟨p.val ≫ fst G.X E.X, by |
| 106 | rw [← Category.assoc, p.property, MonObj.one_comp]⟩ |
| 107 | refine ⟨t, ?_⟩ |
| 108 | apply Subtype.ext |
| 109 | apply hom_ext |
| 110 | · change ((p.val ≫ fst G.X E.X) ≫ lift (𝟙 G.X) (1 : G.X ⟶ E.X)) ≫ fst G.X E.X = _ |
| 111 | simp only [Category.assoc, lift_fst, Category.comp_id] |
| 112 | rfl |
| 113 | · change ((p.val ≫ fst G.X E.X) ≫ lift (𝟙 G.X) (1 : G.X ⟶ E.X)) ≫ snd G.X E.X = _ |
| 114 | rw [Category.assoc, lift_snd, MonObj.comp_one] |
| 115 | exact (point_eq_one k I |
| 116 | ⟨p.val ≫ snd G.X E.X, by rw [← Category.assoc, p.property, MonObj.one_comp]⟩).symm |
| 117 | |
| 118 | theorem ordinary_rank {B : Grp (Over (Spec (.of k)))} (q n d r : ℕ) |
| 119 | [Fact q.Prime] [CharP k q] |
| 120 | (e : AbelianScheme.FrobeniusKernel.OrdinaryBlocks.Construction.OrdinaryBlockSplitting k B q (n + 1) d r) : TangentRank.CM.HasRank B d := by |
| 121 | have ht := rank_of_bijective |
| 122 | (inclusion (AbelianScheme.FrobeniusKernel.OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock k q (n + 1) d) |
| 123 | (AbelianScheme.FrobeniusKernel.OrdinaryBlocks.Construction.OrdinaryBlockLabels.{0} q (n + 1) r)) |
| 124 | (inclusion_bijective _ _) (TangentRank.CM.multiplicative_rank q n d) |
| 125 | exact TangentRank.CM.rank_transport e.symm ht |
| 126 | |
| 127 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.EtaleTangents.CM.SplitTangentRank |
| 128 | |
| 129 | end |
| 130 | |
| 131 | end OAI |