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.OppositeAnnihilator |
| 2 | import Mathlib.CategoryTheory.Sites.PreservesLimits |
| 3 | |
| 4 | /-! # Annihilator Representation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Identify the constructed opposite group scheme with CartierDuality's annihilator |
| 12 | sheaf. Both restriction and the trivial character are compared on every |
| 13 | test scheme before transporting the equalizer. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 17 | open scoped _root_.CategoryTheory.MonObj IsMulCommutative |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {R : CommRingCat.{u}} {G H : Grp (Over (Spec R))} |
| 22 | variable (P : CartierModel.Construction.CartierCoordinates R G) (Q : CartierModel.Construction.CartierCoordinates R H) (i : H ⟶ G) |
| 23 | |
| 24 | theorem CartierModel.Construction.CartierCoordinates.characterIso_apply (T : Over (Spec R)) (x : T ⟶ P.dualGroup.X) : |
| 25 | P.characterIso.hom.hom.app (op T) (ULift.up x) = P.pointsEquiv T x := rfl |
| 26 | |
| 27 | theorem CartierModel.Construction.CartierCoordinates.restriction_characterIso : |
| 28 | (BaseChange.Construction.fppfPoints (Spec R)).map (P.restriction Q i).hom.hom ≫ Q.characterIso.hom = |
| 29 | P.characterIso.hom ≫ CartierDuality.CharacterSheaf.Construction.Schemes.characterRestriction i := by |
| 30 | apply Sheaf.hom_ext |
| 31 | ext T x |
| 32 | exact P.restriction_on_characters Q i T.unop x.down |
| 33 | |
| 34 | theorem CartierModel.Construction.CartierCoordinates.trivial_characterIso : |
| 35 | (BaseChange.Construction.fppfPoints (Spec R)).map (1 : P.dualGroup.X ⟶ Q.dualGroup.X) ≫ Q.characterIso.hom = |
| 36 | P.characterIso.hom ≫ CartierDuality.CharacterSheaf.Construction.Schemes.characterTrivialRestriction G H := by |
| 37 | apply Sheaf.hom_ext |
| 38 | ext T x |
| 39 | change Q.pointsEquiv T.unop (x.down ≫ (1 : P.dualGroup.X ⟶ Q.dualGroup.X)) = 1 |
| 40 | rw [MonObj.comp_one] |
| 41 | exact (Q.pointsEquiv T.unop).map_one |
| 42 | |
| 43 | theorem CartierModel.Construction.CartierCoordinates.annihilatorInclusion_restriction : |
| 44 | (P.annihilatorInclusion Q i).hom.hom ≫ (P.restriction Q i).hom.hom = 1 := by |
| 45 | exact (congrArg (fun f => f ≫ (P.restriction Q i).hom.hom) |
| 46 | (P.annihilatorInclusion_eq Q i)).trans (Picard.PoincareBundle.Kernel.Scheme.kernelInclusion_comp _) |
| 47 | |
| 48 | def CartierModel.Construction.CartierCoordinates.annihilatorFork : Fork (P.restriction Q i).hom.hom |
| 49 | (1 : P.dualGroup.X ⟶ Q.dualGroup.X) := |
| 50 | Fork.ofι (P.annihilatorInclusion Q i).hom.hom |
| 51 | ((P.annihilatorInclusion_restriction Q i).trans (MonObj.comp_one _).symm) |
| 52 | |
| 53 | def CartierModel.Construction.CartierCoordinates.annihilatorForkIsLimit : IsLimit (P.annihilatorFork Q i) := |
| 54 | Fork.IsLimit.ofExistsUnique (fun t => |
| 55 | (P.annihilator_universal Q i t.pt t.ι).mp |
| 56 | ((P.annihilator_condition Q i t.pt t.ι).mp |
| 57 | (t.condition.trans (MonObj.comp_one t.ι)))) |
| 58 | |
| 59 | def CartierModel.Construction.CartierCoordinates.annihilatorEqualizerIso : (P.annihilatorGroup Q i).X ≅ |
| 60 | equalizer (P.restriction Q i).hom.hom (1 : P.dualGroup.X ⟶ Q.dualGroup.X) := by |
| 61 | let e := (P.annihilatorForkIsLimit Q i).conePointUniqueUpToIso |
| 62 | (equalizerIsEqualizer (P.restriction Q i).hom.hom (1 : P.dualGroup.X ⟶ Q.dualGroup.X)) |
| 63 | exact e |
| 64 | |
| 65 | theorem CartierModel.Construction.CartierCoordinates.annihilatorEqualizerIso_inclusion : |
| 66 | (P.annihilatorEqualizerIso Q i).hom ≫ equalizer.ι _ _ = |
| 67 | (P.annihilatorInclusion Q i).hom.hom := |
| 68 | IsLimit.conePointUniqueUpToIso_hom_comp (P.annihilatorForkIsLimit Q i) |
| 69 | (equalizerIsEqualizer _ _) WalkingParallelPair.zero |
| 70 | |
| 71 | /-- The actual finite group scheme represents the full annihilator sheaf, |
| 72 | including its sections on nonreduced schemes. -/ |
| 73 | def CartierModel.Construction.CartierCoordinates.annihilatorSheafIso : |
| 74 | (BaseChange.Construction.fppfPoints (Spec R)).obj (P.annihilatorGroup Q i).X ≅ |
| 75 | CartierDuality.CharacterSheaf.Construction.Schemes.annihilatorSheaf i := |
| 76 | (BaseChange.Construction.fppfPoints (Spec R)).mapIso (P.annihilatorEqualizerIso Q i) ≪≫ |
| 77 | PreservesEqualizer.iso (BaseChange.Construction.fppfPoints (Spec R)) (P.restriction Q i).hom.hom |
| 78 | (1 : P.dualGroup.X ⟶ Q.dualGroup.X) ≪≫ |
| 79 | HasLimit.isoOfNatIso (parallelPairIso _ _ _ _ P.characterIso Q.characterIso |
| 80 | (P.restriction_characterIso Q i) (P.trivial_characterIso Q)) |
| 81 | |
| 82 | theorem CartierModel.Construction.CartierCoordinates.annihilatorSheafIso_inclusion : |
| 83 | (P.annihilatorSheafIso Q i).hom ≫ equalizer.ι |
| 84 | (CartierDuality.CharacterSheaf.Construction.Schemes.characterRestriction i) |
| 85 | (CartierDuality.CharacterSheaf.Construction.Schemes.characterTrivialRestriction G H) = |
| 86 | (BaseChange.Construction.fppfPoints (Spec R)).map (P.annihilatorInclusion Q i).hom.hom ≫ |
| 87 | P.characterIso.hom := by |
| 88 | let F := BaseChange.Construction.fppfPoints (Spec R) |
| 89 | let d := (P.restriction Q i).hom.hom |
| 90 | let z : P.dualGroup.X ⟶ Q.dualGroup.X := 1 |
| 91 | let χ : F.obj P.dualGroup.X ⟶ CartierDuality.CharacterSheaf.Construction.Schemes.characterSheaf (Spec R) G := |
| 92 | P.characterIso.hom |
| 93 | let w := parallelPairIso (F.map d) (F.map z) _ _ P.characterIso Q.characterIso |
| 94 | (P.restriction_characterIso Q i) (P.trivial_characterIso Q) |
| 95 | have hw : (HasLimit.isoOfNatIso w).hom ≫ equalizer.ι _ _ = |
| 96 | equalizer.ι (F.map d) (F.map z) ≫ χ := |
| 97 | HasLimit.isoOfNatIso_hom_π w WalkingParallelPair.zero |
| 98 | change (F.map (P.annihilatorEqualizerIso Q i).hom ≫ |
| 99 | ((PreservesEqualizer.iso F d z).hom ≫ (HasLimit.isoOfNatIso w).hom)) ≫ _ = |
| 100 | F.map (P.annihilatorInclusion Q i).hom.hom ≫ χ |
| 101 | rw [Category.assoc, Category.assoc, hw, ← Category.assoc (PreservesEqualizer.iso F d z).hom, |
| 102 | PreservesEqualizer.iso_hom, equalizerComparison_comp_π, |
| 103 | ← Category.assoc, ← Functor.map_comp, P.annihilatorEqualizerIso_inclusion Q i] |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel |