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.FiniteTorsor.Local |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Affine.ProEtaleRepresentation |
| 3 | |
| 4 | /-! # Slice -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.ProEtale.Slice.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Completion: objects over a covering scheme in the actual slice site |
| 12 | |
| 13 | Weakly étale schemes over a covering object embed fully faithfully in the |
| 14 | slice of the original pro-étale site. This identifies the actual finite |
| 15 | constant representatives on both sides. |
| 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 {X : Scheme.{u}} (U : X.ProEt) |
| 26 | |
| 27 | /-- A weakly étale scheme over the covering object is an object of the original slice site. -/ |
| 28 | def proEtaleToSlice : U.left.ProEt ⥤ Over U where |
| 29 | obj V := |
| 30 | let W : X.ProEt := Scheme.ProEt.mk (V.hom ≫ U.hom) |
| 31 | Over.mk (MorphismProperty.Over.homMk (A := W) (B := U) V.hom rfl) |
| 32 | map f := Over.homMk (MorphismProperty.Over.homMk f.left (by |
| 33 | change f.left ≫ _ ≫ U.hom = _ ≫ U.hom |
| 34 | rw [← Category.assoc, MorphismProperty.Over.w])) (by |
| 35 | apply MorphismProperty.Over.Hom.ext |
| 36 | exact MorphismProperty.Over.w f) |
| 37 | |
| 38 | /-- Scheme morphisms in this actual slice are exactly morphisms over the covering scheme. -/ |
| 39 | def proEtaleToSliceFullyFaithful : (proEtaleToSlice U).FullyFaithful where |
| 40 | preimage {A B} f := MorphismProperty.Over.homMk f.left.left (by |
| 41 | exact congrArg (fun g : ((proEtaleToSlice U).obj A).left ⟶ U => g.left) f.w) |
| 42 | map_preimage f := by |
| 43 | apply Over.OverMorphism.ext |
| 44 | apply MorphismProperty.Over.Hom.ext |
| 45 | rfl |
| 46 | preimage_map f := by |
| 47 | apply MorphismProperty.Over.Hom.ext |
| 48 | rfl |
| 49 | |
| 50 | theorem proEtaleToSlice_finiteCoefficient (ℓ n : ℕ) : |
| 51 | (proEtaleToSlice U).obj (Finite.ConstantScheme.Construction.finiteCoefficientProEt ℓ n U.left) = |
| 52 | FiniteTorsor.Local.Construction.finiteCoefficientSlice ℓ n U := rfl |
| 53 | |
| 54 | /-- The coefficient algebra is the actual coordinate algebra of the finite coefficient scheme. -/ |
| 55 | def finiteCoefficientAlgebra (ℓ n : ℕ) [NeZero (ℓ ^ n)] |
| 56 | (S : Type u) [CommRing S] : Algebras.Construction.ProEtaleAlgebra S := by |
| 57 | let V := Finite.ConstantScheme.Construction.finiteCoefficientProEt ℓ n (Spec (CommRingCat.of S)) |
| 58 | have : IsAffine V.left := |
| 59 | inferInstanceAs (IsAffine (∐ fun _ : ULift.{u} (ZMod (ℓ ^ n)) => Spec (CommRingCat.of S))) |
| 60 | exact Affine.ProEtaleRepresentation.Construction.proEtaleAlgebraOfAffine V |
| 61 | |
| 62 | /-- Its spectrum is isomorphic to the actual finite coefficient scheme. -/ |
| 63 | def finiteCoefficientAlgebraSpecIso (ℓ n : ℕ) [NeZero (ℓ ^ n)] |
| 64 | (S : Type u) [CommRing S] : |
| 65 | (Algebras.Construction.proEtaleAlgebraSpec S).obj (op (finiteCoefficientAlgebra ℓ n S)) ≅ |
| 66 | Finite.ConstantScheme.Construction.finiteCoefficientProEt ℓ n (Spec (CommRingCat.of S)) := by |
| 67 | let V := Finite.ConstantScheme.Construction.finiteCoefficientProEt ℓ n (Spec (CommRingCat.of S)) |
| 68 | have : IsAffine V.left := |
| 69 | inferInstanceAs (IsAffine (∐ fun _ : ULift.{u} (ZMod (ℓ ^ n)) => Spec (CommRingCat.of S))) |
| 70 | exact Affine.ProEtaleRepresentation.Construction.proEtaleAlgebraOfAffineIso V |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.ProEtale.Slice.Construction |