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.FormalGeometry.Completion.CommBaseChange |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback |
| 3 | import Mathlib.CategoryTheory.ObjectProperty.FullSubcategory |
| 4 | |
| 5 | /-! # Algebras -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.ProEtale.Algebras.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Completion: affine objects in the actual pro-étale site |
| 13 | |
| 14 | Weakly étale commutative algebras map contravariantly to the actual site |
| 15 | by their spectra. This embeds the affine algebra description fully faithfully. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 19 | |
| 20 | set_option backward.defeqAttrib.useBackward true |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | variable (R : Type u) [CommRing R] |
| 26 | |
| 27 | /-- The actual geometric weakly étale condition on a commutative algebra. -/ |
| 28 | def weaklyEtaleAlgebra : ObjectProperty (CommAlgCat.{u} R) := |
| 29 | fun A => WeaklyEtale (Spec.map (CommRingCat.ofHom (algebraMap R A))) |
| 30 | |
| 31 | abbrev ProEtaleAlgebra := (weaklyEtaleAlgebra R).FullSubcategory |
| 32 | |
| 33 | instance (A : ProEtaleAlgebra R) : |
| 34 | WeaklyEtale (Spec.map (CommRingCat.ofHom (algebraMap R A.obj))) := A.property |
| 35 | |
| 36 | /-- The spectrum of a weakly étale algebra as an actual site object. -/ |
| 37 | def proEtaleAlgebraSpec : (ProEtaleAlgebra R)ᵒᵖ ⥤ (Spec (CommRingCat.of R)).ProEt where |
| 38 | obj A := Scheme.ProEt.mk (Spec.map (CommRingCat.ofHom (algebraMap R A.unop.obj))) |
| 39 | map f := MorphismProperty.Over.homMk (Spec.map (CommRingCat.ofHom f.unop.hom.hom.toRingHom)) (by |
| 40 | erw [← Spec.map_comp] |
| 41 | congr 1 |
| 42 | ext r |
| 43 | exact f.unop.hom.hom.commutes r) |
| 44 | map_id A := by |
| 45 | apply MorphismProperty.Over.Hom.ext |
| 46 | exact Spec.map_id _ |
| 47 | map_comp f g := by |
| 48 | apply MorphismProperty.Over.Hom.ext |
| 49 | exact Spec.map_comp (CommRingCat.ofHom g.unop.hom.hom.toRingHom) |
| 50 | (CommRingCat.ofHom f.unop.hom.hom.toRingHom) |
| 51 | |
| 52 | variable {R} |
| 53 | |
| 54 | /-- A morphism between affine site objects determines its actual map of base algebras. -/ |
| 55 | def proEtaleAlgebraHomOfSpec {A B : ProEtaleAlgebra R} |
| 56 | (f : (proEtaleAlgebraSpec R).obj (op A) ⟶ (proEtaleAlgebraSpec R).obj (op B)) : B ⟶ A := by |
| 57 | let g := Spec.preimage f.left |
| 58 | have hg : CommRingCat.ofHom (algebraMap R B.obj) ≫ g = |
| 59 | CommRingCat.ofHom (algebraMap R A.obj) := by |
| 60 | apply Spec.map_injective |
| 61 | rw [Spec.map_comp, Spec.map_preimage] |
| 62 | exact MorphismProperty.Over.w f |
| 63 | exact ObjectProperty.homMk (CommAlgCat.ofHom |
| 64 | { __ := g.hom |
| 65 | commutes' r := congrArg (fun h : CommRingCat.of R ⟶ CommRingCat.of A.obj => h r) hg }) |
| 66 | |
| 67 | /-- Spectrum is fully faithful on the actual weakly étale algebras. -/ |
| 68 | def proEtaleAlgebraSpecFullyFaithful : (proEtaleAlgebraSpec R).FullyFaithful where |
| 69 | preimage f := (proEtaleAlgebraHomOfSpec f).op |
| 70 | map_preimage f := by |
| 71 | apply MorphismProperty.Over.Hom.ext |
| 72 | exact Spec.map_preimage _ |
| 73 | preimage_map f := by |
| 74 | apply Quiver.Hom.unop_inj |
| 75 | apply ObjectProperty.hom_ext |
| 76 | apply CommAlgCat.hom_ext |
| 77 | ext a |
| 78 | exact congrArg (fun h => h.hom a) |
| 79 | (Spec.preimage_map (CommRingCat.ofHom f.unop.hom.hom.toRingHom)) |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.ProEtale.Algebras.Construction |