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.BranchKernels |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.KernelChoiceIso |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.UniqueFiberTransport |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.IsogenyQuotient.FineKernelData |
| 5 | |
| 6 | /-! # Unique Kernels -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.UniqueKernels.CM |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original fine-model kernel classification transfers to the |
| 13 | identical retained generic model through its actual branch equivalence. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.IsogenyQuotient.FineKernelData |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.KernelAtLiftEquality.CM.Restricted |
| 19 | |
| 20 | variable {E K K' : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 21 | [Field K] [NumberField K] [Field K'] |
| 22 | {s N q : ℕ} [Fact q.Prime] {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} {iota : E →+* K} |
| 23 | (M : AbelianModuli.ReferenceFamily.Models.FinePELModel P iota N) (p : Spec (.of K') ⟶ Spec (.of K)) |
| 24 | {X : Over (Spec (.of K'))} [IsReduced X.left] [IsLocallyNoetherian X.left] |
| 25 | (e : X ≅ (Over.pullback p).obj (PELModuli.IntegralModel.Reduction.reduction M.space)) |
| 26 | (A : AbelianScheme.TateComparison.PEL.PELFamilyData (NumberField.RingOfIntegers E) (3 * s) N X.left) |
| 27 | (eA : AbelianScheme.TateComparison.PELModuli.PELFamilyIso A ((CMExtraction.IsogenyQuotient.FineKernelData.fineFamily M).pullback (CMExtraction.ReducedCorrespondenceSquares.IsogenyQuotient.originalSpaceMap p M.space e))) |
| 28 | (C : AbelianScheme.TateComparison.Correspondences.EtaleCorrespondence M.space) (t : AbelianScheme.TateComparison.Local.IntegralType s) |
| 29 | (χ : Fin s × Bool → NumberField.RingOfIntegers E →+* ℤ_[q]) |
| 30 | (f : CMExtraction.IsogenyQuotient.FineKernelData.UniversalIsogeny (q := q) M C t) |
| 31 | (hf : CMExtraction.IsogenyQuotient.FineKernelData.ClassifiesChosenKernels M C t χ f) |
| 32 | |
| 33 | include hf in |
| 34 | theorem at_test (T : Over (Spec (.of K'))) (x : T ⟶ X) |
| 35 | (H : AbelianScheme.TateComparison.Subgroups.KernelChoices (A.pullback x.left) (fun v => χ (v, false)) t.multiplierNat t.exponentNat) : |
| 36 | ∃! c : T ⟶ (CMExtraction.ReducedCorrespondence.IsogenyQuotient.modelCorrespondence p M.space e C).cover, |
| 37 | ∃ w : c ≫ (CMExtraction.ReducedCorrespondence.IsogenyQuotient.modelCorrespondence p M.space e C).source = x, |
| 38 | ∀ v, KernelAtLiftEquality.CM.Restricted.atLift A (CMExtraction.ReducedCorrespondence.IsogenyQuotient.modelCorrespondence p M.space e C).source.left |
| 39 | (BranchKernels.CM.kernel p M.space e (CMExtraction.IsogenyQuotient.FineKernelData.fineFamily M) A eA C f |
| 40 | (χ (v, false)) t.multiplierNat) |
| 41 | x.left c.left (congrArg (fun z => z.left) w) = H.val v := by |
| 42 | let ex := PELRestrictionNaturality.CM.atPoint A (CMExtraction.IsogenyQuotient.FineKernelData.fineFamily M) |
| 43 | (CMExtraction.ReducedCorrespondenceSquares.IsogenyQuotient.originalSpaceMap p M.space e) eA x.left |
| 44 | let x₀ := ReducedReferencePoint.CM.Reference.point p M.space e x |
| 45 | let be := ReducedReferencePoint.CM.Reference.branchEquiv p M.space e x C |
| 46 | let H₀ : CMExtraction.IsogenyQuotient.FineKernelData.chosenKernels M t χ x₀ := |
| 47 | KernelChoiceIso.CM.equivalence ex (fun v => χ (v, false)) t.multiplierNat t.exponentNat H |
| 48 | let original := fun b : C.Fiber x₀ => fun v => CMExtraction.IsogenyQuotient.FineKernelData.chosenKernelAtLift M C t χ f x₀ b.val b.property v |
| 49 | let retained := fun c : (CMExtraction.ReducedCorrespondence.IsogenyQuotient.modelCorrespondence p M.space e C).Fiber x => fun v => |
| 50 | KernelAtLiftEquality.CM.Restricted.atLift A (CMExtraction.ReducedCorrespondence.IsogenyQuotient.modelCorrespondence p M.space e C).source.left |
| 51 | (BranchKernels.CM.kernel p M.space e (CMExtraction.IsogenyQuotient.FineKernelData.fineFamily M) A eA C f |
| 52 | (χ (v, false)) t.multiplierNat) x.left c.val.left (congrArg (fun z => z.left) c.property) |
| 53 | let tr := fun J : Fin s → AbelianScheme.TateComparison.Subgroups.PointSubgroup |
| 54 | ((CMExtraction.IsogenyQuotient.FineKernelData.fineFamily M).pullback (x.left ≫ CMExtraction.ReducedCorrespondenceSquares.IsogenyQuotient.originalSpaceMap p M.space e)).abelian => |
| 55 | fun v => (J v).comapHom ex.abelian.hom |
| 56 | have ht : Function.Injective tr := by |
| 57 | intro J L hJL |
| 58 | funext v |
| 59 | exact KernelAtLiftEquality.CM.comap_injective ex.abelian (congrFun hJL v) |
| 60 | have hbranch : ∀ c, retained c = tr (original (be c)) := by |
| 61 | intro c |
| 62 | funext v |
| 63 | exact BranchKernels.CM.at_branch p M.space e (CMExtraction.IsogenyQuotient.FineKernelData.fineFamily M) A eA C f |
| 64 | (χ (v, false)) t.multiplierNat x c |
| 65 | have htarget : tr H₀.val = H.val := |
| 66 | congrArg Subtype.val |
| 67 | (KernelChoiceIso.CM.comap_inverse ex (fun v => χ (v, false)) t.multiplierNat t.exponentNat H) |
| 68 | have hu : ∃! b : C.Fiber x₀, original b = H₀.val := by |
| 69 | obtain ⟨b, ⟨hb, hk⟩, hu⟩ := hf.2 (Over.mk (T.hom ≫ p)) x₀ H₀ |
| 70 | refine ⟨⟨b, hb⟩, funext hk, ?_⟩ |
| 71 | intro c hc |
| 72 | exact Subtype.ext (hu c.val ⟨c.property, fun v => congrFun hc v⟩) |
| 73 | obtain ⟨c, hc, hu⟩ := UniqueFiberTransport.CM.of_equivalence be retained original tr ht hbranch H₀.val hu |
| 74 | refine ⟨c.val, ⟨c.property, fun v => (congrFun hc v).trans (congrFun htarget v)⟩, ?_⟩ |
| 75 | rintro d ⟨hd, hk⟩ |
| 76 | have hd' : retained ⟨d, hd⟩ = tr H₀.val := (funext hk).trans htarget.symm |
| 77 | exact congrArg Subtype.val (hu ⟨d, hd⟩ hd') |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.UniqueKernels.CM |