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.Affine.CoverObject |
| 2 | |
| 3 | /-! # Site Comparison -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Affine.SiteComparison.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Comparing affine structure maps by the composition law for spectra. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 12 | |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {R S : Type u} [CommRing R] [CommRing S] (f : R →+* S) |
| 19 | (hf : WeaklyEtale (Spec.map (CommRingCat.ofHom f))) |
| 20 | |
| 21 | /-- The identity spectrum map compares the two original-base structure maps. -/ |
| 22 | def proEtaleAlgebraSpecRestrictComponent (A : ProEtale.Algebras.Construction.ProEtaleAlgebra S) : |
| 23 | (ProEtale.Algebras.Construction.proEtaleAlgebraSpec R).obj (op ((ProEtale.AlgebraBaseChange.Construction.proEtaleAlgebraRestrict f hf).obj A)) ≅ |
| 24 | ((CoverObject.Construction.affineAlgebraToSlice f hf).obj (op A)).left := by |
| 25 | refine MorphismProperty.Over.isoMk (Iso.refl (Spec (CommRingCat.of A.obj))) ?_ |
| 26 | change 𝟙 _ ≫ (Spec.map (CommRingCat.ofHom (algebraMap S A.obj)) ≫ |
| 27 | Spec.map (CommRingCat.ofHom f)) = |
| 28 | Spec.map (CommRingCat.ofHom f ≫ CommRingCat.ofHom (algebraMap S A.obj)) |
| 29 | rw [Category.id_comp, Spec.map_comp] |
| 30 | |
| 31 | /-- Restriction of scalars and composition of scheme structure maps agree over the original base. -/ |
| 32 | def proEtaleAlgebraSpecRestrictIso : |
| 33 | (ProEtale.AlgebraBaseChange.Construction.proEtaleAlgebraRestrict f hf).op ⋙ ProEtale.Algebras.Construction.proEtaleAlgebraSpec R ≅ |
| 34 | CoverObject.Construction.affineAlgebraToSlice f hf ⋙ Over.forget (CoverObject.Construction.affineCoverObject f hf) := |
| 35 | NatIso.ofComponents (fun A => proEtaleAlgebraSpecRestrictComponent f hf A.unop) (by |
| 36 | intro A B g |
| 37 | apply MorphismProperty.Over.Hom.ext |
| 38 | change Spec.map (CommRingCat.ofHom g.unop.hom.hom.toRingHom) ≫ 𝟙 _ = |
| 39 | 𝟙 _ ≫ Spec.map (CommRingCat.ofHom g.unop.hom.hom.toRingHom) |
| 40 | rw [Category.id_comp, Category.comp_id]) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Affine.SiteComparison.Construction |