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.NegativeCommonRefinement |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.NegativeTerms |
| 3 | |
| 4 | /-! # Negative Refinement -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.NegativeRefinement |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every morphism of coherent sheaves on projective space has a |
| 11 | literal common negative resolution mapping to the two fixed resolutions. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] |
| 20 | {σ : Type} [Fintype σ] [LinearOrder σ] |
| 21 | |
| 22 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 23 | |
| 24 | variable (M N : (Proj (homogeneousSubmodule σ R)).Modules) |
| 25 | [M.IsQuasicoherent] [M.IsFiniteType] [N.IsQuasicoherent] [N.IsFiniteType] |
| 26 | (j : σ) (B : ℕ) |
| 27 | |
| 28 | instance fixed_object_quasicoherent (n : ℕ) : |
| 29 | ((NegativeResolution.tower M j B).object n).IsQuasicoherent := |
| 30 | inferInstanceAs (NegativeResolution.state M j B n).module.IsQuasicoherent |
| 31 | |
| 32 | instance fixed_term_quasicoherent (n : ℕ) : |
| 33 | ((NegativeResolution.tower M j B).term n).IsQuasicoherent := |
| 34 | inferInstanceAs (NegativeResolution.presentation |
| 35 | (NegativeResolution.state M j B n).module j B).source.IsQuasicoherent |
| 36 | |
| 37 | instance fixed_term_finiteType (n : ℕ) : |
| 38 | ((NegativeResolution.tower M j B).term n).IsFiniteType := |
| 39 | inferInstanceAs (NegativeResolution.presentation |
| 40 | (NegativeResolution.state M j B n).module j B).source.IsFiniteType |
| 41 | |
| 42 | variable (f : M ⟶ N) |
| 43 | |
| 44 | def tower := NegativeCommonRefinement.tower |
| 45 | (NegativeResolution.tower M j B) (NegativeResolution.tower N j B) |
| 46 | j B M (𝟙 M) f |
| 47 | |
| 48 | def leftHom : KernelTowerMap.Hom (tower M N j B f) (NegativeResolution.tower M j B) := |
| 49 | NegativeCommonRefinement.leftHom |
| 50 | (NegativeResolution.tower M j B) |
| 51 | (NegativeResolution.tower N j B) j B M (𝟙 M) f |
| 52 | |
| 53 | def rightHom : KernelTowerMap.Hom (tower M N j B f) (NegativeResolution.tower N j B) := |
| 54 | NegativeCommonRefinement.rightHom |
| 55 | (NegativeResolution.tower M j B) |
| 56 | (NegativeResolution.tower N j B) j B M (𝟙 M) f |
| 57 | |
| 58 | abbrev complex := (tower M N j B f).complex |
| 59 | |
| 60 | def augmentation : NegativeRefinement.complex M N j B f ⟶ (ChainComplex.single₀ _).obj M := |
| 61 | (tower M N j B f).augmentation |
| 62 | |
| 63 | instance augmentation_quasiIso : QuasiIso (NegativeRefinement.augmentation M N j B f) := |
| 64 | inferInstanceAs (QuasiIso (tower M N j B f).augmentation) |
| 65 | |
| 66 | instance left_quasiIso : QuasiIso (leftHom M N j B f).chainMap := |
| 67 | inferInstanceAs (QuasiIso (NegativeCommonRefinement.leftHom |
| 68 | (NegativeResolution.tower M j B) (NegativeResolution.tower N j B) |
| 69 | j B M (𝟙 M) f).chainMap) |
| 70 | |
| 71 | omit [LinearOrder σ] in |
| 72 | theorem left_augmentation : (leftHom M N j B f).chainMap ≫ |
| 73 | NegativeResolution.augmentation M j B = NegativeRefinement.augmentation M N j B f := by |
| 74 | have h := (leftHom M N j B f).augmentation |
| 75 | change (leftHom M N j B f).chainMap ≫ |
| 76 | NegativeResolution.augmentation M j B = |
| 77 | NegativeRefinement.augmentation M N j B f ≫ (ChainComplex.single₀ _).map (𝟙 M) at h |
| 78 | simpa only [CategoryTheory.Functor.map_id, Category.comp_id] using |
| 79 | h |
| 80 | |
| 81 | omit [LinearOrder σ] in |
| 82 | theorem right_augmentation : (rightHom M N j B f).chainMap ≫ |
| 83 | NegativeResolution.augmentation N j B = |
| 84 | NegativeRefinement.augmentation M N j B f ≫ (ChainComplex.single₀ _).map f := |
| 85 | (rightHom M N j B f).augmentation |
| 86 | |
| 87 | omit [LinearOrder σ] in |
| 88 | theorem term_above (n : ℕ) : NegativeTerms.Above ((tower M N j B f).term n) j B := |
| 89 | NegativeTerms.presentation ((NegativeCommonRefinement.state |
| 90 | (NegativeResolution.tower M j B) (NegativeResolution.tower N j B) |
| 91 | j B M (𝟙 M) f n).cover j B) |
| 92 | |
| 93 | instance object_quasicoherent (n : ℕ) : ((tower M N j B f).object n).IsQuasicoherent := |
| 94 | inferInstanceAs (NegativeCommonRefinement.state |
| 95 | (NegativeResolution.tower M j B) (NegativeResolution.tower N j B) |
| 96 | j B M (𝟙 M) f n).module.IsQuasicoherent |
| 97 | |
| 98 | instance term_quasicoherent (n : ℕ) : ((tower M N j B f).term n).IsQuasicoherent := |
| 99 | NegativeTerms.quasicoherent (term_above M N j B f n) |
| 100 | |
| 101 | instance term_finiteType (n : ℕ) : ((tower M N j B f).term n).IsFiniteType := |
| 102 | NegativeTerms.finiteType (term_above M N j B f n) |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.NegativeRefinement |