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.Closed.PullbackAffineKernel |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Scheme.IdealPullbackSections |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.MorphismCoordinate |
| 4 | |
| 5 | /-! # Ideal Pullback Chart Surjective -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.IdealPullbackChartSurjective.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The canonical ideal pullback map is surjective on affine |
| 12 | charts lying over affine base charts of an actual pullback square. -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 15 | |
| 16 | variable {X Z X' Z' : Scheme.{0}} (i : Z ⟶ X) [IsClosedImmersion i] |
| 17 | (j : Z' ⟶ X') (f : X' ⟶ X) (g : Z' ⟶ Z) (hp : IsPullback j g f i) |
| 18 | |
| 19 | theorem schemeIdealPullback_affineChart_surjective |
| 20 | (U : X.affineOpens) (V : X'.affineOpens) (hV : V.1 ≤ f ⁻¹ᵁ U.1) : |
| 21 | Function.Surjective ((LineBundles.Scheme.IdealPullbackMap.BundleCycles.schemeIdealPullbackMap i j f g hp.w.symm).app V.1) := by |
| 22 | let α := LineBundles.Scheme.IdealPullbackMap.BundleCycles.schemeIdealPullbackMap i j f g hp.w.symm |
| 23 | let θ := (LineBundles.Scheme.IdealModule.BundleCycles.schemeIdealModuleSectionLinear j V.1).comp (LineBundle.MorphismCoordinate.Cycles.moduleSectionLinearMap α V.1) |
| 24 | have hle : RingHom.ker (j.app V.1).hom ≤ θ.range := by |
| 25 | rw [Closed.PullbackAffineKernel.BundleCycles.closedPullback_affineChart_kernel i j f g hp U V hV] |
| 26 | apply Ideal.map_le_iff_le_comap.mpr |
| 27 | intro r hr |
| 28 | let s := (LineBundles.Scheme.IdealModule.BundleCycles.schemeIdealModuleSectionsIso i U.1).inv ⟨r, hr⟩ |
| 29 | let s' := Module.SectionPullbackComposition.BundleCycles.moduleSectionPullbackToOpen f (LineBundles.Scheme.SchemeIdealModule.BundleCycles.schemeIdealModule i) U.1 V.1 hV s |
| 30 | refine ⟨s', ?_⟩ |
| 31 | have h₁ := LineBundles.Scheme.IdealModule.BundleCycles.schemeIdealModuleSectionLinear_apply j V.1 (α.app V.1 s') |
| 32 | have h₂ := LineBundles.Scheme.IdealPullbackSections.BundleCycles.schemeIdealPullbackMap_sectionToOpen_image i j f g hp.w.symm U.1 V.1 hV s |
| 33 | have h₃ := congrArg (f.appLE U.1 V.1 hV) |
| 34 | (LineBundles.Scheme.IdealModule.BundleCycles.schemeIdealModuleSectionsIso_inv_apply i U.1 ⟨r, hr⟩) |
| 35 | exact h₁.trans (h₂.trans h₃) |
| 36 | intro t |
| 37 | obtain ⟨s, hs⟩ := hle (LineBundles.Scheme.IdealModule.BundleCycles.schemeIdealModuleSectionLinear_mem j V.1 t) |
| 38 | exact ⟨s, (LineBundles.Scheme.IdealModule.BundleCycles.schemeIdealModuleSectionLinear_injective j V.1) hs⟩ |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.Divisors.LineBundles.IdealPullbackChartSurjective.BundleCycles |