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.ResolutionMapBaseChange |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveCoefficient.Purity |
| 3 | |
| 4 | /-! # Coefficient Evaluation Base Change -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.CoefficientEvaluationBaseChange |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Quotient coefficient evaluation commutes with flat base change. |
| 11 | The coefficient hypotheses are literal tensor squares; the purity |
| 12 | normalization enters only for the scalar quotient. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | |
| 20 | universe u |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Resolution.CohomologyMaps OAI.NumberTheory.PadicHodge.IntegralComparison.Quotient.CoefficientEvaluation OAI.NumberTheory.PadicHodge.IntegralComparison.DualBaseChangeNaturality |
| 22 | |
| 23 | variable (R S Q Q' : Type u) [CommRing R] [CommRing S] [Algebra R S] |
| 24 | [Module.Flat R S] [CommRing Q] [CommRing Q'] [Algebra R Q] [Algebra S Q'] |
| 25 | (C C' : Type u) [AddCommGroup C] [AddCommGroup C'] |
| 26 | [Module Q C] [Module R C] [IsScalarTower R Q C] |
| 27 | [Module Q' C'] [Module S C'] [IsScalarTower S Q' C'] |
| 28 | (q : (DualBaseChangeNaturality.tensorFunctor R S).obj (ModuleCat.of R Q) ⟶ ModuleCat.of S Q') |
| 29 | (t : (DualBaseChangeNaturality.tensorFunctor R S).obj (ModuleCat.of R C) ⟶ ModuleCat.of S C') |
| 30 | (α : Q → Q') (β : C → C') |
| 31 | (hq : ∀ (a : S) (x : Q), q (a ⊗ₜ[R] x) = a • α x) |
| 32 | (ht : ∀ (a : S) (x : C), t (a ⊗ₜ[R] x) = a • β x) |
| 33 | (hβ : ∀ (x : Q) (m : C), β (x • m) = α x • β m) |
| 34 | |
| 35 | include hq ht hβ in |
| 36 | omit [Module.Flat R S] in |
| 37 | theorem point_square (m : C) : |
| 38 | (DualBaseChangeNaturality.tensorFunctor R S).map (Quotient.CoefficientEvaluation.point R Q C m) ≫ t = |
| 39 | q ≫ Quotient.CoefficientEvaluation.point S Q' C' (β m) := by |
| 40 | apply ConcreteCategory.hom_ext |
| 41 | intro z |
| 42 | induction z using TensorProduct.inductionOn with |
| 43 | | tmul a x => |
| 44 | change t (a ⊗ₜ[R] (x • m)) = (q (a ⊗ₜ[R] x)) • β m |
| 45 | rw [ht, hq, hβ, smul_assoc] |
| 46 | | add x y hx hy => simpa only [_root_.map_add] using congrArg₂ (· + ·) hx hy |
| 47 | |
| 48 | variable (P : ProjectiveResolution (ModuleCat.of R Q)) |
| 49 | (PC : ProjectiveResolution (ModuleCat.of R C)) |
| 50 | (P' : ProjectiveResolution (ModuleCat.of S Q')) |
| 51 | (PC' : ProjectiveResolution (ModuleCat.of S C')) |
| 52 | [∀ i, Module.Free R (P.complex.X i)] [∀ i, Module.Finite R (P.complex.X i)] |
| 53 | [∀ i, Module.Free R (PC.complex.X i)] [∀ i, Module.Finite R (PC.complex.X i)] |
| 54 | (eP : (DualBaseChangeNaturality.tensorComplex R S).obj P.complex ≅ P'.complex) |
| 55 | (ePC : (DualBaseChangeNaturality.tensorComplex R S).obj PC.complex ≅ PC'.complex) |
| 56 | (hP : eP.hom.f 0 ≫ P'.π.f 0 = (DualBaseChangeNaturality.tensorFunctor R S).map (P.π.f 0) ≫ q) |
| 57 | (hPC : ePC.hom.f 0 ≫ PC'.π.f 0 = (DualBaseChangeNaturality.tensorFunctor R S).map (PC.π.f 0) ≫ t) |
| 58 | (T : ModuleCat.{u} R) (T' : ModuleCat.{u} S) |
| 59 | (eT : T ≅ ModuleCat.of R R) (eT' : T' ≅ ModuleCat.of S S) |
| 60 | (n : ℕ) |
| 61 | |
| 62 | include hq ht hβ hP hPC in |
| 63 | theorem pullback (x : Quotient.CoefficientEvaluation.group R T n PC) (m : C) : |
| 64 | Resolution.CohomologyMaps.map (Resolution.CohomologyMaps.homFunctor S T') P' PC' (Quotient.CoefficientEvaluation.point S Q' C' (β m)) n |
| 65 | ((LinearHomBaseChange.homologyIso R S PC.complex PC'.complex ePC T T' eT eT' n).hom |
| 66 | (1 ⊗ₜ[R] x)) = |
| 67 | (LinearHomBaseChange.homologyIso R S P.complex P'.complex eP T T' eT eT' n).hom |
| 68 | (1 ⊗ₜ[R] Resolution.CohomologyMaps.map (Resolution.CohomologyMaps.homFunctor R T) P PC (Quotient.CoefficientEvaluation.point R Q C m) n x) := by |
| 69 | have h := ResolutionMapBaseChange.Linear.naturality R S P PC P' PC' eP ePC q t hP hPC |
| 70 | (Quotient.CoefficientEvaluation.point R Q C m) (Quotient.CoefficientEvaluation.point S Q' C' (β m)) |
| 71 | (point_square R S Q Q' C C' q t α β hq ht hβ m) T T' eT eT' n |
| 72 | have hx := ConcreteCategory.congr_hom h (1 ⊗ₜ[R] x) |
| 73 | change (LinearHomBaseChange.homologyIso R S P.complex P'.complex eP T T' eT eT' n).hom |
| 74 | (1 ⊗ₜ[R] Resolution.CohomologyMaps.map (Resolution.CohomologyMaps.homFunctor R T) P PC (Quotient.CoefficientEvaluation.point R Q C m) n x) = _ at hx |
| 75 | exact hx.symm |
| 76 | |
| 77 | variable (L L' : Type u) [AddCommGroup L] [AddCommGroup L'] |
| 78 | [Module Q L] [Module R L] [IsScalarTower R Q L] |
| 79 | [Module Q' L'] [Module S L'] [IsScalarTower S Q' L'] |
| 80 | (eL : Quotient.CoefficientEvaluation.group R T n P ≅ ModuleCat.of R L) |
| 81 | (eL' : Quotient.CoefficientEvaluation.group S T' n P' ≅ ModuleCat.of S L') |
| 82 | (ell : L → L') |
| 83 | (hL : ∀ x : Quotient.CoefficientEvaluation.group R T n P, |
| 84 | eL'.hom ((LinearHomBaseChange.homologyIso R S P.complex P'.complex eP T T' eT eT' n).hom |
| 85 | (1 ⊗ₜ[R] x)) = ell (eL.hom x)) |
| 86 | [Module.Finite Q C] [Module.Projective Q C] |
| 87 | [Module.Finite Q' C'] [Module.Projective Q' C'] |
| 88 | (hQ : Function.Surjective (algebraMap R Q)) |
| 89 | (hQ' : Function.Surjective (algebraMap S Q')) |
| 90 | (e : Quotient.CoefficientEvaluation.group R T n P ≅ ModuleCat.of R Q) |
| 91 | (e' : Quotient.CoefficientEvaluation.group S T' n P' ≅ ModuleCat.of S Q') |
| 92 | |
| 93 | include hq ht hβ hP hPC hL in |
| 94 | theorem evaluation (x : Quotient.CoefficientEvaluation.group R T n PC) (m : C) : |
| 95 | ProjectiveCoefficient.Purity.equiv S Q' hQ' T' n P' e' C' PC' L' eL' |
| 96 | ((LinearHomBaseChange.homologyIso R S PC.complex PC'.complex ePC T T' eT eT' n).hom |
| 97 | (1 ⊗ₜ[R] x)) (β m) = |
| 98 | ell (ProjectiveCoefficient.Purity.equiv R Q hQ T n P e C PC L eL x m) := by |
| 99 | rw [ProjectiveCoefficient.Purity.equiv_apply, ProjectiveCoefficient.Purity.equiv_apply, |
| 100 | pullback R S Q Q' C C' q t α β hq ht hβ P PC P' PC' eP ePC hP hPC T T' eT eT' n] |
| 101 | exact hL _ |
| 102 | |
| 103 | end |
| 104 | |
| 105 | end OAI.NumberTheory.PadicHodge.IntegralComparison.CoefficientEvaluationBaseChange |