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.CartierIntrinsicRepresentation |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Cartier |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.SheafKernels |
| 4 | |
| 5 | /-! # Cartier Sheaf Kernels -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | The native opposite kernel is the kernel in commutative fppf sheaves. |
| 13 | The comparison uses literal character restriction on every test scheme. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | /-- Native monomorphisms remain monomorphisms of the represented |
| 22 | commutative fppf sheaves. -/ |
| 23 | theorem CartierSheafKernels.Construction.representedFppfAbMap_mono {S : Scheme.{u}} {G H : Grp (Over S)} |
| 24 | [IsCommMonObj G.X] [IsCommMonObj H.X] (f : G ⟶ H) [Mono f.hom.hom] : |
| 25 | Mono (CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap f) := by |
| 26 | constructor |
| 27 | intro F a b h |
| 28 | apply Sheaf.hom_ext |
| 29 | apply NatTrans.ext |
| 30 | funext T |
| 31 | apply CommGrpCat.hom_ext |
| 32 | apply MonoidHom.ext |
| 33 | intro x |
| 34 | have he := congrArg (fun z => z.hom.app T x) h |
| 35 | have he' : (a.hom.app T x).down ≫ f.hom.hom = |
| 36 | (b.hom.app T x).down ≫ f.hom.hom := congrArg ULift.down he |
| 37 | exact congrArg ULift.up ((cancel_mono f.hom.hom).mp he') |
| 38 | |
| 39 | variable {R : CommRingCat.{u}} {G H : Grp (Over (Spec R))} |
| 40 | variable (P : CartierModel.Construction.CartierCoordinates R G) (Q : CartierModel.Construction.CartierCoordinates R H) (i : H ⟶ G) |
| 41 | |
| 42 | /-- Character restriction is the actual sheaf Cartier-dual map. -/ |
| 43 | theorem CartierModel.Construction.CartierCoordinates.representedCartierDualIso_restriction [IsCommMonObj G.X] [IsCommMonObj H.X] : |
| 44 | CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (P.restriction Q i) ≫ Q.representedCartierDualIso.hom = |
| 45 | P.representedCartierDualIso.hom ≫ |
| 46 | (CartierDuality.CommutativeSheavesAb.Construction.Schemes.cartierDualSheafFunctor (Spec R)).map (CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap i).op := by |
| 47 | apply CartierDuality.SheafEvaluation.Construction.Schemes.sheafDualHom_ext |
| 48 | intro T d x |
| 49 | let d' : T ⟶ P.dualGroup.X := d.down |
| 50 | let x' : T ⟶ H.X := x.down |
| 51 | exact (Q.representedCartierDualIso_value T (d' ≫ (P.restriction Q i).hom.hom) x').trans |
| 52 | ((congrArg (fun χ : CharacterGroups.Construction.CharacterSections H T => |
| 53 | ULift.up (χ.app (op (Over.mk (𝟙 T))) x')) |
| 54 | (P.restriction_on_characters Q i T d')).trans |
| 55 | (P.representedCartierDualIso_value T d' (x' ≫ i.hom.hom)).symm) |
| 56 | |
| 57 | def CartierModel.Construction.CartierCoordinates.representedRestriction : CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec R) P.dualGroup ⟶ |
| 58 | CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec R) Q.dualGroup := CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (P.restriction Q i) |
| 59 | |
| 60 | def CartierModel.Construction.CartierCoordinates.representedAnnihilatorInclusion : CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec R) (P.annihilatorGroup Q i) ⟶ |
| 61 | CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec R) P.dualGroup := CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (P.annihilatorInclusion Q i) |
| 62 | |
| 63 | instance CartierModel.Construction.CartierCoordinates.representedAnnihilatorInclusion_mono : Mono (P.representedAnnihilatorInclusion Q i) := |
| 64 | CartierSheafKernels.Construction.representedFppfAbMap_mono _ |
| 65 | |
| 66 | theorem CartierModel.Construction.CartierCoordinates.representedAnnihilator_condition : |
| 67 | P.representedAnnihilatorInclusion Q i ≫ P.representedRestriction Q i = 0 := by |
| 68 | apply Sheaf.hom_ext |
| 69 | apply NatTrans.ext |
| 70 | funext T |
| 71 | apply CommGrpCat.hom_ext |
| 72 | apply MonoidHom.ext |
| 73 | rintro ⟨x⟩ |
| 74 | change ULift.up ((x ≫ (P.annihilatorInclusion Q i).hom.hom) ≫ |
| 75 | (P.restriction Q i).hom.hom) = ULift.up 1 |
| 76 | apply congrArg ULift.up |
| 77 | exact (Category.assoc _ _ _).trans |
| 78 | ((congrArg (fun f => x ≫ f) (P.annihilatorInclusion_restriction Q i)).trans (MonObj.comp_one x)) |
| 79 | |
| 80 | /-- All sections of the categorical sheaf kernel factor uniquely |
| 81 | through the original native opposite-kernel group scheme. -/ |
| 82 | def CartierModel.Construction.CartierCoordinates.representedAnnihilatorIsLimit : |
| 83 | IsLimit (KernelFork.ofι (P.representedAnnihilatorInclusion Q i) |
| 84 | (P.representedAnnihilator_condition Q i)) := by |
| 85 | apply CartierDuality.SheafKernels.Construction.Schemes.sheafKernelIsLimitOfPoints |
| 86 | intro T x hx |
| 87 | obtain ⟨x⟩ := x |
| 88 | have hx' : x ≫ (P.restriction Q i).hom.hom = 1 := congrArg ULift.down hx |
| 89 | obtain ⟨y, hy, _⟩ := (P.annihilator_universal Q i T x).mp |
| 90 | ((P.annihilator_condition Q i T x).mp hx') |
| 91 | exact ⟨ULift.up y, congrArg ULift.up hy⟩ |
| 92 | |
| 93 | /-- The native opposite kernel and the sheaf kernel are the same |
| 94 | embedded subgroup, not merely isomorphic abstract groups. -/ |
| 95 | theorem CartierModel.Construction.CartierCoordinates.representedAnnihilator_subobject : |
| 96 | Subobject.mk (P.representedAnnihilatorInclusion Q i) = |
| 97 | kernelSubobject (P.representedRestriction Q i) := by |
| 98 | let e := (P.representedAnnihilatorIsLimit Q i).conePointUniqueUpToIso |
| 99 | (kernelIsKernel (P.representedRestriction Q i)) |
| 100 | apply Subobject.mk_eq_mk_of_comm _ _ e |
| 101 | exact IsLimit.conePointUniqueUpToIso_hom_comp (P.representedAnnihilatorIsLimit Q i) |
| 102 | (kernelIsKernel _) WalkingParallelPair.zero |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel |