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.GeometricFlagEndpoints |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.LinearFlagEndpoints |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.GeometricLatticeTargets |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.RecursiveFlagLattices |
| 5 | |
| 6 | /-! # Flag Endpoint Transfer -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual flag bijection transports terminal lattice multiplicities |
| 13 | to the actual geometric endpoints at the cumulative multiplier. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped 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 | (hdegree : Module.finrank ℚ E = 2 * s) (hs : 0 < s) |
| 22 | (hgeometry : D.HasIntegralModelGeometry) (hIsogenyQuotient : D.RealizesIsogenyQuotient) (hElementaryDivisors : Duality.ElementaryDivisorsInput ℤ_[q] ℚ_[q]) |
| 23 | {k : Type} [Field k] [CharZero k] [IsAlgClosed k] |
| 24 | {b : Spec (.of k) ⟶ Spec (.of K)} (x : D.GeometricPoint b) |
| 25 | (frame : D.FiberFrame b x) |
| 26 | (hf : Rational.IsSplitActionFrame (D.fiberFamily b x) (Over.mk (𝟙 (Spec (.of k)))) q D.localCharacter frame) |
| 27 | |
| 28 | include hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors hf in |
| 29 | theorem Data.SphericalPELAlbaneseData.geometricFlagEndpoints_eq_lattice_map (ts : List (Local.IntegralType s)) : |
| 30 | D.geometricFlagEndpoints b x ts = |
| 31 | (LinearFlagEndpoints.linearFlagEndpoints s q (fun v => D.framedFiberSourceLattice b x frame (v, false)) ts).map |
| 32 | (D.geometricLatticeTarget x frame (Data.SphericalPELAlbaneseData.flagMultiplier ts (Fin.last ts.length))) := by |
| 33 | let L₀ := fun v => D.framedFiberSourceLattice b x frame (v, false) |
| 34 | let : Fintype (D.PELFlag b x ts) := Fintype.ofFinite _ |
| 35 | let : Fintype (Duality.LinearBlockFlags (q : ℤ_[q]) L₀ ts) := Fintype.ofFinite _ |
| 36 | let e := Equiv.ofBijective (D.c46ChosenFlag (ts := ts) frame hIsogenyQuotient hg hgeometry hf hElementaryDivisors) |
| 37 | (D.c46ChosenFlag_bijective hg hdegree hs hgeometry hIsogenyQuotient hElementaryDivisors ts x frame hf) |
| 38 | change (Finset.univ : Finset (D.PELFlag b x ts)).val.map _ = |
| 39 | ((Finset.univ : Finset (Duality.LinearBlockFlags (q : ℤ_[q]) L₀ ts)).val.map _).map _ |
| 40 | rw [← Multiset.map_univ_val_equiv e, Multiset.map_map, Multiset.map_map] |
| 41 | apply Multiset.map_congr rfl |
| 42 | intro F _ |
| 43 | exact (D.c46Final_geometricLatticeTarget hg hgeometry x frame hf hIsogenyQuotient F).symm |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison |