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.SchemeNormalization.AmbientMap |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Open.ImmersionNoetherian |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.SmoothNormalizationDivisor |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.SeparatedSchemeTopology |
| 5 | |
| 6 | /-! # Topology -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.SchemeNormalization.Topology.BundleCycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The constructed smooth normalization source is integral and |
| 13 | Noetherian, preserves the support dimension, and is metrizable for a |
| 14 | separated ambient complex scheme. -/ |
| 15 | |
| 16 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.Scheme.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.Field.Constructions |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.SmoothLocus.Constructions.Open OAI.AlgebraicGeometry.CycleClass.Thom.SmoothNormalizationDivisor.Constructions |
| 19 | |
| 20 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType X.hom] (W : IrreducibleCloseds X.left) |
| 21 | |
| 22 | instance schemeFullNormalization_integral : IsIntegral (AmbientMap.BundleCycles.schemeFullNormalizationOver X W).left := |
| 23 | inferInstanceAs (IsIntegral (CycleClass.Thom.Normalization.Scheme.Constructions.normalization (CycleClass.Geometric.GenericPoint.reducedSupportScheme W))) |
| 24 | |
| 25 | instance schemeSmoothNormalization_integral : IsIntegral (AmbientMap.BundleCycles.schemeSmoothNormalizationOver X W).left := by |
| 26 | change IsIntegral (((AmbientMap.BundleCycles.schemeNormalizationToAmbient X W).left ⁻¹ᵁ AmbientMap.BundleCycles.schemeNormalizationAmbientOpen X W) : Scheme) |
| 27 | rw [AmbientMap.BundleCycles.schemeNormalization_preimage_ambientOpen] |
| 28 | exact inferInstanceAs (IsIntegral ((CycleClass.Thom.SmoothNormalizationDivisor.Constructions.normalizedSmoothOpen (CycleClass.Geometric.GenericPoint.reducedSupportScheme W) (CycleClass.Geometric.SupportFiniteType.supportStructureMap W X.hom)) : Scheme)) |
| 29 | |
| 30 | instance schemeFullNormalization_noetherian [AlgebraicGeometry.IsNoetherian X.left] : |
| 31 | AlgebraicGeometry.IsNoetherian (AmbientMap.BundleCycles.schemeFullNormalizationOver X W).left := |
| 32 | CycleClass.Thom.Normalization.Field.Constructions.finiteNormalization_noetherian (CycleClass.Geometric.GenericPoint.reducedSupportScheme W) (CycleClass.Geometric.SupportFiniteType.supportStructureMap W X.hom) |
| 33 | |
| 34 | instance schemeSmoothNormalization_noetherian [AlgebraicGeometry.IsNoetherian X.left] : |
| 35 | AlgebraicGeometry.IsNoetherian (AmbientMap.BundleCycles.schemeSmoothNormalizationOver X W).left := by |
| 36 | let U := (AmbientMap.BundleCycles.schemeNormalizationToAmbient X W).left ⁻¹ᵁ AmbientMap.BundleCycles.schemeNormalizationAmbientOpen X W |
| 37 | exact @Open.ImmersionNoetherian.BundleCycles.openImmersion_isNoetherian U.toScheme (AmbientMap.BundleCycles.schemeFullNormalizationOver X W).left |
| 38 | (schemeFullNormalization_noetherian X W) U.ι inferInstance |
| 39 | |
| 40 | instance schemeSmoothNormalization_separated [IsSeparated X.hom] : |
| 41 | IsSeparated (AmbientMap.BundleCycles.schemeSmoothNormalizationOver X W).hom := by |
| 42 | let n := CycleClass.Thom.Normalization.Scheme.Constructions.normalizationMap (CycleClass.Geometric.GenericPoint.reducedSupportScheme W) |
| 43 | let g := CycleClass.Geometric.SupportFiniteType.supportStructureMap W X.hom |
| 44 | let U := (AmbientMap.BundleCycles.schemeNormalizationToAmbient X W).left ⁻¹ᵁ AmbientMap.BundleCycles.schemeNormalizationAmbientOpen X W |
| 45 | let : IsFinite n := CycleClass.Thom.Normalization.Scheme.Constructions.normalizationMap_isFinite (CycleClass.Geometric.GenericPoint.reducedSupportScheme W) (CycleClass.Geometric.SupportFiniteType.supportStructureMap W X.hom) |
| 46 | have hg : IsSeparated g := IsSeparated.stableUnderComposition.comp_mem (CycleClass.Geometric.GenericPoint.reducedSupportι W) X.hom |
| 47 | inferInstance inferInstance |
| 48 | have hng : IsSeparated (n ≫ g) := IsSeparated.stableUnderComposition.comp_mem n g inferInstance hg |
| 49 | exact IsSeparated.stableUnderComposition.comp_mem U.ι (n ≫ g) inferInstance hng |
| 50 | |
| 51 | instance schemeSmoothNormalization_quasiCompact [AlgebraicGeometry.IsNoetherian X.left] : |
| 52 | QuasiCompact (AmbientMap.BundleCycles.schemeSmoothNormalizationOver X W).hom := inferInstance |
| 53 | |
| 54 | instance schemeSmoothNormalization_metrizable [AlgebraicGeometry.IsNoetherian X.left] [IsSeparated X.hom] : |
| 55 | MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints (AmbientMap.BundleCycles.schemeSmoothNormalizationOver X W)) := |
| 56 | CycleClass.Thom.SeparatedSchemeTopology.Constructions.schemePoints_metrizable (AmbientMap.BundleCycles.schemeSmoothNormalizationOver X W) |
| 57 | |
| 58 | theorem schemeSmoothNormalization_dimension : |
| 59 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (AmbientMap.BundleCycles.schemeSmoothNormalizationOver X W).hom = Foundations.Scheme.SupportDimension.supportTranscendenceDimension W X.hom := by |
| 60 | let U := (AmbientMap.BundleCycles.schemeNormalizationToAmbient X W).left ⁻¹ᵁ AmbientMap.BundleCycles.schemeNormalizationAmbientOpen X W |
| 61 | let : IsIntegral (U : Scheme) := schemeSmoothNormalization_integral X W |
| 62 | have h := Foundations.Scheme.OpenFunctionField.schemeTranscendenceDimension_openImmersion U.ι |
| 63 | (CycleClass.Thom.Normalization.Scheme.Constructions.normalizationMap (CycleClass.Geometric.GenericPoint.reducedSupportScheme W) ≫ CycleClass.Geometric.SupportFiniteType.supportStructureMap W X.hom) |
| 64 | exact h.trans (CycleClass.Thom.Normalization.Field.Constructions.finiteNormalization_dimension (CycleClass.Geometric.GenericPoint.reducedSupportScheme W) (CycleClass.Geometric.SupportFiniteType.supportStructureMap W X.hom)) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.Divisors.LineBundles.SchemeNormalization.Topology.BundleCycles |