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.BranchFrameLattice |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.FlagRecursion |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.LinearFlagRecursion |
| 4 | |
| 5 | /-! # Recursive Chosen Flag Equiv -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! Recursively construct the geometric-to-chosen-lattice flag bijection |
| 14 | using actual branch lattices and transport of the original source frame. |
| 15 | Compatibility with the separately defined cumulative composite systems |
| 16 | remains a separate proof obligation. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | open scoped _root_.CategoryTheory.MonObj |
| 20 | |
| 21 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 22 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 23 | (D : Data.SphericalPELAlbaneseData E K s q) |
| 24 | (hg : D.IsGoodCompletelySplitPrime) (hdegree : Module.finrank ℚ E = 2 * s) (hs : 0 < s) |
| 25 | (hgeometry : D.HasIntegralModelGeometry) (hIsogenyQuotient : D.RealizesIsogenyQuotient) (hElementaryDivisors : Duality.ElementaryDivisorsInput ℤ_[q] ℚ_[q]) |
| 26 | {k : Type} [Field k] [IsAlgClosed k] {b : Spec (.of k) ⟶ Spec (.of K)} |
| 27 | |
| 28 | def Data.SphericalPELAlbaneseData.recursiveChosenFlagEquiv (ts : List (Local.IntegralType s)) |
| 29 | (x : D.GeometricPoint b) (frame : D.FiberFrame b x) |
| 30 | (hf : Rational.IsSplitActionFrame (D.fiberFamily b x) (Over.mk (𝟙 (Spec (.of k)))) q |
| 31 | D.localCharacter frame) : |
| 32 | D.PELFlag b x ts ≃ Duality.LinearBlockFlags (q : ℤ_[q]) |
| 33 | (fun v => D.framedFiberSourceLattice b x frame (v, false)) ts := by |
| 34 | induction ts generalizing x with |
| 35 | | nil => |
| 36 | exact { |
| 37 | toFun _ := Duality.LinearBlockFlags.nil |
| 38 | invFun _ := Data.SphericalPELAlbaneseData.PELFlag.nil x |
| 39 | left_inv _ := Subsingleton.elim _ _ |
| 40 | right_inv _ := Subsingleton.elim _ _ } |
| 41 | | cons t ts ih => |
| 42 | let e₁ : (D.correspondence t).Fiber x ≃ |
| 43 | Duality.LinearBlockFlags.NextChoices (q : ℤ_[q]) |
| 44 | (fun v => D.framedFiberSourceLattice b x frame (v, false)) t := |
| 45 | D.c46BranchLatticeEquiv x frame hIsogenyQuotient t hg hgeometry hf hElementaryDivisors hdegree hs |
| 46 | refine Data.SphericalPELAlbaneseData.PELFlag.consEquiv.trans |
| 47 | ((Equiv.sigmaCongr e₁ (fun c => ?_)).trans Duality.LinearBlockFlags.consEquiv.symm) |
| 48 | let y := c.val ≫ (D.correspondence t).target |
| 49 | let e := D.c46FiberIsogeny hIsogenyQuotient t x y c.val c.property rfl |
| 50 | let frame' := e.targetFrame q frame |
| 51 | have hf' : Rational.IsSplitActionFrame (D.fiberFamily b y) (Over.mk (𝟙 (Spec (.of k)))) q |
| 52 | D.localCharacter frame' := e.targetFrame_equivariant q frame D.localCharacter hf |
| 53 | have hL : (fun v => D.framedFiberSourceLattice b y frame' (v, false)) = |
| 54 | fun v => (e₁ c v).val := |
| 55 | D.c46Branch_targetFrame_sourceLattice x frame hIsogenyQuotient t hg hgeometry hf hElementaryDivisors hdegree hs c |
| 56 | exact (ih y frame' hf').trans |
| 57 | (Equiv.cast (congrArg (fun L₀ => Duality.LinearBlockFlags (q : ℤ_[q]) L₀ ts) hL)) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | /-! Every later lattice of the recursive bijection is the corresponding |
| 62 | lattice of the tail, expressed in the actually transported source frame. |
| 63 | Changing the proof of the initial-lattice equality preserves all values. -/ |
| 64 | |
| 65 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 66 | open scoped _root_.CategoryTheory.MonObj |
| 67 | |
| 68 | theorem RecursiveChosenFlagEquiv.linearBlockFlag_cast_val {R K : Type*} [CommRing R] [Field K] [Algebra R K] |
| 69 | {s : ℕ} (π : R) {L M : Fin s → Duality.RankThreeLattice R K} |
| 70 | (ts : List (Local.IntegralType s)) (h : L = M) (F : Duality.LinearBlockFlags π L ts) : |
| 71 | (Equiv.cast (congrArg (fun L₀ => Duality.LinearBlockFlags π L₀ ts) h) F).val = F.val := by |
| 72 | cases h |
| 73 | rfl |
| 74 | |
| 75 | variable {E K : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 76 | [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 77 | (D : Data.SphericalPELAlbaneseData E K s q) |
| 78 | (hg : D.IsGoodCompletelySplitPrime) (hdegree : Module.finrank ℚ E = 2 * s) (hs : 0 < s) |
| 79 | (hgeometry : D.HasIntegralModelGeometry) (hIsogenyQuotient : D.RealizesIsogenyQuotient) (hElementaryDivisors : Duality.ElementaryDivisorsInput ℤ_[q] ℚ_[q]) |
| 80 | {k : Type} [Field k] [IsAlgClosed k] {b : Spec (.of k) ⟶ Spec (.of K)} |
| 81 | {t : Local.IntegralType s} {ts : List (Local.IntegralType s)} |
| 82 | (x : D.GeometricPoint b) (frame : D.FiberFrame b x) |
| 83 | (hf : Rational.IsSplitActionFrame (D.fiberFamily b x) (Over.mk (𝟙 (Spec (.of k)))) q |
| 84 | D.localCharacter frame) |
| 85 | |
| 86 | theorem Data.SphericalPELAlbaneseData.recursiveChosenFlagEquiv_succ (F : D.PELFlag b x (t :: ts)) (j : Fin (ts.length + 1)) : |
| 87 | let c := Data.SphericalPELAlbaneseData.PELFlag.first F |
| 88 | let y := c.val ≫ (D.correspondence t).target |
| 89 | let e := D.c46FiberIsogeny hIsogenyQuotient t x y c.val c.property rfl |
| 90 | (D.recursiveChosenFlagEquiv hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors |
| 91 | (t :: ts) x frame hf F).val j.succ = |
| 92 | (D.recursiveChosenFlagEquiv hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors ts y (e.targetFrame q frame) |
| 93 | (e.targetFrame_equivariant q frame D.localCharacter hf) (Data.SphericalPELAlbaneseData.PELFlag.tail F)).val j := by |
| 94 | let c := Data.SphericalPELAlbaneseData.PELFlag.first F |
| 95 | let y := c.val ≫ (D.correspondence t).target |
| 96 | let e := D.c46FiberIsogeny hIsogenyQuotient t x y c.val c.property rfl |
| 97 | let frame' := e.targetFrame q frame |
| 98 | let G := D.recursiveChosenFlagEquiv hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors ts y frame' |
| 99 | (e.targetFrame_equivariant q frame D.localCharacter hf) (Data.SphericalPELAlbaneseData.PELFlag.tail F) |
| 100 | let hL := D.c46Branch_targetFrame_sourceLattice x frame hIsogenyQuotient t hg hgeometry hf hElementaryDivisors hdegree hs c |
| 101 | change (Equiv.cast (congrArg (fun L₀ => Duality.LinearBlockFlags (q : ℤ_[q]) L₀ ts) hL) G).val j = G.val j |
| 102 | exact congrFun (RecursiveChosenFlagEquiv.linearBlockFlag_cast_val (q : ℤ_[q]) ts hL G) j |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison |