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.Picard.PoincareBundle.CocyclePointEvaluation |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.HopfScalarsOf |
| 3 | |
| 4 | /-! # Cocycle Scheme Values -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Finite.CocycleSchemeValues |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual regular-unit values of a tensor cocycle and its solution on arbitrary test schemes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 14 | open scoped _root_.CategoryTheory.MonObj TensorProduct |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | /-- An invertible coordinate gives an invertible global regular function on its spectrum. -/ |
| 19 | def coordinateUnit (R : Type u) [CommRing R] (a : Rˣ) : Γ(Spec (.of R), ⊤)ˣ := |
| 20 | Units.map (Scheme.ΓSpecIso (.of R)).inv.hom.toMonoidHom a |
| 21 | |
| 22 | variable (k R : Type u) [CommRing k] [CommRing R] [HopfAlgebra k R] |
| 23 | |
| 24 | /-- The tensor coordinate is transported to the actual fiber product scheme. -/ |
| 25 | def coefficientUnit (c : (R ⊗[k] R)ˣ) : |
| 26 | Γ((((Spec (.of R)).asOver (Spec (.of k))) ⊗ |
| 27 | ((Spec (.of R)).asOver (Spec (.of k)))).left, ⊤)ˣ := |
| 28 | Units.map (pullbackSpecIso k R R).hom.appTop.hom.toMonoidHom (coordinateUnit (R ⊗[k] R) c) |
| 29 | |
| 30 | /-- Pulling back the regular coefficient evaluates the cocycle on any pair of test points. -/ |
| 31 | def value (c : (R ⊗[k] R)ˣ) (T : Over (Spec (.of k))) |
| 32 | (x y : T ⟶ (Spec (.of R)).asOver (Spec (.of k))) : Γ(T.left, ⊤)ˣ := |
| 33 | Units.map (lift x y).left.appTop.hom.toMonoidHom (coefficientUnit k R c) |
| 34 | |
| 35 | /-- The solution unit gives a regular frame adjustment on every test scheme. -/ |
| 36 | def solution (a : Rˣ) (T : Over (Spec (.of k))) |
| 37 | (x : T ⟶ (Spec (.of R)).asOver (Spec (.of k))) : Γ(T.left, ⊤)ˣ := |
| 38 | Units.map x.left.appTop.hom.toMonoidHom (coordinateUnit R a) |
| 39 | |
| 40 | theorem solution_natural (a : Rˣ) {T U : Over (Spec (.of k))} (f : U ⟶ T) |
| 41 | (x : T ⟶ (Spec (.of R)).asOver (Spec (.of k))) : |
| 42 | Units.map f.left.appTop.hom.toMonoidHom (solution k R a T x) = |
| 43 | solution k R a U (f ≫ x) := by |
| 44 | apply Units.ext |
| 45 | rfl |
| 46 | |
| 47 | theorem value_natural (c : (R ⊗[k] R)ˣ) {T U : Over (Spec (.of k))} (f : U ⟶ T) |
| 48 | (x y : T ⟶ (Spec (.of R)).asOver (Spec (.of k))) : |
| 49 | Units.map f.left.appTop.hom.toMonoidHom (value k R c T x y) = |
| 50 | value k R c U (f ≫ x) (f ≫ y) := by |
| 51 | apply Units.ext |
| 52 | change (f ≫ lift x y).left.appTop (coefficientUnit k R c : Γ(_, ⊤)) = _ |
| 53 | rw [comp_lift] |
| 54 | rfl |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Finite.CocycleSchemeValues |