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.AbelianModuli.HilbertConstruction.Smooth.AffineFunctorDescent |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.FunctorBaseChange |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.DiagramBaseChangeComposition |
| 4 | |
| 5 | /-! # Ambient Functor Model -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.AmbientFunctorModel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Smooth recovered ambient charts can be modeled over a common finite coefficient ring. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u v w |
| 16 | |
| 17 | structure SmoothAmbientFunctorModel |
| 18 | {R : Type u} [CommRing R] (C : Subalgebra ℤ R) |
| 19 | {J : Type v} [Category.{w} J] (G : J ⥤ Over (Spec (.of C))) where |
| 20 | coefficients : Subalgebra ℤ R |
| 21 | above : C ≤ coefficients |
| 22 | finiteType : Algebra.FiniteType ℤ coefficients |
| 23 | source : J ⥤ Over (Spec (.of coefficients)) |
| 24 | affine : ∀ i, IsAffine (source.obj i).left |
| 25 | smooth : ∀ i, Smooth (source.obj i).hom |
| 26 | openImmersion : ∀ {i j} (f : i ⟶ j), IsOpenImmersion (source.map f).left |
| 27 | recovery : source ⋙ Over.pullback (Spec.map (CommRingCat.ofHom coefficients.val.toRingHom)) ≅ |
| 28 | (G ⋙ Over.pullback (Spec.map (CommRingCat.ofHom (Subalgebra.inclusion above).toRingHom))) ⋙ |
| 29 | Over.pullback (Spec.map (CommRingCat.ofHom coefficients.val.toRingHom)) |
| 30 | |
| 31 | theorem exists_smoothAmbientFunctorModel |
| 32 | {R : Type u} [CommRing R] (C : Subalgebra ℤ R) [Algebra.FiniteType ℤ C] |
| 33 | {J : Type v} [Category.{w} J] [Finite J] [Quiver.IsThin J] |
| 34 | (G : J ⥤ Over (Spec (.of C))) [∀ i, IsAffine (G.obj i).left] |
| 35 | [∀ {i j} (f : i ⟶ j), IsOpenImmersion (G.map f).left] |
| 36 | [∀ i, Smooth ((G ⋙ Over.pullback (Spec.map (CommRingCat.ofHom C.val.toRingHom))).obj i).hom] : |
| 37 | Nonempty (SmoothAmbientFunctorModel C G) := by |
| 38 | let c := Spec.map (CommRingCat.ofHom C.val.toRingHom) |
| 39 | have (i : J) : IsAffine ((G ⋙ Over.pullback c).obj i).left := Affine.FunctorBaseChange.affineFunctorBaseChange_affine G c i |
| 40 | have {i j : J} (f : i ⟶ j) : IsOpenImmersion ((G ⋙ Over.pullback c).map f).left := |
| 41 | Affine.FunctorBaseChange.affineFunctorBaseChange_open G c f |
| 42 | obtain ⟨D, hCD, hD, F, ha, hs, ho, ⟨e⟩⟩ := AffineFunctorDescent.exists_smooth_affine_functor_model R (G ⋙ Over.pullback c) C |
| 43 | let d := Spec.map (CommRingCat.ofHom D.val.toRingHom) |
| 44 | let b := Spec.map (CommRingCat.ofHom (Subalgebra.inclusion hCD).toRingHom) |
| 45 | have hw : d ≫ b = c := by |
| 46 | rw [← Spec.map_comp] |
| 47 | congr 1 |
| 48 | exact ⟨{ |
| 49 | coefficients := D |
| 50 | above := hCD |
| 51 | finiteType := hD |
| 52 | source := F |
| 53 | affine := ha |
| 54 | smooth := hs |
| 55 | openImmersion := ho |
| 56 | recovery := e ≪≫ (DiagramBaseChangeComposition.diagramBaseChangeCompIso G d b c hw).symm }⟩ |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Smooth.AmbientFunctorModel |