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.IsogenyQuotient.Intrinsic.BlockPairingBaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Parameter.KernelProducts |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ChoiceKernel |
| 4 | |
| 5 | /-! # Kernel Parameter Base Change -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.KernelParameterBaseChange.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The whole chosen-plus-opposite kernel commutes with actual parameter |
| 12 | pullback. The local choices and pairings are constructed from the originals. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | |
| 17 | attribute [local instance] PairingBaseChange.Construction.pulledbackGroup_commutative |
| 18 | |
| 19 | variable {S : Scheme.{0}} {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (P : Over S) |
| 20 | (n s : ℕ) (M : Fin s → Type) [∀ i, AddCommGroup (M i)] |
| 21 | [∀ i, Module (ZMod n) (M i)] [∀ i, Finite (M i)] |
| 22 | (p q : Fin s → (A.scheme ⟶ A.scheme)) [∀ i, IsMonHom (p i)] [∀ i, IsMonHom (q i)] |
| 23 | (e : ∀ i, Annihilator.Construction.SchemeBicharacter (A := OppositeKernel.Construction.torsionBlock n (p i)) (B := OppositeKernel.Construction.torsionBlock n (q i)) |
| 24 | (W := (CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X)) |
| 25 | (U : ∀ i, SubgroupFunctor.Construction.SupportedChoice A.scheme n (M i) (p i) P) |
| 26 | |
| 27 | def blockChoicesOverParameter : |
| 28 | ∀ i, SubgroupFunctor.Construction.SupportedChoice (A.pullback P.hom).scheme n (M i) ((Over.pullback P.hom).map (p i)) |
| 29 | (Over.mk (𝟙 P.left)) := fun i => Parameter.SubgroupChoice.Construction.supportedChoiceOverParameter A P n (M i) (p i) (U i) |
| 30 | |
| 31 | set_option backward.isDefEq.respectTransparency false in |
| 32 | theorem choiceKernelFactor_parameterBaseChange (i : ChoiceKernel.Construction.KernelIndex s) : |
| 33 | Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter (Grp.mk A.scheme) P (ChoiceKernel.Construction.choiceKernelFactor n s M p q e U i) = |
| 34 | ChoiceKernel.Construction.choiceKernelFactor n s M (fun j => (Over.pullback P.hom).map (p j)) |
| 35 | (fun j => (Over.pullback P.hom).map (q j)) |
| 36 | (fun j => Intrinsic.BlockPairingBaseChange.Construction.nativeBlockPairingPullback A (p j) (q j) n P.hom (e j)) |
| 37 | (blockChoicesOverParameter A P n s M p U) i := by |
| 38 | cases i with |
| 39 | | inl i => rfl |
| 40 | | inr i => exact Intrinsic.BlockPairingBaseChange.Construction.oppositeKernel_parameterBaseChange A (p i) (q i) n P (e i) (U i).val.subgroup |
| 41 | |
| 42 | set_option backward.isDefEq.respectTransparency false in |
| 43 | theorem choiceFullKernel_parameterBaseChange : |
| 44 | Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter (Grp.mk A.scheme) P (ChoiceKernel.Construction.choiceFullKernel n s M p q e U) = |
| 45 | ChoiceKernel.Construction.choiceFullKernel n s M (fun j => (Over.pullback P.hom).map (p j)) |
| 46 | (fun j => (Over.pullback P.hom).map (q j)) |
| 47 | (fun j => Intrinsic.BlockPairingBaseChange.Construction.nativeBlockPairingPullback A (p j) (q j) n P.hom (e j)) |
| 48 | (blockChoicesOverParameter A P n s M p U) := by |
| 49 | unfold ChoiceKernel.Construction.choiceFullKernel |
| 50 | rw [Parameter.KernelProducts.Construction.relativeSubgroupOverParameter_tuple] |
| 51 | congr 1 |
| 52 | funext j |
| 53 | exact choiceKernelFactor_parameterBaseChange A P n s M p q e U _ |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.KernelParameterBaseChange.Construction |