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.RegularNormalThomStage |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.NormalRetractionCup |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.NormalRetractionSplit |
| 4 | |
| 5 | /-! # Regular Normal Thom Comparison -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RegularNormalThomComparison.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The global source–Thom comparison agrees with the independently constructed normal-chart supported Gysin isomorphism. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 14 | open scoped _root_.Manifold |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | |
| 18 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V 1) |
| 19 | variable (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 20 | (TopCat.of Z.regularAmbientSpace) (Z.regularThomComplementOpen : Set Z.regularAmbientSpace)) 2) |
| 21 | variable (ha : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ 2 a = Z.regularThomClass) |
| 22 | variable (x : Z.regularAnalyticSpace) |
| 23 | variable (P : ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair Z.regularAnalyticModel (Fin 1 → ℂ) Z.regularComplementInclusion x) |
| 24 | variable (hP : P.ambientChart.MDifferentiable |
| 25 | 𝓘(ℂ, V.analyticModel) 𝓘(ℂ, Z.regularAnalyticModel × (Fin 1 → ℂ))) |
| 26 | |
| 27 | include hP in |
| 28 | theorem regularNormalSourceThomStageIso_eq_native |
| 29 | (K : Compacts (RegularNormalThomStage.Constructions.regularNormalSourceOpen Z x P)) (q : ℕ) : |
| 30 | (RegularNormalThomStage.Constructions.regularNormalSourceThomStageIso Z a ha x P K q).hom = |
| 31 | ModuleCat.ofHom (SourceSupportedThomIso.Constructions.normalPairSourceSupportedCohomologyIso P |
| 32 | Z.isClosedEmbedding_regularComplementInclusion.isEmbedding K q).toLinearMap := by |
| 33 | let hf := Z.isClosedEmbedding_regularComplementInclusion.isEmbedding |
| 34 | let B := NormalSupportRelative.Constructions.normalPairRetractionComplementOpen P hf K |
| 35 | let r := AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (SourceThomProjection.Constructions.normalPairSourceRetractionMap P hf) |
| 36 | (A := NormalSupportRelative.Constructions.normalPairRetractionComplement P hf K) (B := (K : Set (RegularNormalThomStage.Constructions.regularNormalSourceOpen Z x P))ᶜ) |
| 37 | (fun _ hx => hx) q |
| 38 | let f := AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (NormalPairSourceSupport.Constructions.normalPairSourceInclusionMap P hf) |
| 39 | (A := (NormalPairSourceSupport.Constructions.normalPairSourceInclusionMap P hf) ⁻¹' NormalSupportRelative.Constructions.normalPairRetractionComplement P hf K) |
| 40 | (B := NormalSupportRelative.Constructions.normalPairRetractionComplement P hf K) (fun _ hx => hx) q |
| 41 | let s := eqToIso (congrArg (fun S => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) |
| 42 | (TopCat.of (RegularNormalThomStage.Constructions.regularNormalSourceOpen Z x P)) S q) (NormalSupportRelative.Constructions.normalPairRetractionComplement_source P hf K)) |
| 43 | let o := eqToIso (congrArg (fun S => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) |
| 44 | (TopCat.of P.neighborhood) S (2+q)) (NormalSupportRelative.Constructions.normalPairRetraction_union_complement P hf K)) |
| 45 | let g := ModuleCat.ofHom (SupportCup.Constructions.twoSupportCohomologyCup (TopCat.of P.neighborhood) P.relativeComplement |
| 46 | (NormalSupportRelative.Constructions.normalPairRetractionComplement P hf K) (NormalPairProductSupport.Constructions.normalPair_relativeComplement_isOpen P) B.isOpen 2 q P.rationalClassFin) |
| 47 | have hc := LocalSupportCup.Constructions.regularSourceThomLocalSupportIso_cup Z a ha P.openNeighborhood B q |
| 48 | have hn := RegularThomCupStalk.Constructions.regularThomCocycle_normalPair Z a ha x P hP |
| 49 | rw [RelativeCupShiftSections.Constructions.relativeTwoCocycleOpenRestriction_class, ha] at hn |
| 50 | rw [hn] at hc |
| 51 | have hstage : (RegularNormalThomStage.Constructions.regularNormalSourceThomStageIso Z a ha x P K q).hom = r ≫ g ≫ o.hom := |
| 52 | NormalRetractionSplit.Constructions.splitSourceIso_cup r f s (LocalSupportCup.Constructions.regularSourceThomLocalSupportIso Z a ha P.openNeighborhood B q) o g |
| 53 | (NormalRetractionSplit.Constructions.normalPairRelativeRetraction_split_raw P hf K q) hc |
| 54 | apply ModuleCat.hom_ext |
| 55 | apply LinearMap.ext |
| 56 | intro b |
| 57 | change (RegularNormalThomStage.Constructions.regularNormalSourceThomStageIso Z a ha x P K q).hom b = |
| 58 | SourceSupportedThomIso.Constructions.normalPairSourceSupportedCohomologyIso P hf K q b |
| 59 | rw [hstage] |
| 60 | exact (NormalRetractionCup.Constructions.normalPairSourceSupportedCohomologyIso_eq_retraction_cup P hf K q b).symm |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RegularNormalThomComparison.Constructions |