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.CycleClass.Geometric.RelativeChainD |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Geometric.DualComplexNaturality |
| 3 | |
| 4 | /-! # Relative Universal Coefficient Naturality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeUniversalCoefficientNaturality.Cycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Naturality of relative evaluation and universal coefficients |
| 12 | |
| 13 | The actual relative cochain kernel and relative chain cokernel have their |
| 14 | canonical maps for continuous maps of pairs. Their degreewise duality and |
| 15 | canonical pairing commute with those maps. Consequently the field |
| 16 | universal-coefficient equivalence and its inverse are natural for pairs. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory |
| 20 | |
| 21 | section Evaluation |
| 22 | |
| 23 | variable {R : Type} [CommRing R] |
| 24 | |
| 25 | /-- Relative degreewise evaluation intertwines the actual maps of pair cochains |
| 26 | and pair chains. -/ |
| 27 | theorem relativeDegreewiseChainDualEquiv_naturality (M : ModuleCat.{0} R) |
| 28 | {X Y : TopCat.{0}} (f : X ⟶ Y) {A : Set X} {B : Set Y} |
| 29 | (h : Set.MapsTo f A B) (n : ℕ) (c : (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains M Y B).X n) : |
| 30 | RelativeChainD.Cycles.relativeDegreewiseChainDualEquiv M X A n ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap M f h).f n c) = |
| 31 | (RelativeChainD.Cycles.relativeDegreewiseChainDualEquiv M Y B n c).comp |
| 32 | ((RelativeScalarChains.Cycles.relativeScalarChainsMap R f h).f n).hom := by |
| 33 | apply LinearMap.ext |
| 34 | intro z |
| 35 | obtain ⟨z, rfl⟩ := RelativeScalarChains.Cycles.relativeScalarChainProjection_surjective R X A n z |
| 36 | rw [RelativeChainD.Cycles.relativeDegreewiseChainDualEquiv_projection, LinearMap.comp_apply] |
| 37 | have hp := ConcreteCategory.congr_hom |
| 38 | (HomologicalComplex.congr_hom (RelativeScalarChains.Cycles.relativeScalarChainProjection_naturality R f h) n) z |
| 39 | change (RelativeScalarChains.Cycles.relativeScalarChainsMap R f h).f n ((RelativeScalarChains.Cycles.relativeScalarChainProjection R X A).f n z) = |
| 40 | (RelativeScalarChains.Cycles.relativeScalarChainProjection R Y B).f n ((AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.singularScalarChainMap f).f n z) at hp |
| 41 | rw [hp, RelativeChainD.Cycles.relativeDegreewiseChainDualEquiv_projection] |
| 42 | have hi := ConcreteCategory.congr_hom |
| 43 | (HomologicalComplex.congr_hom (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion_naturality M f h) n) c |
| 44 | change (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion M X A).f n ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap M f h).f n c) = |
| 45 | (AlgebraicTopology.Cohomology.Singular.Functor.singularPullback M f).f n ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion M Y B).f n c) at hi |
| 46 | rw [hi] |
| 47 | exact LinearMap.congr_fun |
| 48 | (AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.degreewiseChainDualEquiv_pullback M (TopCat.toSSet.map f) n |
| 49 | ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCochainInclusion M Y B).f n c)) z |
| 50 | |
| 51 | /-- The canonical identification of relative cochains with the dual complex |
| 52 | commutes with every continuous map of pairs. -/ |
| 53 | theorem relativeCochainDualIso_naturality (M : ModuleCat.{0} R) |
| 54 | {X Y : TopCat.{0}} (f : X ⟶ Y) {A : Set X} {B : Set Y} |
| 55 | (h : Set.MapsTo f A B) : |
| 56 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap M f h ≫ (RelativeChainD.Cycles.relativeCochainDualIso M X A).hom = |
| 57 | (RelativeChainD.Cycles.relativeCochainDualIso M Y B).hom ≫ |
| 58 | DualComplexUniversalCoefficient.Cycles.linearHomCochainMap (RelativeScalarChains.Cycles.relativeScalarChainsMap R f h) M := by |
| 59 | ext n c |
| 60 | exact relativeDegreewiseChainDualEquiv_naturality M f h n c |
| 61 | |
| 62 | /-- The same canonical square commutes on genuine categorical cohomology. -/ |
| 63 | theorem relativeCochainDualIso_homology_naturality (M : ModuleCat.{0} R) |
| 64 | {X Y : TopCat.{0}} (f : X ⟶ Y) {A : Set X} {B : Set Y} |
| 65 | (h : Set.MapsTo f A B) (n : ℕ) : |
| 66 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M f h n ≫ |
| 67 | HomologicalComplex.homologyMap (RelativeChainD.Cycles.relativeCochainDualIso M X A).hom n = |
| 68 | HomologicalComplex.homologyMap (RelativeChainD.Cycles.relativeCochainDualIso M Y B).hom n ≫ |
| 69 | HomologicalComplex.homologyMap |
| 70 | (DualComplexUniversalCoefficient.Cycles.linearHomCochainMap (RelativeScalarChains.Cycles.relativeScalarChainsMap R f h) M) n := by |
| 71 | change HomologicalComplex.homologyMap (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochainsMap M f h) n ≫ _ = _ |
| 72 | rw [← HomologicalComplex.homologyMap_comp, ← HomologicalComplex.homologyMap_comp, |
| 73 | relativeCochainDualIso_naturality] |
| 74 | |
| 75 | /-- Relative cohomological pullback is adjoint to the actual relative homology |
| 76 | pushforward under canonical evaluation, in every degree. -/ |
| 77 | theorem relativeHomologyEvaluation_naturality (M : ModuleCat.{0} R) |
| 78 | {X Y : TopCat.{0}} (f : X ⟶ Y) {A : Set X} {B : Set Y} |
| 79 | (h : Set.MapsTo f A B) (n : ℕ) |
| 80 | (c : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M Y B n) (z : RelativeScalarChains.Cycles.relativeScalarHomology R X A n) : |
| 81 | RelativeChainD.Cycles.relativeHomologyEvaluation M X A n ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M f h n) c) z = |
| 82 | RelativeChainD.Cycles.relativeHomologyEvaluation M Y B n c |
| 83 | ((HomologicalComplex.homologyMap (RelativeScalarChains.Cycles.relativeScalarChainsMap R f h) n) z) := by |
| 84 | have hi := ConcreteCategory.congr_hom |
| 85 | (relativeCochainDualIso_homology_naturality M f h n) c |
| 86 | change (HomologicalComplex.homologyMap (RelativeChainD.Cycles.relativeCochainDualIso M X A).hom n) |
| 87 | ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M f h n) c) = |
| 88 | (HomologicalComplex.homologyMap (DualComplexUniversalCoefficient.Cycles.linearHomCochainMap (RelativeScalarChains.Cycles.relativeScalarChainsMap R f h) M) n) |
| 89 | ((HomologicalComplex.homologyMap (RelativeChainD.Cycles.relativeCochainDualIso M Y B).hom n) c) at hi |
| 90 | change DualComplexUniversalCoefficient.Cycles.linearHomHomologyEvaluation (RelativeScalarChains.Cycles.relativeScalarChains R X A) M n |
| 91 | ((HomologicalComplex.homologyMap (RelativeChainD.Cycles.relativeCochainDualIso M X A).hom n) |
| 92 | ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M f h n) c)) z = _ |
| 93 | rw [hi] |
| 94 | exact DualComplexNaturality.Cycles.linearHomHomologyEvaluation_naturality (RelativeScalarChains.Cycles.relativeScalarChainsMap R f h) M n |
| 95 | ((HomologicalComplex.homologyMap (RelativeChainD.Cycles.relativeCochainDualIso M Y B).hom n) c) z |
| 96 | |
| 97 | /-- Pair-map naturality as equality of linear functionals on relative homology. -/ |
| 98 | theorem relativeHomologyEvaluation_naturality_linearMap (M : ModuleCat.{0} R) |
| 99 | {X Y : TopCat.{0}} (f : X ⟶ Y) {A : Set X} {B : Set Y} |
| 100 | (h : Set.MapsTo f A B) (n : ℕ) (c : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology M Y B n) : |
| 101 | RelativeChainD.Cycles.relativeHomologyEvaluation M X A n ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap M f h n) c) = |
| 102 | (RelativeChainD.Cycles.relativeHomologyEvaluation M Y B n c).comp |
| 103 | (HomologicalComplex.homologyMap (RelativeScalarChains.Cycles.relativeScalarChainsMap R f h) n).hom := by |
| 104 | ext z |
| 105 | exact relativeHomologyEvaluation_naturality M f h n c z |
| 106 | |
| 107 | end Evaluation |
| 108 | |
| 109 | variable (F : Type) [Field F] |
| 110 | |
| 111 | /-- The field universal-coefficient equivalence for actual relative singular |
| 112 | cohomology is natural for all continuous maps of pairs. -/ |
| 113 | theorem relativeUniversalCoefficientEquiv_naturality |
| 114 | {X Y : TopCat.{0}} (f : X ⟶ Y) {A : Set X} {B : Set Y} |
| 115 | (h : Set.MapsTo f A B) (n : ℕ) |
| 116 | (c : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of F F) Y B n) : |
| 117 | RelativeChainD.Cycles.relativeUniversalCoefficientEquiv F X A n |
| 118 | ((AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of F F) f h n) c) = |
| 119 | (RelativeChainD.Cycles.relativeUniversalCoefficientEquiv F Y B n c).comp |
| 120 | (HomologicalComplex.homologyMap (RelativeScalarChains.Cycles.relativeScalarChainsMap F f h) n).hom := |
| 121 | relativeHomologyEvaluation_naturality_linearMap (ModuleCat.of F F) f h n c |
| 122 | |
| 123 | /-- The inverse relative universal-coefficient equivalence also respects maps |
| 124 | of pairs; no choice of extending a functional affects this identity. -/ |
| 125 | theorem relativeUniversalCoefficientEquiv_symm_naturality |
| 126 | {X Y : TopCat.{0}} (f : X ⟶ Y) {A : Set X} {B : Set Y} |
| 127 | (h : Set.MapsTo f A B) (n : ℕ) (L : Module.Dual F (RelativeScalarChains.Cycles.relativeScalarHomology F Y B n)) : |
| 128 | (RelativeChainD.Cycles.relativeUniversalCoefficientEquiv F X A n).symm |
| 129 | (L.comp (HomologicalComplex.homologyMap (RelativeScalarChains.Cycles.relativeScalarChainsMap F f h) n).hom) = |
| 130 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of F F) f h n) |
| 131 | ((RelativeChainD.Cycles.relativeUniversalCoefficientEquiv F Y B n).symm L) := by |
| 132 | apply (RelativeChainD.Cycles.relativeUniversalCoefficientEquiv F X A n).injective |
| 133 | rw [LinearEquiv.apply_symm_apply, relativeUniversalCoefficientEquiv_naturality, |
| 134 | LinearEquiv.apply_symm_apply] |
| 135 | |
| 136 | end |
| 137 | |
| 138 | end OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeUniversalCoefficientNaturality.Cycles |