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.Frobenius |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Global.FrobeniusGeometry |
| 3 | import Mathlib.RingTheory.Ideal.Quotient.Operations |
| 4 | |
| 5 | /-! # Infinitesimal -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Frobenius.Infinitesimal |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual finite-field Frobenius identifies maps with the same |
| 12 | square-zero reduction. Its affine power map factors through the quotient. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.FormalGeometry.Completion.Frobenius.Construction |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable (k : Type u) [Field k] [Fintype k] |
| 21 | (C : CommRingCat.{u}) (κ : k →+* C) |
| 22 | |
| 23 | def affineBase : k →+* Γ(Spec C, ⊤) := (Scheme.ΓSpecIso C).inv.hom.comp κ |
| 24 | |
| 25 | theorem qPower_spec : |
| 26 | AlgebraicGeometry.FormalGeometry.Completion.Frobenius.Construction.qPowerSchemeFrobenius k (Spec C) (affineBase k C κ) = |
| 27 | Spec.map (CommRingCat.ofHom (AlgebraicGeometry.FormalGeometry.Completion.Frobenius.Construction.finiteFieldPowerRingHom k κ)) := by |
| 28 | apply Global.FrobeniusGeometry.hom_ext_appTop |
| 29 | apply (CategoryTheory.cancel_mono (Scheme.ΓSpecIso C).hom).mp |
| 30 | rw [Scheme.ΓSpecIso_naturality] |
| 31 | apply CommRingCat.hom_ext |
| 32 | apply RingHom.ext |
| 33 | intro s |
| 34 | change (Scheme.ΓSpecIso C).hom.hom |
| 35 | ((AlgebraicGeometry.FormalGeometry.Completion.Frobenius.Construction.qPowerSchemeFrobenius k (Spec C) (affineBase k C κ)).appTop s) = |
| 36 | ((Scheme.ΓSpecIso C).hom.hom s) ^ Fintype.card k |
| 37 | rw [AlgebraicGeometry.FormalGeometry.Completion.Frobenius.Construction.qPowerSchemeFrobenius_appTop, map_pow] |
| 38 | |
| 39 | theorem power_eq_zero_of_squareZero (J : Ideal C) (hJ : J ^ 2 = ⊥) |
| 40 | (x : C) (hx : x ∈ J) : AlgebraicGeometry.FormalGeometry.Completion.Frobenius.Construction.finiteFieldPowerRingHom k κ x = 0 := by |
| 41 | have hx2 : x ^ 2 = 0 := by |
| 42 | have hm : x * x ∈ J * J := Ideal.mul_mem_mul hx hx |
| 43 | rw [← pow_two, hJ] at hm |
| 44 | simpa only [Ideal.mem_bot, pow_two] using hm |
| 45 | exact pow_eq_zero_of_le (Fintype.one_lt_card : 1 < Fintype.card k) hx2 |
| 46 | |
| 47 | def quotientPower (J : Ideal C) (hJ : J ^ 2 = ⊥) : C ⧸ J →+* C := |
| 48 | Ideal.Quotient.lift J (AlgebraicGeometry.FormalGeometry.Completion.Frobenius.Construction.finiteFieldPowerRingHom k κ) |
| 49 | (fun x hx => power_eq_zero_of_squareZero k C κ J hJ x hx) |
| 50 | |
| 51 | theorem qPower_factor (J : Ideal C) (hJ : J ^ 2 = ⊥) : |
| 52 | AlgebraicGeometry.FormalGeometry.Completion.Frobenius.Construction.qPowerSchemeFrobenius k (Spec C) (affineBase k C κ) = |
| 53 | Spec.map (CommRingCat.ofHom (quotientPower k C κ J hJ)) ≫ |
| 54 | Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk J)) := by |
| 55 | rw [qPower_spec, ← Spec.map_comp] |
| 56 | rfl |
| 57 | |
| 58 | include κ in |
| 59 | theorem equal_after_frobenius_of_reduction (J : Ideal C) (hJ : J ^ 2 = ⊥) |
| 60 | (X : Scheme.{u}) (κX : k →+* Γ(X, ⊤)) (a b : Spec C ⟶ X) |
| 61 | (hab : Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk J)) ≫ a = |
| 62 | Spec.map (CommRingCat.ofHom (Ideal.Quotient.mk J)) ≫ b) : |
| 63 | a ≫ AlgebraicGeometry.FormalGeometry.Completion.Frobenius.Construction.qPowerSchemeFrobenius k X κX = b ≫ AlgebraicGeometry.FormalGeometry.Completion.Frobenius.Construction.qPowerSchemeFrobenius k X κX := by |
| 64 | rw [← AlgebraicGeometry.FormalGeometry.Completion.Frobenius.Construction.qPowerSchemeFrobenius_naturality k (Spec C) (affineBase k C κ) κX a, |
| 65 | ← AlgebraicGeometry.FormalGeometry.Completion.Frobenius.Construction.qPowerSchemeFrobenius_naturality k (Spec C) (affineBase k C κ) κX b, |
| 66 | qPower_factor k C κ J hJ, Category.assoc, Category.assoc, hab] |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Frobenius.Infinitesimal |