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.ConcreteChosenFlags |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.RecursiveChosenFlagEquiv |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.FlagTailComposites |
| 4 | |
| 5 | /-! # Recursive Flag Lattices -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The recursive geometric flag bijection has exactly the chosen |
| 12 | lattices of the actual cumulative IsogenyQuotient isogenies, at every stage. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 18 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 19 | (D : Data.SphericalPELAlbaneseData E K s q) |
| 20 | (hg : D.IsGoodCompletelySplitPrime) (hdegree : Module.finrank ℚ E = 2 * s) (hs : 0 < s) |
| 21 | (hgeometry : D.HasIntegralModelGeometry) (hIsogenyQuotient : D.RealizesIsogenyQuotient) (hElementaryDivisors : Duality.ElementaryDivisorsInput ℤ_[q] ℚ_[q]) |
| 22 | {k : Type} [Field k] [IsAlgClosed k] {b : Spec (.of k) ⟶ Spec (.of K)} |
| 23 | |
| 24 | theorem Data.SphericalPELAlbaneseData.recursiveChosenFlagEquiv_zero_lattice (ts : List (Local.IntegralType s)) |
| 25 | (x : D.GeometricPoint b) (frame : D.FiberFrame b x) |
| 26 | (hf : Rational.IsSplitActionFrame (D.fiberFamily b x) (Over.mk (𝟙 (Spec (.of k)))) q |
| 27 | D.localCharacter frame) (F : D.PELFlag b x ts) (v : Fin s) : |
| 28 | ((D.recursiveChosenFlagEquiv hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors ts x frame hf F).val 0 v).val = |
| 29 | D.compositeLattice frame (D.c46FlagComposites hIsogenyQuotient F) 0 (v, false) := by |
| 30 | have hr := congrArg (fun L => (L v).val) |
| 31 | (D.recursiveChosenFlagEquiv hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors ts x frame hf F).property.1 |
| 32 | have hc := congrArg (fun L => (L v).val) (D.c46ChosenLattices_zero frame hIsogenyQuotient F) |
| 33 | exact hr.trans hc.symm |
| 34 | |
| 35 | theorem Data.SphericalPELAlbaneseData.recursiveChosenFlagEquiv_lattice (ts : List (Local.IntegralType s)) : |
| 36 | ∀ (x : D.GeometricPoint b) (frame : D.FiberFrame b x) |
| 37 | (hf : Rational.IsSplitActionFrame (D.fiberFamily b x) (Over.mk (𝟙 (Spec (.of k)))) q |
| 38 | D.localCharacter frame) (F : D.PELFlag b x ts) (j : Fin (ts.length + 1)) (v : Fin s), |
| 39 | ((D.recursiveChosenFlagEquiv hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors ts x frame hf F).val j v).val = |
| 40 | D.compositeLattice frame (D.c46FlagComposites hIsogenyQuotient F) j (v, false) := by |
| 41 | induction ts with |
| 42 | | nil => |
| 43 | intro x frame hf F j v |
| 44 | have hj : j = 0 := Fin.eq_zero j |
| 45 | subst j |
| 46 | exact D.recursiveChosenFlagEquiv_zero_lattice hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors [] x frame hf F v |
| 47 | | cons t ts ih => |
| 48 | intro x frame hf F j v |
| 49 | refine Fin.cases ?_ (fun i => ?_) j |
| 50 | · exact D.recursiveChosenFlagEquiv_zero_lattice hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors |
| 51 | (t :: ts) x frame hf F v |
| 52 | · have hrec := congrArg (fun L => (L v).val) |
| 53 | (D.recursiveChosenFlagEquiv_succ hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors x frame hf F i) |
| 54 | refine hrec.trans ?_ |
| 55 | let c := Data.SphericalPELAlbaneseData.PELFlag.first F |
| 56 | let y := c.val ≫ (D.correspondence t).target |
| 57 | let e := D.c46FiberIsogeny hIsogenyQuotient t x y c.val c.property rfl |
| 58 | have htail := ih y (e.targetFrame q frame) |
| 59 | (e.targetFrame_equivariant q frame D.localCharacter hf) (Data.SphericalPELAlbaneseData.PELFlag.tail F) i v |
| 60 | refine htail.trans ?_ |
| 61 | change Rational.framedTateLattice (e.targetFrame q frame) |
| 62 | (D.c46FlagComposites hIsogenyQuotient (Data.SphericalPELAlbaneseData.PELFlag.tail F) i).isogeny.hom (v, false) = |
| 63 | Rational.framedTateLattice frame (D.c46FlagComposites hIsogenyQuotient F i.succ).isogeny.hom (v, false) |
| 64 | rw [e.targetFrame_lattice q frame] |
| 65 | congr 1 |
| 66 | exact (D.c46FlagComposites_tail_hom hIsogenyQuotient F i).symm |
| 67 | |
| 68 | theorem Data.SphericalPELAlbaneseData.recursiveChosenFlagEquiv_eq_actual (ts : List (Local.IntegralType s)) |
| 69 | (x : D.GeometricPoint b) (frame : D.FiberFrame b x) |
| 70 | (hf : Rational.IsSplitActionFrame (D.fiberFamily b x) (Over.mk (𝟙 (Spec (.of k)))) q |
| 71 | D.localCharacter frame) (F : D.PELFlag b x ts) : |
| 72 | D.recursiveChosenFlagEquiv hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors ts x frame hf F = |
| 73 | D.c46ChosenFlag frame hIsogenyQuotient hg hgeometry hf hElementaryDivisors F := by |
| 74 | apply Subtype.ext |
| 75 | funext j v |
| 76 | apply Subtype.ext |
| 77 | exact D.recursiveChosenFlagEquiv_lattice hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors ts x frame hf F j v |
| 78 | |
| 79 | include hdegree hs in |
| 80 | theorem Data.SphericalPELAlbaneseData.c46ChosenFlag_bijective (ts : List (Local.IntegralType s)) |
| 81 | (x : D.GeometricPoint b) (frame : D.FiberFrame b x) |
| 82 | (hf : Rational.IsSplitActionFrame (D.fiberFamily b x) (Over.mk (𝟙 (Spec (.of k)))) q |
| 83 | D.localCharacter frame) : |
| 84 | Function.Bijective (D.c46ChosenFlag (ts := ts) frame hIsogenyQuotient hg hgeometry hf hElementaryDivisors) := by |
| 85 | have he : D.c46ChosenFlag (ts := ts) frame hIsogenyQuotient hg hgeometry hf hElementaryDivisors = |
| 86 | D.recursiveChosenFlagEquiv hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors ts x frame hf := |
| 87 | funext fun F => (D.recursiveChosenFlagEquiv_eq_actual hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors |
| 88 | ts x frame hf F).symm |
| 89 | rw [he] |
| 90 | exact (D.recursiveChosenFlagEquiv hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors ts x frame hf).bijective |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison |