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.FiniteAffine.SpaceChow |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Open.ChowPointClass |
| 4 | import OAI.AlgebraicGeometry.Divisors.LineBundles.DimensionChowTransportLaws |
| 5 | |
| 6 | /-! # Chow Retraction -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.AffineSource.ChowRetraction.BundleCycles |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! An actual affine-space open over the entire base gives a Chow |
| 13 | retraction of fiber extension. This applies to every finite free projective bundle. -/ |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 16 | |
| 17 | variable {E X : Scheme.{0}} [AlgebraicGeometry.IsNoetherian E] |
| 18 | [AlgebraicGeometry.IsNoetherian X] (p : E ⟶ X) [Smooth p] [GeometricallyIntegral p] |
| 19 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] (ι : Type) [Finite ι] |
| 20 | (h : LineBundles.AffineSpace.SourceRank.BundleCycles.HasAffineSpaceSourceChartsOfRank p (Nat.card ι)) |
| 21 | (j : AffineSpace ι X ⟶ E) [IsOpenImmersion j] |
| 22 | (hj : j ≫ p = (AffineSpace ι X ↘ X)) |
| 23 | |
| 24 | omit [AlgebraicGeometry.IsNoetherian E] [AlgebraicGeometry.IsNoetherian X] |
| 25 | [Smooth p] [GeometricallyIntegral p] [LocallyOfFiniteType f] [Finite ι] [IsOpenImmersion j] in |
| 26 | include hj in |
| 27 | theorem affineSourceChart_structureMap : |
| 28 | j ≫ (p ≫ f) = (AffineSpace ι X ↘ X) ≫ f := by |
| 29 | rw [← Category.assoc, hj] |
| 30 | |
| 31 | theorem affineSourceChowExtension_restrict (d : ℕ) (a : DimensionChow.BundleCycles.DimensionChowQ f d) : |
| 32 | DimensionChow.BundleCycles.dimensionChowTransport (affineSourceChart_structureMap p f ι j hj) (d + Nat.card ι) |
| 33 | (Open.ChowRestriction.BundleCycles.openChowRestriction j (p ≫ f) (d + Nat.card ι) |
| 34 | (LineBundles.AffineSpace.SourceChowExtension.BundleCycles.affineSpaceSourceChowExtension p f (Nat.card ι) h d a)) = |
| 35 | FiniteAffine.SpaceChow.BundleCycles.affineSpaceChowEquiv X f ι d a := by |
| 36 | obtain ⟨z, rfl⟩ := DimensionChow.BundleCycles.dimensionCycleToChowQ_surjective f d a |
| 37 | rw [← Point.ChowTransport.BundleCycles.pointCycleToChowQ_inclusion f d z, LineBundles.AffineSpace.SourceChowPointClass.BundleCycles.affineSpaceSourceChowExtension_pointClass, |
| 38 | Open.ChowPointClass.BundleCycles.openChowRestriction_pointClass, Point.ChowTransport.BundleCycles.dimensionChowTransport_pointCycle, |
| 39 | FiniteAffine.SpaceChow.BundleCycles.affineSpaceChowEquiv_pointClass] |
| 40 | have hs : (AffineSpace ι X ↘ X) ≫ 𝟙 X = j ≫ p := by rw [Category.comp_id, hj] |
| 41 | rw [Integral.FiberOpen.BundleCycles.integralFiberCycleExtension_openSquare p (AffineSpace ι X ↘ X) (𝟙 X) j hs] |
| 42 | congr 2 |
| 43 | ext x |
| 44 | rfl |
| 45 | |
| 46 | def affineSourceChowRetraction (d : ℕ) : |
| 47 | DimensionChow.BundleCycles.DimensionChowQ (p ≫ f) (d + Nat.card ι) →ₗ[ℚ] DimensionChow.BundleCycles.DimensionChowQ f d := |
| 48 | ((FiniteAffine.SpaceChow.BundleCycles.affineSpaceChowEquiv X f ι d).symm.toLinearMap.comp |
| 49 | (DimensionChow.BundleCycles.dimensionChowTransport (affineSourceChart_structureMap p f ι j hj) (d + Nat.card ι))).comp |
| 50 | (Open.ChowRestriction.BundleCycles.openChowRestriction j (p ≫ f) (d + Nat.card ι)) |
| 51 | |
| 52 | theorem affineSourceChowRetraction_extension (d : ℕ) (a : DimensionChow.BundleCycles.DimensionChowQ f d) : |
| 53 | affineSourceChowRetraction p f ι j hj d |
| 54 | (LineBundles.AffineSpace.SourceChowExtension.BundleCycles.affineSpaceSourceChowExtension p f (Nat.card ι) h d a) = a := by |
| 55 | change (FiniteAffine.SpaceChow.BundleCycles.affineSpaceChowEquiv X f ι d).symm |
| 56 | (DimensionChow.BundleCycles.dimensionChowTransport _ _ (Open.ChowRestriction.BundleCycles.openChowRestriction _ _ _ _)) = a |
| 57 | rw [affineSourceChowExtension_restrict p f ι h j hj] |
| 58 | exact (FiniteAffine.SpaceChow.BundleCycles.affineSpaceChowEquiv X f ι d).symm_apply_apply a |
| 59 | |
| 60 | include j hj in |
| 61 | theorem affineSourceChowExtension_injective (d : ℕ) : |
| 62 | Function.Injective (LineBundles.AffineSpace.SourceChowExtension.BundleCycles.affineSpaceSourceChowExtension p f (Nat.card ι) h d) := |
| 63 | Function.LeftInverse.injective (affineSourceChowRetraction_extension p f ι h j hj d) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.Divisors.LineBundles.AffineSource.ChowRetraction.BundleCycles |