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.PolynomialGraphDimension |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GenericFibers |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationDivisor.GraphOpen |
| 4 | import OAI.AlgebraicGeometry.CycleClass.Thom.Open.PrimeSupport |
| 5 | |
| 6 | /-! # Graph Dimension -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.GraphDimension.Constructions |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual affine normalization graph and each of its prime-divisor graphs have the codimensions required by the source Gysin formula and supported projection. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.AmbientMap.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Normalization.GenericFibers.Constructions.Open OAI.AlgebraicGeometry.CycleClass.Thom.PolynomialGraphDimension.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.GraphImage.Constructions |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationDivisor.GraphOpen.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationDivisor.Open.Constructions.Etale OAI.AlgebraicGeometry.CycleClass.Thom.Open.PrimeSupport.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.SchemeDivisor.Purity.Constructions |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (W : IrreducibleCloseds V.carrier) |
| 23 | {X : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] |
| 24 | (a : X ⟶ Normalization.AmbientMap.Constructions.smoothNormalizationOver V W) [IsOpenImmersion a.left] |
| 25 | |
| 26 | local instance : IsIntegral V.toOver.left := inferInstanceAs (IsIntegral V.carrier) |
| 27 | local instance : Smooth V.toOver.hom := inferInstanceAs (Smooth V.structureMap) |
| 28 | |
| 29 | include a in |
| 30 | theorem sourceDimension_add_codimension : Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom + |
| 31 | Geometric.DimensionCycles.dimensionCodimension V W = Betti.AffineDimension.Realization.functionFieldDifferentialDimension V.toOver.hom := by |
| 32 | let D : Geometric.DimensionCycles.DimensionCycleSupport V (Geometric.DimensionCycles.dimensionCodimension V W) := ⟨W, rfl⟩ |
| 33 | have h := Normalization.GenericFibers.Constructions.Open.openSource_dimension D a |
| 34 | exact (congrArg (fun n => n + Geometric.DimensionCycles.dimensionCodimension V W) h).trans D.regularComplexDimension_add_codimension |
| 35 | |
| 36 | variable (Y : Over Foundations.Scheme.ProjectiveSpace.complexBase) [IsAffine Y.left] [IsIntegral Y.left] [Smooth Y.hom] |
| 37 | (j : Y ⟶ V.toOver) [IsOpenImmersion j.left] (d : ℕ) |
| 38 | |
| 39 | include a j in |
| 40 | theorem parentGraph_dimension : Betti.AffineDimension.Realization.functionFieldDifferentialDimension X.hom + |
| 41 | (Geometric.DimensionCycles.dimensionCodimension V W + d) = Betti.AffineDimension.Realization.functionFieldDifferentialDimension (SchemeDivisor.GraphImage.Constructions.graphTarget Y d).hom := by |
| 42 | have hs := sourceDimension_add_codimension V W a |
| 43 | have ht := PolynomialGraphDimension.Constructions.graphTarget_ambient_dimension Y d j |
| 44 | omega |
| 45 | |
| 46 | variable (z : {x : X.left // Order.coheight x = 1}) |
| 47 | |
| 48 | include a j in |
| 49 | theorem affinePrimeGraph_codimension : Geometric.ComplexNormalAtlas.Cycles.complexImmersionCodimension |
| 50 | (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension (Scheme.RegularSupport.Constructions.regularOver X (SchemeDivisor.Purity.Constructions.primeSupport X z)).hom) → ℂ) |
| 51 | (V.analyticModel × (Fin d → ℂ)) = (Geometric.DimensionCycles.dimensionCodimension V W + d) + 1 := |
| 52 | PolynomialGraphDimension.Constructions.primeGraph_codimension Y d j z (Geometric.DimensionCycles.dimensionCodimension V W + d) (parentGraph_dimension V W a Y j d) |
| 53 | |
| 54 | omit [IsIntegral X.left] [Smooth X.hom] in |
| 55 | theorem coverPrimeGraph_codimension : Geometric.ComplexNormalAtlas.Cycles.complexImmersionCodimension |
| 56 | (Fin (Betti.AffineDimension.Realization.functionFieldDifferentialDimension (NormalizationDivisor.Open.Constructions.Etale.sourceOpen V W (Open.PrimeSupport.Constructions.ambientPrime a z)).hom) → ℂ) |
| 57 | (V.analyticModel × (Fin d → ℂ)) = (Geometric.DimensionCycles.dimensionCodimension V W + d) + 1 := |
| 58 | (NormalizationDivisor.GraphOpen.Constructions.sourceGraph_codimension V W (Open.PrimeSupport.Constructions.ambientPrime a z) d).trans (by omega) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.CycleClass.Thom.NormalizationAffine.GraphDimension.Constructions |