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.CartierSheafPairing |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.PairedKernels |
| 3 | |
| 4 | /-! # Opposite Sheaf Pairing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.OppositeSheafPairing.Construction.CartierCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Transport canonical character evaluation through the actual source |
| 12 | Cartier identification. The native opposite inclusion is proved to be |
| 13 | its sheaf annihilator, with double annihilation and arbitrary base change. |
| 14 | This comparison does not identify the source character identification |
| 15 | with the Poincare-induced Weil pairing. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 19 | open scoped _root_.CategoryTheory.MonObj |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | attribute [local instance] CartierSheafKernels.Construction.representedFppfAbMap_mono |
| 24 | |
| 25 | variable {k : Type u} [Field k] |
| 26 | variable {G H B : Grp (Over (Spec (.of k)))} |
| 27 | variable [IsCommMonObj G.X] [IsCommMonObj H.X] [IsCommMonObj B.X] |
| 28 | variable (P : CartierModel.Construction.CartierCoordinates (.of k) G) (Q : CartierModel.Construction.CartierCoordinates (.of k) H) |
| 29 | variable (i : H ⟶ G) (e : B ≅ P.dualGroup) |
| 30 | |
| 31 | local instance : IsCommMonObj P.dualGroup.X := P.dualGroup_commutative |
| 32 | local instance : IsCommMonObj Q.dualGroup.X := Q.dualGroup_commutative |
| 33 | |
| 34 | def _root_.OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CartierModel.Construction.CartierCoordinates.sourceCharacterIso : CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec (.of k)) B ≅ |
| 35 | CartierDuality.CommutativeSheavesAb.Construction.Schemes.cartierDualSheaf (CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec (.of k)) G) := |
| 36 | CartierDuality.SheafBaseChange.Construction.Schemes.representedFppfAbIso e ≪≫ P.representedCartierDualIso |
| 37 | |
| 38 | /-- The source identification carries its literal character pairing. -/ |
| 39 | def _root_.OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CartierModel.Construction.CartierCoordinates.sourceSheafPairing : CartierDuality.SheafEvaluation.Construction.Schemes.BilinearPairing (CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec (.of k)) G) |
| 40 | (CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec (.of k)) B) := |
| 41 | (CartierDuality.SheafEvaluation.Construction.Schemes.BilinearPairing.mk (P.sourceCharacterIso e).hom).flip |
| 42 | |
| 43 | theorem _root_.OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CartierModel.Construction.CartierCoordinates.sourceSheafPairing_rightAdjoint : |
| 44 | (P.sourceSheafPairing e).rightAdjoint = (P.sourceCharacterIso e).hom := |
| 45 | congrArg CartierDuality.SheafEvaluation.Construction.Schemes.BilinearPairing.leftAdjoint (CartierDuality.SheafEvaluation.Construction.Schemes.BilinearPairing.mk (P.sourceCharacterIso e).hom).flip_flip |
| 46 | |
| 47 | theorem _root_.OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CartierModel.Construction.CartierCoordinates.sourceSheafPairing_isPerfect : (P.sourceSheafPairing e).IsPerfect := by |
| 48 | have : IsIso (CartierDuality.SheafEvaluation.Construction.Schemes.sheafBidualEvaluation (CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec (.of k)) G)) := |
| 49 | (CartierDuality.PolarizedTorsion.Construction.cartier_duality _ P.represented_finiteLocallyFree).2.2.1 |
| 50 | constructor |
| 51 | · change IsIso (CartierDuality.SheafEvaluation.Construction.Schemes.sheafBidualEvaluation (CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec (.of k)) G) ≫ |
| 52 | (CartierDuality.CommutativeSheavesAb.Construction.Schemes.cartierDualSheafFunctor (Spec (.of k))).map (P.sourceCharacterIso e).hom.op) |
| 53 | exact (asIso (CartierDuality.SheafEvaluation.Construction.Schemes.sheafBidualEvaluation (CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec (.of k)) G)) ≪≫ |
| 54 | (CartierDuality.CommutativeSheavesAb.Construction.Schemes.cartierDualSheafFunctor (Spec (.of k))).mapIso (P.sourceCharacterIso e).op).isIso_hom |
| 55 | · rw [P.sourceSheafPairing_rightAdjoint e] |
| 56 | infer_instance |
| 57 | |
| 58 | /-- The transported sheaf pairing evaluates through the original |
| 59 | opposite-block Cartier isomorphism on every native point. -/ |
| 60 | theorem _root_.OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CartierModel.Construction.CartierCoordinates.sourceSheafPairing_value (T : Over (Spec (.of k))) (b : T ⟶ B.X) (x : T ⟶ G.X) : |
| 61 | CartierDuality.SheafEvaluation.Construction.Schemes.sheafCharacterValue (CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec (.of k)) G) T |
| 62 | ((P.sourceSheafPairing e).rightAdjoint.hom.app (op T) (ULift.up b)) (ULift.up x) = |
| 63 | ULift.up ((P.pointsEquiv T (b ≫ e.hom.hom.hom)).app (op (Over.mk (𝟙 T))) x) := by |
| 64 | rw [P.sourceSheafPairing_rightAdjoint e] |
| 65 | exact P.representedCartierDualIso_value T (b ≫ e.hom.hom.hom) x |
| 66 | |
| 67 | instance _root_.OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CartierModel.Construction.CartierCoordinates.oppositeInclusion_mono : Mono (P.oppositeInclusion Q i e).hom.hom := by |
| 68 | have : IsIso e.inv.hom.hom := ((Grp.forget _).mapIso e).isIso_inv |
| 69 | change Mono ((P.annihilatorInclusion Q i).hom.hom ≫ e.inv.hom.hom) |
| 70 | infer_instance |
| 71 | |
| 72 | abbrev _root_.OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CartierModel.Construction.CartierCoordinates.representedOppositeInclusion : CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec (.of k)) (P.annihilatorGroup Q i) ⟶ |
| 73 | CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec (.of k)) B := CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (P.oppositeInclusion Q i e) |
| 74 | |
| 75 | abbrev _root_.OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CartierModel.Construction.CartierCoordinates.representedOppositeRestriction : CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec (.of k)) B ⟶ |
| 76 | CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb (Spec (.of k)) Q.dualGroup := CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (e.hom ≫ P.restriction Q i) |
| 77 | |
| 78 | omit [IsCommMonObj G.X] [IsCommMonObj H.X] in |
| 79 | theorem _root_.OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CartierModel.Construction.CartierCoordinates.representedOpposite_condition : |
| 80 | P.representedOppositeInclusion Q i e ≫ P.representedOppositeRestriction Q i e = 0 := by |
| 81 | apply Sheaf.hom_ext |
| 82 | apply NatTrans.ext |
| 83 | funext T |
| 84 | apply CommGrpCat.hom_ext |
| 85 | apply MonoidHom.ext |
| 86 | intro a |
| 87 | let a' : T.unop ⟶ (P.annihilatorGroup Q i).X := a.down |
| 88 | change ULift.up (a' ≫ ((P.annihilatorInclusion Q i).hom.hom ≫ e.inv.hom.hom) ≫ |
| 89 | (e.hom.hom.hom ≫ (P.restriction Q i).hom.hom)) = ULift.up 1 |
| 90 | apply congrArg ULift.up |
| 91 | have he : e.inv.hom.hom ≫ e.hom.hom.hom = 𝟙 P.dualGroup.X := |
| 92 | ((Grp.forget _).mapIso e).inv_hom_id |
| 93 | rw [Category.assoc, ← Category.assoc e.inv.hom.hom, he, |
| 94 | Category.id_comp, P.annihilatorInclusion_restriction Q i, MonObj.comp_one] |
| 95 | |
| 96 | /-- The original opposite inclusion is the kernel of the transported |
| 97 | character restriction, in the category of commutative fppf sheaves. -/ |
| 98 | def _root_.OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CartierModel.Construction.CartierCoordinates.representedOppositeIsLimit : |
| 99 | IsLimit (KernelFork.ofι (P.representedOppositeInclusion Q i e) |
| 100 | (P.representedOpposite_condition Q i e)) := by |
| 101 | apply CartierDuality.SheafKernels.Construction.Schemes.sheafKernelIsLimitOfPoints |
| 102 | intro T b hb |
| 103 | let b' : T ⟶ B.X := b.down |
| 104 | have hb' : (b' ≫ e.hom.hom.hom) ≫ (P.restriction Q i).hom.hom = 1 := |
| 105 | (Category.assoc _ _ _).trans (congrArg ULift.down hb) |
| 106 | obtain ⟨a, ha, _⟩ := (P.annihilator_universal Q i T (b' ≫ e.hom.hom.hom)).mp |
| 107 | ((P.annihilator_condition Q i T _).mp hb') |
| 108 | refine ⟨ULift.up a, ?_⟩ |
| 109 | change ULift.up (a ≫ ((P.annihilatorInclusion Q i).hom.hom ≫ e.inv.hom.hom)) = ULift.up b' |
| 110 | apply congrArg ULift.up |
| 111 | have he : e.hom.hom.hom ≫ e.inv.hom.hom = 𝟙 B.X := ((Grp.forget _).mapIso e).hom_inv_id |
| 112 | exact (Category.assoc a (P.annihilatorInclusion Q i).hom.hom e.inv.hom.hom).symm.trans |
| 113 | ((congrArg (fun z => z ≫ e.inv.hom.hom) ha).trans |
| 114 | ((Category.assoc b' e.hom.hom.hom e.inv.hom.hom).trans |
| 115 | ((congrArg (fun z => b' ≫ z) he).trans (Category.comp_id b')))) |
| 116 | |
| 117 | omit [IsCommMonObj G.X] [IsCommMonObj H.X] in |
| 118 | theorem _root_.OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CartierModel.Construction.CartierCoordinates.representedOpposite_subobject : |
| 119 | Subobject.mk (P.representedOppositeInclusion Q i e) = |
| 120 | kernelSubobject (P.representedOppositeRestriction Q i e) := by |
| 121 | let a := (P.representedOppositeIsLimit Q i e).conePointUniqueUpToIso |
| 122 | (kernelIsKernel (P.representedOppositeRestriction Q i e)) |
| 123 | apply Subobject.mk_eq_mk_of_comm _ _ a |
| 124 | exact IsLimit.conePointUniqueUpToIso_hom_comp (P.representedOppositeIsLimit Q i e) |
| 125 | (kernelIsKernel _) WalkingParallelPair.zero |
| 126 | |
| 127 | end |
| 128 | |
| 129 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.OppositeSheafPairing.Construction.CartierCoordinates |