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.Normalization.GenericCover |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.DenseOpenImage |
| 3 | |
| 4 | /-! # Open -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.Open.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The constructed degree-one normalization cover of an actual cycle has its full support image and the original cycle dimension on the retained ambient open. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GenericCover.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.Field.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.Scheme.Constructions |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.DenseOpenImage.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Cycle.RegularOpenImmersion.Constructions |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} {p : ℕ} (D : Geometric.DimensionCycles.DimensionCycleSupport V p) |
| 21 | |
| 22 | local instance : IsIntegral D.toOver.left := inferInstanceAs (IsIntegral D.scheme) |
| 23 | local instance : LocallyOfFiniteType D.toOver.hom := inferInstanceAs (LocallyOfFiniteType D.structureMap) |
| 24 | |
| 25 | def targetToSupport : GenericCover.Constructions.targetOpen D.toOver ⟶ D.toOver := ProperImage.AnalyticRestriction.Constructions.Construction.openSchemeInclusion D.toOver (GenericCover.Constructions.goodOpen D.toOver) |
| 26 | |
| 27 | instance targetToSupport_open : IsOpenImmersion (targetToSupport D).left := |
| 28 | inferInstanceAs (IsOpenImmersion (ProperImage.AnalyticRestriction.Constructions.Construction.openSchemeInclusion D.toOver (GenericCover.Constructions.goodOpen D.toOver)).left) |
| 29 | |
| 30 | def targetToAmbient : GenericCover.Constructions.targetOpen D.toOver ⟶ V.toOver := targetToSupport D ≫ D.toAmbient |
| 31 | |
| 32 | instance targetToAmbient_immersion : IsImmersion (targetToAmbient D).left := by |
| 33 | let : IsClosedImmersion D.toAmbient.left := D.inclusion_isClosedImmersion |
| 34 | change IsImmersion ((targetToSupport D).left ≫ D.toAmbient.left) |
| 35 | infer_instance |
| 36 | |
| 37 | def omittedBoundary : Closeds V.carrier := ProperImage.Open.Constructions.Construction.supportOpenBoundary D (GenericCover.Constructions.goodOpen D.toOver) |
| 38 | |
| 39 | def goodAmbient : Opens V.analyticSpace := ProperImage.CompactProjection.Constructions.Construction.algebraicComplementOpen V (omittedBoundary D) |
| 40 | |
| 41 | theorem goodAmbient_regular : (goodAmbient D : Set V.analyticSpace) ⊆ D.regularAmbientOpen := |
| 42 | ProperImage.Open.Constructions.Construction.boundaryComplement_subset_regularAmbient D (GenericCover.Constructions.goodOpen D.toOver) (GenericCover.Constructions.goodOpen_subset_smoothLocus D.toOver) |
| 43 | |
| 44 | theorem targetToSupport_opensRange : (targetToSupport D).left.opensRange = GenericCover.Constructions.goodOpen D.toOver := |
| 45 | Scheme.Opens.opensRange_ι _ |
| 46 | |
| 47 | theorem sourceOpen_dimension : |
| 48 | Betti.AffineDimension.Realization.functionFieldDifferentialDimension (GenericCover.Constructions.sourceOpen D.toOver).hom = D.regularComplexDimension := by |
| 49 | rw [← Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension] |
| 50 | change Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension |
| 51 | (((GenericCover.Constructions.normalizationOverMap D.toOver).left ⁻¹ᵁ GenericCover.Constructions.goodOpen D.toOver).ι ≫ |
| 52 | (Normalization.Scheme.Constructions.normalizationMap D.scheme ≫ D.structureMap)) = _ |
| 53 | rw [Foundations.Scheme.OpenFunctionField.schemeTranscendenceDimension_open, Field.Constructions.finiteNormalization_dimension] |
| 54 | exact D.regularComplexDimension_eq_supportDimension.symm |
| 55 | |
| 56 | theorem sourceGraph_codimension (d : ℕ) : |
| 57 | Geometric.ComplexNormalAtlas.Cycles.complexImmersionCodimension (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension (GenericCover.Constructions.sourceOpen D.toOver).hom) → ℂ) |
| 58 | (V.analyticModel × (Fin d → ℂ)) = p + d := by |
| 59 | change Module.finrank ℂ (V.analyticModel × (Fin d → ℂ)) - |
| 60 | Module.finrank ℂ (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension (GenericCover.Constructions.sourceOpen D.toOver).hom) → ℂ) = p + d |
| 61 | simp only [Module.finrank_prod, Module.finrank_fin_fun, sourceOpen_dimension] |
| 62 | have hd := D.regularComplexDimension_add_codimension |
| 63 | omega |
| 64 | |
| 65 | theorem targetToAmbient_range (U : Opens V.analyticSpace) (hU : (U : Set V.analyticSpace) ⊆ goodAmbient D) : |
| 66 | ((Subtype.val : U → V.analyticSpace) ⁻¹' Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map (targetToAmbient D))) = |
| 67 | Set.range (Cycle.RegularOpenImmersion.Constructions.regularOpenImmersion D U (hU.trans (goodAmbient_regular D))) := by |
| 68 | have hU' : (U : Set V.analyticSpace) ⊆ |
| 69 | ProperImage.CompactProjection.Constructions.Construction.algebraicComplementOpen V (ProperImage.Open.Constructions.Construction.supportOpenBoundary D (targetToSupport D).left.opensRange) := by |
| 70 | rw [targetToSupport_opensRange] |
| 71 | exact hU |
| 72 | exact Cycle.DenseOpenImage.Constructions.supportOpenImmersion_regularImage D (targetToSupport D) U hU' (hU.trans (goodAmbient_regular D)) |
| 73 | |
| 74 | theorem omittedBoundary_codimension (Z : IrreducibleCloseds V.carrier) |
| 75 | (hZ : (Z : Set V.carrier) ⊆ omittedBoundary D) : p < Geometric.DimensionCycles.dimensionCodimension V Z := |
| 76 | ProperImage.Open.Constructions.Construction.supportOpenBoundary_codimension D (GenericCover.Constructions.goodOpen D.toOver) (GenericCover.Constructions.goodOpen_spec D.toOver).1 Z hZ |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.Open.Constructions |