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.CartierModel |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.FiniteOverField |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.OrdinaryBlocks |
| 4 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme |
| 5 | |
| 6 | /-! # Opposite Annihilator -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | The opposite annihilator is the actual scheme kernel of character |
| 14 | restriction. The source group law, finite locally free model over a field, |
| 15 | closed inclusion, and all-test character condition are proved here. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 19 | open scoped _root_.CategoryTheory.MonObj IsMulCommutative |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable {R : CommRingCat.{u}} {G H : Grp (Over (Spec R))} |
| 24 | variable (P : CartierModel.Construction.CartierCoordinates R G) (Q : CartierModel.Construction.CartierCoordinates R H) (i : H ⟶ G) |
| 25 | |
| 26 | def CartierModel.Construction.CartierCoordinates.annihilatorGroup : Grp (Over (Spec R)) := |
| 27 | @Grp.mk _ _ _ (Picard.PoincareBundle.Kernel.Scheme.kernelObject (P.restriction Q i).hom.hom) |
| 28 | (Picard.PoincareBundle.Kernel.Scheme.kernelGroup (P.restriction Q i).hom.hom) |
| 29 | |
| 30 | def CartierModel.Construction.CartierCoordinates.annihilatorInclusion : P.annihilatorGroup Q i ⟶ P.dualGroup := |
| 31 | Picard.PoincareBundle.Kernel.Scheme.kernelInclusionAsGroup (P.restriction Q i).hom.hom |
| 32 | |
| 33 | theorem CartierModel.Construction.CartierCoordinates.annihilatorInclusion_eq : |
| 34 | (P.annihilatorInclusion Q i).hom.hom = |
| 35 | Picard.PoincareBundle.Kernel.Scheme.kernelInclusion (P.restriction Q i).hom.hom := |
| 36 | Picard.PoincareBundle.Kernel.Scheme.kernelInclusionAsGroup_hom _ |
| 37 | |
| 38 | instance CartierModel.Construction.CartierCoordinates.annihilatorGroup_commutative : IsCommMonObj (P.annihilatorGroup Q i).X := |
| 39 | Picard.PoincareBundle.Kernel.Scheme.kernelGroup_commutative (P.restriction Q i).hom.hom |
| 40 | |
| 41 | instance CartierModel.Construction.CartierCoordinates.restriction_finite : IsFinite (P.restriction Q i).hom.hom.left := by |
| 42 | let d := (P.restriction Q i).hom.hom |
| 43 | have : IsFinite (d.left ≫ Q.dualGroup.X.hom) := (congrArg IsFinite d.w).mpr inferInstance |
| 44 | exact IsFinite.of_comp d.left Q.dualGroup.X.hom |
| 45 | |
| 46 | instance CartierModel.Construction.CartierCoordinates.annihilatorGroup_finite : IsFinite (P.annihilatorGroup Q i).X.hom := |
| 47 | Picard.PoincareBundle.Kernel.Scheme.kernel_isFinite (P.restriction Q i).hom.hom |
| 48 | |
| 49 | instance CartierModel.Construction.CartierCoordinates.annihilatorInclusion_mono : Mono (P.annihilatorInclusion Q i).hom.hom := by |
| 50 | constructor |
| 51 | intro T x y h |
| 52 | apply (Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv (P.restriction Q i).hom.hom T).injective |
| 53 | apply Subtype.ext |
| 54 | exact (congrArg (fun f => x ≫ f) (P.annihilatorInclusion_eq Q i).symm).trans |
| 55 | (h.trans (congrArg (fun f => y ≫ f) (P.annihilatorInclusion_eq Q i))) |
| 56 | |
| 57 | theorem CartierModel.Construction.CartierCoordinates.annihilatorInclusion_closed : |
| 58 | IsClosedImmersion (P.annihilatorInclusion Q i).hom.hom.left := |
| 59 | OrdinaryBlocks.Construction.closedSubgroupOfFiniteMono (P.annihilatorInclusion Q i).hom.hom |
| 60 | |
| 61 | /-- The kernel condition is exactly triviality of the restricted |
| 62 | character, with no restriction to reduced or field-valued tests. -/ |
| 63 | theorem CartierModel.Construction.CartierCoordinates.annihilator_condition (T : Over (Spec R)) (x : T ⟶ P.dualGroup.X) : |
| 64 | x ≫ (P.restriction Q i).hom.hom = 1 ↔ |
| 65 | Functor.whiskerLeft (Over.forget T).op (yonedaGrp.map i) ≫ P.pointsEquiv T x = 1 := by |
| 66 | constructor |
| 67 | · intro hx |
| 68 | exact (P.restriction_on_characters Q i T x).symm.trans |
| 69 | ((congrArg (Q.pointsEquiv T) hx).trans (Q.pointsEquiv T).map_one) |
| 70 | · intro hx |
| 71 | apply (Q.pointsEquiv T).injective |
| 72 | exact (P.restriction_on_characters Q i T x).trans |
| 73 | (hx.trans (Q.pointsEquiv T).map_one.symm) |
| 74 | |
| 75 | /-- A character annihilates the chosen subgroup exactly when its point |
| 76 | factors uniquely through the constructed opposite-kernel scheme. -/ |
| 77 | theorem CartierModel.Construction.CartierCoordinates.annihilator_universal (T : Over (Spec R)) (x : T ⟶ P.dualGroup.X) : |
| 78 | (Functor.whiskerLeft (Over.forget T).op (yonedaGrp.map i) ≫ P.pointsEquiv T x = 1) ↔ |
| 79 | ∃! y : T ⟶ (P.annihilatorGroup Q i).X, y ≫ (P.annihilatorInclusion Q i).hom.hom = x := by |
| 80 | constructor |
| 81 | · intro hx |
| 82 | let y := (Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv (P.restriction Q i).hom.hom T).symm |
| 83 | ⟨x, (P.annihilator_condition Q i T x).mpr hx⟩ |
| 84 | have hy : y ≫ (P.annihilatorInclusion Q i).hom.hom = x := by |
| 85 | rw [P.annihilatorInclusion_eq Q i] |
| 86 | exact congrArg Subtype.val |
| 87 | ((Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv (P.restriction Q i).hom.hom T).apply_symm_apply _) |
| 88 | refine ⟨y, hy, ?_⟩ |
| 89 | intro z hz |
| 90 | apply (cancel_mono (P.annihilatorInclusion Q i).hom.hom).mp |
| 91 | exact hz.trans hy.symm |
| 92 | · rintro ⟨y, hy, _⟩ |
| 93 | apply (P.annihilator_condition Q i T x).mp |
| 94 | have h := (Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv (P.restriction Q i).hom.hom T y).property |
| 95 | change (y ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion (P.restriction Q i).hom.hom) ≫ |
| 96 | (P.restriction Q i).hom.hom = 1 at h |
| 97 | exact (congrArg (fun z => z ≫ (P.restriction Q i).hom.hom) |
| 98 | (hy.symm.trans (congrArg (fun f => y ≫ f) (P.annihilatorInclusion_eq Q i)))).trans h |
| 99 | |
| 100 | theorem CartierModel.Construction.CartierCoordinates.annihilatorGroup_finiteLocallyFree_overField |
| 101 | {K : Type u} [Field K] {G H : Grp (Over (Spec (.of K)))} |
| 102 | (P : CartierModel.Construction.CartierCoordinates (.of K) G) (Q : CartierModel.Construction.CartierCoordinates (.of K) H) (i : H ⟶ G) : |
| 103 | IsFinite (P.annihilatorGroup Q i).X.hom ∧ |
| 104 | Flat (P.annihilatorGroup Q i).X.hom ∧ |
| 105 | LocallyOfFinitePresentation (P.annihilatorGroup Q i).X.hom := |
| 106 | ⟨inferInstance, FiniteOverField.Construction.finiteOverField_finiteLocallyFree (P.annihilatorGroup Q i).X.hom⟩ |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel |