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.NilLifting |
| 2 | import Mathlib.RingTheory.MvPolynomial.Basic |
| 3 | |
| 4 | /-! # Coordinate Lifting -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.CoordinateLifting |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: étale lifts with prescribed polynomial coordinates through nil ideals |
| 12 | -/ |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (R σ C G D : Type u) [CommRing R] [CommRing C] [CommRing G] [CommRing D] |
| 17 | [Algebra R C] [Algebra (MvPolynomial σ R) C] [IsScalarTower R (MvPolynomial σ R) C] |
| 18 | [Algebra R G] [Algebra R D] |
| 19 | (π : G →ₐ[R] D) (hπ : Function.Surjective π) |
| 20 | (hnil : ∀ b ∈ RingHom.ker π.toRingHom, IsNilpotent b) |
| 21 | |
| 22 | local notation "P" => MvPolynomial σ R |
| 23 | |
| 24 | include hπ hnil in |
| 25 | theorem exists_lift [Algebra.Etale (MvPolynomial σ R) C] |
| 26 | (a : C →ₐ[R] D) (v : σ → G) |
| 27 | (hv : ∀ i, π (v i) = a (algebraMap P C (MvPolynomial.X i))) : |
| 28 | ∃ l : C →ₐ[R] G, π.comp l = a ∧ ∀ i, l (algebraMap P C (MvPolynomial.X i)) = v i := by |
| 29 | let gP : P →ₐ[R] G := MvPolynomial.aeval v |
| 30 | let dP : P →ₐ[R] D := a.comp (IsScalarTower.toAlgHom R P C) |
| 31 | have hg : π.comp gP = dP := by |
| 32 | apply MvPolynomial.algHom_ext |
| 33 | intro i |
| 34 | change π (MvPolynomial.aeval v (MvPolynomial.X i)) = a (algebraMap P C (MvPolynomial.X i)) |
| 35 | rw [MvPolynomial.aeval_X] |
| 36 | exact hv i |
| 37 | let : Algebra P G := gP.toRingHom.toAlgebra |
| 38 | let : Algebra P D := dP.toRingHom.toAlgebra |
| 39 | let : IsScalarTower R P G := IsScalarTower.of_algebraMap_eq' gP.comp_algebraMap.symm |
| 40 | let q : G →ₐ[P] D := { π.toRingHom with commutes' := AlgHom.congr_fun hg } |
| 41 | let aP : C →ₐ[P] D := { a.toRingHom with commutes' := fun _ => rfl } |
| 42 | obtain ⟨l, hl, _⟩ := NilLifting.existsUnique_lift aP q hπ hnil |
| 43 | refine ⟨l.restrictScalars R, ?_, ?_⟩ |
| 44 | · apply AlgHom.ext |
| 45 | intro c |
| 46 | exact AlgHom.congr_fun hl c |
| 47 | · intro i |
| 48 | exact (l.commutes (MvPolynomial.X i)).trans (MvPolynomial.aeval_X v i) |
| 49 | |
| 50 | include hnil in |
| 51 | theorem lift_unique [Algebra.FinitePresentation (MvPolynomial σ R) C] |
| 52 | [Algebra.FormallyUnramified (MvPolynomial σ R) C] |
| 53 | (l₁ l₂ : C →ₐ[R] G) (h : π.comp l₁ = π.comp l₂) |
| 54 | (hv : ∀ i, l₁ (algebraMap P C (MvPolynomial.X i)) = l₂ (algebraMap P C (MvPolynomial.X i))) : |
| 55 | l₁ = l₂ := by |
| 56 | let gP : P →ₐ[R] G := l₁.comp (IsScalarTower.toAlgHom R P C) |
| 57 | have hg : l₂.comp (IsScalarTower.toAlgHom R P C) = gP := by |
| 58 | apply MvPolynomial.algHom_ext |
| 59 | intro i |
| 60 | exact (hv i).symm |
| 61 | let : Algebra P G := gP.toRingHom.toAlgebra |
| 62 | let : Algebra P D := (π.comp gP).toRingHom.toAlgebra |
| 63 | let q : G →ₐ[P] D := { π.toRingHom with commutes' := fun _ => rfl } |
| 64 | let a₁ : C →ₐ[P] G := { l₁.toRingHom with commutes' := fun _ => rfl } |
| 65 | let a₂ : C →ₐ[P] G := { l₂.toRingHom with commutes' := AlgHom.congr_fun hg } |
| 66 | have he : a₁ = a₂ := NilLifting.lift_unique q hnil a₁ a₂ (AlgHom.ext (fun c => AlgHom.congr_fun h c)) |
| 67 | exact AlgHom.ext (fun c => AlgHom.congr_fun he c) |
| 68 | |
| 69 | include hπ hnil in |
| 70 | theorem existsUnique_lift [Algebra.Etale (MvPolynomial σ R) C] |
| 71 | (a : C →ₐ[R] D) (v : σ → G) |
| 72 | (hv : ∀ i, π (v i) = a (algebraMap P C (MvPolynomial.X i))) : |
| 73 | ∃! l : C →ₐ[R] G, π.comp l = a ∧ ∀ i, l (algebraMap P C (MvPolynomial.X i)) = v i := by |
| 74 | obtain ⟨l, hl, hv'⟩ := exists_lift R σ C G D π hπ hnil a v hv |
| 75 | refine ⟨l, ⟨hl, hv'⟩, fun l' hl' => ?_⟩ |
| 76 | exact lift_unique R σ C G D π hnil l' l (hl'.1.trans hl.symm) |
| 77 | (fun i => (hl'.2 i).trans (hv' i).symm) |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.CoordinateLifting |