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.HodgeConjecture.DegreeTwo.GoodShiftRepresentatives |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.NormalOrdinaryThomIso |
| 3 | |
| 4 | /-! # Relative Cup Homology -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RelativeCupHomology.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The shifted cochain cup induces the original relative cup on categorical cohomology. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | variable (X : TopCat.{0}) (C : Set X) |
| 17 | variable (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X C) 2) |
| 18 | |
| 19 | theorem relativeTwoCupGoodShiftHomology_eq (q : ℕ) : |
| 20 | HomologicalComplex.homologyMap (RelativeCupHomotopy.Constructions.relativeTwoCupGoodShiftMap X C a) q ≫ |
| 21 | (GoodShiftCohomology.Constructions.cochainGoodShiftHomologyIso (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X C) 2 q).hom = |
| 22 | ModuleCat.ofHom (CycleClass.Geometric.RelativeCupCohomology.Cycles.relativeAbsoluteCohomologyCup (R := ℚ) X C 2 q |
| 23 | (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X C) 2 a)) := by |
| 24 | apply ModuleCat.hom_ext |
| 25 | apply LinearMap.ext |
| 26 | intro b |
| 27 | obtain ⟨b,rfl⟩ := AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass_surjective (AlgebraicTopology.Cohomology.Singular.Basic.singularCochains (ModuleCat.of ℚ ℚ) X) q b |
| 28 | rw [ConcreteCategory.comp_apply, AlgebraicTopology.Cohomology.Singular.RepresentativesNaturality.cochainClass_naturality] |
| 29 | change (GoodShiftCohomology.Constructions.cochainGoodShiftHomologyIso (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X C) 2 q).hom |
| 30 | (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ q (GoodShiftRepresentatives.Constructions.cochainGoodShiftCocycle |
| 31 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X C) 2 q |
| 32 | (CycleClass.Geometric.RelativeCupCohomology.Cycles.relativeAbsoluteCocycleCupWith X C |
| 33 | (M := ModuleCat.of ℚ ℚ) (N := ModuleCat.of ℚ ℚ) (L := ModuleCat.of ℚ ℚ) |
| 34 | (LinearMap.mul ℚ ℚ) 2 q a b))) = _ |
| 35 | rw [GoodShiftRepresentatives.Constructions.cochainGoodShiftHomologyIso_class] |
| 36 | exact (CycleClass.Geometric.RelativeCupCohomology.Cycles.relativeAbsoluteCohomologyCup_class_class X C a b).symm |
| 37 | |
| 38 | theorem relativeTwoCupGoodShift_quasiIso_of_cup_bijective |
| 39 | (ha : ∀ q, Function.Bijective (CycleClass.Geometric.RelativeCupCohomology.Cycles.relativeAbsoluteCohomologyCup (R := ℚ) X C 2 q |
| 40 | (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X C) 2 a))) : |
| 41 | QuasiIso (RelativeCupHomotopy.Constructions.relativeTwoCupGoodShiftMap X C a) := by |
| 42 | rw [quasiIso_iff] |
| 43 | intro q |
| 44 | rw [quasiIsoAt_iff_isIso_homologyMap] |
| 45 | have : IsIso (HomologicalComplex.homologyMap (RelativeCupHomotopy.Constructions.relativeTwoCupGoodShiftMap X C a) q ≫ |
| 46 | (GoodShiftCohomology.Constructions.cochainGoodShiftHomologyIso (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X C) 2 q).hom) := by |
| 47 | rw [relativeTwoCupGoodShiftHomology_eq, ConcreteCategory.isIso_iff_bijective] |
| 48 | exact ha q |
| 49 | exact IsIso.of_isIso_comp_right _ |
| 50 | (GoodShiftCohomology.Constructions.cochainGoodShiftHomologyIso (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X C) 2 q).hom |
| 51 | |
| 52 | variable {M N : Type} [TopologicalSpace M] [TopologicalSpace N] {d : ℕ} |
| 53 | variable {f : M → N} {x : M} |
| 54 | variable (P : ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair (Fin d → ℂ) (Fin 1 → ℂ) f x) (hf : Topology.IsEmbedding f) |
| 55 | |
| 56 | include hf |
| 57 | |
| 58 | theorem normalPairRelativeTwoCupGoodShift_quasiIso |
| 59 | (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 60 | (TopCat.of P.neighborhood) P.relativeComplement) 2) |
| 61 | (ha : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 62 | (TopCat.of P.neighborhood) P.relativeComplement) 2 a = P.rationalClassFin) : |
| 63 | QuasiIso (RelativeCupHomotopy.Constructions.relativeTwoCupGoodShiftMap (TopCat.of P.neighborhood) P.relativeComplement a) := by |
| 64 | apply relativeTwoCupGoodShift_quasiIso_of_cup_bijective |
| 65 | intro q |
| 66 | rw [ha] |
| 67 | have h : CycleClass.Geometric.RelativeCupCohomology.Cycles.relativeAbsoluteCohomologyCup (R := ℚ) (TopCat.of P.neighborhood) |
| 68 | P.relativeComplement 2 q P.rationalClassFin = (NormalOrdinaryThomIso.Constructions.normalPairOrdinaryThomIso P hf q).toLinearMap := by |
| 69 | apply LinearMap.ext |
| 70 | intro b |
| 71 | exact (NormalOrdinaryThomIso.Constructions.normalPairOrdinaryThomIso_eq_cup P hf q b).symm |
| 72 | rw [h] |
| 73 | exact (NormalOrdinaryThomIso.Constructions.normalPairOrdinaryThomIso P hf q).bijective |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RelativeCupHomology.Constructions |