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.Thom.SchemeDivisor.Purity |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Degree |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Open.RestrictionTarget |
| 4 | |
| 5 | /-! # Module -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.Module |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Canonical supported prime-divisor Thom classes on general smooth integral |
| 12 | complex schemes. Extension across the actual singular boundary is proved |
| 13 | invertible by stratified purity. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | open scoped _root_.Manifold ContDiff |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | namespace Constructions |
| 22 | |
| 23 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.Purity.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Degree.Constructions.ThomClass OAI.AlgebraicGeometry.CycleClass.Thom.Open.RestrictionTarget.Constructions |
| 24 | |
| 25 | private def modulePreimage {A C : ModuleCat ℚ} (f : A ⟶ C) [IsIso f] (a : C) : A := |
| 26 | (asIso f).toLinearEquiv.symm a |
| 27 | |
| 28 | private theorem moduleIso_apply_symm {A C : ModuleCat ℚ} (f : A ⟶ C) [IsIso f] (a : C) : |
| 29 | f (modulePreimage f a) = a := |
| 30 | (asIso f).toLinearEquiv.apply_symm_apply a |
| 31 | |
| 32 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] [Smooth X.hom] |
| 33 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 34 | (z : {x : X.left // Order.coheight x = 1}) |
| 35 | |
| 36 | local notation "Z" => OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.Purity.Constructions.primeSupport X z |
| 37 | local notation "T" => TopCat.of (OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) |
| 38 | local notation "G" => OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions.regularAmbientOpen X Z |
| 39 | local notation "B" => (Set.range (OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion X Z))ᶜ |
| 40 | local notation "j" => OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion X Z |
| 41 | local notation "E" => Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ |
| 42 | |
| 43 | omit [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 44 | private theorem primeRegularCodimension : Geometric.ComplexNormalAtlas.Cycles.complexImmersionCodimension (Scheme.RegularSupport.Constructions.regularModel X Z) E = 1 := by |
| 45 | change Module.finrank ℂ E - Module.finrank ℂ (Scheme.RegularSupport.Constructions.regularModel X Z) = 1 |
| 46 | rw [Module.finrank_fin_fun, Module.finrank_fin_fun] |
| 47 | have h := Purity.Constructions.primeRegularDimension_add_one X z |
| 48 | omega |
| 49 | |
| 50 | local instance : MetrizableSpace G := MetrizableSpace.subtype _ |
| 51 | |
| 52 | /-- The normalized class of the actual closed complex regular-locus immersion. -/ |
| 53 | def regularDivisorThomClass : |
| 54 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of G) (Set.range j)ᶜ 2 := |
| 55 | Degree.Constructions.ThomClass.complexThomClassInDegree j (Scheme.RegularSupport.Constructions.regularComplementInclusion_contMDiff X Z ω) |
| 56 | (Scheme.RegularSupport.Constructions.regularComplementInclusion_mfderiv_injective X Z) (Scheme.RegularSupport.Constructions.regularComplementInclusion_closed X Z) |
| 57 | 1 (primeRegularCodimension X z) |
| 58 | |
| 59 | omit [AlgebraicGeometry.IsNoetherian X.left] in |
| 60 | theorem regularDivisorThomClass_restrict (x : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (Scheme.RegularSupport.Constructions.regularOver X Z)) |
| 61 | (P : ComplexPoints.Analytic.NormalPairRecenter.ImmersionNormalPair (Scheme.RegularSupport.Constructions.regularModel X Z) (Fin 1 → ℂ) j x) |
| 62 | (hP : P.ambientChart.MDifferentiable 𝓘(ℂ, E) 𝓘(ℂ, Scheme.RegularSupport.Constructions.regularModel X Z × (Fin 1 → ℂ))) : |
| 63 | Geometric.RelativeCohomologySections.Cycles.relativeCohomologyOpenRestriction (ModuleCat.of ℚ ℚ) (TopCat.of G) (Set.range j)ᶜ |
| 64 | P.openNeighborhood 2 (regularDivisorThomClass X z) = P.rationalClassFin := |
| 65 | Degree.Constructions.ThomClass.complexThomClassInDegree_restrict j (Scheme.RegularSupport.Constructions.regularComplementInclusion_contMDiff X Z ω) |
| 66 | (Scheme.RegularSupport.Constructions.regularComplementInclusion_mfderiv_injective X Z) (Scheme.RegularSupport.Constructions.regularComplementInclusion_closed X Z) |
| 67 | 1 (primeRegularCodimension X z) x P hP |
| 68 | |
| 69 | omit [IsIntegral X.left] [AlgebraicGeometry.IsNoetherian X.left] |
| 70 | [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 71 | /-- The regular-locus complement is the genuine restricted ambient support complement. -/ |
| 72 | theorem regularDivisorComplement_eq : AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := T) B G = (Set.range j)ᶜ := by |
| 73 | rw [Scheme.RegularSupport.Constructions.regularComplementInclusion_range] |
| 74 | rfl |
| 75 | |
| 76 | /-- Restriction is the pair pullback along the actual open inclusion. -/ |
| 77 | def divisorSupportRestriction : |
| 78 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T B 2 ⟶ |
| 79 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of G) (Set.range j)ᶜ 2 := |
| 80 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (Geometric.LocalHomology.Cycles.subspaceInclusion T (G : Set T)) |
| 81 | (Open.RestrictionTarget.Constructions.openRestrictionMapsTo T B G (Set.range j)ᶜ (regularDivisorComplement_eq X z)) 2 |
| 82 | |
| 83 | instance divisorSupportRestriction_isIso : IsIso (divisorSupportRestriction X z) := by |
| 84 | let := Purity.Constructions.primeRegularRestriction_isIso X z |
| 85 | change IsIso (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (Geometric.LocalHomology.Cycles.subspaceInclusion T (G : Set T)) |
| 86 | (Open.RestrictionTarget.Constructions.openRestrictionMapsTo T B G (Set.range j)ᶜ (regularDivisorComplement_eq X z)) 2) |
| 87 | rw [← Open.RestrictionTarget.Constructions.openRestriction_change_target T B G (Set.range j)ᶜ (regularDivisorComplement_eq X z) 2] |
| 88 | infer_instance |
| 89 | |
| 90 | /-- Extend the actual regular-locus Thom class uniquely across its singular boundary. -/ |
| 91 | def supportedDivisorClass : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T B 2 := |
| 92 | modulePreimage (divisorSupportRestriction X z) (regularDivisorThomClass X z) |
| 93 | |
| 94 | theorem supportedDivisorClass_restrict : |
| 95 | divisorSupportRestriction X z (supportedDivisorClass X z) = regularDivisorThomClass X z := |
| 96 | moduleIso_apply_symm (divisorSupportRestriction X z) (regularDivisorThomClass X z) |
| 97 | |
| 98 | theorem supportedDivisorClass_unique (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T B 2) |
| 99 | (ha : divisorSupportRestriction X z a = regularDivisorThomClass X z) : |
| 100 | a = supportedDivisorClass X z := by |
| 101 | apply (ModuleCat.mono_iff_injective (divisorSupportRestriction X z)).mp inferInstance |
| 102 | exact ha.trans (supportedDivisorClass_restrict X z).symm |
| 103 | |
| 104 | end Constructions |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.Module |