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.CharacterLineBaseChange |
| 2 | |
| 3 | /-! # Kernel Character Squares -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.KernelCharacterSquares |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Kernel characters and their actual descended line bundles are |
| 10 | functorial under commuting squares of group covers. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.KernelLinearization |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterLineBaseChange.Construction.KernelCharacters |
| 17 | |
| 18 | universe u |
| 19 | variable {S : Scheme.{u}} {A B A' B' : Over S} |
| 20 | [GrpObj A] [GrpObj B] [GrpObj A'] [GrpObj B'] |
| 21 | (f : A ⟶ B) (f' : A' ⟶ B') [IsMonHom f] [IsMonHom f'] |
| 22 | (s : B' ⟶ B) (t : A' ⟶ A) [IsMonHom s] [IsMonHom t] |
| 23 | (w : t ≫ f = f' ≫ s) |
| 24 | |
| 25 | def kernelSquareMap : Picard.Homomorphisms.Kernel.Construction.kernelScheme f' ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f := |
| 26 | Picard.Homomorphisms.FrobeniusKernelBaseChange.Construction.kernelLift f (Picard.Homomorphisms.Kernel.Construction.kernelInclusion f' ≫ t) (by |
| 27 | rw [Category.assoc, w, ← Category.assoc, Picard.Homomorphisms.KernelGroup.Construction.kernelInclusion_comp, MonObj.one_comp]) |
| 28 | |
| 29 | omit [GrpObj A] [GrpObj A'] [IsMonHom f] [IsMonHom f'] [IsMonHom t] in |
| 30 | theorem kernelSquareMap_inclusion : |
| 31 | kernelSquareMap f f' s t w ≫ Picard.Homomorphisms.Kernel.Construction.kernelInclusion f = Picard.Homomorphisms.Kernel.Construction.kernelInclusion f' ≫ t := |
| 32 | Picard.Homomorphisms.FrobeniusKernelBaseChange.Construction.kernelLift_inclusion _ _ _ |
| 33 | |
| 34 | instance kernelSquareMap_isMonHom : IsMonHom (kernelSquareMap f f' s t w) := by |
| 35 | have : Mono (Picard.Homomorphisms.Kernel.Construction.kernelInclusion f) := inferInstanceAs (Mono (equalizer.ι f 1)) |
| 36 | have : IsMonHom (kernelSquareMap f f' s t w ≫ Picard.Homomorphisms.Kernel.Construction.kernelInclusion f) := by |
| 37 | rw [kernelSquareMap_inclusion] |
| 38 | infer_instance |
| 39 | exact Picard.PoincareBundle.Kernel.Splitting.isMonHom_of_mono_postcomp _ (Picard.Homomorphisms.Kernel.Construction.kernelInclusion f) |
| 40 | |
| 41 | theorem kernelSquareMap_difference {T : Over S} (x y : T ⟶ A') |
| 42 | (h : x ≫ f' = y ≫ f') : |
| 43 | CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.kernelDifference f' x y h ≫ kernelSquareMap f f' s t w = |
| 44 | CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.kernelDifference f (x ≫ t) (y ≫ t) |
| 45 | (by rw [Category.assoc, w, ← Category.assoc, h, Category.assoc, ← w, ← Category.assoc]) := by |
| 46 | have : Mono (Picard.Homomorphisms.Kernel.Construction.kernelInclusion f) := inferInstanceAs (Mono (equalizer.ι f 1)) |
| 47 | apply (cancel_mono (Picard.Homomorphisms.Kernel.Construction.kernelInclusion f)).mp |
| 48 | rw [Category.assoc, kernelSquareMap_inclusion, ← Category.assoc, |
| 49 | CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.kernelDifference_inclusion, CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.kernelDifference_inclusion, MonObj.mul_comp, GrpObj.inv_comp] |
| 50 | |
| 51 | variable (χ : ∀ T : Over S, (T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) →* Γ(T.left, ⊤)ˣ) |
| 52 | (hχ : ∀ {T U : Over S} (a : U ⟶ T) (x : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f), |
| 53 | Units.map a.left.appTop.hom (χ T x) = χ U (a ≫ x)) |
| 54 | |
| 55 | def squareKernelCharacter (T : Over S) : (T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f') →* Γ(T.left, ⊤)ˣ := |
| 56 | (χ T).comp (IsMonHom.monoidHom (kernelSquareMap f f' s t w) T) |
| 57 | |
| 58 | include hχ in |
| 59 | theorem squareKernelCharacter_natural {T U : Over S} (a : U ⟶ T) |
| 60 | (x : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f') : |
| 61 | Units.map a.left.appTop.hom (squareKernelCharacter f f' s t w χ T x) = |
| 62 | squareKernelCharacter f f' s t w χ U (a ≫ x) := |
| 63 | (hχ a (x ≫ kernelSquareMap f f' s t w)).trans |
| 64 | (congrArg (χ U) (Category.assoc a x (kernelSquareMap f f' s t w)).symm) |
| 65 | |
| 66 | include hχ in |
| 67 | theorem differenceScalar_square {T : Scheme.{u}} |
| 68 | (z : T ⟶ B'.left) (x y : T ⟶ A'.left) |
| 69 | (hx : x ≫ f'.left = z) (hy : y ≫ f'.left = z) : |
| 70 | CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.differenceScalar f' (squareKernelCharacter f f' s t w χ) z x y hx hy = |
| 71 | CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.differenceScalar f χ (z ≫ s.left) (x ≫ t.left) (y ≫ t.left) |
| 72 | (by rw [Category.assoc, ← Over.comp_left, w, Over.comp_left, ← Category.assoc, hx]) |
| 73 | (by rw [Category.assoc, ← Over.comp_left, w, Over.comp_left, ← Category.assoc, hy]) := by |
| 74 | let U := Over.mk (z ≫ B'.hom) |
| 75 | let px : U ⟶ A' := CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.coverPoint f' z x hx |
| 76 | let py : U ⟶ A' := CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.coverPoint f' z y hy |
| 77 | have hd : px ≫ f' = py ≫ f' := |
| 78 | (CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.coverPoint_comp f' z x hx).trans (CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.coverPoint_comp f' z y hy).symm |
| 79 | have hpx : px.left ≫ f'.left = z := hx |
| 80 | have hpy : py.left ≫ f'.left = z := hy |
| 81 | have hnew := CartierDuality.CharacterTranslations.Construction.KernelCharacters.differenceScalar_over f' (squareKernelCharacter f f' s t w χ) |
| 82 | (squareKernelCharacter_natural f f' s t w χ hχ) (T := U) z px py hpx hpy |
| 83 | have htx : (px ≫ t).left ≫ f.left = z ≫ s.left := by |
| 84 | change (x ≫ t.left) ≫ f.left = _ |
| 85 | rw [Category.assoc, ← Over.comp_left, w, Over.comp_left, ← Category.assoc, hx] |
| 86 | have hty : (py ≫ t).left ≫ f.left = z ≫ s.left := by |
| 87 | change (y ≫ t.left) ≫ f.left = _ |
| 88 | rw [Category.assoc, ← Over.comp_left, w, Over.comp_left, ← Category.assoc, hy] |
| 89 | have hold := CartierDuality.CharacterTranslations.Construction.KernelCharacters.differenceScalar_over f χ hχ (T := U) (z ≫ s.left) (px ≫ t) (py ≫ t) htx hty |
| 90 | exact hnew.trans ((congrArg (fun a => (χ U a).val) |
| 91 | (kernelSquareMap_difference f f' s t w px py hd)).trans hold.symm) |
| 92 | |
| 93 | def characterLineDatum_squareIso : |
| 94 | (Picard.Homomorphisms.ModuleHomBaseChange.Construction.descentSquareFunctor f.left f'.left s.left t.left (congrArg Over.Hom.left w)).obj |
| 95 | (CartierDuality.AffineIntrinsicLineDescent.Construction.LineDescent.nativeToDescentData (CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.characterLineDatum f χ hχ)) ≅ |
| 96 | CartierDuality.AffineIntrinsicLineDescent.Construction.LineDescent.nativeToDescentData |
| 97 | (CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.characterLineDatum f' (squareKernelCharacter f f' s t w χ) |
| 98 | (squareKernelCharacter_natural f f' s t w χ hχ)) := by |
| 99 | apply CartierDuality.ScalarDescentSymmetry.Construction.LineDescent.nativeDatumIso_of_framedScalars _ _ _ |
| 100 | (Picard.Homomorphisms.FramedDescentScalars.Construction.pulledModuleFrame (Iso.refl (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.left)) t.left) |
| 101 | (Iso.refl (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A'.left)) |
| 102 | intro T z x y hx hy |
| 103 | have hs := CartierDuality.FramedBaseChange.Construction.LineDescent.framedDescentScalar_square f.left f'.left s.left t.left |
| 104 | (congrArg Over.Hom.left w) (CartierDuality.AffineIntrinsicLineDescent.Construction.LineDescent.nativeToDescentData (CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.characterLineDatum f χ hχ)) |
| 105 | (Iso.refl (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.left)) z x y hx hy |
| 106 | have hold := CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.characterLineDatum_scalar f χ hχ (z ≫ s.left) (x ≫ t.left) (y ≫ t.left) |
| 107 | (by rw [Category.assoc, ← Over.comp_left, w, Over.comp_left, ← Category.assoc, hx]) |
| 108 | (by rw [Category.assoc, ← Over.comp_left, w, Over.comp_left, ← Category.assoc, hy]) |
| 109 | have hnew := CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.characterLineDatum_scalar f' (squareKernelCharacter f f' s t w χ) |
| 110 | (squareKernelCharacter_natural f f' s t w χ hχ) z x y hx hy |
| 111 | exact hs.trans (hold.trans ((differenceScalar_square f f' s t w χ hχ z x y hx hy).symm.trans hnew.symm)) |
| 112 | |
| 113 | variable [IsAffineHom f.left] [Flat f.left] [Surjective f.left] |
| 114 | [IsAffineHom f'.left] [Flat f'.left] [Surjective f'.left] |
| 115 | |
| 116 | theorem characterDescendedLine_square : |
| 117 | Nonempty ((Scheme.Modules.pullback s.left).obj (CartierDuality.EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLine f χ hχ).sheaf ≅ |
| 118 | (CartierDuality.EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLine f' (squareKernelCharacter f f' s t w χ) |
| 119 | (squareKernelCharacter_natural f f' s t w χ hχ)).sheaf) := |
| 120 | CartierDuality.CharacterLineBaseChange.Construction.LineDescent.recoveredLine_square_iso f.left f'.left s.left t.left (congrArg Over.Hom.left w) |
| 121 | (CartierDuality.EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLine f χ hχ) |
| 122 | (CartierDuality.EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLine f' (squareKernelCharacter f f' s t w χ) |
| 123 | (squareKernelCharacter_natural f f' s t w χ hχ)) |
| 124 | (CartierDuality.AffineIntrinsicLineDescent.Construction.LineDescent.nativeToDescentData (CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.characterLineDatum f χ hχ)) |
| 125 | (CartierDuality.AffineIntrinsicLineDescent.Construction.LineDescent.nativeToDescentData (CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.characterLineDatum f' (squareKernelCharacter f f' s t w χ) |
| 126 | (squareKernelCharacter_natural f f' s t w χ hχ))) |
| 127 | (CartierDuality.OrdinaryGlobalLineDescent.Construction.LineDescent.nativeDescendedLineRecoveryIso f.left (CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.characterLineDatum f χ hχ) |
| 128 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial A.left).locallyTrivial) |
| 129 | (CartierDuality.OrdinaryGlobalLineDescent.Construction.LineDescent.nativeDescendedLineRecoveryIso f'.left |
| 130 | (CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.characterLineDatum f' (squareKernelCharacter f f' s t w χ) |
| 131 | (squareKernelCharacter_natural f f' s t w χ hχ)) (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial A'.left).locallyTrivial) |
| 132 | (characterLineDatum_squareIso f f' s t w χ hχ) |
| 133 | |
| 134 | end |
| 135 | |
| 136 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.KernelCharacterSquares |