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.Crystalline.Cohomology.QuotientMultivariableMk |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Koszul.ConstantsRetraction |
| 3 | |
| 4 | /-! # Quotient Multivariable Zero -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.QuotientMultivariableZero.QuotientMultivariablePoincare |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Multivariable Poincaré contraction at finite quotient levels |
| 12 | |
| 13 | For every base sub-DP ideal L, the actual multivariable quotient PD |
| 14 | de Rham complex is homotopy equivalent to R/L in degree zero. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable (R σ K : Type u) [CommRing R] [Field K] [CharZero K] [Algebra R K] |
| 22 | (h : Function.Injective (algebraMap R K)) |
| 23 | (I : Ideal R) (δ : DividedPowers I) (hunit : ∃ a ∈ I, IsUnit (algebraMap R K a)) |
| 24 | (L : Ideal R) (hL : DividedPowers.IsSubDPIdeal δ L) [Fintype σ] |
| 25 | |
| 26 | local notation "B" => OAI.AlgebraicGeometry.Crystalline.Cohomology.QuotientMultivariableD.QuotientMultivariableForms.Ring R σ L |
| 27 | local notation "IB" => OAI.AlgebraicGeometry.Crystalline.Cohomology.QuotientMultivariableD.QuotientMultivariableForms.ideal R σ I L |
| 28 | local notation "ε" => OAI.AlgebraicGeometry.Crystalline.Cohomology.QuotientMultivariableD.QuotientMultivariableForms.dividedPowers R σ K h I δ hunit L hL |
| 29 | local notation "D" => OAI.AlgebraicGeometry.Crystalline.Cohomology.QuotientMultivariableMk.QuotientMultivariablePrimitive.derivatives R σ K h I δ hunit L |
| 30 | local notation "S" => OAI.AlgebraicGeometry.Crystalline.Cohomology.QuotientMultivariableMk.QuotientMultivariablePrimitive.primitive R σ K h L |
| 31 | local notation "c" => OAI.AlgebraicGeometry.Crystalline.Cohomology.QuotientMultivariableMk.QuotientMultivariablePrimitive.constants R σ L |
| 32 | local notation "r" => OAI.AlgebraicGeometry.Crystalline.Cohomology.QuotientMultivariableMk.QuotientMultivariablePrimitive.constantCoefficient R σ K h L |
| 33 | |
| 34 | omit [Fintype σ] in |
| 35 | theorem commute (i j : σ) : Function.Commute (D i) (D j) := |
| 36 | QuotientMultivariableD.QuotientMultivariableForms.derivations_commute R σ K h I δ hunit L i j |
| 37 | |
| 38 | def tensorComplex : CochainComplex (ModuleCat R) ℕ := |
| 39 | Koszul.Tensor.KoszulTensor.complex R σ B D (commute R σ K h I δ hunit L) |
| 40 | |
| 41 | local notation "T" => OAI.AlgebraicGeometry.Crystalline.Cohomology.QuotientMultivariableZero.QuotientMultivariablePoincare.tensorComplex R σ K h I δ hunit L |
| 42 | |
| 43 | def tensorHomotopyEquiv : HomotopyEquiv |
| 44 | ((CochainComplex.single₀ (ModuleCat R)).obj (ModuleCat.of R (R ⧸ L))) T := |
| 45 | Koszul.ConstantsRetraction.KoszulConstantsRetraction.homotopyEquiv R σ B (R ⧸ L) D S |
| 46 | (commute R σ K h I δ hunit L) |
| 47 | (QuotientMultivariableMk.QuotientMultivariablePrimitive.derivation_primitive R σ K h I δ hunit L) |
| 48 | (QuotientMultivariableMk.QuotientMultivariablePrimitive.derivation_primitive_commute R σ K h I δ hunit L) |
| 49 | (Multivariable.KoszulHomotopy.MultivariableKoszulHomotopy.coordinateList σ) (Multivariable.KoszulHomotopy.MultivariableKoszulHomotopy.mem_coordinateList σ) |
| 50 | (c).toLinearMap r (QuotientMultivariableMk.QuotientMultivariablePrimitive.constantCoefficient_constants R σ K h L) |
| 51 | (QuotientMultivariableMk.QuotientMultivariablePrimitive.derivation_constants R σ K h I δ hunit L) |
| 52 | (QuotientMultivariableMk.QuotientMultivariablePrimitive.coefficientProjection_constants R σ K h I δ hunit L |
| 53 | (Multivariable.KoszulHomotopy.MultivariableKoszulHomotopy.coordinateList σ) (Multivariable.KoszulHomotopy.MultivariableKoszulHomotopy.mem_coordinateList σ)) |
| 54 | |
| 55 | def complexIso : T ≅ PD.DeRham.PDDeRham.complex R B IB ε := by |
| 56 | letI : LinearOrder σ := LinearOrder.lift' (Fintype.equivFin σ) (Fintype.equivFin σ).injective |
| 57 | exact PD.DeRhamTensor.PDDeRhamTensor.complexIso R B σ IB ε (QuotientMultivariableD.QuotientMultivariableForms.coordinate R σ L) D |
| 58 | (QuotientMultivariableD.QuotientMultivariableForms.D_eq_sum R σ K h I δ hunit L hL) |
| 59 | (QuotientMultivariableD.QuotientMultivariableForms.basis R σ K h I δ hunit L hL) |
| 60 | (QuotientMultivariableD.QuotientMultivariableForms.basis_apply R σ K h I δ hunit L hL) |
| 61 | (commute R σ K h I δ hunit L) |
| 62 | |
| 63 | /-- Actual finite-level PD de Rham contraction, including torsion coefficient quotients. -/ |
| 64 | def homotopyEquiv : HomotopyEquiv |
| 65 | ((CochainComplex.single₀ (ModuleCat R)).obj (ModuleCat.of R (R ⧸ L))) (PD.DeRham.PDDeRham.complex R B IB ε) := |
| 66 | (tensorHomotopyEquiv R σ K h I δ hunit L).trans (HomotopyEquiv.ofIso (complexIso R σ K h I δ hunit L hL)) |
| 67 | |
| 68 | def augmentation : (CochainComplex.single₀ (ModuleCat R)).obj (ModuleCat.of R (R ⧸ L)) ⟶ |
| 69 | PD.DeRham.PDDeRham.complex R B IB ε := (homotopyEquiv R σ K h I δ hunit L hL).hom |
| 70 | |
| 71 | instance augmentation_quasiIso : QuasiIso (augmentation R σ K h I δ hunit L hL) := |
| 72 | HomotopyEquiv.quasiIso_hom (homotopyEquiv R σ K h I δ hunit L hL) |
| 73 | |
| 74 | def degreeZeroHomologyIso : (PD.DeRham.PDDeRham.complex R B IB ε).homology 0 ≅ ModuleCat.of R (R ⧸ L) := |
| 75 | ((homotopyEquiv R σ K h I δ hunit L hL).toHomologyIso 0).symm ≪≫ |
| 76 | HomologicalComplex.singleObjHomologySelfIso (ComplexShape.up ℕ) 0 (ModuleCat.of R (R ⧸ L)) |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.QuotientMultivariableZero.QuotientMultivariablePoincare |