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.AffineSpace.SourceChowPointClass |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Open.ChowPointClass |
| 3 | |
| 4 | /-! # Chow Open Square -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.AffineSource.ChowOpenSquare.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Genuine Chow extension from affine-space source charts commutes |
| 11 | with squares of open immersions, including partial fiber opens. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 14 | |
| 15 | variable {E X E' U : Scheme.{0}} [AlgebraicGeometry.IsNoetherian E] |
| 16 | [AlgebraicGeometry.IsNoetherian X] [AlgebraicGeometry.IsNoetherian E'] |
| 17 | [AlgebraicGeometry.IsNoetherian U] |
| 18 | (p : E ⟶ X) (q : E' ⟶ U) [Smooth p] [Smooth q] |
| 19 | [GeometricallyIntegral p] [GeometricallyIntegral q] |
| 20 | (i : U ⟶ X) (j : E' ⟶ E) [IsOpenImmersion i] [IsOpenImmersion j] |
| 21 | (hs : q ≫ i = j ≫ p) (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] |
| 22 | (r : ℕ) (hp : AffineSpace.SourceRank.BundleCycles.HasAffineSpaceSourceChartsOfRank p r) (hq : AffineSpace.SourceRank.BundleCycles.HasAffineSpaceSourceChartsOfRank q r) |
| 23 | |
| 24 | theorem affineSpaceSourceChowExtension_openSquare (d : ℕ) (α : DimensionChow.BundleCycles.DimensionChowQ f d) : |
| 25 | DimensionChow.BundleCycles.dimensionChowTransport (show j ≫ (p ≫ f) = q ≫ (i ≫ f) by |
| 26 | rw [← Category.assoc, ← hs, Category.assoc]) (d + r) |
| 27 | (Open.ChowRestriction.BundleCycles.openChowRestriction j (p ≫ f) (d + r) (AffineSpace.SourceChowExtension.BundleCycles.affineSpaceSourceChowExtension p f r hp d α)) = |
| 28 | AffineSpace.SourceChowExtension.BundleCycles.affineSpaceSourceChowExtension q (i ≫ f) r hq d (Open.ChowRestriction.BundleCycles.openChowRestriction i f d α) := by |
| 29 | obtain ⟨z, rfl⟩ := DimensionChow.BundleCycles.dimensionCycleToChowQ_surjective f d α |
| 30 | rw [← Point.ChowTransport.BundleCycles.pointCycleToChowQ_inclusion f d z, AffineSpace.SourceChowPointClass.BundleCycles.affineSpaceSourceChowExtension_pointClass, |
| 31 | Open.ChowPointClass.BundleCycles.openChowRestriction_pointClass, Point.ChowTransport.BundleCycles.dimensionChowTransport_pointCycle, |
| 32 | Open.ChowPointClass.BundleCycles.openChowRestriction_pointClass, AffineSpace.SourceChowPointClass.BundleCycles.affineSpaceSourceChowExtension_pointClass, |
| 33 | Integral.FiberOpen.BundleCycles.integralFiberCycleExtension_openSquare p q i j hs] |
| 34 | |
| 35 | theorem affineSpaceSourceChowExtension_openOver |
| 36 | {E X U : Scheme.{0}} [AlgebraicGeometry.IsNoetherian E] |
| 37 | [AlgebraicGeometry.IsNoetherian X] [AlgebraicGeometry.IsNoetherian U] |
| 38 | (p : E ⟶ X) (q : U ⟶ X) [Smooth p] [Smooth q] |
| 39 | [GeometricallyIntegral p] [GeometricallyIntegral q] |
| 40 | (j : U ⟶ E) [IsOpenImmersion j] (hj : j ≫ p = q) |
| 41 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] |
| 42 | (r : ℕ) (hp : AffineSpace.SourceRank.BundleCycles.HasAffineSpaceSourceChartsOfRank p r) (hq : AffineSpace.SourceRank.BundleCycles.HasAffineSpaceSourceChartsOfRank q r) |
| 43 | (d : ℕ) (α : DimensionChow.BundleCycles.DimensionChowQ f d) : |
| 44 | DimensionChow.BundleCycles.dimensionChowTransport (show j ≫ (p ≫ f) = q ≫ f by rw [← Category.assoc, hj]) (d + r) |
| 45 | (Open.ChowRestriction.BundleCycles.openChowRestriction j (p ≫ f) (d + r) (AffineSpace.SourceChowExtension.BundleCycles.affineSpaceSourceChowExtension p f r hp d α)) = |
| 46 | AffineSpace.SourceChowExtension.BundleCycles.affineSpaceSourceChowExtension q f r hq d α := by |
| 47 | obtain ⟨z, rfl⟩ := DimensionChow.BundleCycles.dimensionCycleToChowQ_surjective f d α |
| 48 | rw [← Point.ChowTransport.BundleCycles.pointCycleToChowQ_inclusion f d z, AffineSpace.SourceChowPointClass.BundleCycles.affineSpaceSourceChowExtension_pointClass, |
| 49 | Open.ChowPointClass.BundleCycles.openChowRestriction_pointClass, Point.ChowTransport.BundleCycles.dimensionChowTransport_pointCycle, |
| 50 | AffineSpace.SourceChowPointClass.BundleCycles.affineSpaceSourceChowExtension_pointClass] |
| 51 | have hs : q ≫ 𝟙 X = j ≫ p := by rw [Category.comp_id, hj] |
| 52 | rw [Integral.FiberOpen.BundleCycles.integralFiberCycleExtension_openSquare p q (𝟙 X) j hs] |
| 53 | congr 2 |
| 54 | ext x |
| 55 | rfl |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.Divisors.LineBundles.AffineSource.ChowOpenSquare.BundleCycles |