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.NormalPairSourceTrace |
| 2 | |
| 3 | /-! # Regular Local Gysin Trace -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RegularLocalGysinTrace.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Local Gysin integration with the native source and ambient fundamental traces. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 12 | open scoped _root_.Manifold ContDiff |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | theorem moduleIso_trace_inverse_apply {A B C : ModuleCat.{0} ℚ} (e : A ≅ B) |
| 17 | (a : A ⟶ C) (b : B ⟶ C) (h : e.hom ≫ b = a) (x : B) : a (e.inv x) = b x := by |
| 18 | have hx := ConcreteCategory.congr_hom h (e.inv x) |
| 19 | change b (e.hom (e.inv x)) = a (e.inv x) at hx |
| 20 | rw [Iso.inv_hom_id_apply] at hx |
| 21 | exact hx.symm |
| 22 | |
| 23 | def normalPairSourceCompactGysinTop |
| 24 | {M N : Type} [TopologicalSpace M] [TopologicalSpace N] {c d : ℕ} {f : M → N} {x : M} |
| 25 | (P : ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair (Fin d → ℂ) (Fin c → ℂ) f x) (hf : Topology.IsEmbedding f) |
| 26 | (a : AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) (TopCat.of (NormalPairProductSupport.Constructions.normalPairSourceOpen P hf)) (2*d)) : |
| 27 | AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) (TopCat.of P.neighborhood) (2*(c+d)) := |
| 28 | NormalPairIntrinsicTrace.Constructions.normalPairCompactGysinTop P |
| 29 | ((AlgebraicTopology.Duality.Poincare.CompactSupportHomeomorph.compactSupportedCohomologyHomeomorphIso (ModuleCat.of ℚ ℚ) |
| 30 | (X := TopCat.of (NormalPairProductSupport.Constructions.normalPairSourceOpen P hf)) (Y := TopCat.of (NormalPairProductSupport.Constructions.normalPairTangentBallOpen P)) |
| 31 | (NormalPairProductSupport.Constructions.normalPairSourceHomeomorph P hf) (2*d)).inv a) |
| 32 | |
| 33 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V 1) (x : Z.regularAnalyticSpace) |
| 34 | variable (P : ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair Z.regularAnalyticModel (Fin 1 → ℂ) Z.regularComplementInclusion x) |
| 35 | |
| 36 | abbrev regularNormalPairDegreeEq : 2*(1+Z.regularComplexDimension) = 2*V.complexDimension := |
| 37 | congrArg (fun n => 2*n) |
| 38 | ((Nat.add_comm 1 Z.regularComplexDimension).trans Z.regularComplexDimension_add_codimension) |
| 39 | |
| 40 | def regularNormalPairSourceGysinToAmbient |
| 41 | (a : AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) |
| 42 | (TopCat.of (NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.isClosedEmbedding_regularComplementInclusion.isEmbedding)) |
| 43 | (2*Z.regularComplexDimension)) : |
| 44 | AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) (TopCat.of Z.regularAmbientSpace) (2*V.complexDimension) := |
| 45 | AlgebraicTopology.Duality.Poincare.CompactSupportExcision.compactSupportOpenExtension P.openNeighborhood (2*V.complexDimension) |
| 46 | (eqToHom (congrArg (AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) (TopCat.of P.neighborhood)) |
| 47 | (regularNormalPairDegreeEq V Z)) |
| 48 | (normalPairSourceCompactGysinTop P Z.isClosedEmbedding_regularComplementInclusion.isEmbedding a)) |
| 49 | |
| 50 | theorem regularNormalPairSourceGysin_nativeTrace |
| 51 | (hq : ContMDiffOn 𝓘(ℂ, V.analyticModel) |
| 52 | 𝓘(ℂ, Z.regularAnalyticModel × (Fin 1 → ℂ)) ∞ P.ambientChart P.ambientChart.source) |
| 53 | (hqi : ContMDiffOn 𝓘(ℂ, Z.regularAnalyticModel × (Fin 1 → ℂ)) |
| 54 | 𝓘(ℂ, V.analyticModel) ∞ P.ambientChart.symm P.ambientChart.target) |
| 55 | (a : AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) |
| 56 | (TopCat.of (NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.isClosedEmbedding_regularComplementInclusion.isEmbedding)) |
| 57 | (2*Z.regularComplexDimension)) : |
| 58 | AlgebraicTopology.Duality.Poincare.ComplexManifoldTrace.complexManifoldTrace V.complexDimension (M := P.openNeighborhood) |
| 59 | (eqToHom (congrArg (AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) (TopCat.of P.neighborhood)) |
| 60 | (regularNormalPairDegreeEq V Z)) |
| 61 | (normalPairSourceCompactGysinTop P Z.isClosedEmbedding_regularComplementInclusion.isEmbedding a)) = |
| 62 | AlgebraicTopology.Duality.Poincare.ComplexManifoldTrace.complexManifoldTrace Z.regularComplexDimension |
| 63 | (M := NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.isClosedEmbedding_regularComplementInclusion.isEmbedding) a * |
| 64 | LocalProductCoefficient.Constructions.localProductCupCoefficient 1 Z.regularComplexDimension := by |
| 65 | let e := AlgebraicTopology.Duality.Poincare.CompactSupportHomeomorph.compactSupportedCohomologyHomeomorphIso (ModuleCat.of ℚ ℚ) |
| 66 | (X := TopCat.of (NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.isClosedEmbedding_regularComplementInclusion.isEmbedding)) |
| 67 | (Y := TopCat.of (NormalPairProductSupport.Constructions.normalPairTangentBallOpen P)) |
| 68 | (NormalPairProductSupport.Constructions.normalPairSourceHomeomorph P Z.isClosedEmbedding_regularComplementInclusion.isEmbedding) |
| 69 | (2*Z.regularComplexDimension) |
| 70 | have ht := PairIntrinsicTraceDimension.Constructions.regularNormalPairCompactGysinTop_nativeTrace V Z x P hq hqi (e.inv a) |
| 71 | have hs := moduleIso_trace_inverse_apply e |
| 72 | (AlgebraicTopology.Duality.Poincare.ComplexManifoldTrace.complexManifoldTrace Z.regularComplexDimension (M := NormalPairProductSupport.Constructions.normalPairTangentBallOpen P)) |
| 73 | (AlgebraicTopology.Duality.Poincare.ComplexManifoldTrace.complexManifoldTrace Z.regularComplexDimension |
| 74 | (M := NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.isClosedEmbedding_regularComplementInclusion.isEmbedding)) |
| 75 | (NormalPairSourceTrace.Constructions.regularNormalPairSourceHomeomorph_nativeTrace V Z x P hq hqi) a |
| 76 | exact ht.trans (congrArg (fun r => r * LocalProductCoefficient.Constructions.localProductCupCoefficient 1 Z.regularComplexDimension) hs) |
| 77 | |
| 78 | theorem regularNormalPairSourceGysinToAmbient_nativeTrace |
| 79 | (hq : ContMDiffOn 𝓘(ℂ, V.analyticModel) |
| 80 | 𝓘(ℂ, Z.regularAnalyticModel × (Fin 1 → ℂ)) ∞ P.ambientChart P.ambientChart.source) |
| 81 | (hqi : ContMDiffOn 𝓘(ℂ, Z.regularAnalyticModel × (Fin 1 → ℂ)) |
| 82 | 𝓘(ℂ, V.analyticModel) ∞ P.ambientChart.symm P.ambientChart.target) |
| 83 | (a : AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) |
| 84 | (TopCat.of (NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.isClosedEmbedding_regularComplementInclusion.isEmbedding)) |
| 85 | (2*Z.regularComplexDimension)) : |
| 86 | AlgebraicTopology.Duality.Poincare.ComplexManifoldTrace.complexManifoldTrace V.complexDimension (M := Z.regularAmbientSpace) |
| 87 | (regularNormalPairSourceGysinToAmbient V Z x P a) = |
| 88 | AlgebraicTopology.Duality.Poincare.ComplexManifoldTrace.complexManifoldTrace Z.regularComplexDimension (M := Z.regularAnalyticSpace) |
| 89 | (AlgebraicTopology.Duality.Poincare.CompactSupportExcision.compactSupportOpenExtension (X := TopCat.of Z.regularAnalyticSpace) |
| 90 | (NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.isClosedEmbedding_regularComplementInclusion.isEmbedding) |
| 91 | (2*Z.regularComplexDimension) a) * LocalProductCoefficient.Constructions.localProductCupCoefficient 1 Z.regularComplexDimension := by |
| 92 | have hA := AlgebraicTopology.Duality.Poincare.ComplexManifoldTrace.complexManifoldTrace_open_apply V.complexDimension (M := Z.regularAmbientSpace) |
| 93 | P.openNeighborhood |
| 94 | (eqToHom (congrArg (AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) (TopCat.of P.neighborhood)) |
| 95 | (regularNormalPairDegreeEq V Z)) |
| 96 | (normalPairSourceCompactGysinTop P Z.isClosedEmbedding_regularComplementInclusion.isEmbedding a)) |
| 97 | have hS := AlgebraicTopology.Duality.Poincare.ComplexManifoldTrace.complexManifoldTrace_open_apply Z.regularComplexDimension (M := Z.regularAnalyticSpace) |
| 98 | (NormalPairProductSupport.Constructions.normalPairSourceOpen P Z.isClosedEmbedding_regularComplementInclusion.isEmbedding) a |
| 99 | exact hA.trans ((regularNormalPairSourceGysin_nativeTrace V Z x P hq hqi a).trans |
| 100 | (congrArg (fun r => r * LocalProductCoefficient.Constructions.localProductCupCoefficient 1 Z.regularComplexDimension) hS.symm)) |
| 101 | |
| 102 | end |
| 103 | |
| 104 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RegularLocalGysinTrace.Constructions |