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.HilbertScheme.Presentations.Hilbert.AmbientProjections |
| 2 | import Mathlib.CategoryTheory.Limits.Constructions.Over.Basic |
| 3 | |
| 4 | /-! # Ambient Cover -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.AmbientCover |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Native Hilbert ambients preserve the actual overlap pullbacks and open |
| 11 | covers of their test schemes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | variable {S : Scheme.{u}} (X : Over S) |
| 17 | |
| 18 | theorem ambient_pullback {T U V : Over S} (f : T ⟶ V) (g : U ⟶ V) : |
| 19 | IsPullback (Functor.ambientMap X (pullback.fst f g)) (Functor.ambientMap X (pullback.snd f g)) |
| 20 | (Functor.ambientMap X f) (Functor.ambientMap X g) := by |
| 21 | have hc : Functor.ambientMap X (pullback.fst f g) ≫ Functor.ambientMap X f = |
| 22 | Functor.ambientMap X (pullback.snd f g) ≫ Functor.ambientMap X g := by |
| 23 | rw [← Functor.ambientMap_comp, ← Functor.ambientMap_comp, pullback.condition] |
| 24 | have H := (Functor.ambient_isPullback X (pullback.snd f g)).paste_horiz |
| 25 | ((IsPullback.of_hasPullback f g).map (Over.forget S)) |
| 26 | apply IsPullback.of_right _ hc (Functor.ambient_isPullback X f) |
| 27 | rw [AmbientProjections.ambientMap_projection, AmbientProjections.ambientMap_projection] |
| 28 | exact H |
| 29 | |
| 30 | theorem ambient_overlap_ideal_compatibility {T U V : Over S} (f : T ⟶ V) (g : U ⟶ V) |
| 31 | (I : (Functor.ambient X T).IdealSheafData) (J : (Functor.ambient X U).IdealSheafData) |
| 32 | (h : I.comap (Functor.ambientMap X (pullback.fst f g)) = J.comap (Functor.ambientMap X (pullback.snd f g))) : |
| 33 | I.comap (pullback.fst (Functor.ambientMap X f) (Functor.ambientMap X g)) = |
| 34 | J.comap (pullback.snd (Functor.ambientMap X f) (Functor.ambientMap X g)) := by |
| 35 | let hp := ambient_pullback X f g |
| 36 | have he := congrArg (fun K => K.comap hp.isoPullback.inv) h |
| 37 | rwa [← Scheme.IdealSheafData.comap_comp, ← Scheme.IdealSheafData.comap_comp, |
| 38 | hp.isoPullback_inv_fst, hp.isoPullback_inv_snd] at he |
| 39 | |
| 40 | instance ambientMap_isOpenImmersion {T U : Over S} (f : T ⟶ U) [IsOpenImmersion f.left] : |
| 41 | IsOpenImmersion (Functor.ambientMap X f) := |
| 42 | MorphismProperty.of_isPullback (Functor.ambient_isPullback X f) inferInstance |
| 43 | |
| 44 | def ambientOpenCover {T : Over S} {J : Type u} (U : J → Over S) (f : ∀ i, U i ⟶ T) |
| 45 | [∀ i, IsOpenImmersion (f i).left] |
| 46 | (hcover : ∀ t : T.left, ∃ i, ∃ y : (U i).left, (f i).left y = t) : (Functor.ambient X T).OpenCover.{u} where |
| 47 | I₀ := J |
| 48 | X i := Functor.ambient X (U i) |
| 49 | f i := Functor.ambientMap X (f i) |
| 50 | mem₀ := by |
| 51 | rw [Scheme.presieve₀_mem_precoverage_iff] |
| 52 | refine ⟨?_, inferInstance⟩ |
| 53 | intro z |
| 54 | obtain ⟨i, y, hy⟩ := hcover (Functor.ambientProjection X T z) |
| 55 | obtain ⟨w, _, hw⟩ := Scheme.exists_preimage_of_isPullback (Functor.ambient_isPullback X (f i)) y z hy |
| 56 | exact ⟨i, w, hw⟩ |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.AmbientCover |