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.FormalGeometry.Completion.Geometric.Frobenius |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Frobenius.Geometry |
| 3 | |
| 4 | /-! # Field Frobenius Geometry -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Finite.FieldFrobeniusGeometry.FiniteFieldFrobeniusGeometry |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Identify the actual finite-field Frobenius conventions on schemes before comparing their cohomological realizations. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 13 | open OAI.AlgebraicGeometry.FormalGeometry.Completion.Geometric.Frobenius.Construction OAI.NumberTheory.PadicHodge.IntegralComparison.Frobenius.Geometry |
| 14 | |
| 15 | variable (p a : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 16 | (hcard : Fintype.card k = p ^ a) |
| 17 | |
| 18 | theorem scalarFrobenius_eq (κ : k →+* Γ(Spec (CommRingCat.of (AlgebraicClosure k)), ⊤)) : |
| 19 | AlgebraicGeometry.FormalGeometry.Completion.Frobenius.Construction.qPowerSchemeFrobenius k (Spec (CommRingCat.of (AlgebraicClosure k))) κ = |
| 20 | (IntegralComparison.Frobenius.Geometry.scalarSchemeIso (IntegralComparison.Frobenius.Geometry.arithmeticFrobenius p a k hcard)).hom := by |
| 21 | apply ext_to_Spec |
| 22 | change (Scheme.ΓSpecIso (CommRingCat.of (AlgebraicClosure k))).inv ≫ |
| 23 | (AlgebraicGeometry.FormalGeometry.Completion.Frobenius.Construction.qPowerSchemeFrobenius k (Spec (CommRingCat.of (AlgebraicClosure k))) κ).appTop = |
| 24 | (Scheme.ΓSpecIso (CommRingCat.of (AlgebraicClosure k))).inv ≫ |
| 25 | (Spec.map (CommRingCat.ofHom (IntegralComparison.Frobenius.Geometry.arithmeticFrobenius p a k hcard).toRingHom)).appTop |
| 26 | rw [← Scheme.ΓSpecIso_inv_naturality] |
| 27 | ext x |
| 28 | change ((Scheme.ΓSpecIso (CommRingCat.of (AlgebraicClosure k))).inv x) ^ Fintype.card k = |
| 29 | (Scheme.ΓSpecIso (CommRingCat.of (AlgebraicClosure k))).inv (IntegralComparison.Frobenius.Geometry.arithmeticFrobenius p a k hcard x) |
| 30 | rw [IntegralComparison.Frobenius.Geometry.arithmeticFrobenius_apply, hcard] |
| 31 | exact (map_pow (Scheme.ΓSpecIso (CommRingCat.of (AlgebraicClosure k))).inv.hom x (p ^ a)).symm |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Finite.FieldFrobeniusGeometry.FiniteFieldFrobeniusGeometry |