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 Mathlib.AlgebraicGeometry.Morphisms.OpenImmersion |
| 2 | |
| 3 | /-! # Over Open Factorization -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.OverOpenFactorization |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The exact unique-factorization property of an open subscheme in |
| 10 | the category of schemes over a fixed base. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable {S : Scheme.{u}} (B : Over S) (U : B.left.Opens) |
| 16 | |
| 17 | def openOver : Over S := Over.mk (U.ι ≫ B.hom) |
| 18 | |
| 19 | def openOverInclusion : openOver B U ⟶ B := Over.homMk U.ι rfl |
| 20 | |
| 21 | instance openOverInclusion_isOpenImmersion : IsOpenImmersion (openOverInclusion B U).left := |
| 22 | inferInstanceAs (IsOpenImmersion U.ι) |
| 23 | |
| 24 | instance openOverInclusion_mono : Mono (openOverInclusion B U) := |
| 25 | Over.mono_of_mono_left _ |
| 26 | |
| 27 | theorem range_subset_open_iff_unique_over_lift {T : Over S} (a : T ⟶ B) : |
| 28 | Set.range a.left ⊆ (U : Set B.left) ↔ |
| 29 | ∃! b : T ⟶ openOver B U, b ≫ openOverInclusion B U = a := by |
| 30 | constructor |
| 31 | · intro h |
| 32 | have hr : Set.range a.left ⊆ Set.range U.ι := by |
| 33 | rw [Scheme.Opens.range_ι] |
| 34 | exact h |
| 35 | let k := IsOpenImmersion.lift U.ι a.left hr |
| 36 | have hk : k ≫ U.ι = a.left := IsOpenImmersion.lift_fac _ _ _ |
| 37 | let b : T ⟶ openOver B U := Over.homMk k (by |
| 38 | change k ≫ U.ι ≫ B.hom = T.hom |
| 39 | rw [← Category.assoc, hk, a.w]) |
| 40 | have hb : b ≫ openOverInclusion B U = a := by |
| 41 | apply Over.OverMorphism.ext |
| 42 | exact hk |
| 43 | exact ⟨b, hb, fun c hc => (cancel_mono (openOverInclusion B U)).mp (hc.trans hb.symm)⟩ |
| 44 | · rintro ⟨b, hb, _⟩ y ⟨t, rfl⟩ |
| 45 | have he : b.left ≫ U.ι = a.left := congrArg (fun k => k.left) hb |
| 46 | rw [← he] |
| 47 | exact (b.left t).property |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.OverOpenFactorization |