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.Poincare |
| 2 | |
| 3 | /-! # Poincare Augmentation Formula -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.PoincareAugmentationFormula |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: the integral Poincaré augmentation is the canonical inclusion of constants |
| 11 | |
| 12 | The proved contraction uses several coordinate identifications. Their |
| 13 | formula on tensor words identifies its augmentation with the canonical |
| 14 | degree-zero differential symbol, which is natural under restriction. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory |
| 18 | open scoped TensorProduct |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable (R σ : Type u) [CommRing R] (I : Ideal R) (δ : DividedPowers I) [Fintype σ] |
| 23 | |
| 24 | local notation "P" => MvPolynomial σ R |
| 25 | local notation "IP" => OAI.AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.Envelope.FreeRelativeEnvelope.polynomialIdeal R σ I |
| 26 | local notation "E" => OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.EnvelopeDp.PDEnvelope.Envelope R P I δ IP |
| 27 | local notation "IE" => OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.EnvelopeDp.PDEnvelope.ideal R P I δ IP |
| 28 | local notation "ε" => OAI.AlgebraicGeometry.Crystalline.Cohomology.PD.EnvelopeDp.PDEnvelope.dividedPowers R P I δ IP |
| 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.FreeRelative.Powers.FreeRelativePowers.dividedPowers R σ I δ |
| 32 | local notation "e" => OAI.AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.Envelope.FreeRelativeEnvelope.algebraEquiv R σ I δ |
| 33 | |
| 34 | attribute [local instance] AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.Envelope.FreeRelativeEnvelope.envelopeBaseAlgebra |
| 35 | |
| 36 | theorem tensorIso_inv_tmul (n : ℕ) (a : G) (ω : ⋀[R]^n (σ →₀ R)) : |
| 37 | (AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.Poincare.FreeRelativePoincare.tensorIso R σ I δ).inv.f n (a ⊗ₜ[R] ω) = (e).symm a ⊗ₜ[R] ω := by |
| 38 | change TensorProduct.congr (e).toLinearEquiv.symm (LinearEquiv.refl R _).symm (a ⊗ₜ[R] ω) = _ |
| 39 | rw [TensorProduct.congr_tmul] |
| 40 | rfl |
| 41 | |
| 42 | theorem envelopeFormsIso_hom_word [LinearOrder σ] (n : ℕ) (a : E) (v : Fin n → σ) : |
| 43 | (AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.Poincare.FreeRelativePoincare.envelopeFormsIso R σ I δ).hom.f n |
| 44 | (a ⊗ₜ[R] exteriorPower.ιMulti R n (fun i => Finsupp.single (v i) 1)) = |
| 45 | AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol R E IE ε a (AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.Envelope.FreeRelativeEnvelope.coordinate R σ I δ ∘ v) := |
| 46 | AlgebraicGeometry.Crystalline.Cohomology.PD.FormsTensor.PDFormsTensor.formsEquiv_word R E σ IE ε (AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.Envelope.FreeRelativeEnvelope.coordinate R σ I δ) |
| 47 | (AlgebraicGeometry.Crystalline.Cohomology.Polynomial.EnvelopeForms.PolynomialEnvelopeForms.basis R σ I δ IP (AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.Envelope.FreeRelativeEnvelope.base_le R σ I)) |
| 48 | (AlgebraicGeometry.Crystalline.Cohomology.Polynomial.EnvelopeForms.PolynomialEnvelopeForms.basis_apply R σ I δ IP (AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.Envelope.FreeRelativeEnvelope.base_le R σ I)) n a v |
| 49 | |
| 50 | omit [Fintype σ] in |
| 51 | theorem dividedFormsIso_hom_symbol (n : ℕ) (a : E) (v : Fin n → E) : |
| 52 | (AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.Poincare.FreeRelativePoincare.dividedFormsIso R σ I δ).hom.f n (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol R E IE ε a v) = |
| 53 | AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol R G IG γ (e a) (fun i => e (v i)) := |
| 54 | AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamGlobal.PDDeRhamGlobal.formMap_symbol (CommAlgCat.ofHom (e).toAlgHom) |
| 55 | (AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.Envelope.FreeRelativeEnvelope.algebraEquiv_isDPMorphism R σ I δ) n a v |
| 56 | |
| 57 | omit [Fintype σ] in |
| 58 | theorem coordinate_image (i : σ) : e (AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.Envelope.FreeRelativeEnvelope.coordinate R σ I δ i) = |
| 59 | AlgebraicGeometry.Crystalline.Cohomology.Multivariable.DividedAlgebra.MultivariableDividedAlgebra.generator R σ 1 i := |
| 60 | AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.Envelope.FreeRelativeEnvelope.toDivided_coordinate R σ I δ i |
| 61 | |
| 62 | theorem complexIso_hom_word (n : ℕ) (a : G) (v : Fin n → σ) : |
| 63 | (AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.Poincare.FreeRelativePoincare.complexIso R σ I δ).hom.f n |
| 64 | (a ⊗ₜ[R] exteriorPower.ιMulti R n (fun i => Finsupp.single (v i) 1)) = |
| 65 | AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol R G IG γ a (fun i => AlgebraicGeometry.Crystalline.Cohomology.Multivariable.DividedAlgebra.MultivariableDividedAlgebra.generator R σ 1 (v i)) := by |
| 66 | let : LinearOrder σ := LinearOrder.lift' (Fintype.equivFin σ) (Fintype.equivFin σ).injective |
| 67 | change (AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.Poincare.FreeRelativePoincare.dividedFormsIso R σ I δ).hom.f n |
| 68 | ((AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.Poincare.FreeRelativePoincare.envelopeFormsIso R σ I δ).hom.f n |
| 69 | ((AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.Poincare.FreeRelativePoincare.tensorIso R σ I δ).inv.f n |
| 70 | (a ⊗ₜ[R] exteriorPower.ιMulti R n (fun i => Finsupp.single (v i) 1)))) = _ |
| 71 | rw [tensorIso_inv_tmul, envelopeFormsIso_hom_word, dividedFormsIso_hom_symbol, |
| 72 | AlgEquiv.apply_symm_apply] |
| 73 | simp only [Function.comp_apply, coordinate_image] |
| 74 | rfl |
| 75 | |
| 76 | theorem koszul_hom_zero : (AlgebraicGeometry.Crystalline.Cohomology.FreeDivided.KoszulHomotopy.FreeDividedKoszulHomotopy.homotopyEquiv R σ).hom.f 0 = |
| 77 | AlgebraicGeometry.Crystalline.Cohomology.FreeDivided.KoszulHomotopy.FreeDividedKoszulHomotopy.inclusionHom R σ := |
| 78 | AlgebraicGeometry.Crystalline.Cohomology.SingleRetraction.SingleRetractionHomotopy.augmentation_zero (AlgebraicGeometry.Crystalline.Cohomology.FreeDivided.KoszulHomotopy.FreeDividedKoszulHomotopy.complex R σ) |
| 79 | (ModuleCat.of R R) (AlgebraicGeometry.Crystalline.Cohomology.FreeDivided.KoszulHomotopy.FreeDividedKoszulHomotopy.inclusionHom R σ) |
| 80 | (AlgebraicGeometry.Crystalline.Cohomology.FreeDivided.KoszulHomotopy.FreeDividedKoszulHomotopy.differential_inclusionHom R σ) |
| 81 | |
| 82 | omit [Fintype σ] in |
| 83 | theorem exterior_zero_word : (exteriorPower.zeroEquiv R (σ →₀ R)).symm 1 = |
| 84 | exteriorPower.ιMulti R 0 (fun i : Fin 0 => Finsupp.single (Fin.elim0 i : σ) 1) := by |
| 85 | apply (exteriorPower.zeroEquiv R (σ →₀ R)).injective |
| 86 | rw [LinearEquiv.apply_symm_apply, exteriorPower.zeroEquiv_ιMulti] |
| 87 | |
| 88 | /-- The proved Poincaré quasi-isomorphism is the canonical inclusion of constants. -/ |
| 89 | theorem augmentation_zero (r : R) : |
| 90 | (AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.Poincare.FreeRelativePoincare.augmentation R σ I δ).f 0 r = |
| 91 | AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol R G IG γ (algebraMap R G r) (fun i : Fin 0 => Fin.elim0 i) := by |
| 92 | change (AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.Poincare.FreeRelativePoincare.complexIso R σ I δ).hom.f 0 |
| 93 | ((AlgebraicGeometry.Crystalline.Cohomology.FreeDivided.KoszulHomotopy.FreeDividedKoszulHomotopy.homotopyEquiv R σ).hom.f 0 r) = _ |
| 94 | rw [koszul_hom_zero] |
| 95 | change (AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.Poincare.FreeRelativePoincare.complexIso R σ I δ).hom.f 0 |
| 96 | (AlgebraicGeometry.Crystalline.Cohomology.FreeDivided.KoszulHomotopy.FreeDividedKoszulHomotopy.inclusionZero R σ r) = _ |
| 97 | rw [AlgebraicGeometry.Crystalline.Cohomology.FreeDivided.KoszulHomotopy.FreeDividedKoszulHomotopy.inclusionZero_apply, exterior_zero_word, complexIso_hom_word] |
| 98 | congr 1 |
| 99 | funext i |
| 100 | exact Fin.elim0 i |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.NumberTheory.PadicHodge.IntegralComparison.PoincareAugmentationFormula |