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.CanonicalSheafBlockPairing |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.RepresentedIntrinsicIso |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.SheafPairingValues |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CartierIntrinsicRepresentation |
| 5 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CMPointsSplittingPoints |
| 6 | |
| 7 | /-! # Canonical Block Components -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CanonicalBlockComponents.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | section |
| 14 | |
| 15 | /-! The canonical block pairing determines the actual native opposite |
| 16 | Cartier isomorphism, retaining the original kernel-prescription values. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | open scoped _root_.CategoryTheory.MonObj |
| 20 | |
| 21 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] [NumberField.IsCMField E] |
| 22 | variable [Field K] [NumberField K] {κ : K →+* ℂ} {q : ℕ} [Fact q.Prime] |
| 23 | variable (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (iota : E →+* K) (hsplit : j.HasSplitCoordinates iota) |
| 24 | variable {k : Type} [Field k] [IsAlgClosed k] {g N : ℕ} {δ : Fin g → ℕ} |
| 25 | variable (A : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of k))) |
| 26 | variable (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) A.abelian) |
| 27 | variable (n : ℕ) (τ : Gal(E/ℚ)) |
| 28 | |
| 29 | local instance canonicalChosenBlock_comm (υ : Gal(E/ℚ)) : |
| 30 | IsCommMonObj (CMPointsAt.Construction.l45ChosenBlock j iota hsplit A ρ υ n).X := |
| 31 | (PELModuli.CMPoints.BlocksProjectors.splitBlockGroupScheme j iota hsplit A.abelian ρ n υ).comm |
| 32 | |
| 33 | def canonicalOriginalBlockPoint (T : Over (Spec (.of k))) |
| 34 | (x : T ⟶ (CMPointsAt.Construction.l45ChosenBlock j iota hsplit A ρ τ n).X) : |
| 35 | (A.abelian.torsionFunctor (q ^ n)).obj (.op T) := |
| 36 | (PELModuli.CMPoints.BlocksProjectors.blockInclusion A.abelian ρ (j.localCharacter iota τ) n).app (.op T) |
| 37 | ((CMPointsBlockRepresentation.Construction.l45BlockYonedaIso j iota hsplit A.abelian ρ n τ).hom.app (.op T) x) |
| 38 | |
| 39 | variable (hρ : AbelianModuli.ReferenceFamily.ActionData.RosatiConjugation A ρ) (hgood : q.Coprime (∏ i, δ i)) |
| 40 | variable (C : CartierModel.Construction.CartierCoordinates (.of k) (CMPointsAt.Construction.l45ChosenBlock j iota hsplit A ρ τ n)) |
| 41 | |
| 42 | local instance : IsCommMonObj C.dualGroup.X := C.dualGroup_commutative |
| 43 | |
| 44 | def canonicalSheafCartierGroupIso : |
| 45 | CMPointsAt.Construction.l45ChosenBlock j iota hsplit A ρ (PELModuli.CMPoints.Arithmetic.rationalConjugation E * τ) n ≅ C.dualGroup := by |
| 46 | let b := CanonicalSheafBlockPairing.Construction.canonicalSheafBlockPairing j iota hsplit A ρ n τ |
| 47 | have h := CanonicalSheafBlockPairing.Construction.canonicalSheafBlockPairing_isPerfect j iota hsplit A ρ n τ hρ hgood |
| 48 | let e := @asIso _ _ _ _ b.rightAdjoint h.2 |
| 49 | exact RepresentedIntrinsicIso.Construction.representedNativeGroupIso _ _ (e ≪≫ C.representedCartierDualIso.symm) |
| 50 | |
| 51 | theorem canonicalSheafCartierGroupIso_character : |
| 52 | CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap (canonicalSheafCartierGroupIso j iota hsplit A ρ n τ hρ hgood C).hom ≫ |
| 53 | C.representedCartierDualIso.hom = (CanonicalSheafBlockPairing.Construction.canonicalSheafBlockPairing j iota hsplit A ρ n τ).rightAdjoint := by |
| 54 | let b := CanonicalSheafBlockPairing.Construction.canonicalSheafBlockPairing j iota hsplit A ρ n τ |
| 55 | have hb := CanonicalSheafBlockPairing.Construction.canonicalSheafBlockPairing_isPerfect j iota hsplit A ρ n τ hρ hgood |
| 56 | let e := @asIso _ _ _ _ b.rightAdjoint hb.2 |
| 57 | have h := RepresentedIntrinsicIso.Construction.representedNativeGroupIso_hom _ _ (e ≪≫ C.representedCartierDualIso.symm) |
| 58 | exact (congrArg (fun f => f ≫ C.representedCartierDualIso.hom) h).trans |
| 59 | ((Category.assoc e.hom C.representedCartierDualIso.inv C.representedCartierDualIso.hom).trans |
| 60 | ((congrArg (fun f => e.hom ≫ f) C.representedCartierDualIso.inv_hom_id).trans |
| 61 | (Category.comp_id e.hom))) |
| 62 | |
| 63 | omit hρ hgood C in |
| 64 | theorem canonicalSheafBlockPairing_value (T : Over (Spec (.of k))) |
| 65 | (x : T ⟶ (CMPointsAt.Construction.l45ChosenBlock j iota hsplit A ρ τ n).X) |
| 66 | (y : T ⟶ (CMPointsAt.Construction.l45ChosenBlock j iota hsplit A ρ (PELModuli.CMPoints.Arithmetic.rationalConjugation E * τ) n).X) : |
| 67 | CartierDuality.SheafEvaluation.Construction.Schemes.sheafCharacterValue (CanonicalSheafBlockRetraction.Construction.canonicalBlockSheaf j iota hsplit A.abelian ρ n τ) T |
| 68 | ((CanonicalSheafBlockPairing.Construction.canonicalSheafBlockPairing j iota hsplit A ρ n τ).rightAdjoint.hom.app (.op T) (ULift.up y)) (ULift.up x) = |
| 69 | CartierDuality.SheafEvaluation.Construction.Schemes.sheafCharacterValue (CartierDuality.PolarizedTorsion.AbelianScheme.torsionSheaf (HomomorphismsPolarizationAdapter.Construction.e57AbelianOfBundled A.abelian) (q ^ n)) T |
| 70 | ((CartierDualityCanonical.Construction.e56SourceTorsionPairing A (q ^ n) (pow_pos (Fact.out : q.Prime).pos n)).rightAdjoint.hom.app (.op T) |
| 71 | (Prescription.Construction.originalTorsionSheafPoint A.abelian (q ^ n) T |
| 72 | ((PELModuli.CMPoints.BlocksProjectors.blockInclusion A.abelian ρ (j.localCharacter iota (PELModuli.CMPoints.Arithmetic.rationalConjugation E * τ)) n).app (.op T) |
| 73 | ((CMPointsBlockRepresentation.Construction.l45BlockYonedaIso j iota hsplit A.abelian ρ n (PELModuli.CMPoints.Arithmetic.rationalConjugation E * τ)).hom.app (.op T) y)))) |
| 74 | (Prescription.Construction.originalTorsionSheafPoint A.abelian (q ^ n) T |
| 75 | ((PELModuli.CMPoints.BlocksProjectors.blockInclusion A.abelian ρ (j.localCharacter iota τ) n).app (.op T) |
| 76 | ((CMPointsBlockRepresentation.Construction.l45BlockYonedaIso j iota hsplit A.abelian ρ n τ).hom.app (.op T) x))) := by |
| 77 | let e := CartierDualityCanonical.Construction.e56SourceTorsionPairing A (q ^ n) (pow_pos (Fact.out : q.Prime).pos n) |
| 78 | exact (SheafPairingValues.Construction.sheafPairing_restrict_value e |
| 79 | (CanonicalSheafBlockRetraction.Construction.canonicalBlockSheafInclusion j iota hsplit A.abelian ρ n τ) |
| 80 | (CanonicalSheafBlockRetraction.Construction.canonicalBlockSheafInclusion j iota hsplit A.abelian ρ n (PELModuli.CMPoints.Arithmetic.rationalConjugation E * τ)) T |
| 81 | (ULift.up x) (ULift.up y)).trans |
| 82 | (congrArg₂ (fun x y => CartierDuality.SheafEvaluation.Construction.Schemes.sheafCharacterValue |
| 83 | (CartierDuality.PolarizedTorsion.AbelianScheme.torsionSheaf (HomomorphismsPolarizationAdapter.Construction.e57AbelianOfBundled A.abelian) (q ^ n)) T |
| 84 | (e.rightAdjoint.hom.app (.op T) y) x) |
| 85 | (CanonicalSheafBlockPoints.Construction.canonicalBlockSheafInclusion_value j iota hsplit A.abelian ρ n τ T x) |
| 86 | (CanonicalSheafBlockPoints.Construction.canonicalBlockSheafInclusion_value j iota hsplit A.abelian ρ n (PELModuli.CMPoints.Arithmetic.rationalConjugation E * τ) T y)) |
| 87 | |
| 88 | theorem canonicalSheafCartierGroupIso_orthogonal (T : Over (Spec (.of k))) |
| 89 | (x : T ⟶ (CMPointsAt.Construction.l45ChosenBlock j iota hsplit A ρ τ n).X) |
| 90 | (y : T ⟶ (CMPointsAt.Construction.l45ChosenBlock j iota hsplit A ρ (PELModuli.CMPoints.Arithmetic.rationalConjugation E * τ) n).X) : |
| 91 | ((C.pointsEquiv T (y ≫ (canonicalSheafCartierGroupIso j iota hsplit A ρ n τ hρ hgood C).hom.hom.hom)).app |
| 92 | (.op (Over.mk (𝟙 T)))) x = 1 ↔ |
| 93 | Prescription.Construction.canonicalTorsionOrthogonal A (q ^ n) (pow_pos (Fact.out : q.Prime).pos n) T |
| 94 | (canonicalOriginalBlockPoint j iota hsplit A ρ n τ T x) |
| 95 | (canonicalOriginalBlockPoint j iota hsplit A ρ n (PELModuli.CMPoints.Arithmetic.rationalConjugation E * τ) T y) := by |
| 96 | have he := congrArg (fun f => f.hom.app (.op T) (ULift.up y)) |
| 97 | (canonicalSheafCartierGroupIso_character j iota hsplit A ρ n τ hρ hgood C) |
| 98 | have hc := C.representedCartierDualIso_value T |
| 99 | (y ≫ (canonicalSheafCartierGroupIso j iota hsplit A ρ n τ hρ hgood C).hom.hom.hom) x |
| 100 | have hval := hc.symm.trans ((congrArg (fun z => |
| 101 | CartierDuality.SheafEvaluation.Construction.Schemes.sheafCharacterValue (CanonicalSheafBlockRetraction.Construction.canonicalBlockSheaf j iota hsplit A.abelian ρ n τ) T z (ULift.up x)) he).trans |
| 102 | (canonicalSheafBlockPairing_value j iota hsplit A ρ n τ T x y)) |
| 103 | constructor |
| 104 | · intro h |
| 105 | exact hval.symm.trans (congrArg ULift.up h) |
| 106 | · intro h |
| 107 | apply ULift.up_injective |
| 108 | exact hval.trans h |
| 109 | |
| 110 | end |
| 111 | |
| 112 | /-! Native block coordinates are the exact original projector components, |
| 113 | including under every test-scheme restriction. -/ |
| 114 | |
| 115 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 116 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 117 | open scoped _root_.CategoryTheory.MonObj |
| 118 | |
| 119 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 120 | variable [Field K] [NumberField K] {κ : K →+* ℂ} {q : ℕ} [Fact q.Prime] |
| 121 | variable (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (iota : E →+* K) (hsplit : j.HasSplitCoordinates iota) |
| 122 | variable {k : Type} [Field k] {g N : ℕ} {δ : Fin g → ℕ} |
| 123 | variable (A : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of k))) |
| 124 | variable (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) A.abelian) |
| 125 | variable (n : ℕ) (τ : Gal(E/ℚ)) |
| 126 | |
| 127 | theorem canonicalOriginalBlockPoint_injective (T : Over (Spec (.of k))) : |
| 128 | Function.Injective (canonicalOriginalBlockPoint j iota hsplit A ρ n τ T) := by |
| 129 | intro x y h |
| 130 | apply ((CMPointsBlockRepresentation.Construction.l45BlockYonedaIso j iota hsplit A.abelian ρ n τ).app (.op T)).groupIsoToMulEquiv.injective |
| 131 | apply Subtype.ext |
| 132 | exact congrArg (fun z : A.abelian.torsionPoints (q ^ n) T => z.val) h |
| 133 | |
| 134 | theorem canonicalOriginalBlockPoint_natural {T U : Over (Spec (.of k))} (t : U ⟶ T) |
| 135 | (y : T ⟶ (CMPointsAt.Construction.l45ChosenBlock j iota hsplit A ρ τ n).X) : |
| 136 | (A.abelian.torsionFunctor (q ^ n)).map t.op (canonicalOriginalBlockPoint j iota hsplit A ρ n τ T y) = |
| 137 | canonicalOriginalBlockPoint j iota hsplit A ρ n τ U (t ≫ y) := by |
| 138 | apply Subtype.ext |
| 139 | exact (Category.assoc t y |
| 140 | (PELModuli.CMPoints.BlocksProjectors.idempotentBlockInclusion A.abelian ρ (q ^ n) (j.projector iota hsplit n τ))).symm |
| 141 | |
| 142 | theorem prescribedBlockComponent_natural {T U : Over (Spec (.of k))} (t : U ⟶ T) |
| 143 | (x : (A.abelian.torsionFunctor (q ^ n)).obj (.op T)) : |
| 144 | (A.abelian.torsionFunctor (q ^ n)).map t.op (Prescription.Construction.prescribedBlockComponent j iota hsplit A ρ n τ T x) = |
| 145 | Prescription.Construction.prescribedBlockComponent j iota hsplit A ρ n τ U ((A.abelian.torsionFunctor (q ^ n)).map t.op x) := by |
| 146 | apply Subtype.ext |
| 147 | exact (Category.assoc t x.val (ρ.map (j.projector iota hsplit n τ))).symm |
| 148 | |
| 149 | variable (s : ℕ) (labels : (Fin s × Bool) ≃ Gal(E/ℚ)) |
| 150 | |
| 151 | omit τ in |
| 152 | theorem canonicalFullBlockComponent_false (T : Over (Spec (.of k))) |
| 153 | (b : T ⟶ (BlockProducts.Construction.groupBlockProduct s (CMPointsSplitting.Construction.l45PairedBlockFamily j iota hsplit A.abelian ρ n s labels)).X) |
| 154 | (v : Fin s) : |
| 155 | canonicalOriginalBlockPoint j iota hsplit A ρ n (labels (v, false)) T |
| 156 | (ProductPoints.Construction.groupBlockProductPointsEquiv s (CMPointsSplitting.Construction.l45PairedBlockFamily j iota hsplit A.abelian ρ n s labels) T b v ≫ fst _ _) = |
| 157 | Prescription.Construction.prescribedBlockComponent j iota hsplit A ρ n (labels (v, false)) T |
| 158 | (CMPointsSplitting.Construction.l45FullBlockPointsEquiv j iota hsplit A.abelian ρ n s labels T b) := by |
| 159 | have h₁ := CMPointsSplitting.Construction.l45FullBlockCharacters_false j iota hsplit A.abelian ρ n s labels T b v |
| 160 | have h₂ := congrFun (CMPointsSplitting.Construction.l45FullBlockPointsEquiv_blocks j iota hsplit A.abelian ρ n s labels T b) |
| 161 | (labels (v, false)) |
| 162 | exact congrArg (fun z => (PELModuli.CMPoints.BlocksProjectors.blockInclusion A.abelian ρ |
| 163 | (j.localCharacter iota (labels (v, false))) n).app (.op T) z) (h₁.symm.trans h₂.symm) |
| 164 | |
| 165 | omit τ in |
| 166 | theorem canonicalFullBlockComponent_true (T : Over (Spec (.of k))) |
| 167 | (b : T ⟶ (BlockProducts.Construction.groupBlockProduct s (CMPointsSplitting.Construction.l45PairedBlockFamily j iota hsplit A.abelian ρ n s labels)).X) |
| 168 | (v : Fin s) : |
| 169 | canonicalOriginalBlockPoint j iota hsplit A ρ n (labels (v, true)) T |
| 170 | (ProductPoints.Construction.groupBlockProductPointsEquiv s (CMPointsSplitting.Construction.l45PairedBlockFamily j iota hsplit A.abelian ρ n s labels) T b v ≫ snd _ _) = |
| 171 | Prescription.Construction.prescribedBlockComponent j iota hsplit A ρ n (labels (v, true)) T |
| 172 | (CMPointsSplitting.Construction.l45FullBlockPointsEquiv j iota hsplit A.abelian ρ n s labels T b) := by |
| 173 | have h₁ := CMPointsSplitting.Construction.l45FullBlockCharacters_true j iota hsplit A.abelian ρ n s labels T b v |
| 174 | have h₂ := congrFun (CMPointsSplitting.Construction.l45FullBlockPointsEquiv_blocks j iota hsplit A.abelian ρ n s labels T b) |
| 175 | (labels (v, true)) |
| 176 | exact congrArg (fun z => (PELModuli.CMPoints.BlocksProjectors.blockInclusion A.abelian ρ |
| 177 | (j.localCharacter iota (labels (v, true))) n).app (.op T) z) (h₁.symm.trans h₂.symm) |
| 178 | |
| 179 | end |
| 180 | |
| 181 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CanonicalBlockComponents.Construction |