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.NumberTheory.PadicHodge.IntegralComparison.PoincareAugmentationFormula |
| 2 | |
| 3 | /-! # Poincare -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Additive.Poincare |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: the canonical integral Poincaré map as a map of additive complexes |
| 11 | |
| 12 | Forgetting the coefficient-module structure preserves the proved |
| 13 | homotopy equivalence. The canonical transport of a complex concentrated |
| 14 | in degree zero gives the additive augmentation with its explicit formula. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable (R σ : Type u) [CommRing R] (I : Ideal R) (δ : DividedPowers I) [Fintype σ] |
| 22 | |
| 23 | local notation "G" => DividedPowerAlgebra R (σ →₀ R) |
| 24 | local notation "IG" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Multivariable.DividedPowers.MultivariableDividedPowers.ideal R σ I |
| 25 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.Powers.FreeRelativePowers.dividedPowers R σ I δ |
| 26 | abbrev forgetCoefficients : ModuleCat.{u} R ⥤ AddCommGrpCat.{u} := forget₂ _ _ |
| 27 | |
| 28 | local notation "F" => OAI.NumberTheory.PadicHodge.IntegralComparison.Additive.Poincare.forgetCoefficients R |
| 29 | local notation "M" => ModuleCat.of R R |
| 30 | |
| 31 | def complex : CochainComplex AddCommGrpCat.{u} ℕ := |
| 32 | ((F).mapHomologicalComplex (ComplexShape.up ℕ)).obj (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.complex R G IG γ) |
| 33 | |
| 34 | omit [Fintype σ] in |
| 35 | theorem complex_d_apply (n : ℕ) (ω : AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R G IG γ n) : |
| 36 | (complex R σ I δ).d n (n + 1) ω = AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential R G IG γ n ω := by |
| 37 | have hd := CochainComplex.of_d |
| 38 | (fun n => ModuleCat.of R (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.Form R G IG γ n)) |
| 39 | (fun n => ModuleCat.ofHom (AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.differential R G IG γ n)) n |
| 40 | exact congrArg (fun d => d ω) hd |
| 41 | |
| 42 | def sourceIso : |
| 43 | ((F).mapHomologicalComplex (ComplexShape.up ℕ)).obj ((CochainComplex.single₀ (ModuleCat R)).obj M) ≅ |
| 44 | (CochainComplex.single₀ AddCommGrpCat.{u}).obj (AddCommGrpCat.of R) := |
| 45 | (HomologicalComplex.singleMapHomologicalComplex F (ComplexShape.up ℕ) 0).app M |
| 46 | |
| 47 | def mappedHomotopyEquiv := (F).mapHomotopyEquiv (AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.Poincare.FreeRelativePoincare.homotopyEquiv R σ I δ) |
| 48 | |
| 49 | def augmentation : |
| 50 | (CochainComplex.single₀ AddCommGrpCat.{u}).obj (AddCommGrpCat.of R) ⟶ complex R σ I δ := |
| 51 | (sourceIso R).inv ≫ (mappedHomotopyEquiv R σ I δ).hom |
| 52 | |
| 53 | instance augmentation_quasiIso : QuasiIso (augmentation R σ I δ) := by |
| 54 | have : QuasiIso (mappedHomotopyEquiv R σ I δ).hom := |
| 55 | HomotopyEquiv.quasiIso_hom (mappedHomotopyEquiv R σ I δ) |
| 56 | exact inferInstanceAs (QuasiIso ((sourceIso R).inv ≫ (mappedHomotopyEquiv R σ I δ).hom)) |
| 57 | |
| 58 | omit [Fintype σ] in |
| 59 | theorem sourceIso_inv_zero : (sourceIso R).inv.f 0 = 𝟙 (AddCommGrpCat.of R) := by |
| 60 | exact (HomologicalComplex.singleMapHomologicalComplex_inv_app_self F (ComplexShape.up ℕ) 0 M).trans |
| 61 | (by |
| 62 | simp only [CochainComplex.single₀ObjXSelf, Iso.refl_hom, Iso.refl_inv] |
| 63 | rfl) |
| 64 | |
| 65 | theorem augmentation_zero (r : R) : (augmentation R σ I δ).f 0 r = |
| 66 | AlgebraicGeometry.Crystalline.Cohomology.PD.DeRham.PDDeRham.symbol R G IG γ (algebraMap R G r) (fun i : Fin 0 => i.elim0) := by |
| 67 | change (mappedHomotopyEquiv R σ I δ).hom.f 0 ((sourceIso R).inv.f 0 r) = _ |
| 68 | rw [sourceIso_inv_zero] |
| 69 | exact PoincareAugmentationFormula.augmentation_zero R σ I δ r |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Additive.Poincare |