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.Isogenies.NeighborCounting.PairingPullbackRestriction |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Intrinsic.TorsionPairingBaseChange |
| 3 | |
| 4 | /-! # Torsion Pairing Pullback Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.TorsionPairingPullbackRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual torsion base-change isomorphism identifies the pulled-back |
| 11 | original block pairing with restriction of the changed-source pairing. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Intrinsic.TorsionPairingBaseChange.Construction OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PairingPullbackRestriction |
| 17 | attribute [local instance] AbelianScheme.IsogenyQuotient.PairingBaseChange.Construction.pulledbackGroup_commutative AbelianScheme.IsogenyQuotient.Intrinsic.TorsionBaseChange.Construction.nativeTorsionPullback_commutative |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {S T : Scheme.{u}} (f : T ⟶ S) (G : Grp (Over S)) [IsCommMonObj G.X] |
| 22 | (n : ℕ) (K : Grp (Over S)) (a : K ⟶ AbelianScheme.IsogenyQuotient.Torsion.SheafComparison.Construction.kernelTorsionGroup G n) |
| 23 | |
| 24 | def torsionPairingBaseChangeMap : |
| 25 | (Over.pullback f).mapGrp.obj K ⟶ AbelianScheme.IsogenyQuotient.Torsion.SheafComparison.Construction.kernelTorsionGroup ((Over.pullback f).mapGrp.obj G) n := |
| 26 | (Over.pullback f).mapGrp.map a ≫ (AbelianScheme.IsogenyQuotient.Intrinsic.TorsionBaseChange.Construction.nativeTorsionBaseChangeGroupIso f G n).hom |
| 27 | |
| 28 | theorem torsionPairingBaseChangeMap_inverse : |
| 29 | (torsionPairingBaseChangeMap f G n K a).hom.hom ≫ |
| 30 | (AbelianScheme.IsogenyQuotient.Intrinsic.TorsionBaseChange.Construction.nativeTorsionBaseChangeGroupIso f G n).inv.hom.hom = |
| 31 | ((Over.pullback f).mapGrp.map a).hom.hom := |
| 32 | congrArg (fun z => z.hom.hom) |
| 33 | ((Category.assoc _ _ _).trans |
| 34 | ((congrArg (fun z => (Over.pullback f).mapGrp.map a ≫ z) |
| 35 | (AbelianScheme.IsogenyQuotient.Intrinsic.TorsionBaseChange.Construction.nativeTorsionBaseChangeGroupIso f G n).hom_inv_id).trans (Category.comp_id _))) |
| 36 | |
| 37 | variable (H : Grp (Over S)) [IsCommMonObj H.X] (L : Grp (Over S)) |
| 38 | [IsCommMonObj K.X] [IsCommMonObj L.X] (b : L ⟶ AbelianScheme.IsogenyQuotient.Torsion.SheafComparison.Construction.kernelTorsionGroup H n) |
| 39 | (e : AbelianScheme.IsogenyQuotient.Annihilator.Construction.SchemeBicharacter (A := (AbelianScheme.IsogenyQuotient.Torsion.SheafComparison.Construction.kernelTorsionGroup G n).X) (B := (AbelianScheme.IsogenyQuotient.Torsion.SheafComparison.Construction.kernelTorsionGroup H n).X) |
| 40 | (W := (AbelianScheme.CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X)) |
| 41 | |
| 42 | theorem torsionPairingPullback_restrict : |
| 43 | (AbelianScheme.IsogenyQuotient.Intrinsic.TorsionPairingBaseChange.Construction.nativeTorsionPairingPullback f G H n e).restrict |
| 44 | (torsionPairingBaseChangeMap f G n K a).hom.hom |
| 45 | (torsionPairingBaseChangeMap f H n L b).hom.hom = |
| 46 | AbelianScheme.IsogenyQuotient.PairingBaseChange.Construction.nativePairingPullback f K L (e.restrict a.hom.hom b.hom.hom) := by |
| 47 | apply AbelianScheme.IsogenyQuotient.Annihilator.Construction.SchemeBicharacter.eq_of_pairValue_eq |
| 48 | intro Q x y |
| 49 | let ep := AbelianScheme.IsogenyQuotient.PairingBaseChange.Construction.nativePairingPullback f (AbelianScheme.IsogenyQuotient.Torsion.SheafComparison.Construction.kernelTorsionGroup G n) (AbelianScheme.IsogenyQuotient.Torsion.SheafComparison.Construction.kernelTorsionGroup H n) e |
| 50 | have hx : (x ≫ (torsionPairingBaseChangeMap f G n K a).hom.hom) ≫ |
| 51 | (AbelianScheme.IsogenyQuotient.Intrinsic.TorsionBaseChange.Construction.nativeTorsionBaseChangeGroupIso f G n).inv.hom.hom = |
| 52 | x ≫ ((Over.pullback f).mapGrp.map a).hom.hom := |
| 53 | (Category.assoc _ _ _).trans |
| 54 | (congrArg (fun z => x ≫ z) (torsionPairingBaseChangeMap_inverse f G n K a)) |
| 55 | have hy : (y ≫ (torsionPairingBaseChangeMap f H n L b).hom.hom) ≫ |
| 56 | (AbelianScheme.IsogenyQuotient.Intrinsic.TorsionBaseChange.Construction.nativeTorsionBaseChangeGroupIso f H n).inv.hom.hom = |
| 57 | y ≫ ((Over.pullback f).mapGrp.map b).hom.hom := |
| 58 | (Category.assoc _ _ _).trans |
| 59 | (congrArg (fun z => y ≫ z) (torsionPairingBaseChangeMap_inverse f H n L b)) |
| 60 | have hp := congrArg (fun p => p.pairValue x y) |
| 61 | (PairingPullbackRestriction.pairingPullback_restrict f (AbelianScheme.IsogenyQuotient.Torsion.SheafComparison.Construction.kernelTorsionGroup G n) (AbelianScheme.IsogenyQuotient.Torsion.SheafComparison.Construction.kernelTorsionGroup H n) K L a b e) |
| 62 | exact (AbelianScheme.IsogenyQuotient.Annihilator.Construction.SchemeBicharacter.restrict_pairValue _ _ _ x y).trans |
| 63 | ((AbelianScheme.IsogenyQuotient.Annihilator.Construction.SchemeBicharacter.restrict_pairValue ep _ _ _ _).trans |
| 64 | ((congrArg₂ ep.pairValue hx hy).trans |
| 65 | ((AbelianScheme.IsogenyQuotient.Annihilator.Construction.SchemeBicharacter.restrict_pairValue ep _ _ x y).symm.trans hp.symm))) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.TorsionPairingPullbackRestriction |