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.SchemeCocycleCoordinates |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.UniversalCocycleProduct |
| 3 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Finite.CocycleSchemeValues |
| 4 | |
| 5 | /-! # Scheme Cocycle Recovery -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.SchemeCocycleRecovery |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The universal tensor coordinate recovers the original geometric cocycle on every test scheme. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 15 | open scoped _root_.CategoryTheory.MonObj TensorProduct |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Affine.CocyclePoints OAI.AlgebraicGeometry.Picard.PoincareBundle.UniversalCocycleProduct OAI.AlgebraicGeometry.Picard.PoincareBundle.Finite.CocycleSchemeValues |
| 20 | |
| 21 | variable (k R : Type u) [CommRing k] [CommRing R] [HopfAlgebra k R] |
| 22 | (C : NaturalSchemeCocycle.NaturalCocycle ((Spec (.of R)).asOver (Spec (.of k)))) |
| 23 | |
| 24 | /-- The actual tensor coefficient of the geometric cocycle. -/ |
| 25 | def coordinate : (R ⊗[k] R)ˣ := |
| 26 | NaturalAlgebraCocycle.coordinate k R (SchemeCocycleCoordinates.algebraCocycle k R C) |
| 27 | |
| 28 | /-- The coordinate regular unit is exactly the original coefficient on the universal product. -/ |
| 29 | theorem coefficientUnit_eq : |
| 30 | Finite.CocycleSchemeValues.coefficientUnit k R (coordinate k R C) = |
| 31 | C.value (fst ((Spec (.of R)).asOver (Spec (.of k))) ((Spec (.of R)).asOver (Spec (.of k)))) |
| 32 | (snd ((Spec (.of R)).asOver (Spec (.of k))) ((Spec (.of R)).asOver (Spec (.of k)))) := by |
| 33 | let G := (Spec (.of R)).asOver (Spec (.of k)) |
| 34 | let e := pullbackSpecIso k R R |
| 35 | have hn := C.natural (UniversalCocycleProduct.universalPair k R) (fst G G) (snd G G) |
| 36 | rw [UniversalCocycleProduct.universalPair_fst, UniversalCocycleProduct.universalPair_snd] at hn |
| 37 | have hv := congrArg Units.val hn |
| 38 | change (UniversalCocycleProduct.universalPair k R).left.appTop (C.value (fst G G) (snd G G)).val = _ at hv |
| 39 | rw [UniversalCocycleProduct.universalPair_left] at hv |
| 40 | have : IsIso e.inv.appTop := inferInstanceAs (IsIso (Scheme.Γ.map e.inv.op)) |
| 41 | apply Units.ext |
| 42 | apply (ConcreteCategory.bijective_of_isIso e.inv.appTop).injective |
| 43 | have hc : e.inv.appTop (Finite.CocycleSchemeValues.coefficientUnit k R (coordinate k R C)).val = |
| 44 | (Finite.CocycleSchemeValues.coordinateUnit (R ⊗[k] R) (coordinate k R C)).val := by |
| 45 | change (e.inv ≫ e.hom).appTop _ = _ |
| 46 | rw [e.inv_hom_id] |
| 47 | rfl |
| 48 | have hrecover : (Finite.CocycleSchemeValues.coordinateUnit (R ⊗[k] R) (coordinate k R C)).val = |
| 49 | (C.value (Affine.CocyclePoints.point k R (R ⊗[k] R) Algebra.TensorProduct.includeLeft) |
| 50 | (Affine.CocyclePoints.point k R (R ⊗[k] R) Algebra.TensorProduct.includeRight)).val := |
| 51 | ConcreteCategory.congr_hom (Scheme.ΓSpecIso (.of (R ⊗[k] R))).hom_inv_id |
| 52 | (C.value (Affine.CocyclePoints.point k R (R ⊗[k] R) Algebra.TensorProduct.includeLeft) |
| 53 | (Affine.CocyclePoints.point k R (R ⊗[k] R) Algebra.TensorProduct.includeRight)).val |
| 54 | exact hc.trans (hrecover.trans hv.symm) |
| 55 | |
| 56 | /-- Recovery holds for arbitrary test schemes, including nonaffine and nonreduced ones. -/ |
| 57 | theorem value_eq (T : Over (Spec (.of k))) |
| 58 | (x y : T ⟶ (Spec (.of R)).asOver (Spec (.of k))) : |
| 59 | Finite.CocycleSchemeValues.value k R (coordinate k R C) T x y = C.value x y := by |
| 60 | let G := (Spec (.of R)).asOver (Spec (.of k)) |
| 61 | let φ : Γ((G ⊗ G).left, ⊤)ˣ →* Γ(T.left, ⊤)ˣ := Units.map (lift x y).left.appTop.hom |
| 62 | have h := C.natural (lift x y) (fst G G) (snd G G) |
| 63 | have hp := congrArg₂ (fun a b : T ⟶ G => C.value a b) (lift_fst x y) (lift_snd x y) |
| 64 | exact (congrArg φ (coefficientUnit_eq k R C)).trans (h.trans hp) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.SchemeCocycleRecovery |