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.ClopenPointChow |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Open.ImmersionNoetherian |
| 3 | import Mathlib.Topology.LocallyConstant.Basic |
| 4 | |
| 5 | /-! # Locally Constant Dimension -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.LocallyConstantDimension.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Selecting point dimensions relative to a locally constant geometric |
| 12 | dimension label preserves equality in each actual Chow dimension grade. -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 15 | |
| 16 | variable {X : Scheme.{0}} [AlgebraicGeometry.IsNoetherian X] |
| 17 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] (d : ℕ) |
| 18 | |
| 19 | omit [LocallyOfFiniteType f] in |
| 20 | theorem pointCycleToChowQ_setPart_eq_of_agreeOnGrade (S T : Set X) |
| 21 | (hST : ∀ x, Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm x) f = d → |
| 22 | (x ∈ S ↔ x ∈ T)) (z : X →₀ ℚ) : |
| 23 | Point.CycleChow.BundleCycles.pointCycleToChowQ f d (Point.CycleSet.BundleCycles.pointCycleSetPart S z) = Point.CycleChow.BundleCycles.pointCycleToChowQ f d (Point.CycleSet.BundleCycles.pointCycleSetPart T z) := by |
| 24 | apply congrArg (DimensionChow.BundleCycles.dimensionCycleToChowQ f d) |
| 25 | ext Z |
| 26 | change Point.CycleSet.BundleCycles.pointCycleSetPart S z (Graded.GlobalSpecialization.BundleCycles.schemeDimensionPointEmbedding f d Z) = |
| 27 | Point.CycleSet.BundleCycles.pointCycleSetPart T z (Graded.GlobalSpecialization.BundleCycles.schemeDimensionPointEmbedding f d Z) |
| 28 | have hd : Foundations.Scheme.SupportDimension.supportTranscendenceDimension |
| 29 | (irreducibleSetEquivPoints.symm (Graded.GlobalSpecialization.BundleCycles.schemeDimensionPointEmbedding f d Z)) f = d := Z.property |
| 30 | by_cases hx : Graded.GlobalSpecialization.BundleCycles.schemeDimensionPointEmbedding f d Z ∈ S |
| 31 | · rw [Point.CycleSet.BundleCycles.pointCycleSetPart_apply_mem _ _ _ hx, |
| 32 | Point.CycleSet.BundleCycles.pointCycleSetPart_apply_mem _ _ _ ((hST _ hd).mp hx)] |
| 33 | · rw [Point.CycleSet.BundleCycles.pointCycleSetPart_apply_notMem _ _ _ hx, |
| 34 | Point.CycleSet.BundleCycles.pointCycleSetPart_apply_notMem _ _ _ (fun h => hx ((hST _ hd).mpr h))] |
| 35 | |
| 36 | theorem locallyConstantDimensionPart_chow_eq (N : X → ℕ) (hN : IsLocallyConstant N) (p : ℕ) |
| 37 | (z w : X →₀ ℚ) (hzw : Point.CycleChow.BundleCycles.pointCycleToChowQ f d z = Point.CycleChow.BundleCycles.pointCycleToChowQ f d w) : |
| 38 | Point.CycleChow.BundleCycles.pointCycleToChowQ f d |
| 39 | (Point.CycleSet.BundleCycles.pointCycleSetPart {x | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm x) f + p = N x} z) = |
| 40 | Point.CycleChow.BundleCycles.pointCycleToChowQ f d |
| 41 | (Point.CycleSet.BundleCycles.pointCycleSetPart {x | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm x) f + p = N x} w) := by |
| 42 | let U : X.Opens := ⟨{x | N x = d + p}, hN.isOpen_fiber (d + p)⟩ |
| 43 | let : AlgebraicGeometry.IsNoetherian U.toScheme := Open.ImmersionNoetherian.BundleCycles.openImmersion_isNoetherian U.ι |
| 44 | let : IsClosedImmersion U.ι := IsClosedImmersion.of_isPreimmersion _ (by |
| 45 | rw [Scheme.Opens.range_ι] |
| 46 | exact hN.isClosed_fiber (d + p)) |
| 47 | have hS : ∀ x, Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm x) f = d → |
| 48 | (x ∈ {x | Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm x) f + p = N x} ↔ |
| 49 | x ∈ Set.range U.ι) := by |
| 50 | intro x hx |
| 51 | rw [Scheme.Opens.range_ι] |
| 52 | change _ + p = N x ↔ N x = d + p |
| 53 | rw [hx] |
| 54 | exact eq_comm |
| 55 | exact (pointCycleToChowQ_setPart_eq_of_agreeOnGrade f d _ _ hS z).trans |
| 56 | ((ClopenPointChow.BundleCycles.clopenPointChowPart_eq_of_eq U.ι f d z w hzw).trans |
| 57 | (pointCycleToChowQ_setPart_eq_of_agreeOnGrade f d _ _ hS w).symm) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.Divisors.LineBundles.LocallyConstantDimension.BundleCycles |