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.GroupSchemes.FiniteEtale |
| 2 | |
| 3 | /-! # Affine Hopf -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.GroupSchemes |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # FiniteEtale: recover coordinate Hopf algebras from actual affine group schemes |
| 11 | |
| 12 | The Hopf operations below are transported from the given scheme operations |
| 13 | through the proved full faithfulness of Spec. They are not independent data. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 17 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {k : Type u} [Field k] |
| 22 | |
| 23 | /-- The multiplication supplied by the original geometric group object. -/ |
| 24 | def FiniteEtale.FiniteCommGroupScheme.givenMultiplication (G : FiniteEtale.FiniteCommGroupScheme k) := (μ[G.scheme]).left |
| 25 | |
| 26 | /-- Pull the given geometric group structure back along affine Spec. -/ |
| 27 | @[instance_reducible] |
| 28 | def FiniteEtale.FiniteCommGroupScheme.coordinateGroup (G : FiniteEtale.FiniteCommGroupScheme k) : GrpObj (op G.algebra) := |
| 29 | letI : (algSpec (CommRingCat.of k)).Braided := braidedAlgSpec |
| 30 | (algSpec.fullyFaithful (R := CommRingCat.of k)).grpObj (op G.algebra) |
| 31 | |
| 32 | /-- Commutativity is inherited from the given geometric group law. -/ |
| 33 | theorem FiniteEtale.FiniteCommGroupScheme.coordinateGroup_comm (G : FiniteEtale.FiniteCommGroupScheme k) : |
| 34 | letI := G.coordinateGroup |
| 35 | IsCommMonObj (op G.algebra) := by |
| 36 | let : (algSpec (CommRingCat.of k)).Braided := braidedAlgSpec |
| 37 | let := G.coordinateGroup |
| 38 | constructor |
| 39 | apply (algSpec.fullyFaithful (R := CommRingCat.of k)).map_injective |
| 40 | change (algSpec (CommRingCat.of k)).map |
| 41 | ((β_ (op G.algebra) (op G.algebra)).hom ≫ |
| 42 | (algSpec.fullyFaithful (R := CommRingCat.of k)).preimage |
| 43 | (Functor.OplaxMonoidal.δ (algSpec (CommRingCat.of k)) _ _ ≫ μ[G.scheme])) = _ |
| 44 | rw [Functor.map_comp, Functor.FullyFaithful.map_preimage, Functor.map_braiding] |
| 45 | simp [Category.assoc] |
| 46 | |
| 47 | /-- The coordinate Hopf algebra defined by the actual group scheme laws. -/ |
| 48 | @[instance_reducible] |
| 49 | def FiniteEtale.FiniteCommGroupScheme.coordinateHopf (G : FiniteEtale.FiniteCommGroupScheme k) : HopfAlgebra k G.algebra := by |
| 50 | let : GrpObj (op G.algebra) := G.coordinateGroup |
| 51 | exact ((commHopfAlgCatEquivCogrpCommAlgCat k).inverse.obj |
| 52 | (op (Grp.mk (op G.algebra)))).hopfAlgebra |
| 53 | |
| 54 | /-- Reconstruction preserves the original k-algebra structure. -/ |
| 55 | theorem FiniteEtale.FiniteCommGroupScheme.coordinateHopf_algebra (G : FiniteEtale.FiniteCommGroupScheme k) : |
| 56 | G.coordinateHopf.toAlgebra = (inferInstance : Algebra k G.algebra) := rfl |
| 57 | |
| 58 | /-- The reconstructed coalgebra with the original scalar action made explicit. -/ |
| 59 | @[instance_reducible] |
| 60 | def FiniteEtale.FiniteCommGroupScheme.coordinateCoalgebra (G : FiniteEtale.FiniteCommGroupScheme k) : Coalgebra k G.algebra := by |
| 61 | exact G.coordinateHopf.toCoalgebra |
| 62 | |
| 63 | /-- The recovered coordinate Hopf algebra is cocommutative. -/ |
| 64 | theorem FiniteEtale.FiniteCommGroupScheme.coordinateHopf_cocomm (G : FiniteEtale.FiniteCommGroupScheme k) : |
| 65 | letI := G.coordinateCoalgebra |
| 66 | Coalgebra.IsCocomm k G.algebra := by |
| 67 | let := G.coordinateCoalgebra |
| 68 | let := G.coordinateGroup |
| 69 | have : IsCommMonObj (op G.algebra) := G.coordinateGroup_comm |
| 70 | constructor |
| 71 | have h := congrArg (fun f => f.unop.hom.toLinearMap) |
| 72 | (IsCommMonObj.mul_comm (op G.algebra)) |
| 73 | exact h |
| 74 | |
| 75 | /-- The reconstructed comultiplication represents the original scheme multiplication. -/ |
| 76 | theorem FiniteEtale.FiniteCommGroupScheme.coordinateHopf_represents_mul (G : FiniteEtale.FiniteCommGroupScheme k) : |
| 77 | letI := G.coordinateHopf |
| 78 | (pullbackSpecIso (CommRingCat.of k) (CommRingCat.of G.algebra) |
| 79 | (CommRingCat.of G.algebra)).hom ≫ |
| 80 | Spec.map (CommRingCat.ofHom (Bialgebra.comulAlgHom k G.algebra).toRingHom) = |
| 81 | G.givenMultiplication := by |
| 82 | let := G.coordinateHopf |
| 83 | let : (algSpec (CommRingCat.of k)).Braided := braidedAlgSpec |
| 84 | have h' := (algSpec.fullyFaithful (R := CommRingCat.of k)).map_preimage |
| 85 | (Functor.OplaxMonoidal.δ (algSpec (CommRingCat.of k)) (op G.algebra) (op G.algebra) ≫ |
| 86 | μ[G.scheme]) |
| 87 | have hc := congrArg |
| 88 | (fun f => Functor.LaxMonoidal.μ (algSpec (CommRingCat.of k)) |
| 89 | (op G.algebra) (op G.algebra) ≫ f) h' |
| 90 | simp only [Functor.Monoidal.μ_δ_assoc] at hc |
| 91 | exact congrArg Over.Hom.left hc |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.GroupSchemes |