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.Relative.CartierChartBaseChange |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Cartier.IdealSubopenEquation |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Closed.PullbackAffineKernel |
| 4 | |
| 5 | /-! # Cartier Base Change -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Relative.CartierBaseChange.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A relative effective Cartier divisor that is flat over its |
| 12 | base remains an effective Cartier divisor after every base change. -/ |
| 13 | |
| 14 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 15 | |
| 16 | theorem relativeCartier_regularPrincipalImageIdeals_baseChange |
| 17 | {S S' X X' Z Z' : Scheme.{0}} |
| 18 | (p : X ⟶ S) (p' : X' ⟶ S') (f : X' ⟶ X) (h : S' ⟶ S) |
| 19 | (hp : IsPullback f p' p h) |
| 20 | (i : Z ⟶ X) [IsClosedImmersion i] [Flat (i ≫ p)] |
| 21 | (j : Z' ⟶ X') (g : Z' ⟶ Z) (hj : IsPullback j g f i) |
| 22 | (hi : Cartier.IdealBundle.Cycles.HasRegularPrincipalImageIdeals i) : Cartier.IdealBundle.Cycles.HasRegularPrincipalImageIdeals j := by |
| 23 | intro x |
| 24 | obtain ⟨U, hU, hxU, _⟩ := exists_isAffineOpen_mem_and_subset |
| 25 | (show p (f x) ∈ (⊤ : S.Opens) from trivial) |
| 26 | let L := Cartier.IdealBundle.Cycles.cartierIdealLineBundle i hi |
| 27 | obtain ⟨V, hV, hxV, hVU⟩ := exists_isAffineOpen_mem_and_subset |
| 28 | (show f x ∈ L.trivializingOpen (f x) ⊓ p ⁻¹ᵁ U from ⟨L.mem_trivializingOpen _, hxU⟩) |
| 29 | have hxU' : p' x ∈ h ⁻¹ᵁ U := by |
| 30 | change h (p' x) ∈ U |
| 31 | have he : p (f x) = h (p' x) := congrArg (fun k => k x) hp.w |
| 32 | rw [← he] |
| 33 | exact hxU |
| 34 | obtain ⟨U', hU', hxU', hU'U⟩ := exists_isAffineOpen_mem_and_subset hxU' |
| 35 | let W : X'.Opens := f ⁻¹ᵁ V ⊓ p' ⁻¹ᵁ U' |
| 36 | have hWAffine : IsAffineOpen W := by |
| 37 | let : IsAffine U.toScheme := hU |
| 38 | let : IsAffine V.toScheme := hV |
| 39 | let : IsAffine U'.toScheme := hU' |
| 40 | exact IsAffine.of_isIso |
| 41 | (Scheme.Hom.isPullback_resLE hp hU'U (hVU.trans inf_le_right) rfl).isoPullback.hom |
| 42 | let t := LineBundle.MorphismCoordinate.Cycles.lineBundleMorphismCoordinate L (LineBundles.Scheme.SchemeIdealModule.BundleCycles.schemeIdealModuleInclusion i) (f x) V |
| 43 | (hVU.trans inf_le_left) |
| 44 | have ht : IsRegular t := Cartier.IdealSubopenEquation.BundleCycles.cartierIdealSubopenEquation_regular i hi (f x) V (hVU.trans inf_le_left) |
| 45 | have hk : RingHom.ker (i.app V).hom = Ideal.span {t} := |
| 46 | Cartier.IdealSubopenEquation.BundleCycles.cartierIdealSubopenEquation_kernel i hi (f x) V (hVU.trans inf_le_left) |
| 47 | refine ⟨⟨W, hWAffine⟩, ⟨hxV, hxU'⟩, f.appLE V W inf_le_left t, ?_, ?_⟩ |
| 48 | · exact CartierChartBaseChange.BundleCycles.relativeCartierChart_pullback_regular p p' f h hp i |
| 49 | ⟨U, hU⟩ ⟨V, hV⟩ ⟨U', hU'⟩ (hVU.trans inf_le_right) hU'U t ht hk |
| 50 | · rw [Closed.PullbackAffineKernel.BundleCycles.closedPullback_affineChart_kernel i j f g hj ⟨V, hV⟩ ⟨W, hWAffine⟩ inf_le_left, |
| 51 | hk, Ideal.map_span, Set.image_singleton] |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Relative.CartierBaseChange.BundleCycles |