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.QuotientMultivariableD |
| 2 | |
| 3 | /-! # Quotient Multivariable Mk -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.QuotientMultivariableMk.QuotientMultivariablePrimitive |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Coordinate primitives and constants on finite PD quotients |
| 11 | |
| 12 | All coordinate primitives descend by base linearity. Their right-inverse |
| 13 | and commutation identities survive reduction, and composing their |
| 14 | coordinate projections retains exactly the quotient constant coefficient. |
| 15 | -/ |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable (R σ K : Type u) [CommRing R] [Field K] [CharZero K] [Algebra R K] |
| 20 | (h : Function.Injective (algebraMap R K)) |
| 21 | (I : Ideal R) (δ : DividedPowers I) (hunit : ∃ a ∈ I, IsUnit (algebraMap R K a)) (L : Ideal R) |
| 22 | |
| 23 | local notation "G" => DividedPowerAlgebra R (σ →₀ R) |
| 24 | local notation "Q" => L.map (algebraMap R G) |
| 25 | local notation "B" => OAI.AlgebraicGeometry.Crystalline.Cohomology.QuotientMultivariableD.QuotientMultivariableForms.Ring R σ L |
| 26 | local notation "q" => OAI.AlgebraicGeometry.Crystalline.Cohomology.QuotientMultivariableD.QuotientMultivariableForms.quotient R σ L |
| 27 | local notation "d" => OAI.AlgebraicGeometry.Crystalline.Cohomology.QuotientMultivariableD.QuotientMultivariableForms.derivation R σ K h I δ hunit L |
| 28 | local notation "dG" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.CoordinateDerivation.MultivariableCoordinateDerivation.derivation R σ K h I δ hunit |
| 29 | local notation "SG" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.Primitive.MultivariablePrimitive.primitive R σ K h |
| 30 | |
| 31 | def constants : (R ⧸ L) →ₐ[R] B := |
| 32 | Ideal.Quotient.liftₐ L (Algebra.ofId R B) (fun _a ha => |
| 33 | Ideal.Quotient.eq_zero_iff_mem.mpr (Ideal.mem_map_of_mem _ ha)) |
| 34 | |
| 35 | theorem constants_mk (a : R) : constants R σ L (Ideal.Quotient.mk L a) = q (algebraMap R G a) := rfl |
| 36 | |
| 37 | def primitive (i : σ) : B →ₗ[R] B := Base.IdealQuotient.BaseIdealQuotient.map L (SG i) |
| 38 | |
| 39 | theorem primitive_quotient (i : σ) (a : G) : primitive R σ K h L i (q a) = q (SG i a) := rfl |
| 40 | |
| 41 | def constantCoefficient : B →ₗ[R] (R ⧸ L) := |
| 42 | ((Q).restrictScalars R).liftQ |
| 43 | (L.mkQ.comp (Multivariable.Constants.MultivariableConstants.constantCoefficient R σ K h)) (by |
| 44 | intro a ha |
| 45 | apply Submodule.Quotient.mk_eq_zero _ |>.mpr |
| 46 | have hm := Base.IdealQuotient.BaseIdealQuotient.map_mem L (Multivariable.Constants.MultivariableConstants.constantCoefficient R σ K h) ha |
| 47 | simpa only [Algebra.algebraMap_self, Ideal.map_id] using hm) |
| 48 | |
| 49 | theorem constantCoefficient_quotient (a : G) : constantCoefficient R σ K h L (q a) = |
| 50 | Ideal.Quotient.mk L (Multivariable.Constants.MultivariableConstants.constantCoefficient R σ K h a) := rfl |
| 51 | |
| 52 | theorem derivation_primitive (i : σ) (a : B) : d i (primitive R σ K h L i a) = a := by |
| 53 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective a |
| 54 | change d i (primitive R σ K h L i (q a)) = q a |
| 55 | rw [primitive_quotient, QuotientMultivariableD.QuotientMultivariableForms.derivation_quotient, |
| 56 | Multivariable.Primitive.MultivariablePrimitive.derivation_primitive] |
| 57 | |
| 58 | theorem derivation_primitive_commute (i j : σ) (hji : j ≠ i) (a : B) : |
| 59 | d j (primitive R σ K h L i a) = primitive R σ K h L i (d j a) := by |
| 60 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective a |
| 61 | change d j (primitive R σ K h L i (q a)) = primitive R σ K h L i (d j (q a)) |
| 62 | rw [primitive_quotient, QuotientMultivariableD.QuotientMultivariableForms.derivation_quotient, |
| 63 | QuotientMultivariableD.QuotientMultivariableForms.derivation_quotient, primitive_quotient] |
| 64 | exact congrArg q (LinearMap.congr_fun |
| 65 | (Multivariable.Primitive.MultivariablePrimitive.derivation_primitive_commute R σ K h I δ hunit i j (Ne.symm hji)) a) |
| 66 | |
| 67 | theorem constantCoefficient_constants : |
| 68 | (constantCoefficient R σ K h L).comp (constants R σ L).toLinearMap = LinearMap.id := by |
| 69 | apply LinearMap.ext |
| 70 | intro a |
| 71 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective a |
| 72 | change constantCoefficient R σ K h L (constants R σ L (Ideal.Quotient.mk L a)) = Ideal.Quotient.mk L a |
| 73 | rw [constants_mk, constantCoefficient_quotient] |
| 74 | exact congrArg (Ideal.Quotient.mk L) |
| 75 | (LinearMap.congr_fun (Multivariable.Constants.MultivariableConstants.constantCoefficient_constants R σ K h) a) |
| 76 | |
| 77 | theorem derivation_constants (i : σ) (a : R ⧸ L) : d i (constants R σ L a) = 0 := by |
| 78 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective a |
| 79 | rw [constants_mk, QuotientMultivariableD.QuotientMultivariableForms.derivation_quotient, Derivation.map_algebraMap, map_zero] |
| 80 | |
| 81 | def derivatives (i : σ) : Module.End R B := (d i).toLinearMap |
| 82 | |
| 83 | local notation "D" => OAI.AlgebraicGeometry.Crystalline.Cohomology.QuotientMultivariableMk.QuotientMultivariablePrimitive.derivatives R σ K h I δ hunit L |
| 84 | local notation "S" => OAI.AlgebraicGeometry.Crystalline.Cohomology.QuotientMultivariableMk.QuotientMultivariablePrimitive.primitive R σ K h L |
| 85 | |
| 86 | theorem coordinateProjection_quotient (i : σ) (a : G) : |
| 87 | Koszul.CoordinateHomotopy.KoszulCoordinateHomotopy.coefficientProjection R σ B D i (S i) (q a) = |
| 88 | q (Multivariable.Primitive.MultivariablePrimitive.projection R σ K h i a) := by |
| 89 | change q a - primitive R σ K h L i (d i (q a)) = _ |
| 90 | rw [QuotientMultivariableD.QuotientMultivariableForms.derivation_quotient, primitive_quotient, ← map_sub] |
| 91 | exact congrArg q (sub_eq_iff_eq_add.mpr |
| 92 | ((Multivariable.Primitive.MultivariablePrimitive.primitive_derivation R σ K h I δ hunit i a).symm.trans (add_comm _ _))) |
| 93 | |
| 94 | theorem coefficientProjection_quotient (l : List σ) (a : G) : |
| 95 | Koszul.SuccessiveHomotopy.KoszulSuccessiveHomotopy.coefficient R σ B D S l (q a) = |
| 96 | q (Multivariable.Constants.MultivariableConstants.successive R σ K h l a) := by |
| 97 | induction l generalizing a with |
| 98 | | nil => rfl |
| 99 | | cons i l ih => |
| 100 | change Koszul.SuccessiveHomotopy.KoszulSuccessiveHomotopy.coefficient R σ B D S l |
| 101 | (Koszul.CoordinateHomotopy.KoszulCoordinateHomotopy.coefficientProjection R σ B D i (S i) (q a)) = _ |
| 102 | rw [coordinateProjection_quotient] |
| 103 | exact ih (Multivariable.Primitive.MultivariablePrimitive.projection R σ K h i a) |
| 104 | |
| 105 | theorem coefficientProjection_constants (l : List σ) (hl : ∀ i, i ∈ l) : |
| 106 | Koszul.SuccessiveHomotopy.KoszulSuccessiveHomotopy.coefficient R σ B D S l = |
| 107 | (constants R σ L).toLinearMap.comp (constantCoefficient R σ K h L) := by |
| 108 | apply LinearMap.ext |
| 109 | intro a |
| 110 | obtain ⟨a, rfl⟩ := Ideal.Quotient.mk_surjective a |
| 111 | change Koszul.SuccessiveHomotopy.KoszulSuccessiveHomotopy.coefficient R σ B D S l (q a) = |
| 112 | constants R σ L (constantCoefficient R σ K h L (q a)) |
| 113 | rw [coefficientProjection_quotient, constantCoefficient_quotient, constants_mk, |
| 114 | Multivariable.Constants.MultivariableConstants.successive_eq_constants R σ K h l hl] |
| 115 | rfl |
| 116 | |
| 117 | end |
| 118 | |
| 119 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.QuotientMultivariableMk.QuotientMultivariablePrimitive |