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.CommutativeSheavesAb |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.SheafEvaluation |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.Evaluation |
| 4 | |
| 5 | /-! # Sheaf Character Comparison -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # CartierDuality: comparing native characters with characters in the common sheaf universe |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | attribute [local instance] Over.cartesianMonoidalCategory |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | namespace SheafCharacterComparison.Construction.CommutativeSheaves |
| 23 | |
| 24 | variable {C : Type (u + 1)} [Category.{u} C] |
| 25 | |
| 26 | /-- Lifting the values of source and target groups preserves the actual |
| 27 | natural group homomorphisms defining a character section. -/ |
| 28 | def uliftInternalHomMulEquiv (F : Cᵒᵖ ⥤ GrpCat.{u}) (K : Cᵒᵖ ⥤ CommGrpCat.{u}) (T : Cᵒᵖ) : |
| 29 | (CommutativeSheavesAb.Construction.CommutativeSheaves.internalHom F K).obj T ≃* |
| 30 | (CommutativeSheavesAb.Construction.CommutativeSheaves.internalHom (F ⋙ GrpCat.uliftFunctor.{u + 1, u}) |
| 31 | (K ⋙ CommGrpCat.uliftFunctor.{u + 1, u})).obj T where |
| 32 | toEquiv := ((show GrpCat.uliftFunctor.{u + 1, u}.FullyFaithful from |
| 33 | GrpCat.uliftFunctorFullyFaithful).whiskeringRight |
| 34 | (Over T.unop)ᵒᵖ).homEquiv |
| 35 | (X := (Over.forget T.unop).op ⋙ F) |
| 36 | (Y := (Over.forget T.unop).op ⋙ K ⋙ forget₂ CommGrpCat GrpCat) |
| 37 | map_mul' χ ψ := by |
| 38 | apply NatTrans.ext |
| 39 | funext U |
| 40 | apply GrpCat.hom_ext |
| 41 | apply MonoidHom.ext |
| 42 | rintro ⟨x⟩ |
| 43 | rfl |
| 44 | |
| 45 | /-- The lifted character-section comparison commutes with restrictions. -/ |
| 46 | def uliftInternalHomIso (F : Cᵒᵖ ⥤ GrpCat.{u}) (K : Cᵒᵖ ⥤ CommGrpCat.{u}) : |
| 47 | CommutativeSheavesAb.Construction.CommutativeSheaves.internalHom F K ≅ CommutativeSheavesAb.Construction.CommutativeSheaves.internalHom (F ⋙ GrpCat.uliftFunctor.{u + 1, u}) |
| 48 | (K ⋙ CommGrpCat.uliftFunctor.{u + 1, u}) := |
| 49 | NatIso.ofComponents (fun T => (uliftInternalHomMulEquiv F K T).toCommGrpIso) (by |
| 50 | intro T U f |
| 51 | apply CommGrpCat.hom_ext |
| 52 | apply MonoidHom.ext |
| 53 | intro χ |
| 54 | apply NatTrans.ext |
| 55 | rfl) |
| 56 | |
| 57 | end SheafCharacterComparison.Construction.CommutativeSheaves |
| 58 | |
| 59 | /-- Original native character sections and the characters of the |
| 60 | represented sheaf in the common universe are naturally equivalent groups. -/ |
| 61 | def SheafCharacterComparison.Construction.Schemes.representedCharacterSectionsMulEquiv (S : Scheme.{u}) (G : Grp (Over S)) [IsCommMonObj G.X] |
| 62 | (T : Over S) : (CharacterSheaf.Construction.Schemes.characterSheaf S G).obj.obj (Opposite.op T) ≃* |
| 63 | (CommutativeSheavesAb.Construction.Schemes.cartierDualSheaf (CommutativeSheavesAb.Construction.Schemes.representedFppfAb S G)).obj.obj (Opposite.op T) := |
| 64 | SheafCharacterComparison.Construction.CommutativeSheaves.uliftInternalHomMulEquiv (yonedaGrp.obj G) |
| 65 | (CharacterGroupSheaf.Construction.Schemes.commGroupPoints S (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S)) (Opposite.op T) |
| 66 | |
| 67 | /-- Comparing the original and common-universe character sheaves |
| 68 | retains their full commutative-group structure. -/ |
| 69 | def SheafCharacterComparison.Construction.Schemes.representedCharacterSheafIso (S : Scheme.{u}) (G : Grp (Over S)) [IsCommMonObj G.X] : |
| 70 | CharacterGroupSheaf.Construction.Schemes.characterCommGroupSheaf S G ≅ CommutativeSheavesAb.Construction.Schemes.cartierDualSheaf (CommutativeSheavesAb.Construction.Schemes.representedFppfAb S G) := |
| 71 | (fullyFaithfulSheafToPresheaf _ _).preimageIso |
| 72 | (SheafCharacterComparison.Construction.CommutativeSheaves.uliftInternalHomIso (yonedaGrp.obj G) |
| 73 | (CharacterGroupSheaf.Construction.Schemes.commGroupPoints S (CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S))) |
| 74 | |
| 75 | /-- A native character representative represents the original |
| 76 | character sheaf as a commutative-group sheaf in the common universe. -/ |
| 77 | def GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation.nativeRepresentedCharacterSheafIso |
| 78 | {S : Scheme.{u}} {G : Grp (Over S)} (D : GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation S G) : |
| 79 | @CommutativeSheavesAb.Construction.Schemes.representedFppfAb S D.dual D.commutative ≅ CharacterGroupSheaf.Construction.Schemes.characterCommGroupSheaf S G := by |
| 80 | let e (T : (Over S)ᵒᵖ) : |
| 81 | (@CommutativeSheavesAb.Construction.Schemes.representedFppfAb S D.dual D.commutative).obj.obj T ≃* |
| 82 | (CharacterGroupSheaf.Construction.Schemes.characterCommGroupSheaf S G).obj.obj T := |
| 83 | MulEquiv.ulift.trans (D.sectionEquiv T.unop) |
| 84 | apply (fullyFaithfulSheafToPresheaf _ _).preimageIso |
| 85 | refine NatIso.ofComponents (fun T => (e T).toCommGrpIso) ?_ |
| 86 | intro T U f |
| 87 | apply CommGrpCat.hom_ext |
| 88 | apply MonoidHom.ext |
| 89 | rintro ⟨d⟩ |
| 90 | exact D.sectionEquiv_natural f.unop d |
| 91 | |
| 92 | /-- The actual Cartier dual of a represented sheaf is represented by |
| 93 | its native character group, with the canonical point-character comparison. -/ |
| 94 | def GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation.representedCartierDualIso |
| 95 | {S : Scheme.{u}} {G : Grp (Over S)} [IsCommMonObj G.X] |
| 96 | (D : GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation S G) : |
| 97 | @CommutativeSheavesAb.Construction.Schemes.representedFppfAb S D.dual D.commutative ≅ CommutativeSheavesAb.Construction.Schemes.cartierDualSheaf (CommutativeSheavesAb.Construction.Schemes.representedFppfAb S G) := |
| 98 | D.nativeRepresentedCharacterSheafIso ≪≫ SheafCharacterComparison.Construction.Schemes.representedCharacterSheafIso S G |
| 99 | |
| 100 | /-- The canonical representation gives the point-character equivalence |
| 101 | on the common-universe sheaves. -/ |
| 102 | def GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation.representedCartierDualSectionsMulEquiv |
| 103 | {S : Scheme.{u}} {G : Grp (Over S)} [IsCommMonObj G.X] |
| 104 | (D : GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation S G) (T : Over S) : |
| 105 | (@CommutativeSheavesAb.Construction.Schemes.representedFppfAb S D.dual D.commutative).obj.obj (Opposite.op T) ≃* |
| 106 | (CommutativeSheavesAb.Construction.Schemes.cartierDualSheaf (CommutativeSheavesAb.Construction.Schemes.representedFppfAb S G)).obj.obj (Opposite.op T) := |
| 107 | (((sheafToPresheaf (Scheme.fppfTopology.over S) CommGrpCat.{u + 1}).mapIso |
| 108 | D.representedCartierDualIso).app (Opposite.op T)).commGroupIsoToMulEquiv |
| 109 | |
| 110 | /-- The sheaf isomorphism has the specified point-character formula. -/ |
| 111 | theorem GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation.representedCartierDualIso_apply |
| 112 | {S : Scheme.{u}} {G : Grp (Over S)} [IsCommMonObj G.X] |
| 113 | (D : GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation S G) (T : Over S) |
| 114 | (d : (@CommutativeSheavesAb.Construction.Schemes.representedFppfAb S D.dual D.commutative).obj.obj (Opposite.op T)) : |
| 115 | D.representedCartierDualIso.hom.hom.app (Opposite.op T) d = |
| 116 | D.representedCartierDualSectionsMulEquiv T d := rfl |
| 117 | |
| 118 | /-- The represented sheaf pairing is exactly the universe lift of |
| 119 | the native Cartier pairing. -/ |
| 120 | theorem GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation.representedCartierDualIso_value |
| 121 | {S : Scheme.{u}} {G : Grp (Over S)} [IsCommMonObj G.X] |
| 122 | (D : GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation S G) (T : Over S) (d : T ⟶ D.dual.X) (x : T ⟶ G.X) : |
| 123 | SheafEvaluation.Construction.Schemes.sheafCharacterValue (CommutativeSheavesAb.Construction.Schemes.representedFppfAb S G) T |
| 124 | (D.representedCartierDualIso.hom.hom.app (Opposite.op T) (ULift.up d)) (ULift.up x) = |
| 125 | ULift.up (D.evaluationValue T d x) := rfl |
| 126 | |
| 127 | /-- Finite locally free representability of a commutative fppf sheaf |
| 128 | means representation by an actual finite locally free commutative group scheme. -/ |
| 129 | def SheafCharacterComparison.Construction.Schemes.FiniteLocallyFreeFppfAb (S : Scheme.{u}) (F : CommutativeSheavesAb.Construction.Schemes.FppfAb S) : Prop := |
| 130 | ∃ (G : Grp (Over S)) (hc : IsCommMonObj G.X), IsFinite G.X.hom ∧ Flat G.X.hom ∧ |
| 131 | LocallyOfFinitePresentation G.X.hom ∧ Nonempty (@CommutativeSheavesAb.Construction.Schemes.representedFppfAb S G hc ≅ F) |
| 132 | |
| 133 | /-- Finite locally free representability is invariant under sheaf isomorphism. -/ |
| 134 | theorem SheafCharacterComparison.Construction.Schemes.FiniteLocallyFreeFppfAb.of_iso {S : Scheme.{u}} {F K : CommutativeSheavesAb.Construction.Schemes.FppfAb S} |
| 135 | (h : SheafCharacterComparison.Construction.Schemes.FiniteLocallyFreeFppfAb S F) (e : F ≅ K) : SheafCharacterComparison.Construction.Schemes.FiniteLocallyFreeFppfAb S K := by |
| 136 | obtain ⟨G, hc, hf, hflat, hfp, ⟨a⟩⟩ := h |
| 137 | exact ⟨G, hc, hf, hflat, hfp, ⟨a ≪≫ e⟩⟩ |
| 138 | |
| 139 | /-- Native finite locally free character representability yields the |
| 140 | corresponding representability conclusion for the actual sheaf Cartier dual. -/ |
| 141 | theorem GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation.sheafDual_finiteLocallyFree |
| 142 | {S : Scheme.{u}} {G : Grp (Over S)} [IsCommMonObj G.X] |
| 143 | (D : GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation S G) : |
| 144 | SheafCharacterComparison.Construction.Schemes.FiniteLocallyFreeFppfAb S (CommutativeSheavesAb.Construction.Schemes.cartierDualSheaf (CommutativeSheavesAb.Construction.Schemes.representedFppfAb S G)) := |
| 145 | ⟨D.dual, D.commutative, D.finite, D.flat, D.finitelyPresented, ⟨D.representedCartierDualIso⟩⟩ |
| 146 | |
| 147 | end |
| 148 | |
| 149 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality |