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.TateComparison.GeometricWeilBalance |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.GeometricWeilPreimages |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.SelfDualBlockLattices |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.FlagComposites |
| 5 | |
| 6 | /-! # Geometric Opposite Lattices -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Each actual composite's opposite lattice is the dual of its |
| 13 | chosen lattice scaled by the inverse cumulative multiplier. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj Pointwise |
| 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 : Data.SphericalPELAlbaneseData E K s q) (hg : D.IsGoodCompletelySplitPrime) |
| 21 | (hgeometry : D.HasIntegralModelGeometry) {k : Type} [Field k] [CharZero k] [IsAlgClosed k] |
| 22 | {b : Spec (.of k) ⟶ Spec (.of K)} {x y : D.GeometricPoint b} |
| 23 | (frame : D.FiberFrame b x) |
| 24 | (hf : Rational.IsSplitActionFrame (D.fiberFamily b x) (Over.mk (𝟙 (Spec (.of k)))) q D.localCharacter frame) |
| 25 | |
| 26 | include hf in |
| 27 | theorem Data.SphericalPELAlbaneseData.geometricIsogeny_opposite_lattice {m : ℕ} |
| 28 | (e : PELIsogenies.PELIsogeny (D.fiberFamily b x) (D.fiberFamily b y) (q ^ m)) (v : Fin s) : |
| 29 | Rational.framedTateLattice frame e.isogeny.hom (v, true) = |
| 30 | ((HeckeKernel.qUnit q) ^ m)⁻¹ • |
| 31 | (D.framedOppositePairing (D.fiberFamily b x) _ frame |
| 32 | (D.geometricRationalWeilPairing hg hgeometry b x) v).dualSubmodule |
| 33 | (Rational.framedTateLattice frame e.isogeny.hom (v, false)) := by |
| 34 | have hs : (((HeckeKernel.qUnit q) ^ m : ℚ_[q]ˣ) : ℚ_[q]) = (q : ℚ_[q]) ^ m := by |
| 35 | rw [Units.val_pow_eq_pow_val] |
| 36 | rfl |
| 37 | have hL : ((((HeckeKernel.qUnit q) ^ m : ℚ_[q]ˣ) : ℚ_[q]) • |
| 38 | LinearMap.BilinForm.congr frame (D.geometricRationalWeilPairing hg hgeometry b x)).dualSubmodule |
| 39 | (Submodule.pi Set.univ (Rational.framedTateLattice frame e.isogeny.hom)) = |
| 40 | Submodule.pi Set.univ (Rational.framedTateLattice frame e.isogeny.hom) := by |
| 41 | rw [hs] |
| 42 | exact D.geometricWeilFramedPreimage_self_dual hg hgeometry e frame hf |
| 43 | exact SelfDualBlockLattices.oppositeBlockLattice_of_scaled_self_dual |
| 44 | (LinearMap.BilinForm.congr frame (D.geometricRationalWeilPairing hg hgeometry b x)) |
| 45 | Data.SphericalPELAlbaneseData.oppositeBlock Data.SphericalPELAlbaneseData.oppositeBlock_involutive.injective |
| 46 | (D.geometricWeilFrame_orthogonal hg hgeometry b x frame hf) |
| 47 | ((HeckeKernel.qUnit q) ^ m) (Rational.framedTateLattice frame e.isogeny.hom) hL (v, false) |
| 48 | |
| 49 | include hf in |
| 50 | theorem Data.SphericalPELAlbaneseData.geometricComposite_opposite_lattice {ts : List (Local.IntegralType s)} |
| 51 | {F : D.PELFlag b x ts} (p : D.CompositeSystem F) (j : Fin (ts.length + 1)) (v : Fin s) : |
| 52 | D.compositeLattice frame p j (v, true) = |
| 53 | (HeckeKernel.qUnit q) ^ (-(Local.cumulativeMultiplier ts j)) • |
| 54 | (D.framedOppositePairing (D.fiberFamily b x) _ frame |
| 55 | (D.geometricRationalWeilPairing hg hgeometry b x) v).dualSubmodule |
| 56 | (D.compositeLattice frame p j (v, false)) := by |
| 57 | have hm : ((HeckeKernel.qUnit q) ^ Data.SphericalPELAlbaneseData.flagMultiplier ts j)⁻¹ = (HeckeKernel.qUnit q) ^ (-(Local.cumulativeMultiplier ts j)) := by |
| 58 | rw [zpow_neg, ← zpow_natCast, Int.toNat_of_nonneg (FlagComposites.cumulativeMultiplier_nonneg ts j)] |
| 59 | exact (D.geometricIsogeny_opposite_lattice hg hgeometry frame hf (p j) v).trans |
| 60 | (congrArg (fun z => z • |
| 61 | (D.framedOppositePairing (D.fiberFamily b x) _ frame |
| 62 | (D.geometricRationalWeilPairing hg hgeometry b x) v).dualSubmodule |
| 63 | (D.compositeLattice frame p j (v, false))) hm) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison |