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.MultiplicativeAnnihilator |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.SupportedBlockChoices |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ChoiceKernel |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Torsion.Construction |
| 5 | |
| 6 | /-! # Multiplicative Choice Kernel -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.MultiplicativeChoiceKernel.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | Actual G_m-valued torsion pairings take values in the common native |
| 14 | root-of-unity scheme. Changing to that target leaves the original |
| 15 | chosen/opposite kernel unchanged and constructs its finite subgroup model. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable {S : Scheme.{u}} {A P : Over S} [GrpObj A] [IsCommMonObj A] |
| 24 | (n s : ℕ) (p r : Fin s → (A ⟶ A)) [∀ i, IsMonHom (p i)] [∀ i, IsMonHom (r i)] |
| 25 | (e : ∀ i, Annihilator.Construction.SchemeBicharacter (A := OppositeKernel.Construction.torsionBlock n (p i)) (B := OppositeKernel.Construction.torsionBlock n (r i)) |
| 26 | (W := (CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X)) |
| 27 | |
| 28 | def blockPairingsToRoots : ∀ i, Annihilator.Construction.SchemeBicharacter |
| 29 | (A := OppositeKernel.Construction.torsionBlock n (p i)) (B := OppositeKernel.Construction.torsionBlock n (r i)) (W := Multiplicative.Construction.rootsOfUnityScheme S n) := |
| 30 | fun i => (e i).torsionTarget n (SupportedBlockChoices.Construction.torsionBlock_identity_killed n (p i)) |
| 31 | |
| 32 | theorem oppositeKernel_roots_target (i : Fin s) (F : TorsionQuotient.SubgroupFunctor.RelativeSubgroup A P) : |
| 33 | OppositeKernel.Construction.oppositeKernel n (p i) (r i) (blockPairingsToRoots n s p r e i) F = |
| 34 | OppositeKernel.Construction.oppositeKernel n (p i) (r i) (e i) F := |
| 35 | congrArg (SubgroupTransport.Construction.relativeSubgroupImage (OppositeKernel.Construction.torsionBlockInclusion n (r i))) |
| 36 | ((e i).torsionTarget_relativeAnnihilator n (SupportedBlockChoices.Construction.torsionBlock_identity_killed n (p i)) |
| 37 | (SubgroupTransport.Construction.relativeSubgroupPullback (OppositeKernel.Construction.torsionBlockInclusion n (p i)) F)) |
| 38 | |
| 39 | variable (M : Fin s → Type u) [∀ i, AddCommGroup (M i)] |
| 40 | [∀ i, Module (ZMod n) (M i)] [∀ i, Finite (M i)] |
| 41 | (U : ∀ i, SubgroupFunctor.Construction.SupportedChoice A n (M i) (p i) P) |
| 42 | |
| 43 | theorem choiceFullKernel_roots_target : |
| 44 | ChoiceKernel.Construction.choiceFullKernel n s M p r (blockPairingsToRoots n s p r e) U = ChoiceKernel.Construction.choiceFullKernel n s M p r e U := by |
| 45 | have hf (i : ChoiceKernel.Construction.KernelIndex s) : ChoiceKernel.Construction.choiceKernelFactor n s M p r (blockPairingsToRoots n s p r e) U i = |
| 46 | ChoiceKernel.Construction.choiceKernelFactor n s M p r e U i := by |
| 47 | cases i with |
| 48 | | inl i => rfl |
| 49 | | inr i => exact oppositeKernel_roots_target n s p r e i (U i).val.subgroup |
| 50 | exact congrArg (Kernel.Tuples.Construction.tupleKernel (Fintype.card (ChoiceKernel.Construction.KernelIndex s))) |
| 51 | (funext (fun k => hf ((Fintype.equivFin (ChoiceKernel.Construction.KernelIndex s)).symm k))) |
| 52 | |
| 53 | def multiplicativeChoiceFullKernel_model |
| 54 | {K : Type u} [Field K] [CharZero K] (base : S ⟶ Spec (.of K)) (hn : 0 < n) |
| 55 | [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 56 | (hsep : ∀ i j : ChoiceKernel.Construction.KernelIndex s, i ≠ j → |
| 57 | Torsion.Groups.Construction.nativeTorsionMap n (ChoiceKernel.Construction.choiceKernelProjector s p r j) ≫ |
| 58 | Torsion.Groups.Construction.nativeTorsionMap n (ChoiceKernel.Construction.choiceKernelProjector s p r i) = 1) : |
| 59 | (ChoiceKernel.Construction.choiceFullKernel n s M p r e U).Model := by |
| 60 | let : Etale (Multiplicative.Construction.rootsOfUnityScheme S n).hom := Multiplicative.Construction.rootsOfUnityScheme_etale S n |
| 61 | (Unit.Construction.positive_integer_unit_on_characteristic_zero_base base n hn) |
| 62 | let : IsSeparated (Multiplicative.Construction.rootsOfUnityScheme S n).hom := Multiplicative.Construction.rootsOfUnityScheme_separated S n |
| 63 | let R := ChoiceKernel.Construction.choiceFullKernel_model n s M p r (blockPairingsToRoots n s p r e) U hsep |
| 64 | (Kernel.Assembly.Construction.torsion_finite_etale_from_TorsionQuotient (A := A) base n hn Torsion.Construction.verified_TorsionQuotientInput) |
| 65 | exact choiceFullKernel_roots_target n s p r e M U ▸ R |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.MultiplicativeChoiceKernel.Construction |