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.DescentData |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientAlgebraProperties |
| 3 | |
| 4 | /-! # Descent Finite Etale -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Affine.DescentFiniteEtale.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Completion: the descended affine representative is finite étale |
| 12 | |
| 13 | The actual base-change isomorphism identifies the descended algebra after |
| 14 | extension with the checked finite étale coefficient algebra. Finite module |
| 15 | generation and étaleness then descend by faithful flatness. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry TensorProduct |
| 19 | |
| 20 | set_option backward.defeqAttrib.useBackward true |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | |
| 23 | universe u w |
| 24 | |
| 25 | variable {R S : Type u} [CommRing R] [CommRing S] |
| 26 | (f : R →+* S) (hf : WeaklyEtale (Spec.map (CommRingCat.ofHom f))) |
| 27 | (ℓ n : ℕ) [NeZero (ℓ ^ n)] (F : ProEtale.Algebras.Construction.ProEtaleAlgebra R ⥤ Type w) |
| 28 | (rep : (ProEtale.AlgebraBaseChange.Construction.proEtaleAlgebraRestrict f hf ⋙ F).CorepresentableBy (ProEtale.Slice.Construction.finiteCoefficientAlgebra ℓ n S)) |
| 29 | (hflat : f.FaithfullyFlat) |
| 30 | |
| 31 | theorem affineRepresentativeDescended_finite : |
| 32 | Module.Finite R (DescentData.Construction.affineRepresentativeDescended f hf F rep hflat) := by |
| 33 | let : Algebra R S := f.toAlgebra |
| 34 | have : Module.FaithfullyFlat R S := (RingHom.faithfullyFlat_algebraMap_iff).mp hflat |
| 35 | let A := DescentData.Construction.affineRepresentativeDescended f hf F rep hflat |
| 36 | let e := CommAlgCat.algEquivOfIso (DescentData.Construction.affineRepresentativeDescendedIso f hf F rep hflat) |
| 37 | have : Module.Finite S (ProEtale.Slice.Construction.finiteCoefficientAlgebra ℓ n S).obj := |
| 38 | Completion.Finite.CoefficientAlgebraProperties.Construction.finiteCoefficientAlgebra_finite ℓ n S |
| 39 | have : Module.Finite S (S ⊗[R] A) := |
| 40 | Module.Finite.of_surjective e.symm.toLinearMap e.symm.surjective |
| 41 | exact Module.Finite.of_finite_tensorProduct_of_faithfullyFlat S |
| 42 | |
| 43 | theorem affineRepresentativeDescended_etale : |
| 44 | Algebra.Etale R (DescentData.Construction.affineRepresentativeDescended f hf F rep hflat) := by |
| 45 | let : Algebra R S := f.toAlgebra |
| 46 | have : Module.FaithfullyFlat R S := (RingHom.faithfullyFlat_algebraMap_iff).mp hflat |
| 47 | let A := DescentData.Construction.affineRepresentativeDescended f hf F rep hflat |
| 48 | let e := CommAlgCat.algEquivOfIso (DescentData.Construction.affineRepresentativeDescendedIso f hf F rep hflat) |
| 49 | have : Algebra.Etale S (ProEtale.Slice.Construction.finiteCoefficientAlgebra ℓ n S).obj := |
| 50 | Completion.Finite.CoefficientAlgebraProperties.Construction.finiteCoefficientAlgebra_etale ℓ n S |
| 51 | have : Algebra.Etale S (S ⊗[R] A) := Algebra.Etale.of_equiv e.symm |
| 52 | exact Algebra.Etale.of_etale_tensorProduct_of_faithfullyFlat S |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Affine.DescentFiniteEtale.Construction |