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.Divisors.LineBundles.Scheme.SupportPurity |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Degree |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Open.RestrictionTarget |
| 4 | |
| 5 | /-! # Supported Cycle Class -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.SupportedCycleClass.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Canonical supported cycle classes in every codimension on genuine |
| 12 | smooth integral complex schemes. The regular-locus Thom class extends |
| 13 | uniquely across the actual singular boundary by proved purity. -/ |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Degree.Constructions.ThomClass OAI.AlgebraicGeometry.CycleClass.Thom.Open.RestrictionTarget.Constructions |
| 18 | open scoped _root_.Manifold ContDiff |
| 19 | |
| 20 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsIntegral X.left] [Smooth X.hom] |
| 21 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 22 | (Z : IrreducibleCloseds X.left) (p : ℕ) |
| 23 | (hp : Foundations.Scheme.SupportDimension.supportTranscendenceDimension Z X.hom + p = Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension X.hom) |
| 24 | |
| 25 | local notation "E" => Fin (OAI.AlgebraicGeometry.Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom) → ℂ |
| 26 | local notation "G" => OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions.regularAmbientOpen X Z |
| 27 | local notation "j" => OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion X Z |
| 28 | local notation "T" => TopCat.of (OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) |
| 29 | local notation "B" => (Set.range (OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion X Z))ᶜ |
| 30 | |
| 31 | include hp in |
| 32 | omit [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 33 | theorem schemeRegularSupportCodimension : CycleClass.Geometric.ComplexNormalAtlas.Cycles.complexImmersionCodimension (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularModel X Z) E = p := by |
| 34 | change Module.finrank ℂ E - Module.finrank ℂ (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularModel X Z) = p |
| 35 | rw [Module.finrank_fin_fun, Module.finrank_fin_fun, CycleClass.Thom.Scheme.RegularSupport.Constructions.regularDimension_eq] |
| 36 | have h := Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension X.hom |
| 37 | omega |
| 38 | |
| 39 | local instance : MetrizableSpace G := MetrizableSpace.subtype _ |
| 40 | |
| 41 | def schemeRegularSupportThomClass : |
| 42 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of G) (Set.range j)ᶜ (2 * p) := |
| 43 | CycleClass.Thom.Degree.Constructions.ThomClass.complexThomClassInDegree j (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion_contMDiff X Z ω) |
| 44 | (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion_mfderiv_injective X Z) (CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion_closed X Z) |
| 45 | p (schemeRegularSupportCodimension X Z p hp) |
| 46 | |
| 47 | omit [AlgebraicGeometry.IsIntegral X.left] [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] in |
| 48 | theorem schemeRegularSupportComplement_eq : AlgebraicTopology.Cohomology.Singular.RelativeOpenSupport.relativeOpenSubspace (X := T) B G = (Set.range j)ᶜ := by |
| 49 | rw [CycleClass.Thom.Scheme.RegularSupport.Constructions.regularComplementInclusion_range] |
| 50 | rfl |
| 51 | |
| 52 | def schemeCycleSupportRestriction : |
| 53 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T B (2 * p) ⟶ |
| 54 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) (TopCat.of G) (Set.range j)ᶜ (2 * p) := |
| 55 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion T (G : Set T)) |
| 56 | (CycleClass.Thom.Open.RestrictionTarget.Constructions.openRestrictionMapsTo T B G (Set.range j)ᶜ (schemeRegularSupportComplement_eq X Z)) (2 * p) |
| 57 | |
| 58 | include hp in |
| 59 | theorem schemeCycleSupportRestriction_isIso : IsIso (schemeCycleSupportRestriction X Z p) := by |
| 60 | let := SupportPurity.BundleCycles.schemeSupportRegularRestriction_isIso X Z p hp |
| 61 | change IsIso (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) (CycleClass.Geometric.LocalHomology.Cycles.subspaceInclusion T (G : Set T)) |
| 62 | (CycleClass.Thom.Open.RestrictionTarget.Constructions.openRestrictionMapsTo T B G (Set.range j)ᶜ (schemeRegularSupportComplement_eq X Z)) (2 * p)) |
| 63 | rw [← CycleClass.Thom.Open.RestrictionTarget.Constructions.openRestriction_change_target T B G (Set.range j)ᶜ (schemeRegularSupportComplement_eq X Z) (2 * p)] |
| 64 | infer_instance |
| 65 | |
| 66 | def schemeSupportedCycleClass : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T B (2 * p) := by |
| 67 | let := schemeCycleSupportRestriction_isIso X Z p hp |
| 68 | exact (asIso (schemeCycleSupportRestriction X Z p)).toLinearEquiv.symm (schemeRegularSupportThomClass X Z p hp) |
| 69 | |
| 70 | theorem schemeSupportedCycleClass_restrict : |
| 71 | schemeCycleSupportRestriction X Z p (schemeSupportedCycleClass X Z p hp) = schemeRegularSupportThomClass X Z p hp := by |
| 72 | let := schemeCycleSupportRestriction_isIso X Z p hp |
| 73 | exact (asIso (schemeCycleSupportRestriction X Z p)).toLinearEquiv.apply_symm_apply _ |
| 74 | |
| 75 | theorem schemeSupportedCycleClass_unique (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) T B (2 * p)) |
| 76 | (ha : schemeCycleSupportRestriction X Z p a = schemeRegularSupportThomClass X Z p hp) : |
| 77 | a = schemeSupportedCycleClass X Z p hp := by |
| 78 | let := schemeCycleSupportRestriction_isIso X Z p hp |
| 79 | apply (asIso (schemeCycleSupportRestriction X Z p)).toLinearEquiv.injective |
| 80 | exact ha.trans (schemeSupportedCycleClass_restrict X Z p hp).symm |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.SupportedCycleClass.BundleCycles |