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.NumberTheory.PadicHodge.IntegralComparison.Finite.CoverFiniteness |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteCoefficient.GroupLaw |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteCoefficient.Sections |
| 4 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Multiplication |
| 5 | |
| 6 | /-! # Abelian Finite Coefficient -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AbelianFiniteCoefficient |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Actual finite-coefficient H¹ of a smooth proper geometric commutative |
| 13 | group is finite. Multiplication supplies the single finite étale cover. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 16 | open MonoidalCategory CartesianMonoidalCategory MonObj |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.FormalGeometry.Completion.Multiplication.Construction |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | theorem finite_of_finite_cover (ℓ n : ℕ) [Fact ℓ.Prime] |
| 23 | {X : Scheme.{u}} [IsNoetherian X] (U : X.ProEt) |
| 24 | [IsFinite U.hom] [Surjective U.hom] |
| 25 | (hzero : ∀ x : (AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n X).H 1, |
| 26 | AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientPullback.Construction.finiteEllAdicPullback ℓ n U.hom 1 x = 0) : |
| 27 | Finite ((AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n X).H 1) := by |
| 28 | let e : (⊤_ X.ProEt) ≅ Scheme.ProEt.mk (𝟙 X) := |
| 29 | terminalIsTerminal.uniqueUpToIso (AlgebraicGeometry.FormalGeometry.Completion.FiniteTorsor.GlobalSections.Construction.proEtaleIdentityIsTerminal X) |
| 30 | have hei : IsIso e.hom.left := |
| 31 | inferInstanceAs (IsIso (((Scheme.ProEt.forget X) ⋙ Over.forget X).map e.hom)) |
| 32 | have he : e.hom.left = (⊤_ X.ProEt).hom := by |
| 33 | exact (Category.comp_id e.hom.left).symm.trans (MorphismProperty.Over.w e.hom) |
| 34 | have : IsIso (⊤_ X.ProEt).hom := he ▸ hei |
| 35 | let f := terminal.from U |
| 36 | have hf : f.left = U.hom ≫ inv (⊤_ X.ProEt).hom := by |
| 37 | apply (cancel_mono (⊤_ X.ProEt).hom).1 |
| 38 | simp only [Category.assoc, IsIso.inv_hom_id, Category.comp_id] |
| 39 | exact MorphismProperty.Over.w f |
| 40 | have : IsFinite f.left := by rw [hf]; infer_instance |
| 41 | have : Surjective f.left := by rw [hf]; infer_instance |
| 42 | have : WeaklyEtale f.left := AlgebraicGeometry.FormalGeometry.Completion.ProEtale.SingleCover.Construction.proEtaleMorphism_weaklyEtale f |
| 43 | let D : X.ProEt := Scheme.ProEt.mk (pullback.fst f.left f.left ≫ U.hom) |
| 44 | have : IsFinite D.hom := inferInstanceAs (IsFinite (pullback.fst f.left f.left ≫ U.hom)) |
| 45 | let d : D.left ⟶ X := D.hom |
| 46 | have : IsFinite d := inferInstanceAs (IsFinite D.hom) |
| 47 | have : IsLocallyNoetherian D.left := LocallyOfFiniteType.isLocallyNoetherian d |
| 48 | have : CompactSpace D.left := QuasiCompact.compactSpace_of_compactSpace d |
| 49 | have : IsNoetherian D.left := {} |
| 50 | let a : D ⟶ U := MorphismProperty.Over.homMk (pullback.fst f.left f.left) rfl |
| 51 | let b : D ⟶ U := MorphismProperty.Over.homMk (pullback.snd f.left f.left) (by |
| 52 | change pullback.snd f.left f.left ≫ U.hom = pullback.fst f.left f.left ≫ U.hom |
| 53 | rw [← MorphismProperty.Over.w f, ← Category.assoc, ← Category.assoc, |
| 54 | pullback.condition]) |
| 55 | have hD : IsPullback a.left b.left f.left f.left := IsPullback.of_hasPullback f.left f.left |
| 56 | have := FiniteCoefficient.Sections.sections_finite ℓ n (op D) |
| 57 | exact IntegralComparison.Finite.CoverFiniteness.finite_of_cover ℓ n U D a b hD hzero |
| 58 | |
| 59 | theorem finite (ℓ n : ℕ) [Fact ℓ.Prime] |
| 60 | {k : Type u} [Field k] [IsAlgClosed k] |
| 61 | (A : Over (Spec (.of k))) [GrpObj A] [IsCommMonObj A] |
| 62 | [Smooth A.hom] [IsProper A.hom] [GeometricallyIntegral A.hom] |
| 63 | (hℓ : (ℓ : k) ≠ 0) : Finite ((AlgebraicGeometry.FormalGeometry.Completion.Finite.CoefficientSheaf.Construction.finiteEllAdicCoefficient ℓ n A.left).H 1) := by |
| 64 | have hn : ((ℓ ^ n : ℕ) : k) ≠ 0 := by |
| 65 | rw [Nat.cast_pow] |
| 66 | exact pow_ne_zero n hℓ |
| 67 | have : IsFinite ((𝟙 A : A ⟶ A) ^ (ℓ ^ n)).left := AlgebraicGeometry.FormalGeometry.Completion.Multiplication.Construction.multiplication_isFinite A (ℓ ^ n) hn |
| 68 | have : Etale ((𝟙 A : A ⟶ A) ^ (ℓ ^ n)).left := AlgebraicGeometry.FormalGeometry.Completion.Multiplication.Construction.multiplication_etale A (ℓ ^ n) hn |
| 69 | have : Surjective ((𝟙 A : A ⟶ A) ^ (ℓ ^ n)).left := AlgebraicGeometry.FormalGeometry.Completion.Multiplication.Construction.multiplication_surjective A (ℓ ^ n) hn |
| 70 | have : IsLocallyNoetherian A.left := LocallyOfFiniteType.isLocallyNoetherian A.hom |
| 71 | have : CompactSpace A.left := QuasiCompact.compactSpace_of_compactSpace A.hom |
| 72 | have : IsNoetherian A.left := {} |
| 73 | let U := Scheme.ProEt.mk ((𝟙 A : A ⟶ A) ^ (ℓ ^ n)).left |
| 74 | have : IsFinite U.hom := AlgebraicGeometry.FormalGeometry.Completion.Multiplication.Construction.multiplication_isFinite A (ℓ ^ n) hn |
| 75 | have : Surjective U.hom := AlgebraicGeometry.FormalGeometry.Completion.Multiplication.Construction.multiplication_surjective A (ℓ ^ n) hn |
| 76 | exact finite_of_finite_cover ℓ n U |
| 77 | (FiniteCoefficient.GroupLaw.multiplication_pow_pullback_zero ℓ n A) |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AbelianFiniteCoefficient |