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.Resolution.Blowups.IdealSheaf.AffinePullback |
| 2 | |
| 3 | /-! # Principal Ideal Sheaf -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Locally.PrincipalIdealSheaf.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Local principality of actual native ideal sheaves and its stability under products and pullback. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | /-- At every point the actual affine ideal is generated by one section. -/ |
| 16 | def LocallyPrincipalIdealSheaf {X : Scheme.{u}} (I : X.IdealSheafData) : Prop := |
| 17 | ∀ x : X, ∃ (U : X.affineOpens), x ∈ U.1 ∧ ∃ r : Γ(X, U), I.ideal U = Ideal.span {r} |
| 18 | |
| 19 | theorem principal_idealSheaf_restrict {X : Scheme.{u}} (I : X.IdealSheafData) |
| 20 | {U V : X.affineOpens} (hVU : V ≤ U) (r : Γ(X, U)) (hr : I.ideal U = Ideal.span {r}) : |
| 21 | I.ideal V = Ideal.span {(X.presheaf.map (homOfLE hVU).op).hom r} := by |
| 22 | rw [← I.map_ideal hVU, hr, Ideal.map_span, Set.image_singleton] |
| 23 | |
| 24 | namespace LocallyPrincipalIdealSheaf |
| 25 | |
| 26 | theorem top (X : Scheme.{u}) : LocallyPrincipalIdealSheaf (⊤ : X.IdealSheafData) := by |
| 27 | intro x |
| 28 | obtain ⟨_, ⟨U, hU, rfl⟩, hx, _⟩ := |
| 29 | X.isBasis_affineOpens.exists_subset_of_mem_open (Set.mem_univ x) isOpen_univ |
| 30 | exact ⟨⟨U, hU⟩, hx, 1, Ideal.span_singleton_one.symm⟩ |
| 31 | |
| 32 | theorem mul {X : Scheme.{u}} {I J : X.IdealSheafData} |
| 33 | (hI : LocallyPrincipalIdealSheaf I) (hJ : LocallyPrincipalIdealSheaf J) : |
| 34 | LocallyPrincipalIdealSheaf (I * J) := by |
| 35 | intro x |
| 36 | obtain ⟨U, hxU, r, hr⟩ := hI x |
| 37 | obtain ⟨V, hxV, s, hs⟩ := hJ x |
| 38 | obtain ⟨_, ⟨W, hW, rfl⟩, hxW, hWU⟩ := |
| 39 | X.isBasis_affineOpens.exists_subset_of_mem_open (show x ∈ (U.1 ⊓ V.1 : X.Opens) from ⟨hxU, hxV⟩) |
| 40 | (U.1 ⊓ V.1).isOpen |
| 41 | let A : X.affineOpens := ⟨W, hW⟩ |
| 42 | have hAU : A ≤ U := fun y hy => (hWU hy).1 |
| 43 | have hAV : A ≤ V := fun y hy => (hWU hy).2 |
| 44 | let r' := (X.presheaf.map (homOfLE hAU).op).hom r |
| 45 | let s' := (X.presheaf.map (homOfLE hAV).op).hom s |
| 46 | refine ⟨A, hxW, r' * s', ?_⟩ |
| 47 | change I.ideal A * J.ideal A = _ |
| 48 | rw [principal_idealSheaf_restrict I hAU r hr, principal_idealSheaf_restrict J hAV s hs, |
| 49 | Ideal.span_singleton_mul_span_singleton] |
| 50 | |
| 51 | theorem pow {X : Scheme.{u}} {I : X.IdealSheafData} |
| 52 | (hI : LocallyPrincipalIdealSheaf I) (n : ℕ) : LocallyPrincipalIdealSheaf (I ^ n) := by |
| 53 | induction n with |
| 54 | | zero => simpa only [pow_zero, Scheme.IdealSheafData.one_eq_top] using top X |
| 55 | | succ n ih => rw [pow_succ]; exact ih.mul hI |
| 56 | |
| 57 | theorem comap {X Y : Scheme.{u}} {I : X.IdealSheafData} |
| 58 | (hI : LocallyPrincipalIdealSheaf I) (f : Y ⟶ X) : LocallyPrincipalIdealSheaf (I.comap f) := by |
| 59 | intro y |
| 60 | obtain ⟨U, hyU, r, hr⟩ := hI (f y) |
| 61 | obtain ⟨_, ⟨V, hV, rfl⟩, hyV, hVU⟩ := |
| 62 | Y.isBasis_affineOpens.exists_subset_of_mem_open hyU (f ⁻¹ᵁ U.1).isOpen |
| 63 | let A : Y.affineOpens := ⟨V, hV⟩ |
| 64 | have hAU : A.1 ≤ f ⁻¹ᵁ U.1 := hVU |
| 65 | refine ⟨A, hyV, (f.appLE U.1 A.1 hAU).hom r, ?_⟩ |
| 66 | rw [IdealSheaf.AffinePullback.Construction.idealSheaf_comap_ideal_of_le I f U A hAU, hr, Ideal.map_span, Set.image_singleton] |
| 67 | |
| 68 | end LocallyPrincipalIdealSheaf |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.Resolution.Blowups.Locally.PrincipalIdealSheaf.Construction |