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.GeometricFlags |
| 2 | |
| 3 | /-! # Flag Recursion -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.FlagRecursion.SphericalPELAlbaneseData.PELFlag |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual correspondence flags decompose into their first cover branch |
| 10 | and a flag starting at its target. Cover points are retained literally. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj |
| 14 | |
| 15 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 16 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 17 | {D : Data.SphericalPELAlbaneseData E K s q} |
| 18 | {k : Type} [Field k] {b : Spec (.of k) ⟶ Spec (.of K)} |
| 19 | {x : D.GeometricPoint b} {ts : List (Local.IntegralType s)} |
| 20 | |
| 21 | @[ext] |
| 22 | theorem _root_.OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData.PELFlag.ext {F G : D.PELFlag b x ts} (hp : F.point = G.point) (hb : F.branch = G.branch) : F = G := by |
| 23 | cases F |
| 24 | cases G |
| 25 | cases hp |
| 26 | cases hb |
| 27 | rfl |
| 28 | |
| 29 | def _root_.OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData.PELFlag.nil (x : D.GeometricPoint b) : D.PELFlag b x [] where |
| 30 | point _ := x |
| 31 | start := rfl |
| 32 | branch j := Fin.elim0 j |
| 33 | source j := Fin.elim0 j |
| 34 | target j := Fin.elim0 j |
| 35 | |
| 36 | instance : Subsingleton (D.PELFlag b x []) := ⟨fun F G => by |
| 37 | apply Data.SphericalPELAlbaneseData.PELFlag.ext |
| 38 | · funext j |
| 39 | have hj : j = 0 := Fin.eq_zero j |
| 40 | subst j |
| 41 | exact F.start.trans G.start.symm |
| 42 | · funext j |
| 43 | exact Fin.elim0 j⟩ |
| 44 | |
| 45 | def _root_.OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData.PELFlag.nilEquiv (x : D.GeometricPoint b) : D.PELFlag b x [] ≃ PUnit where |
| 46 | toFun _ := PUnit.unit |
| 47 | invFun _ := Data.SphericalPELAlbaneseData.PELFlag.nil x |
| 48 | left_inv _ := Subsingleton.elim _ _ |
| 49 | right_inv _ := rfl |
| 50 | |
| 51 | variable {t : Local.IntegralType s} |
| 52 | |
| 53 | def _root_.OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData.PELFlag.cons (c : (D.correspondence t).Fiber x) |
| 54 | (F : D.PELFlag b (c.val ≫ (D.correspondence t).target) ts) : D.PELFlag b x (t :: ts) where |
| 55 | point := Fin.cases x F.point |
| 56 | start := rfl |
| 57 | branch := Fin.cases c.val F.branch |
| 58 | source j := by |
| 59 | refine Fin.cases ?_ (fun i => ?_) j |
| 60 | · exact c.property |
| 61 | · exact F.source i |
| 62 | target j := by |
| 63 | refine Fin.cases ?_ (fun i => ?_) j |
| 64 | · exact F.start.symm |
| 65 | · exact F.target i |
| 66 | |
| 67 | def _root_.OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData.PELFlag.first (F : D.PELFlag b x (t :: ts)) : (D.correspondence t).Fiber x := |
| 68 | ⟨F.branch 0, (F.source 0).trans F.start⟩ |
| 69 | |
| 70 | def _root_.OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData.PELFlag.tail (F : D.PELFlag b x (t :: ts)) : |
| 71 | D.PELFlag b ((Data.SphericalPELAlbaneseData.PELFlag.first F).val ≫ (D.correspondence t).target) ts where |
| 72 | point j := F.point j.succ |
| 73 | start := (F.target 0).symm |
| 74 | branch j := F.branch j.succ |
| 75 | source j := F.source j.succ |
| 76 | target j := F.target j.succ |
| 77 | |
| 78 | theorem _root_.OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData.PELFlag.cons_first_tail (F : D.PELFlag b x (t :: ts)) : Data.SphericalPELAlbaneseData.PELFlag.cons (Data.SphericalPELAlbaneseData.PELFlag.first F) (Data.SphericalPELAlbaneseData.PELFlag.tail F) = F := by |
| 79 | apply Data.SphericalPELAlbaneseData.PELFlag.ext |
| 80 | · funext j |
| 81 | refine Fin.cases ?_ (fun i => ?_) j |
| 82 | · exact F.start.symm |
| 83 | · rfl |
| 84 | · funext j |
| 85 | refine Fin.cases rfl (fun _ => rfl) j |
| 86 | |
| 87 | def _root_.OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Data.SphericalPELAlbaneseData.PELFlag.consEquiv : D.PELFlag b x (t :: ts) ≃ |
| 88 | Σ c : (D.correspondence t).Fiber x, D.PELFlag b (c.val ≫ (D.correspondence t).target) ts where |
| 89 | toFun F := ⟨Data.SphericalPELAlbaneseData.PELFlag.first F, Data.SphericalPELAlbaneseData.PELFlag.tail F⟩ |
| 90 | invFun G := Data.SphericalPELAlbaneseData.PELFlag.cons G.1 G.2 |
| 91 | left_inv := Data.SphericalPELAlbaneseData.PELFlag.cons_first_tail |
| 92 | right_inv G := by |
| 93 | rcases G with ⟨c, F⟩ |
| 94 | rfl |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.FlagRecursion.SphericalPELAlbaneseData.PELFlag |