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.Finite.CocycleSchemeValues |
| 2 | |
| 3 | /-! # Cocycle Scheme Equation -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.CocycleSchemeEquation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The tensor coboundary equation holds as an equality of regular functions on the group 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 | (c : (R ⊗[k] R)ˣ) (a : Rˣ) |
| 21 | (hΔ : (c : R ⊗[k] R) * Coalgebra.comul (a : R) = (a : R) ⊗ₜ[k] (a : R)) |
| 22 | |
| 23 | include hΔ |
| 24 | |
| 25 | /-- Equality on the universal product scheme, before specializing to test points. -/ |
| 26 | theorem product_section : |
| 27 | (Finite.CocycleSchemeValues.coefficientUnit k R c).val * |
| 28 | μ[(Spec (.of R)).asOver (Spec (.of k))].left.appTop (AbelianScheme.CartierDuality.HopfScalarsOf.Construction.HopfScalars.coordinateSection R (a : R)) = |
| 29 | (fst ((Spec (.of R)).asOver (Spec (.of k))) |
| 30 | ((Spec (.of R)).asOver (Spec (.of k)))).left.appTop (AbelianScheme.CartierDuality.HopfScalarsOf.Construction.HopfScalars.coordinateSection R (a : R)) * |
| 31 | (snd ((Spec (.of R)).asOver (Spec (.of k))) |
| 32 | ((Spec (.of R)).asOver (Spec (.of k)))).left.appTop (AbelianScheme.CartierDuality.HopfScalarsOf.Construction.HopfScalars.coordinateSection R (a : R)) := by |
| 33 | let G := (Spec (.of R)).asOver (Spec (.of k)) |
| 34 | let e := pullbackSpecIso k R R |
| 35 | have : IsIso e.inv.appTop := inferInstanceAs (IsIso (Scheme.Γ.map e.inv.op)) |
| 36 | apply (ConcreteCategory.bijective_of_isIso e.inv.appTop).injective |
| 37 | erw [e.inv.appTop.hom.map_mul, e.inv.appTop.hom.map_mul] |
| 38 | have hc : e.inv.appTop (Finite.CocycleSchemeValues.coefficientUnit k R c).val = |
| 39 | AbelianScheme.CartierDuality.HopfScalarsOf.Construction.HopfScalars.coordinateSection (R ⊗[k] R) (c : R ⊗[k] R) := by |
| 40 | change (e.inv ≫ e.hom).appTop _ = _ |
| 41 | rw [e.inv_hom_id] |
| 42 | rfl |
| 43 | have hm : e.inv ≫ μ[G].left = |
| 44 | Spec.map (CommRingCat.ofHom (Bialgebra.comulAlgHom k R).toRingHom) := by |
| 45 | rw [mul_spec_asOver_spec_left] |
| 46 | exact e.inv_hom_id_assoc _ |
| 47 | have hl : e.inv ≫ (fst G G).left = |
| 48 | Spec.map (CommRingCat.ofHom (Algebra.TensorProduct.includeLeftRingHom : R →+* R ⊗[k] R)) := |
| 49 | pullbackSpecIso_inv_fst k R R |
| 50 | have hr : e.inv ≫ (snd G G).left = |
| 51 | Spec.map (CommRingCat.ofHom |
| 52 | (Algebra.TensorProduct.includeRight : R →ₐ[k] R ⊗[k] R).toRingHom) := |
| 53 | pullbackSpecIso_inv_snd k R R |
| 54 | have hm' := (congrArg (fun f => f.appTop (AbelianScheme.CartierDuality.HopfScalarsOf.Construction.HopfScalars.coordinateSection R (a : R))) hm).trans |
| 55 | (AbelianScheme.CartierDuality.HopfScalarsOf.Construction.HopfScalars.coordinateSection_pullback (Bialgebra.comulAlgHom k R).toRingHom (a : R)) |
| 56 | have hl' := (congrArg (fun f => f.appTop (AbelianScheme.CartierDuality.HopfScalarsOf.Construction.HopfScalars.coordinateSection R (a : R))) hl).trans |
| 57 | (AbelianScheme.CartierDuality.HopfScalarsOf.Construction.HopfScalars.coordinateSection_pullback (Algebra.TensorProduct.includeLeftRingHom : R →+* R ⊗[k] R) (a : R)) |
| 58 | have hr' := (congrArg (fun f => f.appTop (AbelianScheme.CartierDuality.HopfScalarsOf.Construction.HopfScalars.coordinateSection R (a : R))) hr).trans |
| 59 | (AbelianScheme.CartierDuality.HopfScalarsOf.Construction.HopfScalars.coordinateSection_pullback |
| 60 | (Algebra.TensorProduct.includeRight : R →ₐ[k] R ⊗[k] R).toRingHom (a : R)) |
| 61 | rw [hc] |
| 62 | change _ * (e.inv ≫ μ[G].left).appTop _ = |
| 63 | (e.inv ≫ (fst G G).left).appTop _ * (e.inv ≫ (snd G G).left).appTop _ |
| 64 | rw [hm', hl', hr'] |
| 65 | change (Scheme.ΓSpecIso (.of (R ⊗[k] R))).inv.hom _ * |
| 66 | (Scheme.ΓSpecIso (.of (R ⊗[k] R))).inv.hom _ = |
| 67 | (Scheme.ΓSpecIso (.of (R ⊗[k] R))).inv.hom _ * |
| 68 | (Scheme.ΓSpecIso (.of (R ⊗[k] R))).inv.hom _ |
| 69 | rw [← map_mul, ← map_mul] |
| 70 | apply congrArg (Scheme.ΓSpecIso (.of (R ⊗[k] R))).inv.hom |
| 71 | exact hΔ.trans (by |
| 72 | change (a : R) ⊗ₜ[k] (a : R) = ((a : R) ⊗ₜ[k] (1 : R)) * ((1 : R) ⊗ₜ[k] (a : R)) |
| 73 | rw [Algebra.TensorProduct.tmul_mul_tmul, mul_one, one_mul]) |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.CocycleSchemeEquation |