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.CartierDuality.AffinePullback |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.AffineCharacterValues |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.Naturality |
| 4 | |
| 5 | /-! # Character Map -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterMap.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # CartierDuality: the universal character and the canonical sheaf morphism |
| 13 | |
| 14 | The map is defined on all test schemes by pulling back a universal |
| 15 | character. Its naturality is part of its construction via Yoneda. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 19 | open scoped TensorProduct |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable (R A : Type u) [CommRing R] [CommRing A] |
| 24 | variable [HopfAlgebra R A] [Coalgebra.IsCocomm R A] |
| 25 | variable [Module.Finite R A] [Module.Projective R A] |
| 26 | |
| 27 | /-- The universal character is induced by the group-like coevaluation |
| 28 | element of the dual coordinate algebra. -/ |
| 29 | def affineCartierUniversalCharacter : |
| 30 | (CharacterSheaf.Construction.Schemes.characterSheaf (Spec (CommRingCat.of R)) (Characters.Construction.affineHopfGroupScheme R A)).obj.obj |
| 31 | (Opposite.op ((Spec (CommRingCat.of (DualAlgebra.Construction.DualCoordinate R A))).asOver (Spec (CommRingCat.of R)))) := |
| 32 | AffineCharacterValues.Construction.affineGroupLikeSection R (DualAlgebra.Construction.DualCoordinate R A) A (Naturality.Construction.universalAffineCharacter R A) |
| 33 | |
| 34 | /-- The canonical comparison on all test schemes is obtained by pulling |
| 35 | back the universal character. -/ |
| 36 | def affineCartierCharacterMap : |
| 37 | uliftYoneda.{u + 1}.obj ((Spec (CommRingCat.of (DualAlgebra.Construction.DualCoordinate R A))).asOver (Spec (CommRingCat.of R))) ⟶ |
| 38 | (CharacterSheaf.Construction.Schemes.characterSheaf (Spec (CommRingCat.of R)) (Characters.Construction.affineHopfGroupScheme R A)).obj := |
| 39 | uliftYonedaEquiv.symm (affineCartierUniversalCharacter R A) |
| 40 | |
| 41 | /-- The represented point sheaf of the constructed affine dual. The |
| 42 | universe lift matches the character sheaf on the big fppf site. -/ |
| 43 | def affineDualPointSheaf : |
| 44 | Sheaf (Scheme.fppfTopology.over (Spec (CommRingCat.of R))) (Type (u + 1)) := |
| 45 | ⟨uliftYoneda.{u + 1}.obj ((Spec (CommRingCat.of (DualAlgebra.Construction.DualCoordinate R A))).asOver (Spec (CommRingCat.of R))), by |
| 46 | rw [isSheaf_iff_isSheaf_of_type] |
| 47 | exact GrothendieckTopology.Subcanonical.isSheaf_of_isRepresentable _⟩ |
| 48 | |
| 49 | /-- The actual sheaf comparison, defined independently of any |
| 50 | representability assertion about the target character sheaf. -/ |
| 51 | def affineCartierCharacterSheafMap : |
| 52 | affineDualPointSheaf R A ⟶ |
| 53 | CharacterSheaf.Construction.Schemes.characterSheaf (Spec (CommRingCat.of R)) (Characters.Construction.affineHopfGroupScheme R A) := |
| 54 | ⟨affineCartierCharacterMap R A⟩ |
| 55 | |
| 56 | /-- Evaluation at any test point is restriction of the universal character. -/ |
| 57 | theorem affineCartierCharacterMap_apply |
| 58 | (T : Over (Spec (CommRingCat.of R))) |
| 59 | (f : T ⟶ ((Spec (CommRingCat.of (DualAlgebra.Construction.DualCoordinate R A))).asOver (Spec (CommRingCat.of R)))) : |
| 60 | (affineCartierCharacterMap R A).app (Opposite.op T) (ULift.up f) = |
| 61 | (CharacterSheaf.Construction.Schemes.characterSheaf (Spec (CommRingCat.of R)) |
| 62 | (Characters.Construction.affineHopfGroupScheme R A)).obj.map f.op (affineCartierUniversalCharacter R A) := |
| 63 | rfl |
| 64 | |
| 65 | /-- The canonical comparison acts by pulling back the universal evaluation |
| 66 | morphism on the product with G. -/ |
| 67 | theorem affineCartierCharacterMap_value |
| 68 | (T : Over (Spec (CommRingCat.of R))) |
| 69 | (f : T ⟶ ((Spec (CommRingCat.of (DualAlgebra.Construction.DualCoordinate R A))).asOver (Spec (CommRingCat.of R)))) : |
| 70 | SliceCharacters.Construction.Schemes.characterValue (Spec (CommRingCat.of R)) (Characters.Construction.affineHopfGroupScheme R A) T |
| 71 | ((affineCartierCharacterMap R A).app (Opposite.op T) (ULift.up f)) = |
| 72 | Limits.prod.map f (𝟙 (Characters.Construction.affineHopfGroupScheme R A).X) ≫ |
| 73 | SliceCharacters.Construction.Schemes.characterValue (Spec (CommRingCat.of R)) (Characters.Construction.affineHopfGroupScheme R A) |
| 74 | ((Spec (CommRingCat.of (DualAlgebra.Construction.DualCoordinate R A))).asOver (Spec (CommRingCat.of R))) |
| 75 | (affineCartierUniversalCharacter R A) := |
| 76 | SliceCharacters.Construction.Schemes.characterValue_restrict (Spec (CommRingCat.of R)) (Characters.Construction.affineHopfGroupScheme R A) |
| 77 | f (affineCartierUniversalCharacter R A) |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterMap.Construction |