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.GeometricOppositeLattices |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.GeometricTargetDetermination |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.ConcreteChosenFlags |
| 4 | |
| 5 | /-! # Geometric Lattice Targets -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! At a fixed multiplier, the actual chosen Tate lattices determine |
| 12 | the geometric target of any PEL isogeny. This defines the endpoint map |
| 13 | used to transfer local convolution counts to geometric neighbors. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj Classical |
| 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 : 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 | omit [CharZero k] in |
| 27 | def Data.SphericalPELAlbaneseData.IsLatticeTarget (m : ℕ) (L : Fin s → Duality.RankThreeLattice ℤ_[q] ℚ_[q]) (y : D.GeometricPoint b) : Prop := |
| 28 | ∃ e : PELIsogenies.PELIsogeny (D.fiberFamily b x) (D.fiberFamily b y) (q ^ m), |
| 29 | ∀ v, Rational.framedTateLattice frame e.isogeny.hom (v, false) = (L v).val |
| 30 | |
| 31 | include hg hgeometry hf in |
| 32 | theorem Data.SphericalPELAlbaneseData.geometricLatticeTarget_unique (m : ℕ) (L : Fin s → Duality.RankThreeLattice ℤ_[q] ℚ_[q]) |
| 33 | (y z : D.GeometricPoint b) (hy : D.IsLatticeTarget x frame m L y) (hz : D.IsLatticeTarget x frame m L z) : y = z := by |
| 34 | obtain ⟨e, he⟩ := hy |
| 35 | obtain ⟨f, hf'⟩ := hz |
| 36 | apply D.geometricTarget_eq_of_preimage_eq hg hgeometry x y z e f |
| 37 | apply D.preimage_eq_of_framedTateLattice_eq hg e frame hf D.reference.polarizationType |
| 38 | (D.fiberPolarizationType hgeometry b x) hg.2.2.2.2 f |
| 39 | rintro ⟨v, side⟩ |
| 40 | cases side |
| 41 | · exact (he v).trans (hf' v).symm |
| 42 | · rw [D.geometricIsogeny_opposite_lattice hg hgeometry frame hf e, |
| 43 | D.geometricIsogeny_opposite_lattice hg hgeometry frame hf f, he, hf'] |
| 44 | |
| 45 | omit [CharZero k] in |
| 46 | def Data.SphericalPELAlbaneseData.geometricLatticeTarget (m : ℕ) (L : Fin s → Duality.RankThreeLattice ℤ_[q] ℚ_[q]) : D.GeometricPoint b := |
| 47 | if h : ∃ y, D.IsLatticeTarget x frame m L y then h.choose else x |
| 48 | |
| 49 | include hg hgeometry hf in |
| 50 | theorem Data.SphericalPELAlbaneseData.geometricLatticeTarget_eq (m : ℕ) (L : Fin s → Duality.RankThreeLattice ℤ_[q] ℚ_[q]) |
| 51 | (y : D.GeometricPoint b) (hy : D.IsLatticeTarget x frame m L y) : |
| 52 | D.geometricLatticeTarget x frame m L = y := by |
| 53 | have h : ∃ z, D.IsLatticeTarget x frame m L z := ⟨y, hy⟩ |
| 54 | rw [Data.SphericalPELAlbaneseData.geometricLatticeTarget, dite_eq_left h] |
| 55 | exact D.geometricLatticeTarget_unique hg hgeometry x frame hf m L h.choose y h.choose_spec hy |
| 56 | |
| 57 | include hg hgeometry hf in |
| 58 | theorem Data.SphericalPELAlbaneseData.c46Final_geometricLatticeTarget (hIsogenyQuotient : D.RealizesIsogenyQuotient) {ts : List (Local.IntegralType s)} |
| 59 | (F : D.PELFlag b x ts) : |
| 60 | D.geometricLatticeTarget x frame (Data.SphericalPELAlbaneseData.flagMultiplier ts (Fin.last ts.length)) |
| 61 | (D.c46ChosenLattices frame hIsogenyQuotient F (Fin.last ts.length)) = F.point (Fin.last ts.length) := by |
| 62 | apply D.geometricLatticeTarget_eq hg hgeometry x frame hf |
| 63 | exact ⟨D.c46FlagComposites hIsogenyQuotient F (Fin.last ts.length), fun _ => rfl⟩ |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison |