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.NormalPairFlattenChart |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.NormalPairCompactGysin |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.OpenProductTrace |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ChartExtensionFactorization |
| 5 | |
| 6 | /-! # Normal Pair Intrinsic Trace -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.NormalPairIntrinsicTrace.Constructions |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual normal-pair compact Gysin map has the native manifold trace. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 15 | open scoped _root_.Manifold ContDiff |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | variable {M N : Type} [TopologicalSpace N] {c d : ℕ} {f : M → N} {x : M} |
| 20 | variable (P : ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair (Fin d → ℂ) (Fin c → ℂ) f x) |
| 21 | |
| 22 | abbrev normalPairTangentOpen : Opens (Fin d → ℂ) := ⟨Metric.ball 0 P.radius,Metric.isOpen_ball⟩ |
| 23 | |
| 24 | theorem normalPairFlattenMap_factorization : |
| 25 | (TopCat.isoOfHomeo (X := TopCat.of P.openNeighborhood) |
| 26 | (Y := TopCat.of (NormalPairFlattenChart.Constructions.normalPairFlattenOpen P)) (NormalPairFlattenChart.Constructions.normalPairFlattenHomeomorph P)).hom ≫ |
| 27 | CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion (TopCat.of (Fin (c+d) → ℂ)) (NormalPairFlattenChart.Constructions.normalPairFlattenOpen P) = |
| 28 | NormalPairProductSupport.Constructions.normalPairFirstMap P ≫ OpenProductTrace.Constructions.coordinateProductOpenMap (NormalPairProductSupport.Constructions.normalPairNormalOpen P) (normalPairTangentOpen P) ≫ |
| 29 | (TopCat.isoOfHomeo |
| 30 | (X := TopCat.of ((Fin c → ℂ) × (Fin d → ℂ))) (Y := TopCat.of (Fin (c+d) → ℂ)) |
| 31 | (LocalProductCoefficient.Constructions.productFlattenCoordinates c d).toHomeomorph).hom := by |
| 32 | rfl |
| 33 | |
| 34 | variable [ChartedSpace (Fin (c+d) → ℂ) N] [T2Space N] |
| 35 | variable [IsManifold 𝓘(ℂ, Fin (c+d) → ℂ) 1 N] |
| 36 | |
| 37 | theorem normalPairFirstHomeomorph_nativeTrace |
| 38 | (hq : ContMDiffOn 𝓘(ℂ, Fin (c+d) → ℂ) |
| 39 | 𝓘(ℂ, (Fin d → ℂ) × (Fin c → ℂ)) ∞ P.ambientChart P.ambientChart.source) |
| 40 | (hqi : ContMDiffOn 𝓘(ℂ, (Fin d → ℂ) × (Fin c → ℂ)) |
| 41 | 𝓘(ℂ, Fin (c+d) → ℂ) ∞ P.ambientChart.symm P.ambientChart.target) : |
| 42 | (AlgebraicTopology.Duality.Poincare.CompactSupportHomeomorph.compactSupportedCohomologyHomeomorphIso (ModuleCat.of ℚ ℚ) |
| 43 | (X := TopCat.of P.openNeighborhood) |
| 44 | (Y := TopCat.of (NormalPairProductSupport.Constructions.normalPairNormalOpen P × NormalPairProductSupport.Constructions.normalPairTangentSpace P)) |
| 45 | (NormalPairProductSupport.Constructions.normalPairFirstHomeomorph P) (2*(c+d))).hom ≫ |
| 46 | AlgebraicTopology.Duality.Poincare.ComplexManifoldTrace.complexManifoldTrace (c+d) (M := P.openNeighborhood) = |
| 47 | OpenProductTrace.Constructions.openCoordinateProductTrace (NormalPairProductSupport.Constructions.normalPairNormalOpen P) (normalPairTangentOpen P) := by |
| 48 | have ht := NormalPairFlattenChart.Constructions.normalPairFlattenExtension_trace P hq hqi |
| 49 | have hf := ChartExtensionFactorization.Constructions.openExtension_chartFactorization |
| 50 | (X := TopCat.of P.openNeighborhood) |
| 51 | (Y := TopCat.of (NormalPairProductSupport.Constructions.normalPairNormalOpen P × NormalPairProductSupport.Constructions.normalPairTangentSpace P)) |
| 52 | (Z := TopCat.of ((Fin c → ℂ) × (Fin d → ℂ))) |
| 53 | (W := TopCat.of (Fin (c+d) → ℂ)) |
| 54 | (NormalPairProductSupport.Constructions.normalPairFirstHomeomorph P) |
| 55 | (OpenProductTrace.Constructions.coordinateProductOpenMap (NormalPairProductSupport.Constructions.normalPairNormalOpen P) (normalPairTangentOpen P)) |
| 56 | (LocalProductCoefficient.Constructions.productFlattenCoordinates c d).toHomeomorph |
| 57 | (OpenProductTrace.Constructions.coordinateProductOpenMap_isOpenEmbedding (NormalPairProductSupport.Constructions.normalPairNormalOpen P) (normalPairTangentOpen P)) |
| 58 | (2*(c+d)) |
| 59 | have hc := congrArg (fun u => u ≫ AlgebraicTopology.Duality.Poincare.ComplexManifoldTrace.complexManifoldTrace (c+d) (M := Fin (c+d) → ℂ)) hf |
| 60 | have h := hc.symm.trans ht |
| 61 | rw [Category.assoc, Category.assoc] at h |
| 62 | exact ChartExtensionFactorization.Constructions.moduleIso_trace_of_inverse |
| 63 | (AlgebraicTopology.Duality.Poincare.CompactSupportHomeomorph.compactSupportedCohomologyHomeomorphIso (ModuleCat.of ℚ ℚ) |
| 64 | (X := TopCat.of P.openNeighborhood) |
| 65 | (Y := TopCat.of (NormalPairProductSupport.Constructions.normalPairNormalOpen P × NormalPairProductSupport.Constructions.normalPairTangentSpace P)) |
| 66 | (NormalPairProductSupport.Constructions.normalPairFirstHomeomorph P) (2*(c+d))) |
| 67 | (OpenProductTrace.Constructions.openCoordinateProductTrace (NormalPairProductSupport.Constructions.normalPairNormalOpen P) (normalPairTangentOpen P)) |
| 68 | (AlgebraicTopology.Duality.Poincare.ComplexManifoldTrace.complexManifoldTrace (c+d) (M := P.openNeighborhood)) h |
| 69 | |
| 70 | theorem compactHomeomorph_degreeCast {X Y : TopCat.{0}} (e : X ≃ₜ Y) |
| 71 | {n m : ℕ} (h : n = m) |
| 72 | (a : AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) Y n) : |
| 73 | eqToHom (congrArg (AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) X) h) |
| 74 | ((AlgebraicTopology.Duality.Poincare.CompactSupportHomeomorph.compactSupportedCohomologyHomeomorphIso (ModuleCat.of ℚ ℚ) e n).hom a) = |
| 75 | (AlgebraicTopology.Duality.Poincare.CompactSupportHomeomorph.compactSupportedCohomologyHomeomorphIso (ModuleCat.of ℚ ℚ) e m).hom |
| 76 | (eqToHom (congrArg (AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) Y) h) a) := by |
| 77 | subst m |
| 78 | rfl |
| 79 | |
| 80 | def normalPairCompactGysinTop |
| 81 | (a : AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) (TopCat.of (NormalPairProductSupport.Constructions.normalPairTangentSpace P)) (2*d)) : |
| 82 | AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) (TopCat.of P.neighborhood) (2*(c+d)) := |
| 83 | eqToHom (congrArg (AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) (TopCat.of P.neighborhood)) |
| 84 | (Nat.mul_add 2 c d).symm) (NormalPairCompactGysin.Constructions.normalPairCompactGysin P (2*d) a) |
| 85 | |
| 86 | theorem normalPairCompactGysinTop_eq_product |
| 87 | (a : AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) (TopCat.of (NormalPairProductSupport.Constructions.normalPairTangentSpace P)) (2*d)) : |
| 88 | normalPairCompactGysinTop P a = |
| 89 | (AlgebraicTopology.Duality.Poincare.CompactSupportHomeomorph.compactSupportedCohomologyHomeomorphIso (ModuleCat.of ℚ ℚ) |
| 90 | (X := TopCat.of P.neighborhood) |
| 91 | (Y := TopCat.of (NormalPairProductSupport.Constructions.normalPairNormalOpen P × NormalPairProductSupport.Constructions.normalPairTangentSpace P)) |
| 92 | (NormalPairProductSupport.Constructions.normalPairFirstHomeomorph P) (2*(c+d))).hom |
| 93 | (OpenProductTrace.Constructions.openExteriorTopProduct (NormalPairProductSupport.Constructions.normalPairNormalOpen P) (normalPairTangentOpen P) |
| 94 | (NestedOpenPointClass.Constructions.compactOpenPointDualClass (NormalPairProductSupport.Constructions.normalPairNormalOpen P) (Metric.mem_ball_self P.radius_pos)) a) := by |
| 95 | let _ := (inferInstance : ChartedSpace (Fin (c+d) → ℂ) N) |
| 96 | let _ := (inferInstance : T2Space N) |
| 97 | let _ := (inferInstance : IsManifold 𝓘(ℂ, Fin (c+d) → ℂ) 1 N) |
| 98 | exact compactHomeomorph_degreeCast |
| 99 | (X := TopCat.of P.neighborhood) |
| 100 | (Y := TopCat.of (NormalPairProductSupport.Constructions.normalPairNormalOpen P × NormalPairProductSupport.Constructions.normalPairTangentSpace P)) |
| 101 | (NormalPairProductSupport.Constructions.normalPairFirstHomeomorph P) (Nat.mul_add 2 c d).symm _ |
| 102 | |
| 103 | theorem normalPairCompactGysinTop_nativeTrace |
| 104 | (hq : ContMDiffOn 𝓘(ℂ, Fin (c+d) → ℂ) |
| 105 | 𝓘(ℂ, (Fin d → ℂ) × (Fin c → ℂ)) ∞ P.ambientChart P.ambientChart.source) |
| 106 | (hqi : ContMDiffOn 𝓘(ℂ, (Fin d → ℂ) × (Fin c → ℂ)) |
| 107 | 𝓘(ℂ, Fin (c+d) → ℂ) ∞ P.ambientChart.symm P.ambientChart.target) |
| 108 | (a : AlgebraicTopology.Duality.Poincare.CompactSupportCohomology.compactSupportedCohomology (ModuleCat.of ℚ ℚ) (TopCat.of (NormalPairProductSupport.Constructions.normalPairTangentSpace P)) (2*d)) : |
| 109 | AlgebraicTopology.Duality.Poincare.ComplexManifoldTrace.complexManifoldTrace (c+d) (M := P.openNeighborhood) (normalPairCompactGysinTop P a) = |
| 110 | AlgebraicTopology.Duality.Poincare.ComplexManifoldTrace.complexManifoldTrace d (M := normalPairTangentOpen P) a * LocalProductCoefficient.Constructions.localProductCupCoefficient c d := by |
| 111 | have hp := congrArg (AlgebraicTopology.Duality.Poincare.ComplexManifoldTrace.complexManifoldTrace (c+d) (M := P.openNeighborhood)) |
| 112 | (normalPairCompactGysinTop_eq_product P a) |
| 113 | have ht := ConcreteCategory.congr_hom (normalPairFirstHomeomorph_nativeTrace P hq hqi) |
| 114 | (OpenProductTrace.Constructions.openExteriorTopProduct (NormalPairProductSupport.Constructions.normalPairNormalOpen P) (normalPairTangentOpen P) |
| 115 | (NestedOpenPointClass.Constructions.compactOpenPointDualClass (NormalPairProductSupport.Constructions.normalPairNormalOpen P) (Metric.mem_ball_self P.radius_pos)) a) |
| 116 | have hi := OpenProductTrace.Constructions.openExteriorTopProduct_trace (NormalPairProductSupport.Constructions.normalPairNormalOpen P) (normalPairTangentOpen P) |
| 117 | (NestedOpenPointClass.Constructions.compactOpenPointDualClass (NormalPairProductSupport.Constructions.normalPairNormalOpen P) (Metric.mem_ball_self P.radius_pos)) a |
| 118 | rw [NestedOpenPointClass.Constructions.compactOpenPointDualClass_trace, one_mul] at hi |
| 119 | exact hp.trans (ht.trans hi) |
| 120 | |
| 121 | end |
| 122 | |
| 123 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.NormalPairIntrinsicTrace.Constructions |