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.CycleClass.Geometric.RationalLocalPurity |
| 2 | import OAI.AlgebraicTopology.Cohomology.Singular.Contractible |
| 3 | import OAI.AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport |
| 4 | |
| 5 | /-! # Boundary -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Principal.Boundary.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # LineBundleCycles: the supported class of a complex-valued function |
| 13 | |
| 14 | The normalized class of the origin pulls back to a relative class supported |
| 15 | on the zero set of a continuous complex-valued function. The class is the |
| 16 | boundary of its winding class on the complement, and hence its image in |
| 17 | ordinary cohomology vanishes. |
| 18 | |
| 19 | The complex line is represented by the project's normal-coordinate model |
| 20 | `Fin 1 → ℂ`, retaining its established integral orientation normalization. |
| 21 | No identification with an algebraic principal-divisor cycle is assumed here. |
| 22 | That identification requires the local multiplicity comparison with `Scheme.ord`. |
| 23 | -/ |
| 24 | |
| 25 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 26 | open OAI.AlgebraicGeometry.CycleClass.Geometric.RationalLocalPurity.Cycles |
| 27 | |
| 28 | abbrev normalComplexLine : TopCat := TopCat.of (Fin 1 → ℂ) |
| 29 | |
| 30 | abbrev puncturedComplexLine : Set normalComplexLine := {0}ᶜ |
| 31 | |
| 32 | /-- The genuine connecting isomorphism for the punctured complex line. -/ |
| 33 | def lineConnectingIso : |
| 34 | AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of puncturedComplexLine) 1 ≅ |
| 35 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) normalComplexLine |
| 36 | puncturedComplexLine 2 := |
| 37 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyConnectingIso (ModuleCat.of ℚ ℚ) normalComplexLine |
| 38 | puncturedComplexLine 1 |
| 39 | (AlgebraicTopology.Cohomology.Singular.Contractible.isZero_singularCohomology_of_contractible _ _ 1 (by decide)) |
| 40 | (AlgebraicTopology.Cohomology.Singular.Contractible.isZero_singularCohomology_of_contractible _ _ 2 (by decide)) |
| 41 | |
| 42 | /-- The punctured-line class whose boundary is the oriented class of the origin. -/ |
| 43 | def lineWindingClass : |
| 44 | AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of puncturedComplexLine) 1 := |
| 45 | lineConnectingIso.inv (CycleClass.Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass 1) |
| 46 | |
| 47 | theorem lineWindingClass_boundary : |
| 48 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyConnecting (ModuleCat.of ℚ ℚ) normalComplexLine |
| 49 | puncturedComplexLine 1 lineWindingClass = CycleClass.Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass 1 := |
| 50 | lineConnectingIso.inv_hom_id_apply _ |
| 51 | |
| 52 | theorem lineWindingClass_ne_zero : lineWindingClass ≠ 0 := by |
| 53 | intro h |
| 54 | apply CycleClass.Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass_ne_zero 1 |
| 55 | rw [← lineWindingClass_boundary, h, map_zero] |
| 56 | |
| 57 | /-- The complement of the function's zero set. -/ |
| 58 | def functionNonzeroLocus {X : TopCat} (f : X ⟶ normalComplexLine) : Set X := |
| 59 | f ⁻¹' puncturedComplexLine |
| 60 | |
| 61 | /-- The supported class obtained from the actual map of pairs. -/ |
| 62 | def functionSupportedClass {X : TopCat} (f : X ⟶ normalComplexLine) : |
| 63 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X (functionNonzeroLocus f) 2 := |
| 64 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) f |
| 65 | (A := functionNonzeroLocus f) (B := puncturedComplexLine) (fun _ hx => hx) 2 |
| 66 | (CycleClass.Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass 1) |
| 67 | |
| 68 | /-- Pull the winding class back to the function's nonvanishing locus. -/ |
| 69 | def functionWindingClass {X : TopCat} (f : X ⟶ normalComplexLine) : |
| 70 | AlgebraicTopology.Cohomology.Singular.Basic.singularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of (functionNonzeroLocus f)) 1 := |
| 71 | AlgebraicTopology.Cohomology.Singular.Functor.singularCohomologyPullback (ModuleCat.of ℚ ℚ) |
| 72 | (CycleClass.Geometric.LocalHomology.Cycles.subspaceMap f (A := functionNonzeroLocus f) (B := puncturedComplexLine) |
| 73 | (fun _ hx => hx)) 1 lineWindingClass |
| 74 | |
| 75 | /-- The supported function class has a canonical primitive on its complement. -/ |
| 76 | theorem functionWindingClass_boundary {X : TopCat} (f : X ⟶ normalComplexLine) : |
| 77 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyConnecting (ModuleCat.of ℚ ℚ) X (functionNonzeroLocus f) 1 |
| 78 | (functionWindingClass f) = functionSupportedClass f := by |
| 79 | have h := ConcreteCategory.congr_hom |
| 80 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyConnecting_naturality (ModuleCat.of ℚ ℚ) f |
| 81 | (A := functionNonzeroLocus f) (B := puncturedComplexLine) (fun _ hx => hx) 1) |
| 82 | lineWindingClass |
| 83 | change AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) f _ 2 |
| 84 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyConnecting (ModuleCat.of ℚ ℚ) normalComplexLine |
| 85 | puncturedComplexLine 1 lineWindingClass) = |
| 86 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyConnecting (ModuleCat.of ℚ ℚ) X (functionNonzeroLocus f) 1 |
| 87 | (functionWindingClass f) at h |
| 88 | rw [lineWindingClass_boundary] at h |
| 89 | exact h.symm |
| 90 | |
| 91 | /-- Forgetting the zero-set support sends the function class to zero. -/ |
| 92 | theorem functionSupportedClass_absolute_zero {X : TopCat} |
| 93 | (f : X ⟶ normalComplexLine) : |
| 94 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion (ModuleCat.of ℚ ℚ) X (functionNonzeroLocus f) 2 |
| 95 | (functionSupportedClass f) = 0 := by |
| 96 | have h := ConcreteCategory.congr_hom |
| 97 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyConnecting_inclusion (ModuleCat.of ℚ ℚ) X |
| 98 | (functionNonzeroLocus f) 1) (functionWindingClass f) |
| 99 | change AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyInclusion (ModuleCat.of ℚ ℚ) X (functionNonzeroLocus f) 2 |
| 100 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeCohomologyConnecting (ModuleCat.of ℚ ℚ) X (functionNonzeroLocus f) 1 |
| 101 | (functionWindingClass f)) = 0 at h |
| 102 | rwa [functionWindingClass_boundary] at h |
| 103 | |
| 104 | /-- These supported classes commute with actual continuous pullback. -/ |
| 105 | theorem functionSupportedClass_pullback {X Y : TopCat} |
| 106 | (g : X ⟶ Y) (f : Y ⟶ normalComplexLine) : |
| 107 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) g |
| 108 | (A := functionNonzeroLocus (g ≫ f)) (B := functionNonzeroLocus f) |
| 109 | (fun _ hx => hx) 2 (functionSupportedClass f) = |
| 110 | functionSupportedClass (g ≫ f) := |
| 111 | ConcreteCategory.congr_hom |
| 112 | (AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_comp (ModuleCat.of ℚ ℚ) g f |
| 113 | (A := functionNonzeroLocus (g ≫ f)) (B := functionNonzeroLocus f) |
| 114 | (C := puncturedComplexLine) (fun _ hx => hx) (fun _ hx => hx) 2) |
| 115 | (CycleClass.Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass 1) |
| 116 | |
| 117 | /-- The identity function recovers the normalized origin class. -/ |
| 118 | theorem functionSupportedClass_identity : |
| 119 | functionSupportedClass (𝟙 normalComplexLine) = CycleClass.Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass 1 := by |
| 120 | unfold functionSupportedClass |
| 121 | change AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (𝟙 normalComplexLine) |
| 122 | (A := puncturedComplexLine) (B := puncturedComplexLine) (fun _ hx => hx) 2 _ = _ |
| 123 | rw [AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeSingularCohomologyMap_id] |
| 124 | rfl |
| 125 | |
| 126 | end |
| 127 | |
| 128 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Principal.Boundary.BundleCycles |