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.PolarizedCartierAdapter |
| 2 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.DualityPairing |
| 3 | |
| 4 | /-! # CM Points Duality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CMPointsDuality.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Adapter for the native PolarizationDuality clause of the verified CMPoints |
| 12 | statement. The clause is |
| 13 | an explicit conditional input, not an invocation of its unproved theorem. |
| 14 | The induced pairing retains the given polarization and all test schemes. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | |
| 20 | variable {S : Scheme} |
| 21 | |
| 22 | def l45CharactersIso {F G : (Over S)ᵒᵖ ⥤ GrpCat} (e : F ≅ G) : |
| 23 | PELModuli.CMPoints.DualityPairing.cartierCharacters F ≅ PELModuli.CMPoints.DualityPairing.cartierCharacters G where |
| 24 | hom := PELModuli.CMPoints.DualityPairing.restrictCharacters e.inv |
| 25 | inv := PELModuli.CMPoints.DualityPairing.restrictCharacters e.hom |
| 26 | hom_inv_id := by |
| 27 | ext T χ |
| 28 | dsimp only [PELModuli.CMPoints.DualityPairing.restrictCharacters, PELModuli.CMPoints.DualityPairing.cartierCharacters, presheafHom] at * |
| 29 | ext U x |
| 30 | change χ.app U (e.inv.app _ (e.hom.app _ x)) = χ.app U x |
| 31 | exact congrArg (fun z => χ.app U z) |
| 32 | (congrArg (fun f => (f.app _ ) x) e.hom_inv_id) |
| 33 | inv_hom_id := by |
| 34 | ext T χ |
| 35 | dsimp only [PELModuli.CMPoints.DualityPairing.restrictCharacters, PELModuli.CMPoints.DualityPairing.cartierCharacters, presheafHom] at * |
| 36 | ext U x |
| 37 | change χ.app U (e.hom.app _ (e.inv.app _ x)) = χ.app U x |
| 38 | exact congrArg (fun z => χ.app U z) |
| 39 | (congrArg (fun f => (f.app _ ) x) e.inv_hom_id) |
| 40 | |
| 41 | def groupULiftYonedaIso (G : Grp (Over S)) : |
| 42 | uliftYoneda.obj G.X ≅ yonedaGrp.obj G ⋙ forget GrpCat ⋙ uliftFunctor.{1, 0} := |
| 43 | NatIso.ofComponents (fun _ => Iso.refl _) (fun _ => rfl) |
| 44 | |
| 45 | variable {k : Type} [Field k] {g N q : ℕ} {δ : Fin g → ℕ} [Fact q.Prime] |
| 46 | variable {O : Type} [CommRing O] |
| 47 | variable (PEL : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of k))) |
| 48 | variable (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction O PEL.abelian) |
| 49 | variable (χ χc : O →+* PadicInt q) |
| 50 | variable (hdual : PELModuli.CMPoints.DualityPairing.PolarizationDuality PEL ρ χ χc) (n : ℕ) |
| 51 | variable (B H : Grp (Over (Spec (.of k)))) |
| 52 | variable (eB : yonedaGrp.obj B ≅ PELModuli.CMPoints.BlocksProjectors.blockFunctor PEL.abelian ρ χ n) |
| 53 | variable (eH : yonedaGrp.obj H ≅ PELModuli.CMPoints.BlocksProjectors.blockFunctor PEL.abelian ρ χc n) |
| 54 | |
| 55 | include hdual eB eH in |
| 56 | /-- The source duality yields a perfect character pairing on the actual |
| 57 | represented block schemes. Its multiplication law follows from the |
| 58 | bilinearity clause for the specified source polarization. -/ |
| 59 | theorem exists_l45_sourcePairing : |
| 60 | ∃ e : (BaseChange.Construction.fppfPoints (Spec (.of k))).obj H.X ≅ CartierDuality.CharacterSheaf.Construction.Schemes.characterSheaf (Spec (.of k)) B, |
| 61 | ∀ (T : Over (Spec (.of k))) (a b : T ⟶ H.X), |
| 62 | e.hom.hom.app (op T) (ULift.up (a * b)) = |
| 63 | e.hom.hom.app (op T) (ULift.up a) * e.hom.hom.app (op T) (ULift.up b) := by |
| 64 | obtain ⟨ea, hm, _, hi⟩ := hdual n |
| 65 | let α := Functor.whiskerRight |
| 66 | (PELModuli.CMPoints.BlocksProjectors.blockInclusion PEL.abelian ρ χc n ≫ PELModuli.CMPoints.DualityPairing.polarizationOnTorsion PEL (q ^ n)) |
| 67 | (forget GrpCat ⋙ uliftFunctor.{1, 0}) ≫ ea.hom ≫ |
| 68 | PELModuli.CMPoints.DualityPairing.restrictCharacters (PELModuli.CMPoints.BlocksProjectors.blockInclusion PEL.abelian ρ χ n) |
| 69 | have : IsIso α := hi |
| 70 | let eb := l45CharactersIso eB |
| 71 | let β : ((BaseChange.Construction.fppfPoints (Spec (.of k))).obj H.X).obj ⟶ |
| 72 | (CartierDuality.CharacterSheaf.Construction.Schemes.characterSheaf (Spec (.of k)) B).obj := |
| 73 | (groupULiftYonedaIso H).hom ≫ |
| 74 | (Functor.isoWhiskerRight eH (forget GrpCat ⋙ uliftFunctor.{1, 0})).hom ≫ α ≫ eb.inv |
| 75 | have : IsIso β := inferInstanceAs (IsIso |
| 76 | ((groupULiftYonedaIso H).hom ≫ |
| 77 | (Functor.isoWhiskerRight eH (forget GrpCat ⋙ uliftFunctor.{1, 0})).hom ≫ α ≫ eb.inv)) |
| 78 | let e : (BaseChange.Construction.fppfPoints (Spec (.of k))).obj H.X ≅ |
| 79 | CartierDuality.CharacterSheaf.Construction.Schemes.characterSheaf (Spec (.of k)) B := |
| 80 | { hom := ⟨β⟩ |
| 81 | inv := ⟨inv β⟩ |
| 82 | hom_inv_id := by apply Sheaf.hom_ext; exact IsIso.hom_inv_id β |
| 83 | inv_hom_id := by apply Sheaf.hom_ext; exact IsIso.inv_hom_id β } |
| 84 | refine ⟨e, ?_⟩ |
| 85 | intro T a b |
| 86 | change (β.app (op T) (ULift.up (a * b)) : CharacterGroups.Construction.CharacterSections B T) = |
| 87 | (β.app (op T) (ULift.up a) : CharacterGroups.Construction.CharacterSections B T) * |
| 88 | (β.app (op T) (ULift.up b) : CharacterGroups.Construction.CharacterSections B T) |
| 89 | apply NatTrans.ext |
| 90 | funext U |
| 91 | apply GrpCat.hom_ext |
| 92 | apply MonoidHom.ext |
| 93 | intro x |
| 94 | let t : yonedaGrp.obj H ⟶ PEL.dual.abelian.torsionFunctor (q ^ n) := |
| 95 | eH.hom ≫ PELModuli.CMPoints.BlocksProjectors.blockInclusion PEL.abelian ρ χc n ≫ PELModuli.CMPoints.DualityPairing.polarizationOnTorsion PEL (q ^ n) |
| 96 | let y := (PELModuli.CMPoints.BlocksProjectors.blockInclusion PEL.abelian ρ χ n).app (op U.unop.left) |
| 97 | (eB.hom.app (op U.unop.left) x) |
| 98 | change ((ea.hom.app (op T) (ULift.up (t.app (op T) (a * b)))).app U) y = |
| 99 | ((ea.hom.app (op T) (ULift.up (t.app (op T) a))).app U) y * |
| 100 | ((ea.hom.app (op T) (ULift.up (t.app (op T) b))).app U) y |
| 101 | exact (congrArg (fun z => ((ea.hom.app (op T) (ULift.up z)).app U) y) |
| 102 | ((t.app (op T)).hom.map_mul a b)).trans (hm T _ _ U.unop y) |
| 103 | |
| 104 | variable (P : CartierModel.Construction.CartierCoordinates (.of k) B) |
| 105 | |
| 106 | /-- The pairing field required by the native block kernel is constructed |
| 107 | from CMPoints's actual polarized torsion duality. -/ |
| 108 | def l45PolarizedCartierGroupIso : H ≅ P.dualGroup := by |
| 109 | let e := Classical.choose (exists_l45_sourcePairing PEL ρ χ χc hdual n B H eB eH) |
| 110 | have hm := Classical.choose_spec (exists_l45_sourcePairing PEL ρ χ χc hdual n B H eB eH) |
| 111 | exact P.sourcePairingGroupIso e hm |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CMPointsDuality.Construction |