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.CocycleSchemeEquation |
| 2 | |
| 3 | /-! # Cocycle Scheme Solution -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.CocycleSchemeSolution |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The cocycle solution is normalized and multiplicative on every test scheme. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 13 | open scoped _root_.CategoryTheory.MonObj TensorProduct |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Finite.CocycleSchemeValues OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.HopfScalarsOf.Construction.HopfScalars |
| 18 | |
| 19 | variable (k R : Type u) [CommRing k] [CommRing R] [HopfAlgebra k R] |
| 20 | |
| 21 | /-- The tensor equation specializes to the actual unit-valued equation on every pair of points. -/ |
| 22 | theorem solution_mul (c : (R ⊗[k] R)ˣ) (a : Rˣ) |
| 23 | (hΔ : (c : R ⊗[k] R) * Coalgebra.comul (a : R) = (a : R) ⊗ₜ[k] (a : R)) |
| 24 | (T : Over (Spec (.of k))) (x y : T ⟶ (Spec (.of R)).asOver (Spec (.of k))) : |
| 25 | Finite.CocycleSchemeValues.value k R c T x y * Finite.CocycleSchemeValues.solution k R a T (x * y) = Finite.CocycleSchemeValues.solution k R a T x * Finite.CocycleSchemeValues.solution k R a T y := by |
| 26 | let G := (Spec (.of R)).asOver (Spec (.of k)) |
| 27 | let q : T ⟶ G ⊗ G := lift x y |
| 28 | have hm : (x * y).left = q.left ≫ μ[G].left := rfl |
| 29 | have hl : q.left ≫ (fst G G).left = x.left := congrArg Over.Hom.left (lift_fst x y) |
| 30 | have hr : q.left ≫ (snd G G).left = y.left := congrArg Over.Hom.left (lift_snd x y) |
| 31 | apply Units.ext |
| 32 | change q.left.appTop (Finite.CocycleSchemeValues.coefficientUnit k R c).val * |
| 33 | (x * y).left.appTop (AbelianScheme.CartierDuality.HopfScalarsOf.Construction.HopfScalars.coordinateSection R (a : R)) = |
| 34 | x.left.appTop (AbelianScheme.CartierDuality.HopfScalarsOf.Construction.HopfScalars.coordinateSection R (a : R)) * y.left.appTop (AbelianScheme.CartierDuality.HopfScalarsOf.Construction.HopfScalars.coordinateSection R (a : R)) |
| 35 | rw [hm] |
| 36 | change q.left.appTop (Finite.CocycleSchemeValues.coefficientUnit k R c).val * |
| 37 | q.left.appTop (μ[G].left.appTop (AbelianScheme.CartierDuality.HopfScalarsOf.Construction.HopfScalars.coordinateSection R (a : R))) = _ |
| 38 | erw [← q.left.appTop.hom.map_mul, CocycleSchemeEquation.product_section k R c a hΔ, |
| 39 | q.left.appTop.hom.map_mul] |
| 40 | exact congrArg₂ (· * ·) |
| 41 | (congrArg (fun f => f.appTop (AbelianScheme.CartierDuality.HopfScalarsOf.Construction.HopfScalars.coordinateSection R (a : R))) hl) |
| 42 | (congrArg (fun f => f.appTop (AbelianScheme.CartierDuality.HopfScalarsOf.Construction.HopfScalars.coordinateSection R (a : R))) hr) |
| 43 | |
| 44 | /-- The counit normalization gives value one at the identity on every test scheme. -/ |
| 45 | theorem solution_one (a : Rˣ) (hε : Coalgebra.counit (R := k) (a : R) = 1) |
| 46 | (T : Over (Spec (.of k))) : |
| 47 | Finite.CocycleSchemeValues.solution k R a T (1 : T ⟶ (Spec (.of R)).asOver (Spec (.of k))) = 1 := by |
| 48 | have h := AbelianScheme.CartierDuality.HopfScalarsOf.Construction.HopfScalars.coordinateSection_pullback (Bialgebra.counitAlgHom k R).toRingHom (a : R) |
| 49 | have hη : η[(Spec (.of R)).asOver (Spec (.of k))].left.appTop |
| 50 | (AbelianScheme.CartierDuality.HopfScalarsOf.Construction.HopfScalars.coordinateSection R (a : R)) = 1 := |
| 51 | h.trans ((congrArg (AbelianScheme.CartierDuality.HopfScalarsOf.Construction.HopfScalars.coordinateSection k) hε).trans (Scheme.ΓSpecIso (.of k)).inv.hom.map_one) |
| 52 | apply Units.ext |
| 53 | change (toUnit T).left.appTop |
| 54 | (η[(Spec (.of R)).asOver (Spec (.of k))].left.appTop (AbelianScheme.CartierDuality.HopfScalarsOf.Construction.HopfScalars.coordinateSection R (a : R))) = 1 |
| 55 | rw [hη, map_one] |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.CocycleSchemeSolution |