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.IsogenyFrameTransport |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.InitialFlagLattice |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.IsogenyQuotientConstructedPosition |
| 4 | |
| 5 | /-! # Concrete Chosen Flags -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every actual geometric PEL flag gives an ordinary chosen-block |
| 12 | lattice flag in one source frame. Relative positions are proved by |
| 13 | transporting that frame along the actual cumulative isogenies. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 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) |
| 21 | {k : Type} [Field k] [IsAlgClosed k] |
| 22 | {b : Spec (.of k) ⟶ Spec (.of K)} {x : D.GeometricPoint b} |
| 23 | {ts : List (Local.IntegralType s)} |
| 24 | (frame : D.FiberFrame b x) (hIsogenyQuotient : D.RealizesIsogenyQuotient) |
| 25 | |
| 26 | def Data.SphericalPELAlbaneseData.c46ChosenLattices (F : D.PELFlag b x ts) (j : Fin (ts.length + 1)) |
| 27 | (v : Fin s) : Duality.RankThreeLattice ℤ_[q] ℚ_[q] := |
| 28 | ⟨D.compositeLattice frame (D.c46FlagComposites hIsogenyQuotient F) j (v, false), |
| 29 | D.flagCompositeLattice_isLattice b x F (D.c46FlagComposites hIsogenyQuotient F) frame j (v, false)⟩ |
| 30 | |
| 31 | theorem Data.SphericalPELAlbaneseData.c46ChosenLattices_zero (F : D.PELFlag b x ts) : |
| 32 | D.c46ChosenLattices frame hIsogenyQuotient F 0 = |
| 33 | fun v => D.framedFiberSourceLattice b x frame (v, false) := by |
| 34 | funext v |
| 35 | apply Subtype.ext |
| 36 | change ((Rational.isogenyTatePreimage (T := Over.mk (𝟙 (Spec (.of k)))) (q := q) |
| 37 | (D.c46FlagComposites hIsogenyQuotient F 0).isogeny.hom).map |
| 38 | (frame.toLinearMap.restrictScalars ℤ_[q])).map _ = _ |
| 39 | rw [D.c46FlagComposites_zero_tatePreimage hIsogenyQuotient F] |
| 40 | rfl |
| 41 | |
| 42 | variable (hg : D.IsGoodCompletelySplitPrime) (hgeometry : D.HasIntegralModelGeometry) |
| 43 | (hf : Rational.IsSplitActionFrame (D.fiberFamily b x) (Over.mk (𝟙 (Spec (.of k)))) q |
| 44 | D.localCharacter frame) |
| 45 | |
| 46 | include hg hgeometry hf in |
| 47 | theorem Data.SphericalPELAlbaneseData.c46ChosenLattices_relativePosition (hElementaryDivisors : Duality.ElementaryDivisorsInput ℤ_[q] ℚ_[q]) |
| 48 | (F : D.PELFlag b x ts) (j : Fin ts.length) (v : Fin s) : |
| 49 | Duality.RelativePosition (q : ℤ_[q]) ((ts.get j).val.exponent v) |
| 50 | (D.c46ChosenLattices frame hIsogenyQuotient F j.castSucc v) |
| 51 | (D.c46ChosenLattices frame hIsogenyQuotient F j.succ v) := by |
| 52 | let p := D.c46FlagComposites hIsogenyQuotient F |
| 53 | let e := p j.castSucc |
| 54 | let frame' := e.targetFrame q frame |
| 55 | have hf' : Rational.IsSplitActionFrame (D.fiberFamily b (F.point j.castSucc)) |
| 56 | (Over.mk (𝟙 (Spec (.of k)))) q D.localCharacter frame' := |
| 57 | e.targetFrame_equivariant q frame D.localCharacter hf |
| 58 | obtain ⟨M, hM, hpos⟩ := D.c46Fiber_projectedRelativePosition b (F.point j.castSucc) |
| 59 | frame' hg hgeometry hIsogenyQuotient (ts.get j) (F.point j.succ) |
| 60 | (F.branch j) (F.source j) (F.target j) hf' hElementaryDivisors v |
| 61 | have hsource : D.framedFiberSourceLattice b (F.point j.castSucc) frame' (v, false) = |
| 62 | D.c46ChosenLattices frame hIsogenyQuotient F j.castSucc v := by |
| 63 | apply Subtype.ext |
| 64 | change (Rational.framedIntegralTateImage (e.targetFrame q frame)).map _ = _ |
| 65 | rw [e.targetFrame_integral q frame] |
| 66 | rfl |
| 67 | have htarget : M = D.c46ChosenLattices frame hIsogenyQuotient F j.succ v := by |
| 68 | apply Subtype.ext |
| 69 | rw [hM] |
| 70 | change Rational.framedTateLattice (e.targetFrame q frame) (D.c46FlagSteps hIsogenyQuotient F j).isogeny.hom |
| 71 | (v, false) = _ |
| 72 | rw [e.targetFrame_lattice q frame] |
| 73 | have hcomp := D.compositeFromSteps_succ_hom F (D.c46FlagSteps hIsogenyQuotient F) j |
| 74 | change (p j.succ).isogeny.hom = e.isogeny.hom ≫ (D.c46FlagSteps hIsogenyQuotient F j).isogeny.hom at hcomp |
| 75 | change Rational.framedTateLattice frame (e.isogeny.hom ≫ (D.c46FlagSteps hIsogenyQuotient F j).isogeny.hom) |
| 76 | (v, false) = Rational.framedTateLattice frame (p j.succ).isogeny.hom (v, false) |
| 77 | congr 1 |
| 78 | exact hcomp.symm |
| 79 | rw [hsource, htarget] at hpos |
| 80 | exact hpos |
| 81 | |
| 82 | def Data.SphericalPELAlbaneseData.c46ChosenFlag (hElementaryDivisors : Duality.ElementaryDivisorsInput ℤ_[q] ℚ_[q]) (F : D.PELFlag b x ts) : |
| 83 | Duality.LinearBlockFlags (q : ℤ_[q]) |
| 84 | (fun v => D.framedFiberSourceLattice b x frame (v, false)) ts := |
| 85 | ⟨D.c46ChosenLattices frame hIsogenyQuotient F, D.c46ChosenLattices_zero frame hIsogenyQuotient F, |
| 86 | D.c46ChosenLattices_relativePosition frame hIsogenyQuotient hg hgeometry hf hElementaryDivisors F⟩ |
| 87 | |
| 88 | theorem Data.SphericalPELAlbaneseData.c46ChosenFlag_lattice (hElementaryDivisors : Duality.ElementaryDivisorsInput ℤ_[q] ℚ_[q]) (F : D.PELFlag b x ts) |
| 89 | (j : Fin (ts.length + 1)) (v : Fin s) : |
| 90 | ((D.c46ChosenFlag frame hIsogenyQuotient hg hgeometry hf hElementaryDivisors F).val j v).val = |
| 91 | D.compositeLattice frame (D.c46FlagComposites hIsogenyQuotient F) j (v, false) := rfl |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison |