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.Etale.DividedLiftIdeal |
| 2 | |
| 3 | /-! # Divided Lift -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.DividedLift.Comparison |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: the divided-coordinate lift recovers any compatible étale chart map |
| 11 | -/ |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable (R σ C T : Type u) [CommRing R] [CommRing C] [CommRing T] |
| 16 | [Algebra R C] [Algebra (MvPolynomial σ R) C] [IsScalarTower R (MvPolynomial σ R) C] |
| 17 | [Algebra R T] [Algebra.Etale (MvPolynomial σ R) C] |
| 18 | (I : Ideal T) (p : ℕ) [Fact p.Prime] (δ : DividedPowers I) |
| 19 | (hp : IsNilpotent (p : T)) (l : C →ₐ[R] T) |
| 20 | |
| 21 | attribute [local instance] DividedCoordinateLift.scalarAlgebra DividedCoordinateLift.scalarTower |
| 22 | |
| 23 | variable (A : Type u) [CommRing A] [Algebra R A] (K : Ideal A) (ε : DividedPowers K) |
| 24 | (a : T →ₐ[R] A) (b : C →ₐ[R] A) (g : DividedPowerAlgebra T (σ →₀ T) →ₐ[R] A) |
| 25 | (hg : DividedPowers.IsDPMorphism (AlgebraicGeometry.Crystalline.Cohomology.FreeRelative.Powers.FreeRelativePowers.dividedPowers T σ I δ) ε g.toRingHom) |
| 26 | (hbase : ∀ t, g (algebraMap T (DividedPowerAlgebra T (σ →₀ T)) t) = a t) |
| 27 | (hcoord : ∀ i, g (AlgebraicGeometry.Crystalline.Cohomology.Multivariable.DividedAlgebra.MultivariableDividedAlgebra.generator T σ 1 i) = |
| 28 | b (algebraMap (MvPolynomial σ R) C (MvPolynomial.X i)) - |
| 29 | a (l (algebraMap (MvPolynomial σ R) C (MvPolynomial.X i)))) |
| 30 | (hclosed : ∀ c, b c - a (l c) ∈ K) |
| 31 | |
| 32 | local notation "P" => MvPolynomial σ R |
| 33 | local notation "G" => DividedPowerAlgebra T (σ →₀ T) |
| 34 | local notation "e" => OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.DividedCoordinateLift.lift R σ C T I p δ hp l |
| 35 | |
| 36 | include hg hbase hcoord hclosed in |
| 37 | theorem comparison : g.comp e = b := by |
| 38 | have hpA : IsNilpotent (p : A) := by |
| 39 | simpa only [map_natCast] using hp.map a.toRingHom |
| 40 | apply CoordinateLifting.lift_unique R σ C A (A ⧸ K) (Ideal.Quotient.mkₐ R K) |
| 41 | (fun x h => DividedPower.Nilpotence.nilpotent_of_mem ε p (Fact.out : p.Prime).pos hpA |
| 42 | (Ideal.Quotient.eq_zero_iff_mem.mp h)) (g.comp e) b |
| 43 | · apply AlgHom.ext |
| 44 | intro c |
| 45 | apply Ideal.Quotient.eq.mpr |
| 46 | have hm : g (e c - algebraMap T G (l c)) ∈ K := |
| 47 | hg.ideal_comp (Ideal.mem_map_of_mem g.toRingHom |
| 48 | (DividedLiftIdeal.difference_mem R σ C T I p δ hp l c)) |
| 49 | rw [map_sub, hbase] at hm |
| 50 | have hs := K.sub_mem hm (hclosed c) |
| 51 | have he : (g (e c) - a (l c)) - (b c - a (l c)) = g (e c) - b c := by abel |
| 52 | exact he ▸ hs |
| 53 | · intro i |
| 54 | change g (e (algebraMap P C (MvPolynomial.X i))) = b (algebraMap P C (MvPolynomial.X i)) |
| 55 | rw [DividedCoordinateLift.lift_coordinate, DividedCoordinateLift.coordinates, |
| 56 | map_add, hbase, hcoord] |
| 57 | abel |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.DividedLift.Comparison |