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.FrobeniusKernel.ChosenOrdinaryKernels |
| 2 | |
| 3 | /-! # Compact Kernels -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CompactKernels.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | The ordinary multiplicative prescription is the whole compact block in |
| 11 | the pure multiplicative case and the identity subgroup in the pure etale |
| 12 | case. The identity subgroup is tested on every scheme, not confused with |
| 13 | the empty scheme subobject. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable (R : Type u) [CommRing R] (q n : ℕ) |
| 23 | |
| 24 | instance etaleZero_points (T : Over (Spec (.of R))) : |
| 25 | Subsingleton (T ⟶ (OrdinaryBlocks.Construction.etaleOrdinaryBlock R q n 0).X) := by |
| 26 | let e : (T ⟶ (OrdinaryBlocks.Construction.etaleOrdinaryBlock R q n 0).X) ≃* |
| 27 | LocallyConstant T.left (OrdinaryBlocks.Construction.OrdinaryBlockLabels q n 0) := |
| 28 | ((EtaleSubgroups.Construction.etaleGroupPointIso (Spec (.of R)) (OrdinaryBlocks.Construction.OrdinaryBlockLabels q n 0)).app (.op T)).groupIsoToMulEquiv |
| 29 | constructor |
| 30 | intro a b |
| 31 | apply e.injective |
| 32 | apply LocallyConstant.ext |
| 33 | intro t |
| 34 | exact Subsingleton.elim _ _ |
| 35 | |
| 36 | instance multiplicativeZero_structural_isIso : IsIso (OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock R q n 0).X.hom := by |
| 37 | let A := MonoidAlgebra R (OrdinaryBlocks.Construction.OrdinaryBlockLabels.{u} q n 0) |
| 38 | let e : A ≃ₐ[R] R := MonoidAlgebra.uniqueAlgEquiv R (OrdinaryBlocks.Construction.OrdinaryBlockLabels q n 0) |
| 39 | have he : CommRingCat.ofHom (algebraMap R A) = e.symm.toRingEquiv.toCommRingCatIso.hom := by |
| 40 | apply CommRingCat.hom_ext |
| 41 | apply RingHom.ext |
| 42 | intro r |
| 43 | change (algebraMap R A) r = e.symm r |
| 44 | simpa only [Algebra.algebraMap_self, RingHom.id_apply] using (e.symm.commutes r).symm |
| 45 | have : IsIso (CommRingCat.ofHom (algebraMap R A)) := by rw [he]; infer_instance |
| 46 | change IsIso (Spec.map (CommRingCat.ofHom (algebraMap R A))) |
| 47 | infer_instance |
| 48 | |
| 49 | instance multiplicativeZero_points (T : Over (Spec (.of R))) : |
| 50 | Subsingleton (T ⟶ (OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock R q n 0).X) := by |
| 51 | constructor |
| 52 | intro a b |
| 53 | apply Over.OverMorphism.ext |
| 54 | apply (cancel_mono (OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock R q n 0).X.hom).mp |
| 55 | exact a.w.trans b.w.symm |
| 56 | |
| 57 | /-- In a pure multiplicative compact block, the chosen inclusion is an |
| 58 | isomorphism onto the whole block, at every torsion level. -/ |
| 59 | instance ordinaryPureMultiplicative_inclusion_isIso |
| 60 | {B : Grp (Over (Spec (.of R)))} {d : ℕ} (e : OrdinaryBlocks.Construction.OrdinaryBlockSplitting R B q n d 0) : |
| 61 | IsIso (OrdinaryBlocks.Construction.ordinaryMultiplicativeInclusion R e).hom.hom := by |
| 62 | let G := OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock R q n d |
| 63 | let H := OrdinaryBlocks.Construction.etaleOrdinaryBlock R q n 0 |
| 64 | let a := (AnnihilatorSheaf.Construction.splitFirstInclusion G H).hom.hom |
| 65 | let b : (G ⊗ H).X ⟶ G.X := fst G.X H.X |
| 66 | have hab : a ≫ b = 𝟙 G.X := lift_fst _ _ |
| 67 | have hba : b ≫ a = 𝟙 (G ⊗ H).X := by |
| 68 | apply CartesianMonoidalCategory.hom_ext |
| 69 | · change (b ≫ lift (𝟙 G.X) (1 : G.X ⟶ H.X)) ≫ fst G.X H.X = _ |
| 70 | rw [Category.assoc, lift_fst, Category.comp_id, Category.id_comp] |
| 71 | · exact (etaleZero_points R q n (G ⊗ H).X).elim _ _ |
| 72 | have : IsIso a := ⟨b, hab, hba⟩ |
| 73 | have : IsIso e.inv.hom.hom := inferInstanceAs (IsIso ((Grp.forget _).map e.inv)) |
| 74 | change IsIso (a ≫ e.inv.hom.hom) |
| 75 | infer_instance |
| 76 | |
| 77 | /-- In a pure etale compact block, the chosen subgroup has only the |
| 78 | identity section on every test scheme. -/ |
| 79 | theorem ordinaryPureEtale_inclusion_zero |
| 80 | {B : Grp (Over (Spec (.of R)))} {r : ℕ} (e : OrdinaryBlocks.Construction.OrdinaryBlockSplitting R B q n 0 r) |
| 81 | (T : Over (Spec (.of R))) (a : T ⟶ (OrdinaryBlocks.Construction.multiplicativeOrdinaryBlock R q n 0).X) : |
| 82 | a ≫ (OrdinaryBlocks.Construction.ordinaryMultiplicativeInclusion R e).hom.hom = 1 := by |
| 83 | have h : a = 1 := (multiplicativeZero_points R q n T).elim _ _ |
| 84 | exact (congrArg (fun a => a ≫ (OrdinaryBlocks.Construction.ordinaryMultiplicativeInclusion R e).hom.hom) h).trans |
| 85 | (MonObj.one_comp _) |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CompactKernels.Construction |