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.NormalSourceSheafComparison |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SupportCupForget |
| 3 | import OAI.AlgebraicTopology.Duality.Poincare.CapRelativeTrace |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeCohomologyExtensionNaturality |
| 5 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.OrdinaryHomeomorphCohomology |
| 6 | |
| 7 | /-! # Normal Ordinary Thom Iso -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.NormalOrdinaryThomIso.Constructions |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! On a normal neighborhood, the actual Thom class cups ordinary cohomology isomorphically onto support cohomology. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Geometric.RelativeCohomologyExtensionNaturality.Cohomology OAI.AlgebraicTopology.Duality.Poincare.CapRelativeTrace |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | |
| 20 | theorem relativeCohomologyIdentity_of_eq (X : TopCat.{0}) {A B : Set X} (h : A=B) (n : ℕ) : |
| 21 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 X) |
| 22 | (A := A) (B := B) (fun _ hx => h ▸ hx) n = |
| 23 | eqToHom (congrArg (fun S => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X S n) h.symm) := by |
| 24 | subst B |
| 25 | rw [AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_id] |
| 26 | rfl |
| 27 | |
| 28 | variable {M N : Type} [TopologicalSpace M] [TopologicalSpace N] {c d : ℕ} |
| 29 | variable {f : M → N} {x : M} |
| 30 | variable (P : ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair (Fin d → ℂ) (Fin c → ℂ) f x) (hf : Topology.IsEmbedding f) |
| 31 | |
| 32 | theorem normalPairSourceInclusion_tangent : |
| 33 | NormalPairSourceSupport.Constructions.normalPairSourceInclusionMap P hf ≫ NormalPairProductSupport.Constructions.normalPairTangentMap P = |
| 34 | (TopCat.isoOfHomeo (NormalPairProductSupport.Constructions.normalPairSourceHomeomorph P hf)).hom := by |
| 35 | apply TopCat.hom_ext |
| 36 | apply ContinuousMap.ext |
| 37 | intro y |
| 38 | exact congrArg Prod.snd (NormalPairSourceSupport.Constructions.normalPairSourceInclusion_coordinates P hf y) |
| 39 | |
| 40 | def normalPairTangentOrdinaryCohomologyIso (n : ℕ) : |
| 41 | AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of (NormalPairProductSupport.Constructions.normalPairTangentSpace P)) n ≅ |
| 42 | AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of P.neighborhood) n := |
| 43 | OrdinaryHomeomorphCohomology.Constructions.rationalCohomologyIsoOfTopologicalIso |
| 44 | (TopCat.isoOfHomeo (NormalPairProductSupport.Constructions.normalPairSourceHomeomorph P hf)) n ≪≫ |
| 45 | (NormalSourceSheafComparison.Constructions.normalPairSourceOrdinaryCohomologyIso P hf n).symm |
| 46 | |
| 47 | theorem normalPairTangentOrdinaryCohomologyIso_hom (n : ℕ) : |
| 48 | (normalPairTangentOrdinaryCohomologyIso P hf n).hom = |
| 49 | AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of ℚ ℚ) (NormalPairProductSupport.Constructions.normalPairTangentMap P) n := by |
| 50 | apply (cancel_mono (NormalSourceSheafComparison.Constructions.normalPairSourceOrdinaryCohomologyIso P hf n).hom).mp |
| 51 | simp only [normalPairTangentOrdinaryCohomologyIso, Iso.trans_hom, Iso.symm_hom, |
| 52 | Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 53 | change AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback _ _ _ = |
| 54 | AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback _ _ _ ≫ AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback _ _ _ |
| 55 | rw [← AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback_comp, normalPairSourceInclusion_tangent] |
| 56 | |
| 57 | theorem normalPairCombinedComplement_empty : |
| 58 | NormalPairProductSupport.Constructions.normalPairCombinedComplement P ∅ = P.relativeComplement := by |
| 59 | let _ := (inferInstance : TopologicalSpace M) |
| 60 | simp only [NormalPairProductSupport.Constructions.normalPairCombinedComplement, Set.preimage_empty, Set.union_empty] |
| 61 | |
| 62 | def normalPairEmptySupportForget (n : ℕ) : |
| 63 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of P.neighborhood) |
| 64 | (NormalPairProductSupport.Constructions.normalPairCombinedComplement P ∅) n ⟶ |
| 65 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of P.neighborhood) P.relativeComplement n := |
| 66 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of P.neighborhood)) |
| 67 | (A := P.relativeComplement) (B := NormalPairProductSupport.Constructions.normalPairCombinedComplement P ∅) Set.subset_union_left n |
| 68 | |
| 69 | instance normalPairEmptySupportForget_isIso (n : ℕ) : IsIso (normalPairEmptySupportForget P n) := by |
| 70 | have he := relativeCohomologyIdentity_of_eq (TopCat.of P.neighborhood) |
| 71 | (normalPairCombinedComplement_empty P).symm n |
| 72 | change IsIso (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 (TopCat.of P.neighborhood)) |
| 73 | (A := P.relativeComplement) (B := NormalPairProductSupport.Constructions.normalPairCombinedComplement P ∅) Set.subset_union_left n) |
| 74 | rw [he] |
| 75 | infer_instance |
| 76 | |
| 77 | def normalPairTangentRelativeEmptyIso (q : ℕ) : |
| 78 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of (NormalPairProductSupport.Constructions.normalPairTangentSpace P)) ∅ q ≅ |
| 79 | AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of P.neighborhood) q := |
| 80 | AlgebraicTopology.Duality.Poincare.CapRelativeTrace.relativeEmptyCohomologyIso (ModuleCat.of ℚ ℚ) (TopCat.of (NormalPairProductSupport.Constructions.normalPairTangentSpace P)) q ≪≫ |
| 81 | normalPairTangentOrdinaryCohomologyIso P hf q |
| 82 | |
| 83 | theorem normalPairEmptyThom_factor (q : ℕ) |
| 84 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of (NormalPairProductSupport.Constructions.normalPairTangentSpace P)) ∅ q) : |
| 85 | normalPairEmptySupportForget P (2*c+q) (PairSupportedCupIso.Constructions.normalPairSupportedCohomologyIso P ∅ isOpen_empty q a) = |
| 86 | CycleClass.Geometric.RelativeCupCohomology.Cycles.relativeAbsoluteCohomologyCup (R := ℚ) (TopCat.of P.neighborhood) P.relativeComplement (2*c) q |
| 87 | P.rationalClassFin ((normalPairTangentRelativeEmptyIso P hf q).hom a) := by |
| 88 | rw [PairSupportedCupIso.Constructions.normalPairSupportedCohomologyIso_eq_cup] |
| 89 | change AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap _ (𝟙 (TopCat.of P.neighborhood)) _ _ |
| 90 | (SupportCup.Constructions.twoSupportCohomologyCup _ _ _ _ _ _ _ _ _) = _ |
| 91 | rw [SupportCupForget.Constructions.twoSupportCohomologyCup_forget_right] |
| 92 | apply congrArg (CycleClass.Geometric.RelativeCupCohomology.Cycles.relativeAbsoluteCohomologyCup (R := ℚ) (TopCat.of P.neighborhood) |
| 93 | P.relativeComplement (2*c) q P.rationalClassFin) |
| 94 | change _ = (normalPairTangentOrdinaryCohomologyIso P hf q).hom |
| 95 | ((AlgebraicTopology.Duality.Poincare.CapRelativeTrace.relativeEmptyCohomologyIso (ModuleCat.of ℚ ℚ) (TopCat.of (NormalPairProductSupport.Constructions.normalPairTangentSpace P)) q).hom a) |
| 96 | rw [normalPairTangentOrdinaryCohomologyIso_hom] |
| 97 | exact ConcreteCategory.congr_hom (CycleClass.Geometric.RelativeCohomologyExtensionNaturality.Cohomology.relativeCohomologyInclusion_naturality (ModuleCat.of ℚ ℚ) |
| 98 | (NormalPairProductSupport.Constructions.normalPairTangentMap P) (B := NormalPairProductSupport.Constructions.normalPairTangentMap P ⁻¹' ∅) (B' := ∅) (fun _ hx => hx) q) a |
| 99 | |
| 100 | def normalPairOrdinaryThomIso (q : ℕ) : |
| 101 | AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of P.neighborhood) q ≃ₗ[ℚ] |
| 102 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of P.neighborhood) P.relativeComplement (2*c+q) := |
| 103 | (normalPairTangentRelativeEmptyIso P hf q).symm.toLinearEquiv.trans |
| 104 | ((PairSupportedCupIso.Constructions.normalPairSupportedCohomologyIso P ∅ isOpen_empty q).trans |
| 105 | (asIso (normalPairEmptySupportForget P (2*c+q))).toLinearEquiv) |
| 106 | |
| 107 | theorem normalPairOrdinaryThomIso_eq_cup (q : ℕ) |
| 108 | (b : AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of P.neighborhood) q) : |
| 109 | normalPairOrdinaryThomIso P hf q b = |
| 110 | CycleClass.Geometric.RelativeCupCohomology.Cycles.relativeAbsoluteCohomologyCup (R := ℚ) (TopCat.of P.neighborhood) P.relativeComplement (2*c) q |
| 111 | P.rationalClassFin b := by |
| 112 | change normalPairEmptySupportForget P (2*c+q) |
| 113 | (PairSupportedCupIso.Constructions.normalPairSupportedCohomologyIso P ∅ isOpen_empty q |
| 114 | ((normalPairTangentRelativeEmptyIso P hf q).inv b)) = _ |
| 115 | rw [normalPairEmptyThom_factor P hf, Iso.inv_hom_id_apply] |
| 116 | |
| 117 | end |
| 118 | |
| 119 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.NormalOrdinaryThomIso.Constructions |