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.ChosenKernelLattices |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.GeometricSplitFrame |
| 3 | |
| 4 | /-! # Chosen Kernel Targets -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ChosenKernelTargets.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The full PEL target of a fixed-multiplier isogeny is determined by |
| 11 | its chosen kernels. The opposite lattices follow from the actual |
| 12 | polarization, and the moduli-point equality follows from full PEL |
| 13 | quotient uniqueness. The source frame is constructed from its geometry. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 19 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 20 | (D : AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData E K s q) (hg : D.IsGoodCompletelySplitPrime) |
| 21 | (hgeometry : D.HasIntegralModelGeometry) {k : Type} [Field k] [IsAlgClosed k] |
| 22 | {b : Spec (.of k) ⟶ Spec (.of K)} {m : ℕ} |
| 23 | (x y z : D.GeometricPoint b) |
| 24 | (e : AbelianScheme.TateComparison.PELIsogenies.PELIsogeny (D.fiberFamily b x) (D.fiberFamily b y) (q ^ m)) |
| 25 | (f : AbelianScheme.TateComparison.PELIsogenies.PELIsogeny (D.fiberFamily b x) (D.fiberFamily b z) (q ^ m)) |
| 26 | (hker : ∀ v : Fin s, |
| 27 | (AbelianScheme.TateComparison.Subgroups.PointSubgroup.kernel e.isogeny.hom).inf |
| 28 | (AbelianScheme.TateComparison.Subgroups.splitBlock (D.fiberFamily b x) (D.localCharacter (v, false)) m) = |
| 29 | (AbelianScheme.TateComparison.Subgroups.PointSubgroup.kernel f.isogeny.hom).inf |
| 30 | (AbelianScheme.TateComparison.Subgroups.splitBlock (D.fiberFamily b x) (D.localCharacter (v, false)) m)) |
| 31 | |
| 32 | include hg hgeometry hker in |
| 33 | theorem chosen_lattices_eq (frame : D.FiberFrame b x) |
| 34 | (hf : AbelianScheme.TateComparison.Rational.IsSplitActionFrame (D.fiberFamily b x) (Over.mk (𝟙 (Spec (.of k)))) q D.localCharacter frame) |
| 35 | (v : Fin s) : AbelianScheme.TateComparison.Rational.framedTateLattice frame e.isogeny.hom (v, false) = |
| 36 | AbelianScheme.TateComparison.Rational.framedTateLattice frame f.isogeny.hom (v, false) := by |
| 37 | apply ChosenKernelLattices.CM.lattice_eq_of_block_kernel D hg e f frame hf |
| 38 | D.reference.polarizationType (D.fiberPolarizationType hgeometry b x) hg.2.2.2.2 |
| 39 | intro w |
| 40 | let t := D.evaluateBlock hg (Over.mk (𝟙 (Spec (.of k)))) (D.fiberFamily b x) m (v, false) w |
| 41 | have hb := (D.torsionBlock_mem_iff hg (Over.mk (𝟙 (Spec (.of k)))) |
| 42 | (D.fiberFamily b x) m (v, false) t.val).mp t.property |
| 43 | have he := congrArg (fun H : AbelianScheme.TateComparison.Subgroups.PointSubgroup (D.fiberFamily b x).abelian => |
| 44 | (w.val.val m).val.toMul ∈ H.atTest (Over.mk (𝟙 (Spec (.of k))))) (hker v) |
| 45 | exact (and_iff_left hb).symm.trans ((iff_of_eq he).trans (and_iff_left hb)) |
| 46 | |
| 47 | include hg hgeometry hker in |
| 48 | theorem target_eq_in_frame (frame : D.FiberFrame b x) |
| 49 | (hf : AbelianScheme.TateComparison.Rational.IsSplitActionFrame (D.fiberFamily b x) (Over.mk (𝟙 (Spec (.of k)))) q D.localCharacter frame) : |
| 50 | y = z := by |
| 51 | let : CharZero k := AbelianScheme.TateComparison.FiberLattices.charZero_of_field_spec_map b |
| 52 | have hc := chosen_lattices_eq D hg hgeometry x y z e f hker frame hf |
| 53 | apply D.geometricTarget_eq_of_preimage_eq hg hgeometry x y z e f |
| 54 | apply D.preimage_eq_of_framedTateLattice_eq hg e frame hf D.reference.polarizationType |
| 55 | (D.fiberPolarizationType hgeometry b x) hg.2.2.2.2 f |
| 56 | rintro ⟨v, side⟩ |
| 57 | cases side |
| 58 | · exact hc v |
| 59 | · rw [D.geometricIsogeny_opposite_lattice hg hgeometry frame hf e, |
| 60 | D.geometricIsogeny_opposite_lattice hg hgeometry frame hf f, hc v] |
| 61 | |
| 62 | include hg hgeometry hker in |
| 63 | theorem target_eq (hdegree : Module.finrank ℚ E = 2 * s) (hs : 0 < s) : y = z := |
| 64 | target_eq_in_frame D hg hgeometry x y z e f hker |
| 65 | (D.geometricSplitFrame hg hdegree hs hgeometry b x) |
| 66 | (D.geometricSplitFrame_equivariant hg hdegree hs hgeometry b x) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ChosenKernelTargets.CM |