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.Koszul.PurityLocalization |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveResolution.BaseChange |
| 3 | import Mathlib.RingTheory.Regular.Flat |
| 4 | |
| 5 | /-! # Augmentation Base Change -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.AugmentationBaseChange |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The ordered Koszul scalar-extension map preserves the literal quotient |
| 12 | augmentation. This is the normalization needed for arbitrary resolutions. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.HomologicalComplex |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | |
| 20 | universe u |
| 21 | variable (R S : Type u) [CommRing R] [CommRing S] [Algebra R S] [Module.Flat R S] |
| 22 | |
| 23 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.OrientedTopCohomology OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.PurityLocalization |
| 24 | |
| 25 | def quotientLinear {n : ℕ} (s : Fin n → R) : |
| 26 | (R ⧸ OrientedTopCohomology.ideal R s) →ₗ[R] (S ⧸ OrientedTopCohomology.ideal S (algebraMap R S ∘ s)) where |
| 27 | toAddHom := (PurityLocalization.quotientMap R S s).toAddMonoidHom |
| 28 | map_smul' r x := by |
| 29 | change PurityLocalization.quotientMap R S s (r • x) = r • PurityLocalization.quotientMap R S s x |
| 30 | simp only [Algebra.smul_def, map_mul] |
| 31 | congr 1 |
| 32 | |
| 33 | def tensorQuotient {n : ℕ} (s : Fin n → R) : |
| 34 | S ⊗[R] (R ⧸ OrientedTopCohomology.ideal R s) →ₗ[S] (S ⧸ OrientedTopCohomology.ideal S (algebraMap R S ∘ s)) := |
| 35 | TensorProduct.AlgebraTensorModule.lift |
| 36 | ((LinearMap.id : S →ₗ[S] S).smulRight (quotientLinear R S s)) |
| 37 | |
| 38 | omit [Module.Flat R S] in |
| 39 | theorem tensorQuotient_tmul {n : ℕ} (s : Fin n → R) (a : S) (x : R ⧸ OrientedTopCohomology.ideal R s) : |
| 40 | tensorQuotient R S s (a ⊗ₜ[R] x) = a • PurityLocalization.quotientMap R S s x := rfl |
| 41 | |
| 42 | theorem degree_zero {n : ℕ} (s : Fin n → R) (a : S) (x : ⋀[R]^0 (Fin n → R)) : |
| 43 | exteriorPower.zeroEquiv S (Fin n → S) |
| 44 | ((CoordinateBaseChange.iso R S s).hom.f 0 (a ⊗ₜ[R] x)) = |
| 45 | a * algebraMap R S (exteriorPower.zeroEquiv R (Fin n → R) x) := by |
| 46 | change exteriorPower.zeroEquiv S _ (exteriorPower.map 0 |
| 47 | (CoordinateBaseChange.coordinate R S n).toLinearMap |
| 48 | (Exterior.ContractionBaseChange.power R S (Fin n → R) 0 (a ⊗ₜ[R] x))) = _ |
| 49 | have hz := LinearMap.congr_fun (exteriorPower.zeroEquiv_naturality |
| 50 | (CoordinateBaseChange.coordinate R S n).toLinearMap) |
| 51 | (Exterior.ContractionBaseChange.power R S (Fin n → R) 0 (a ⊗ₜ[R] x)) |
| 52 | dsimp only [LinearMap.comp_apply, LinearEquiv.coe_coe] at hz |
| 53 | rw [hz] |
| 54 | obtain ⟨r, rfl⟩ := (exteriorPower.zeroEquiv R (Fin n → R)).symm.surjective x |
| 55 | rw [exteriorPower.zeroEquiv_symm_apply, TensorProduct.tmul_smul, |
| 56 | TensorProduct.smul_tmul'] |
| 57 | rw [GeometricComparison.Integral.ExteriorPowerBaseChange.IntegralExteriorBaseChange.powerEquiv_tmul_ιMulti, map_smul] |
| 58 | simp [Algebra.smul_def, mul_comm] |
| 59 | |
| 60 | theorem augmentation {n : ℕ} (s : Fin n → R) |
| 61 | (hreg : RingTheory.Sequence.IsWeaklyRegular R (List.ofFn s)) |
| 62 | (hregS : RingTheory.Sequence.IsWeaklyRegular S (List.ofFn (algebraMap R S ∘ s))) : |
| 63 | (CoordinateBaseChange.iso R S s).hom.f 0 ≫ |
| 64 | (Exterior.KoszulResolution.resolution S (algebraMap R S ∘ s) hregS).π.f 0 = |
| 65 | (PurityLocalization.tensorFunctor R S).map ((Exterior.KoszulResolution.resolution R s hreg).π.f 0) ≫ |
| 66 | ModuleCat.ofHom (tensorQuotient R S s) := by |
| 67 | rw [Exterior.KoszulResolution.resolution_π_f_zero, |
| 68 | Exterior.KoszulResolution.resolution_π_f_zero] |
| 69 | apply ModuleCat.hom_ext |
| 70 | change (OrientedTopCohomology.ideal S (algebraMap R S ∘ s)).mkQ.comp |
| 71 | ((exteriorPower.zeroEquiv S (Fin n → S)).toLinearMap.comp |
| 72 | ((CoordinateBaseChange.iso R S s).hom.f 0).hom) = |
| 73 | (tensorQuotient R S s).comp |
| 74 | (((OrientedTopCohomology.ideal R s).mkQ.comp (exteriorPower.zeroEquiv R (Fin n → R)).toLinearMap).baseChange S) |
| 75 | apply TensorProduct.AlgebraTensorModule.ext |
| 76 | intro a x |
| 77 | change Ideal.Quotient.mk _ (exteriorPower.zeroEquiv S _ |
| 78 | ((CoordinateBaseChange.iso R S s).hom.f 0 (a ⊗ₜ[R] x))) = |
| 79 | tensorQuotient R S s (a ⊗ₜ[R] Ideal.Quotient.mk _ (exteriorPower.zeroEquiv R _ x)) |
| 80 | rw [degree_zero, tensorQuotient_tmul] |
| 81 | simp [PurityLocalization.quotientMap, map_mul, Algebra.smul_def] |
| 82 | |
| 83 | theorem regular {n : ℕ} (s : Fin n → R) |
| 84 | (hreg : RingTheory.Sequence.IsWeaklyRegular R (List.ofFn s)) : |
| 85 | RingTheory.Sequence.IsWeaklyRegular S (List.ofFn (algebraMap R S ∘ s)) := by |
| 86 | simpa using hreg.of_flat (S := S) |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.AugmentationBaseChange |