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.HodgeConjecture.HeckeCycles.Intrinsic.KernelChoice |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ElementaryModules |
| 3 | |
| 4 | /-! # Kernel Tuples -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.KernelTuples.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The independent rank-three chosen kernels are exactly the tuple of |
| 11 | native projector-supported parameters. The equivalence preserves each |
| 12 | original subgroup on every test scheme. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | open OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ElementaryModules.Construction |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.KernelChoice.CM |
| 18 | |
| 19 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 20 | [Field K] [NumberField K] {κ : K →+* ℂ} {q : ℕ} [Fact q.Prime] |
| 21 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (iota : E →+* K) (hsplit : j.HasSplitCoordinates iota) |
| 22 | {S : Scheme} {g N s : ℕ} (F : AbelianScheme.TateComparison.PEL.PELFamilyData (NumberField.RingOfIntegers E) g N S) |
| 23 | {F0 : Type} [Field F0] [CharZero F0] (base : S ⟶ Spec (.of F0)) (n : ℕ) (labels : Fin s → Gal(E/ℚ)) |
| 24 | (exps : Fin s → Fin 3 → ℕ) |
| 25 | [∀ v, Module (ZMod (q ^ n)) (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (exps v))] |
| 26 | |
| 27 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 28 | |
| 29 | def elementaryTypeEquiv (q : ℕ) (a : Fin 3 → ℕ) : |
| 30 | Multiplicative (∀ i : Fin 3, ZMod (q ^ a i)) ≃* |
| 31 | Multiplicative (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q a) := |
| 32 | (AddEquiv.ulift : AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q a ≃+ (∀ i : Fin 3, ZMod (q ^ a i))).symm.toMultiplicative |
| 33 | |
| 34 | def blockChoice (H : AbelianScheme.TateComparison.Subgroups.KernelChoices F (fun v => j.localCharacter iota (labels v)) n exps) (v : Fin s) : |
| 35 | KernelChoice.CM.BlockChoice j iota F n (labels v) (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (exps v)) := |
| 36 | ⟨H.val v, (H.property v).1, (H.property v).2.1, fun k _ _ b => |
| 37 | ((H.property v).2.2 k b).map (fun e => e.trans (elementaryTypeEquiv q (exps v)))⟩ |
| 38 | |
| 39 | def tupleEquiv : AbelianScheme.TateComparison.Subgroups.KernelChoices F (fun v => j.localCharacter iota (labels v)) n exps ≃ |
| 40 | ∀ v : Fin s, AbelianScheme.IsogenyQuotient.SubgroupFunctor.Construction.SupportedChoice F.abelian.scheme (q ^ n) |
| 41 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (exps v)) |
| 42 | (KernelChoice.CM.projector j iota hsplit F n (labels v)) (Over.mk (𝟙 S)) where |
| 43 | toFun H v := KernelChoice.CM.choiceEquiv j iota hsplit F n (labels v) |
| 44 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (exps v)) base (blockChoice j iota F n labels exps H v) |
| 45 | invFun H := ⟨fun v => ((KernelChoice.CM.choiceEquiv j iota hsplit F n (labels v) |
| 46 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (exps v)) base).symm (H v)).val, |
| 47 | fun v => by |
| 48 | let J := (KernelChoice.CM.choiceEquiv j iota hsplit F n (labels v) |
| 49 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (exps v)) base).symm (H v) |
| 50 | exact ⟨J.property.1, J.property.2.1, fun k _ _ b => |
| 51 | (J.property.2.2 k b).map (fun e => e.trans (elementaryTypeEquiv q (exps v)).symm)⟩⟩ |
| 52 | left_inv H := by |
| 53 | apply Subtype.ext |
| 54 | funext v |
| 55 | exact congrArg Subtype.val ((KernelChoice.CM.choiceEquiv j iota hsplit F n (labels v) |
| 56 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (exps v)) base).symm_apply_apply |
| 57 | (blockChoice j iota F n labels exps H v)) |
| 58 | right_inv H := by |
| 59 | funext v |
| 60 | exact (KernelChoice.CM.choiceEquiv j iota hsplit F n (labels v) |
| 61 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (exps v)) base).apply_symm_apply (H v) |
| 62 | |
| 63 | theorem tupleEquiv_membership |
| 64 | (H : AbelianScheme.TateComparison.Subgroups.KernelChoices F (fun v => j.localCharacter iota (labels v)) n exps) |
| 65 | (v : Fin s) (T : Over S) (x : T ⟶ F.abelian.scheme) : |
| 66 | x ∈ (tupleEquiv j iota hsplit F base n labels exps H v).val.subgroup.points T (AbelianScheme.TateComparison.RelativePointSubgroups.testToBase T) ↔ |
| 67 | x ∈ (H.val v).atTest T := Iff.rfl |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.KernelTuples.CM |