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.ProEtale.Slice |
| 2 | import Mathlib.RingTheory.Etale.Descent |
| 3 | |
| 4 | /-! # Coefficient Algebra Properties -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientAlgebraProperties.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Completion: the actual finite coefficient coordinate algebra is finite étale |
| 12 | |
| 13 | The properties come from the checked isomorphism to the disjoint union of |
| 14 | the base, followed by the spectrum criteria for finite and étale morphisms. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry Opposite |
| 18 | |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable (ℓ n : ℕ) [NeZero (ℓ ^ n)] (S : Type u) [CommRing S] |
| 25 | |
| 26 | theorem finiteCoefficientAlgebra_spec_finite : |
| 27 | IsFinite (Spec.map (CommRingCat.ofHom (algebraMap S (ProEtale.Slice.Construction.finiteCoefficientAlgebra ℓ n S).obj))) := by |
| 28 | let e := ProEtale.Slice.Construction.finiteCoefficientAlgebraSpecIso ℓ n S |
| 29 | have : IsFinite (ConstantScheme.Construction.finiteCoefficientProEt ℓ n (Spec (CommRingCat.of S))).hom := |
| 30 | ConstantScheme.Construction.finiteCoefficientProEt_finite ℓ n _ |
| 31 | have : IsIso e.hom.left := |
| 32 | (Scheme.ProEt.forget _ ⋙ Over.forget _).map_isIso e.hom |
| 33 | change IsFinite ((ProEtale.Algebras.Construction.proEtaleAlgebraSpec S).obj (op (ProEtale.Slice.Construction.finiteCoefficientAlgebra ℓ n S))).hom |
| 34 | rw [← MorphismProperty.Over.w e.hom] |
| 35 | infer_instance |
| 36 | |
| 37 | theorem finiteCoefficientAlgebra_spec_etale : |
| 38 | Etale (Spec.map (CommRingCat.ofHom (algebraMap S (ProEtale.Slice.Construction.finiteCoefficientAlgebra ℓ n S).obj))) := by |
| 39 | let e := ProEtale.Slice.Construction.finiteCoefficientAlgebraSpecIso ℓ n S |
| 40 | have : Etale (ConstantScheme.Construction.finiteCoefficientProEt ℓ n (Spec (CommRingCat.of S))).hom := |
| 41 | ConstantScheme.Construction.finiteConstantScheme_etale _ _ |
| 42 | have : IsIso e.hom.left := |
| 43 | (Scheme.ProEt.forget _ ⋙ Over.forget _).map_isIso e.hom |
| 44 | change Etale ((ProEtale.Algebras.Construction.proEtaleAlgebraSpec S).obj (op (ProEtale.Slice.Construction.finiteCoefficientAlgebra ℓ n S))).hom |
| 45 | rw [← MorphismProperty.Over.w e.hom] |
| 46 | infer_instance |
| 47 | |
| 48 | /-- Finiteness of the actual local coordinate algebra as a module. -/ |
| 49 | theorem finiteCoefficientAlgebra_finite : Module.Finite S (ProEtale.Slice.Construction.finiteCoefficientAlgebra ℓ n S).obj := by |
| 50 | have h := (IsFinite.SpecMap_iff _).mp (finiteCoefficientAlgebra_spec_finite ℓ n S) |
| 51 | exact (RingHom.finite_algebraMap).mp h |
| 52 | |
| 53 | /-- Étaleness of the actual local coordinate algebra over its base ring. -/ |
| 54 | theorem finiteCoefficientAlgebra_etale : Algebra.Etale S (ProEtale.Slice.Construction.finiteCoefficientAlgebra ℓ n S).obj := by |
| 55 | have h := (HasRingHomProperty.Spec_iff (P := @Etale)).mp |
| 56 | (finiteCoefficientAlgebra_spec_etale ℓ n S) |
| 57 | exact (RingHom.etale_algebraMap).mp h |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientAlgebraProperties.Construction |