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.Product |
| 2 | |
| 3 | /-! # Tuples -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Kernel.Tuples.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | Assemble finitely many separated torsion kernels. The model is an iterated |
| 11 | fiber product of the original models; lifted projectors prove that its |
| 12 | map into the abelian scheme is a monomorphism. The common torsion exponent |
| 13 | and arbitrary parameter base change are preserved by the construction. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {S : Scheme.{u}} {A P : Over S} [GrpObj A] [IsCommMonObj A] |
| 22 | |
| 23 | def trivialRelativeSubgroup : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P where |
| 24 | points _ _ := ⊥ |
| 25 | naturality := by |
| 26 | intro X Y f t a ha |
| 27 | change a = 1 at ha |
| 28 | change f ≫ a = 1 |
| 29 | rw [ha, MonObj.comp_one] |
| 30 | |
| 31 | def trivialRelativeSubgroup_model : (trivialRelativeSubgroup (A := A) (P := P)).Model where |
| 32 | carrier := P |
| 33 | toBase := 𝟙 P |
| 34 | toGroup := 1 |
| 35 | finite := by change IsFinite (𝟙 P.left); infer_instance |
| 36 | flat := by change Flat (𝟙 P.left); infer_instance |
| 37 | finitePresentation := by change LocallyOfFinitePresentation (𝟙 P.left); infer_instance |
| 38 | jointly_monic _ _ _ h _ := by simpa only [Category.comp_id] using h |
| 39 | points_iff X t a := by |
| 40 | change a = 1 ↔ ∃ h : X ⟶ P, h ≫ 𝟙 P = t ∧ h ≫ (1 : P ⟶ A) = a |
| 41 | simp only [Category.comp_id, MonObj.comp_one] |
| 42 | constructor |
| 43 | · intro ha |
| 44 | exact ⟨t, rfl, ha.symm⟩ |
| 45 | · rintro ⟨_, _, ha⟩ |
| 46 | exact ha.symm |
| 47 | |
| 48 | def AnnihilatedBy (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) (p : A ⟶ A) : Prop := |
| 49 | ∀ (X : Over S) (t : X ⟶ P) (x : X ⟶ A), x ∈ F.points X t → x ≫ p = 1 |
| 50 | |
| 51 | theorem annihilatedBy_iff_model_equation |
| 52 | (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) (R : F.Model) (p : A ⟶ A) : |
| 53 | AnnihilatedBy F p ↔ R.toGroup ≫ p = 1 := by |
| 54 | constructor |
| 55 | · intro h |
| 56 | exact h R.carrier R.toBase R.toGroup |
| 57 | ((R.points_iff _ _ _).mpr ⟨𝟙 _, Category.id_comp _, Category.id_comp _⟩) |
| 58 | · intro h X t x hx |
| 59 | obtain ⟨r, _, hrx⟩ := (R.points_iff X t x).mp hx |
| 60 | rw [← hrx, Category.assoc, h, MonObj.comp_one] |
| 61 | |
| 62 | def tupleKernel : (s : ℕ) → (Fin s → TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) → TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P |
| 63 | | 0, _ => trivialRelativeSubgroup |
| 64 | | s + 1, F => Product.Construction.relativeKernelProduct (F 0) (tupleKernel s (fun i => F i.succ)) |
| 65 | |
| 66 | theorem tupleKernel_killed |
| 67 | (s : ℕ) (F : Fin s → TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) |
| 68 | (n : ℕ) (hF : ∀ i, (F i).KilledBy n) : (Construction.tupleKernel s F).KilledBy n := by |
| 69 | induction s with |
| 70 | | zero => |
| 71 | intro X t x hx |
| 72 | change x = 1 at hx |
| 73 | rw [hx, one_pow] |
| 74 | | succ s ih => |
| 75 | exact Product.Construction.relativeKernelProduct_killed (F 0) (Construction.tupleKernel s (fun i => F i.succ)) n |
| 76 | (hF 0) (ih _ (fun i => hF i.succ)) |
| 77 | |
| 78 | theorem tupleKernel_annihilated |
| 79 | (s : ℕ) (F : Fin s → TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) |
| 80 | (p : A ⟶ A) [IsMonHom p] (hF : ∀ i, AnnihilatedBy (F i) p) : |
| 81 | AnnihilatedBy (Construction.tupleKernel s F) p := by |
| 82 | induction s with |
| 83 | | zero => |
| 84 | intro X t x hx |
| 85 | change x = 1 at hx |
| 86 | rw [hx, MonObj.one_comp] |
| 87 | | succ s ih => |
| 88 | intro X t x hx |
| 89 | obtain ⟨y, hy, z, hz, rfl⟩ := hx |
| 90 | rw [MonObj.mul_comp, hF 0 X t y hy, |
| 91 | ih (fun i => F i.succ) (fun i => hF i.succ) X t z hz, one_mul] |
| 92 | |
| 93 | /-- The simultaneous kernel has a finite locally free model when local |
| 94 | projectors separate its factors. This proves the model rather than taking |
| 95 | the product-kernel representability as an additional hypothesis. -/ |
| 96 | def tupleKernel_model |
| 97 | (s : ℕ) (F : Fin s → TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) (R : ∀ i, (F i).Model) |
| 98 | (p : Fin s → (A ⟶ A)) [∀ i, IsMonHom (p i)] |
| 99 | (hsupport : ∀ i, (R i).toGroup ≫ p i = (R i).toGroup) |
| 100 | (hdisjoint : ∀ i j, i ≠ j → (R j).toGroup ≫ p i = 1) : |
| 101 | (Construction.tupleKernel s F).Model := by |
| 102 | induction s with |
| 103 | | zero => exact trivialRelativeSubgroup_model |
| 104 | | succ s ih => |
| 105 | let Ft := fun i : Fin s => F i.succ |
| 106 | let Rt := fun i : Fin s => R i.succ |
| 107 | let pt := fun i : Fin s => p i.succ |
| 108 | let Q := ih Ft Rt pt (fun i => hsupport i.succ) |
| 109 | (fun i j hij => hdisjoint i.succ j.succ (fun h => hij (Fin.succ_inj.mp h))) |
| 110 | have htail : AnnihilatedBy (Construction.tupleKernel s Ft) (p 0) := |
| 111 | tupleKernel_annihilated s Ft (p 0) (fun i => |
| 112 | (annihilatedBy_iff_model_equation (F i.succ) (R i.succ) (p 0)).mpr |
| 113 | (hdisjoint 0 i.succ (Fin.succ_ne_zero i).symm)) |
| 114 | exact Product.Construction.relativeKernelProduct_model (F 0) (Construction.tupleKernel s Ft) (R 0) Q (p 0) |
| 115 | (hsupport 0) ((annihilatedBy_iff_model_equation _ Q _).mp htail) |
| 116 | |
| 117 | theorem relativeKernelProduct_baseChange (F G : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) |
| 118 | {Q : Over S} (b : Q ⟶ P) : |
| 119 | (Product.Construction.relativeKernelProduct F G).baseChange b = Product.Construction.relativeKernelProduct (F.baseChange b) (G.baseChange b) := rfl |
| 120 | |
| 121 | theorem tupleKernel_baseChange |
| 122 | (s : ℕ) (F : Fin s → TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) {Q : Over S} (b : Q ⟶ P) : |
| 123 | (Construction.tupleKernel s F).baseChange b = Construction.tupleKernel s (fun i => (F i).baseChange b) := by |
| 124 | induction s with |
| 125 | | zero => rfl |
| 126 | | succ s ih => |
| 127 | change (Product.Construction.relativeKernelProduct (F 0) (Construction.tupleKernel s (fun i => F i.succ))).baseChange b = _ |
| 128 | rw [relativeKernelProduct_baseChange, ih] |
| 129 | rfl |
| 130 | |
| 131 | end |
| 132 | |
| 133 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Kernel.Tuples.Construction |