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.Multivariable.Forms |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.FormSurjective |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Base.IdealQuotient |
| 4 | import Mathlib.RingTheory.DividedPowers.SubDPIdeal |
| 5 | |
| 6 | /-! # Quotient Multivariable D -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.QuotientMultivariableD.QuotientMultivariableForms |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Actual multivariable PD forms modulo base ideals |
| 14 | |
| 15 | For a base sub-DP ideal, the inherited quotient divided powers support |
| 16 | the descended coordinate derivatives. Their duality with the coordinate |
| 17 | differentials proves an actual form basis on the finite quotient. |
| 18 | -/ |
| 19 | |
| 20 | open _root_.CategoryTheory Classical |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable (R σ K : Type u) [CommRing R] [Field K] [CharZero K] [Algebra R K] |
| 25 | (h : Function.Injective (algebraMap R K)) |
| 26 | (I : Ideal R) (δ : DividedPowers I) (hunit : ∃ a ∈ I, IsUnit (algebraMap R K a)) |
| 27 | (L : Ideal R) (hL : DividedPowers.IsSubDPIdeal δ L) |
| 28 | |
| 29 | local notation "G" => DividedPowerAlgebra R (σ →₀ R) |
| 30 | local notation "IG" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.DividedPowers.MultivariableDividedPowers.ideal R σ I |
| 31 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.DividedPowers.MultivariableDividedPowers.dividedPowers R σ K h I δ hunit |
| 32 | local notation "Q" => L.map (algebraMap R G) |
| 33 | |
| 34 | def Ring := G ⧸ Q |
| 35 | |
| 36 | instance ringCommRing : CommRing (Ring R σ L) := inferInstanceAs (CommRing (G ⧸ Q)) |
| 37 | |
| 38 | instance ringAlgebra : Algebra R (Ring R σ L) := inferInstanceAs (Algebra R (G ⧸ Q)) |
| 39 | |
| 40 | def quotient : G →ₐ[R] Ring R σ L := Ideal.Quotient.mkₐ R Q |
| 41 | |
| 42 | def ideal : Ideal (Ring R σ L) := (IG).map (quotient R σ L).toRingHom |
| 43 | |
| 44 | include hL in |
| 45 | theorem quotient_subDP : DividedPowers.IsSubDPIdeal γ Q := |
| 46 | DividedPowers.isSubDPIdeal_map_of_isSubDPIdeal |
| 47 | (Multivariable.DividedPowers.MultivariableDividedPowers.base_isDPMorphism R σ K h I δ hunit) hL |
| 48 | |
| 49 | include hL in |
| 50 | theorem kernel_subDP : DividedPowers.IsSubDPIdeal γ |
| 51 | (RingHom.ker (quotient R σ L).toRingHom ⊓ IG) := by |
| 52 | change DividedPowers.IsSubDPIdeal γ (RingHom.ker (Ideal.Quotient.mk Q) ⊓ IG) |
| 53 | rw [Ideal.mk_ker, inf_of_le_left (quotient_subDP R σ K h I δ hunit L hL).1] |
| 54 | exact quotient_subDP R σ K h I δ hunit L hL |
| 55 | |
| 56 | def dividedPowers : DividedPowers (A := Ring R σ L) (ideal R σ I L) := |
| 57 | DividedPowers.Quotient.OfSurjective.dividedPowers γ |
| 58 | (f := (quotient R σ L).toRingHom) (J := ideal R σ I L) |
| 59 | Ideal.Quotient.mk_surjective rfl (kernel_subDP R σ K h I δ hunit L hL) |
| 60 | |
| 61 | theorem quotient_isDPMorphism : |
| 62 | DividedPowers.IsDPMorphism γ (QuotientMultivariableForms.dividedPowers R σ K h I δ hunit L hL) (quotient R σ L).toRingHom := |
| 63 | DividedPowers.Quotient.OfSurjective.isDPMorphism (A := G) (B := Ring R σ L) |
| 64 | (I := IG) (J := ideal R σ I L) γ (f := (quotient R σ L).toRingHom) |
| 65 | Ideal.Quotient.mk_surjective rfl (kernel_subDP R σ K h I δ hunit L hL) |
| 66 | |
| 67 | local notation "B" => OAI.AlgebraicGeometry.Crystalline.Cohomology.QuotientMultivariableD.QuotientMultivariableForms.Ring R σ L |
| 68 | local notation "IB" => OAI.AlgebraicGeometry.Crystalline.Cohomology.QuotientMultivariableD.QuotientMultivariableForms.ideal R σ I L |
| 69 | local notation "ε" => OAI.AlgebraicGeometry.Crystalline.Cohomology.QuotientMultivariableD.QuotientMultivariableForms.dividedPowers R σ K h I δ hunit L hL |
| 70 | local notation "q" => OAI.AlgebraicGeometry.Crystalline.Cohomology.QuotientMultivariableD.QuotientMultivariableForms.quotient R σ L |
| 71 | local notation "hq" => OAI.AlgebraicGeometry.Crystalline.Cohomology.QuotientMultivariableD.QuotientMultivariableForms.quotient_isDPMorphism R σ K h I δ hunit L hL |
| 72 | local notation "dG" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.CoordinateDerivation.MultivariableCoordinateDerivation.derivation R σ K h I δ hunit |
| 73 | |
| 74 | def coordinate (i : σ) : B := q (Multivariable.DividedAlgebra.MultivariableDividedAlgebra.generator R σ 1 i) |
| 75 | |
| 76 | def derivation (i : σ) : Derivation R B B := Base.IdealQuotient.BaseIdealQuotient.derivation L (dG i) |
| 77 | |
| 78 | theorem derivation_quotient (i : σ) (a : G) : |
| 79 | derivation R σ K h I δ hunit L i (q a) = q (dG i a) := |
| 80 | Base.IdealQuotient.BaseIdealQuotient.derivation_mk L (dG i) a |
| 81 | |
| 82 | theorem derivation_dpow (i : σ) (n : ℕ) (a : B) (hx : a ∈ IB) : |
| 83 | derivation R σ K h I δ hunit L i ((ε).dpow (n + 1) a) = |
| 84 | (ε).dpow n a • derivation R σ K h I δ hunit L i a := by |
| 85 | obtain ⟨a, ha, rfl⟩ := (Ideal.mem_map_iff_of_surjective (q).toRingHom |
| 86 | Ideal.Quotient.mk_surjective).mp hx |
| 87 | have hm (m : ℕ) : q ((γ).dpow m a) = (ε).dpow m (q a) := (hq).map_dpow ha |
| 88 | change derivation R σ K h I δ hunit L i ((ε).dpow (n + 1) (q a)) = |
| 89 | (ε).dpow n (q a) * derivation R σ K h I δ hunit L i (q a) |
| 90 | rw [← hm (n + 1), derivation_quotient, |
| 91 | Multivariable.CoordinateDerivation.MultivariableCoordinateDerivation.derivation_dpow R σ K h I δ hunit i n ha, |
| 92 | map_mul, hm n, derivation_quotient] |
| 93 | |
| 94 | theorem derivation_coordinate (i j : σ) : |
| 95 | derivation R σ K h I δ hunit L i (coordinate R σ L j) = if j = i then 1 else 0 := by |
| 96 | rw [coordinate, derivation_quotient, Multivariable.CoordinateDerivation.MultivariableCoordinateDerivation.derivation_coordinate] |
| 97 | split_ifs <;> simp only [map_one, map_zero] |
| 98 | |
| 99 | theorem derivations_commute (i j : σ) : |
| 100 | Function.Commute (derivation R σ K h I δ hunit L i) (derivation R σ K h I δ hunit L j) := by |
| 101 | intro a |
| 102 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective a |
| 103 | change derivation R σ K h I δ hunit L i (derivation R σ K h I δ hunit L j (q a)) = |
| 104 | derivation R σ K h I δ hunit L j (derivation R σ K h I δ hunit L i (q a)) |
| 105 | rw [derivation_quotient, derivation_quotient, derivation_quotient, derivation_quotient, |
| 106 | Multivariable.CoordinateDerivation.MultivariableCoordinateDerivation.derivations_commute] |
| 107 | |
| 108 | def formMap (n : ℕ) : PD.DeRham.PDDeRham.Form R G IG γ n →ₗ[R] PD.DeRham.PDDeRham.Form R B IB ε n := |
| 109 | PD.DeRhamGlobal.PDDeRhamGlobal.formMap (CommAlgCat.ofHom q) hq n |
| 110 | |
| 111 | theorem formMap_D (a : G) : formMap R σ K h I δ hunit L hL 1 (PD.OneForms.PDOneForms.D R G IG γ a) = |
| 112 | PD.OneForms.PDOneForms.D R B IB ε (q a) := PD.FormSurjective.PDFormSurjective.formMap_D (CommAlgCat.ofHom q) hq a |
| 113 | |
| 114 | variable [Fintype σ] |
| 115 | |
| 116 | theorem D_eq_sum (a : B) : PD.OneForms.PDOneForms.D R B IB ε a = |
| 117 | ∑ i, derivation R σ K h I δ hunit L i a • PD.OneForms.PDOneForms.D R B IB ε (coordinate R σ L i) := by |
| 118 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective a |
| 119 | change PD.OneForms.PDOneForms.D R B IB ε (q a) = _ |
| 120 | rw [← formMap_D, Multivariable.Forms.MultivariableForms.D_eq_sum R σ K h I δ hunit, map_sum] |
| 121 | apply Finset.sum_congr rfl |
| 122 | intro i _ |
| 123 | have hs := PD.DeRhamGlobal.PDDeRhamGlobal.formMap_smul (CommAlgCat.ofHom q) hq 1 (dG i a) |
| 124 | (PD.OneForms.PDOneForms.D R G IG γ (Multivariable.DividedAlgebra.MultivariableDividedAlgebra.generator R σ 1 i)) |
| 125 | change formMap R σ K h I δ hunit L hL 1 (dG i a • _) = |
| 126 | q (dG i a) • formMap R σ K h I δ hunit L hL 1 _ at hs |
| 127 | change formMap R σ K h I δ hunit L hL 1 (dG i a • _) = |
| 128 | derivation R σ K h I δ hunit L i (q a) • PD.OneForms.PDOneForms.D R B IB ε (coordinate R σ L i) |
| 129 | rw [hs, formMap_D, derivation_quotient] |
| 130 | rfl |
| 131 | |
| 132 | def basis : Module.Basis σ B (PD.DeRham.PDDeRham.Form R B IB ε 1) := |
| 133 | PD.CoordinateBasis.PDCoordinateBasis.basis R B σ IB ε (coordinate R σ L) (derivation R σ K h I δ hunit L) |
| 134 | (derivation_dpow R σ K h I δ hunit L hL) (D_eq_sum R σ K h I δ hunit L hL) |
| 135 | (derivation_coordinate R σ K h I δ hunit L) |
| 136 | |
| 137 | theorem basis_apply (i : σ) : basis R σ K h I δ hunit L hL i = |
| 138 | PD.OneForms.PDOneForms.D R B IB ε (coordinate R σ L i) := |
| 139 | PD.CoordinateBasis.PDCoordinateBasis.basis_apply R B σ IB ε (coordinate R σ L) (derivation R σ K h I δ hunit L) |
| 140 | (derivation_dpow R σ K h I δ hunit L hL) (D_eq_sum R σ K h I δ hunit L hL) |
| 141 | (derivation_coordinate R σ K h I δ hunit L) i |
| 142 | |
| 143 | end |
| 144 | |
| 145 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.QuotientMultivariableD.QuotientMultivariableForms |