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.ImmersionDimension |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Graded.GlobalSpecialization |
| 3 | |
| 4 | /-! # Cycle Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Open.CycleRestriction.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # LineBundleCycles: restriction of graded finite cycles to an open subscheme |
| 12 | |
| 13 | The actual open immersion embeds the generic points without changing |
| 14 | support dimension. Restriction retains exactly the coefficients whose |
| 15 | generic points lie in the open. Extending finite cycles by zero gives a |
| 16 | section of this cycle-level restriction map. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.TopologicalSpace |
| 20 | |
| 21 | variable {X Y : Scheme} |
| 22 | |
| 23 | theorem schemeDimensionCycleInclusion_apply (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (d : ℕ) |
| 24 | (z : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint f d →₀ ℚ) (x : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint f d) : |
| 25 | Graded.GlobalSpecialization.BundleCycles.schemeDimensionCycleInclusion f d z x.1 = z x := |
| 26 | Finsupp.mapDomain_apply_of_injective (Graded.GlobalSpecialization.BundleCycles.schemeDimensionPointEmbedding f d).injective z x |
| 27 | |
| 28 | theorem schemeDimensionCycleInclusion_of_dimension_ne (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (d : ℕ) |
| 29 | (z : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint f d →₀ ℚ) (x : X) |
| 30 | (hx : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm x) f ≠ d) : |
| 31 | Graded.GlobalSpecialization.BundleCycles.schemeDimensionCycleInclusion f d z x = 0 := by |
| 32 | apply Finsupp.mapDomain_of_notMem_range z x |
| 33 | rintro ⟨y, hy⟩ |
| 34 | exact hx ((congrArg (fun q => Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm q) f) |
| 35 | hy.symm).trans y.2) |
| 36 | |
| 37 | variable [AlgebraicGeometry.IsNoetherian X] (i : X ⟶ Y) [IsOpenImmersion i] |
| 38 | (f : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) |
| 39 | |
| 40 | /-- The actual embedding of the dimension-graded generic points. -/ |
| 41 | def openDimensionPointEmbedding (d : ℕ) : |
| 42 | Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint (i ≫ f) d ↪ Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint f d where |
| 43 | toFun x := ⟨i x.1, (ImmersionDimension.BundleCycles.pointClosure_dimension_immersion i f x.1).trans x.2⟩ |
| 44 | inj' := fun _ _ h => Subtype.ext (i.isOpenEmbedding.injective (congrArg Subtype.val h)) |
| 45 | |
| 46 | /-- Coefficient restriction along the actual open immersion. -/ |
| 47 | def openDimensionCycleRestriction (d : ℕ) : |
| 48 | (Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint f d →₀ ℚ) →ₗ[ℚ] (Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint (i ≫ f) d →₀ ℚ) := |
| 49 | Finsupp.lcomapDomain (openDimensionPointEmbedding i f d) (openDimensionPointEmbedding i f d).injective |
| 50 | |
| 51 | /-- Extension of a finite cycle by closing its generic points in the ambient scheme. -/ |
| 52 | def openDimensionCycleExtension (d : ℕ) : |
| 53 | (Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint (i ≫ f) d →₀ ℚ) →ₗ[ℚ] (Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint f d →₀ ℚ) := |
| 54 | Finsupp.lmapDomain ℚ ℚ (openDimensionPointEmbedding i f d) |
| 55 | |
| 56 | theorem openDimensionCycleRestriction_extension (d : ℕ) |
| 57 | (z : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint (i ≫ f) d →₀ ℚ) : |
| 58 | openDimensionCycleRestriction i f d (openDimensionCycleExtension i f d z) = z := |
| 59 | Finsupp.leftInverse_lcomapDomain_mapDomain (openDimensionPointEmbedding i f d) |
| 60 | (openDimensionPointEmbedding i f d).injective z |
| 61 | |
| 62 | theorem openDimensionCycleRestriction_surjective (d : ℕ) : |
| 63 | Function.Surjective (openDimensionCycleRestriction i f d) := |
| 64 | fun z => ⟨openDimensionCycleExtension i f d z, openDimensionCycleRestriction_extension i f d z⟩ |
| 65 | |
| 66 | /-- Forgetting the grade recovers restriction of all actual point coefficients. -/ |
| 67 | theorem openDimensionCycleRestriction_forget (d : ℕ) (z : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint f d →₀ ℚ) : |
| 68 | Graded.GlobalSpecialization.BundleCycles.schemeDimensionCycleInclusion (i ≫ f) d (openDimensionCycleRestriction i f d z) = |
| 69 | Finsupp.comapDomain i (Graded.GlobalSpecialization.BundleCycles.schemeDimensionCycleInclusion f d z) i.isOpenEmbedding.injective.injOn := by |
| 70 | ext x |
| 71 | by_cases hx : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm x) (i ≫ f) = d |
| 72 | · let q : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint (i ≫ f) d := ⟨x, hx⟩ |
| 73 | have h := schemeDimensionCycleInclusion_apply (i ≫ f) d (openDimensionCycleRestriction i f d z) q |
| 74 | have hy := schemeDimensionCycleInclusion_apply f d z (openDimensionPointEmbedding i f d q) |
| 75 | exact h.trans hy.symm |
| 76 | · have hi : Foundations.Scheme.SupportDimension.supportTranscendenceDimension (irreducibleSetEquivPoints.symm (i x)) f ≠ d := |
| 77 | fun h => hx ((ImmersionDimension.BundleCycles.pointClosure_dimension_immersion i f x).symm.trans h) |
| 78 | exact (schemeDimensionCycleInclusion_of_dimension_ne (i ≫ f) d _ x hx).trans |
| 79 | (schemeDimensionCycleInclusion_of_dimension_ne f d z (i x) hi).symm |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Open.CycleRestriction.BundleCycles |