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.PD.CoordinateBasis |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.Poincare |
| 3 | |
| 4 | /-! # Forms -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.Forms.MultivariableForms |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # Coordinate bases on actual multivariable divided-power forms -/ |
| 11 | |
| 12 | open _root_.CategoryTheory Classical |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (R σ K : Type u) [CommRing R] [Field K] [CharZero K] [Algebra R K] |
| 17 | (h : Function.Injective (algebraMap R K)) |
| 18 | (I : Ideal R) (δ : DividedPowers I) (hunit : ∃ a ∈ I, IsUnit (algebraMap R K a)) [Fintype σ] |
| 19 | |
| 20 | local notation "P" => MvPolynomial σ R |
| 21 | local notation "IP" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.Envelope.MultivariableEnvelope.polynomialIdeal R σ I |
| 22 | local notation "E" => OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.EnvelopeDp.PDEnvelope.Envelope R P I δ IP |
| 23 | local notation "IE" => OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.EnvelopeDp.PDEnvelope.ideal R P I δ IP |
| 24 | local notation "ε" => OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.EnvelopeDp.PDEnvelope.dividedPowers R P I δ IP |
| 25 | local notation "G" => DividedPowerAlgebra R (σ →₀ R) |
| 26 | local notation "IG" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.DividedPowers.MultivariableDividedPowers.ideal R σ I |
| 27 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.DividedPowers.MultivariableDividedPowers.dividedPowers R σ K h I δ hunit |
| 28 | |
| 29 | attribute [local instance] Envelope.MultivariableEnvelope.envelopeBaseAlgebra |
| 30 | |
| 31 | local notation "e" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.Envelope.MultivariableEnvelope.algebraEquiv R σ K h I δ hunit |
| 32 | local notation "he" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.Envelope.MultivariableEnvelope.algebraEquiv_isDPMorphism R σ K h I δ hunit |
| 33 | local notation "hi" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.Envelope.MultivariableEnvelope.algebraEquiv_symm_isDPMorphism R σ K h I δ hunit |
| 34 | local notation "base" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.Envelope.MultivariableEnvelope.base_le R σ I |
| 35 | local notation "dE" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Polynomial.EnvelopeForms.PolynomialEnvelopeForms.pderiv R σ I δ IP base |
| 36 | local notation "dG" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.CoordinateDerivation.MultivariableCoordinateDerivation.derivation R σ K h I δ hunit |
| 37 | local notation "x" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.DividedAlgebra.MultivariableDividedAlgebra.generator R σ 1 |
| 38 | |
| 39 | def envelopeFormMap (n : ℕ) : PD.DeRham.PDDeRham.Form R E IE ε n →ₗ[R] PD.DeRham.PDDeRham.Form R G IG γ n := |
| 40 | PD.DeRhamGlobal.PDDeRhamGlobal.formMap (CommAlgCat.ofHom (e).toAlgHom) he n |
| 41 | |
| 42 | omit [Fintype σ] in |
| 43 | theorem envelopeFormMap_D (a : E) : |
| 44 | envelopeFormMap R σ K h I δ hunit 1 (PD.OneForms.PDOneForms.D R E IE ε a) = PD.OneForms.PDOneForms.D R G IG γ (e a) := |
| 45 | PD.DeRhamEquivalence.PDDeRhamEquivalence.formsEquiv_D (A := CommAlgCat.of R E) (B := CommAlgCat.of R G) e he hi a |
| 46 | |
| 47 | /-- Expansion of the universal PD derivation in the actual divided coordinates. -/ |
| 48 | theorem D_eq_sum (a : G) : |
| 49 | PD.OneForms.PDOneForms.D R G IG γ a = ∑ i, dG i a • PD.OneForms.PDOneForms.D R G IG γ (x i) := by |
| 50 | obtain ⟨a, rfl⟩ := (e).surjective a |
| 51 | rw [← envelopeFormMap_D, Polynomial.EnvelopeForms.PolynomialEnvelopeForms.D_eq_sum R σ I δ IP base, map_sum] |
| 52 | apply Finset.sum_congr rfl |
| 53 | intro i _ |
| 54 | have hs := PD.DeRhamGlobal.PDDeRhamGlobal.formMap_smul (A := CommAlgCat.of R E) (B := CommAlgCat.of R G) |
| 55 | (CommAlgCat.ofHom (e).toAlgHom) he 1 (dE i a) |
| 56 | (PD.OneForms.PDOneForms.D R E IE ε (Polynomial.EnvelopeForms.PolynomialEnvelopeForms.coordinate R σ I δ IP i)) |
| 57 | change envelopeFormMap R σ K h I δ hunit 1 (dE i a • _) = |
| 58 | e (dE i a) • envelopeFormMap R σ K h I δ hunit 1 _ at hs |
| 59 | have hc : e (Polynomial.EnvelopeForms.PolynomialEnvelopeForms.coordinate R σ I δ IP i) = x i := |
| 60 | Envelope.MultivariableEnvelope.toDivided_coordinate R σ K h I δ hunit i |
| 61 | rw [hs, envelopeFormMap_D, hc] |
| 62 | exact congrArg (fun c : G => c • PD.OneForms.PDOneForms.D R G IG γ (x i)) |
| 63 | (PD.DerivationTransport.PDDerivationTransport.conjugate_apply_equiv R E G e (dE i) a).symm |
| 64 | |
| 65 | omit [Fintype σ] in |
| 66 | theorem derivation_dpow_smul (i : σ) (n : ℕ) (a : G) (ha : a ∈ IG) : |
| 67 | dG i ((γ).dpow (n + 1) a) = (γ).dpow n a • dG i a := |
| 68 | CoordinateDerivation.MultivariableCoordinateDerivation.derivation_dpow R σ K h I δ hunit i n ha |
| 69 | |
| 70 | def basis : Module.Basis σ G (PD.DeRham.PDDeRham.Form R G IG γ 1) := |
| 71 | PD.CoordinateBasis.PDCoordinateBasis.basis R G σ IG γ x dG (derivation_dpow_smul R σ K h I δ hunit) |
| 72 | (D_eq_sum R σ K h I δ hunit) |
| 73 | (fun i j => CoordinateDerivation.MultivariableCoordinateDerivation.derivation_coordinate R σ K h I δ hunit i j) |
| 74 | |
| 75 | theorem basis_apply (i : σ) : basis R σ K h I δ hunit i = PD.OneForms.PDOneForms.D R G IG γ (x i) := |
| 76 | PD.CoordinateBasis.PDCoordinateBasis.basis_apply R G σ IG γ x dG (derivation_dpow_smul R σ K h I δ hunit) |
| 77 | (D_eq_sum R σ K h I δ hunit) |
| 78 | (fun i j => CoordinateDerivation.MultivariableCoordinateDerivation.derivation_coordinate R σ K h I δ hunit i j) i |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.Forms.MultivariableForms |