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.FreeRelative.ScalarComparison |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.Universal |
| 3 | |
| 4 | /-! # Power Map -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.PowerMap.FreeRelativePowerMap |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # Power-coordinate maps on the actual relative free PD resolution -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.DividedAlgebra.MultivariableDividedAlgebra |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (R σ : Type u) [CommRing R] (I : Ideal R) (δ : DividedPowers I) |
| 19 | |
| 20 | local notation "G" => DividedPowerAlgebra R (σ →₀ R) |
| 21 | local notation "IG" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.DividedPowers.MultivariableDividedPowers.ideal R σ I |
| 22 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.Powers.FreeRelativePowers.dividedPowers R σ I δ |
| 23 | |
| 24 | def total (a : σ → R) (i : σ) : G := algebraMap R G (a i) + Multivariable.DividedAlgebra.MultivariableDividedAlgebra.generator R σ 1 i |
| 25 | |
| 26 | variable (m : ℕ) (a c : σ → R) (h : ∀ i, a i ^ m - c i ∈ I) |
| 27 | |
| 28 | def image (i : σ) : G := total R σ a i ^ m - algebraMap R G (c i) |
| 29 | |
| 30 | include h in |
| 31 | theorem image_mem (i : σ) : image R σ m a c i ∈ IG := by |
| 32 | let q := Ideal.Quotient.mk IG |
| 33 | have hg : q (Multivariable.DividedAlgebra.MultivariableDividedAlgebra.generator R σ 1 i) = 0 := Ideal.Quotient.eq_zero_iff_mem.mpr |
| 34 | (Multivariable.DividedPowers.MultivariableDividedPowers.positive_generator_mem R σ I i 1 one_ne_zero) |
| 35 | have hc : q (algebraMap R G (a i ^ m - c i)) = 0 := Ideal.Quotient.eq_zero_iff_mem.mpr |
| 36 | (Ideal.subset_span (Or.inl ⟨⟨a i ^ m - c i, h i⟩, rfl⟩)) |
| 37 | apply Ideal.Quotient.eq_zero_iff_mem.mp |
| 38 | change q (total R σ a i ^ m - algebraMap R G (c i)) = 0 |
| 39 | simp only [total, map_sub, map_pow, map_add, hg, add_zero] |
| 40 | simpa only [map_sub, map_pow] using hc |
| 41 | |
| 42 | def map : G →ₐ[R] G := Universal.FreeRelativeUniversal.lift R σ G IG γ |
| 43 | (image R σ m a c) (image_mem R σ I m a c h) |
| 44 | |
| 45 | theorem map_isDPMorphism : DividedPowers.IsDPMorphism γ γ (map R σ I δ m a c h).toRingHom := |
| 46 | Universal.FreeRelativeUniversal.lift_isDPMorphism R σ I δ G IG γ |
| 47 | (Powers.FreeRelativePowers.base_isDPMorphism R σ I δ) |
| 48 | (image R σ m a c) (image_mem R σ I m a c h) |
| 49 | |
| 50 | theorem map_coordinate (i : σ) : |
| 51 | map R σ I δ m a c h (Multivariable.DividedAlgebra.MultivariableDividedAlgebra.generator R σ 1 i) = image R σ m a c i := |
| 52 | Universal.FreeRelativeUniversal.lift_coordinate R σ G IG γ |
| 53 | (image R σ m a c) (image_mem R σ I m a c h) i |
| 54 | |
| 55 | theorem map_total (i : σ) : map R σ I δ m a c h (total R σ c i) = total R σ a i ^ m := by |
| 56 | rw [total, _root_.map_add, AlgHom.commutes, map_coordinate, image] |
| 57 | abel |
| 58 | |
| 59 | def relativeComplexMap : PD.DeRham.PDDeRham.complex R G IG γ ⟶ PD.DeRham.PDDeRham.complex R G IG γ := |
| 60 | PD.DeRhamEquivalence.PDDeRhamEquivalence.complexMap (A := CommAlgCat.of R G) (B := CommAlgCat.of R G) |
| 61 | (CommAlgCat.ofHom (map R σ I δ m a c h)) (map_isDPMorphism R σ I δ m a c h) |
| 62 | |
| 63 | theorem relativeComplexMap_symbol (n : ℕ) (b : G) (v : Fin n → σ) : |
| 64 | ((relativeComplexMap R σ I δ m a c h).f n).hom |
| 65 | (PD.DeRham.PDDeRham.symbol R G IG γ b (total R σ c ∘ v)) = |
| 66 | PD.DeRham.PDDeRham.symbol R G IG γ (map R σ I δ m a c h b) |
| 67 | (fun j => total R σ a (v j) ^ m) := by |
| 68 | have hs := PD.DeRhamGlobal.PDDeRhamGlobal.formMap_symbol (A := CommAlgCat.of R G) (B := CommAlgCat.of R G) |
| 69 | (CommAlgCat.ofHom (map R σ I δ m a c h)) (map_isDPMorphism R σ I δ m a c h) |
| 70 | n b (total R σ c ∘ v) |
| 71 | change ((relativeComplexMap R σ I δ m a c h).f n).hom _ = |
| 72 | PD.DeRham.PDDeRham.symbol R G IG γ (map R σ I δ m a c h b) |
| 73 | (fun j => map R σ I δ m a c h (total R σ c (v j))) at hs |
| 74 | simpa only [map_total] using hs |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.PowerMap.FreeRelativePowerMap |