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.Cartier.IdealAffineCover |
| 2 | |
| 3 | /-! # Kernel Affine Image -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Principal.KernelAffineImage.BundleCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A principal kernel on an actual affine pullback chart descends to the restriction of the original global section on the chart's affine image. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | variable {X Z A B : Scheme.{0}} (f : Z ⟶ X) [QuasiCompact f] |
| 14 | (j : A ⟶ X) [IsOpenImmersion j] [IsAffine A] |
| 15 | (a : B ⟶ Z) (b : B ⟶ A) (hp : IsPullback b a j f) |
| 16 | (s : Γ(X, ⊤)) (hk : RingHom.ker b.appTop.hom = Ideal.span {j.appTop s}) |
| 17 | |
| 18 | omit [IsAffine A] in |
| 19 | theorem openImage_section_restriction : |
| 20 | X.presheaf.map (homOfLE (show j ''ᵁ (⊤ : A.Opens) ≤ ⊤ from le_top)).op ≫ |
| 21 | (j.appIso ⊤).hom = j.appTop := by |
| 22 | rw [Scheme.Hom.appIso_hom', Scheme.Hom.map_appLE] |
| 23 | exact j.appLE_eq_app |
| 24 | |
| 25 | include hp hk in |
| 26 | theorem principalKernel_on_affineImage : |
| 27 | RingHom.ker (f.app (j ''ᵁ (⊤ : A.Opens))).hom = |
| 28 | Ideal.span {X.presheaf.map (homOfLE (show j ''ᵁ (⊤ : A.Opens) ≤ ⊤ from le_top)).op s} := by |
| 29 | let : QuasiCompact b := MorphismProperty.of_isPullback hp.flip inferInstance |
| 30 | let U : X.affineOpens := ⟨j ''ᵁ (⊤ : A.Opens), (isAffineOpen_top A).image_of_isOpenImmersion j⟩ |
| 31 | let e : Γ(X, U.1) ≅ Γ(A, ⊤) := j.appIso ⊤ |
| 32 | have hbase := Scheme.ker_ideal_of_isPullback_of_isOpenImmersion f b a j hp |
| 33 | (⟨⊤, isAffineOpen_top A⟩ : A.affineOpens) |
| 34 | have hc : RingHom.ker b.appTop.hom = (RingHom.ker (f.app U.1).hom).comap e.inv.hom := |
| 35 | (Scheme.Hom.ker_apply b ⟨⊤, isAffineOpen_top A⟩).symm.trans |
| 36 | (hbase.trans (congrArg (Ideal.comap e.inv.hom) (Scheme.Hom.ker_apply f U))) |
| 37 | have hmap := congrArg (Ideal.map e.inv.hom) (hc.symm.trans hk) |
| 38 | have hker : RingHom.ker (f.app U.1).hom = Ideal.span {e.inv (j.appTop s)} := |
| 39 | (Ideal.map_comap_of_surjective e.inv.hom (ConcreteCategory.bijective_of_isIso e.inv).2 |
| 40 | (RingHom.ker (f.app U.1).hom)).symm.trans |
| 41 | (hmap.trans (by rw [Ideal.map_span, Set.image_singleton])) |
| 42 | have he : e.inv (j.appTop s) = X.presheaf.map (homOfLE (show U.1 ≤ ⊤ from le_top)).op s := by |
| 43 | have h := ConcreteCategory.congr_hom (openImage_section_restriction j) s |
| 44 | have hv := congrArg e.inv h |
| 45 | exact hv.symm.trans (ConcreteCategory.congr_hom e.hom_inv_id _) |
| 46 | exact hker.trans (congrArg (fun t => Ideal.span {t}) he) |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Principal.KernelAffineImage.BundleCycles |