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.Scheme.OpenSupportedCycle |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Open.GradedOverRestriction |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.SchemeCycle.PreimageSupport |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Open.SupportGenericPoint |
| 5 | |
| 6 | /-! # Closed Cycle Open Restriction -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.ClosedCycleOpenRestriction.BundleCycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual open restriction of a finite supported cycle, with the original coefficients at precisely the surviving graded points. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.Scheme.RegularSupport.Constructions |
| 16 | |
| 17 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [IsIntegral X.left] [Smooth X.hom] |
| 18 | [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] |
| 19 | [IsIntegral Y.left] [Smooth Y.hom] |
| 20 | [AlgebraicGeometry.IsNoetherian Y.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] |
| 21 | (i : X ⟶ Y) [IsOpenImmersion i.left] (F : Set (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)) (d : ℕ) |
| 22 | |
| 23 | def schemeClosedCycleOpenRestriction : OpenSupportedCycle.BundleCycles.schemeClosedSupportedCycle Y F d →ₗ[ℚ] |
| 24 | OpenSupportedCycle.BundleCycles.schemeClosedSupportedCycle X (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ⁻¹' F) d := |
| 25 | (Finsupp.lsubtypeDomain {x : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint X.hom d | |
| 26 | Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion X (irreducibleSetEquivPoints.symm x.val)) ⊆ ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ⁻¹' F}).comp |
| 27 | ((Open.GradedOverRestriction.BundleCycles.openOverGradedRestriction i d).comp (OpenSupportedCycle.BundleCycles.schemeClosedSupportedCycle_forget Y F d)) |
| 28 | |
| 29 | omit [AlgebraicGeometry.IsIntegral X.left] [Smooth X.hom] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [AlgebraicGeometry.IsIntegral Y.left] [Smooth Y.hom] [AlgebraicGeometry.IsNoetherian Y.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] in |
| 30 | theorem schemeClosedCycleOpenRestriction_apply (c : OpenSupportedCycle.BundleCycles.schemeClosedSupportedCycle Y F d) : |
| 31 | schemeClosedCycleOpenRestriction i F d c = |
| 32 | OpenSupportedCycle.BundleCycles.schemeClosedRestrictCycle X (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ⁻¹' F) d |
| 33 | (Open.GradedOverRestriction.BundleCycles.openOverGradedRestriction i d (OpenSupportedCycle.BundleCycles.schemeClosedSupportedCycle_forget Y F d c)) := rfl |
| 34 | |
| 35 | omit [AlgebraicGeometry.IsIntegral X.left] [Smooth X.hom] [AlgebraicGeometry.IsNoetherian X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [AlgebraicGeometry.IsIntegral Y.left] [Smooth Y.hom] [AlgebraicGeometry.IsNoetherian Y.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] [IsOpenImmersion (Over.Hom.left i)] in |
| 36 | theorem schemeClosedRestrictCycle_single (z : OpenSupportedCycle.BundleCycles.schemeClosedSupportedPoint X (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ⁻¹' F) d) (r : ℚ) : |
| 37 | OpenSupportedCycle.BundleCycles.schemeClosedRestrictCycle X (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ⁻¹' F) d (Finsupp.single z.val r) = Finsupp.single z r := by |
| 38 | classical |
| 39 | ext w |
| 40 | change Finsupp.single z.val r w.val = Finsupp.single z r w |
| 41 | simp only [Finsupp.single_apply, Subtype.val_inj] |
| 42 | |
| 43 | omit [AlgebraicGeometry.IsIntegral X.left] [Smooth X.hom] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [AlgebraicGeometry.IsIntegral Y.left] [Smooth Y.hom] [AlgebraicGeometry.IsNoetherian Y.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] in |
| 44 | theorem schemeClosedCycleOpenRestriction_single (x : OpenSupportedCycle.BundleCycles.schemeClosedSupportedPoint Y F d) |
| 45 | (z : OpenSupportedCycle.BundleCycles.schemeClosedSupportedPoint X (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ⁻¹' F) d) |
| 46 | (hz : Open.GradedOverRestriction.BundleCycles.openOverDimensionPointEmbedding i d z.val = x.val) (r : ℚ) : |
| 47 | schemeClosedCycleOpenRestriction i F d (Finsupp.single x r) = Finsupp.single z r := by |
| 48 | have hf : OpenSupportedCycle.BundleCycles.schemeClosedSupportedCycle_forget Y F d (Finsupp.single x r) = Finsupp.single x.val r := |
| 49 | Finsupp.mapDomain_single |
| 50 | rw [schemeClosedCycleOpenRestriction_apply, hf, ← hz, Open.GradedOverRestriction.BundleCycles.openOverGradedRestriction_single, |
| 51 | schemeClosedRestrictCycle_single] |
| 52 | |
| 53 | omit [AlgebraicGeometry.IsIntegral X.left] [Smooth X.hom] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [AlgebraicGeometry.IsIntegral Y.left] [Smooth Y.hom] [AlgebraicGeometry.IsNoetherian Y.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] in |
| 54 | theorem schemeClosedCycleOpenRestriction_single_off (x : OpenSupportedCycle.BundleCycles.schemeClosedSupportedPoint Y F d) |
| 55 | (hx : x.val.val ∉ Set.range i.left) (r : ℚ) : |
| 56 | schemeClosedCycleOpenRestriction i F d (Finsupp.single x r) = 0 := by |
| 57 | have hf : OpenSupportedCycle.BundleCycles.schemeClosedSupportedCycle_forget Y F d (Finsupp.single x r) = Finsupp.single x.val r := |
| 58 | Finsupp.mapDomain_single |
| 59 | rw [schemeClosedCycleOpenRestriction_apply, hf, Open.GradedOverRestriction.BundleCycles.openOverGradedRestriction_single_off i d x.val r hx] |
| 60 | rfl |
| 61 | |
| 62 | omit [AlgebraicGeometry.IsIntegral X.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X)] [AlgebraicGeometry.IsIntegral Y.left] [AlgebraicGeometry.IsNoetherian Y.left] [MetrizableSpace (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y)] in |
| 63 | theorem schemeClosedOpenPoint_support (x : OpenSupportedCycle.BundleCycles.schemeClosedSupportedPoint Y F d) |
| 64 | (z : Graded.GlobalSpecialization.BundleCycles.SchemeDimensionCyclePoint X.hom d) (hz : Open.GradedOverRestriction.BundleCycles.openOverDimensionPointEmbedding i d z = x.val) : |
| 65 | Set.range (CycleClass.Thom.Scheme.RegularSupport.Constructions.supportInclusion X (irreducibleSetEquivPoints.symm z.val)) ⊆ ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map i ⁻¹' F := by |
| 66 | have he : i.left z.val = x.val.val := congrArg Subtype.val hz |
| 67 | have hZ : (irreducibleSetEquivPoints.symm z.val : Set X.left) = |
| 68 | i.left ⁻¹' (irreducibleSetEquivPoints.symm x.val.val : Set Y.left) := by |
| 69 | rw [← he, ← Open.SupportRestriction.BundleCycles.openRestrictedSupport_coe i.left, Open.SupportGenericPoint.BundleCycles.openRestrictedSupport_pointClosure] |
| 70 | have hr := SchemeCycle.PreimageSupport.BundleCycles.schemeSupportPreimage_pointRange i (irreducibleSetEquivPoints.symm x.val.val) |
| 71 | (irreducibleSetEquivPoints.symm z.val) hZ |
| 72 | intro t ht |
| 73 | exact x.property ((Set.ext_iff.mp hr t).mp ht) |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.ClosedCycleOpenRestriction.BundleCycles |