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.Smooth.NilReductionEquiv |
| 2 | |
| 3 | /-! # Nil Common Reduction -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.NilCommonReduction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Affine smooth models with specified maps to the same actual special |
| 10 | fiber have an isomorphism which induces that exact identification. -/ |
| 11 | universe u v w z |
| 12 | variable {R : Type u} [CommRing R] |
| 13 | {A : Type v} [CommRing A] [Algebra R A] |
| 14 | {B : Type w} [CommRing B] [Algebra R B] |
| 15 | {C : Type z} [CommRing C] [Algebra R C] |
| 16 | (I : Ideal R) |
| 17 | |
| 18 | def quotientEquiv (π : A →ₐ[R] C) (hπ : Function.Surjective π) |
| 19 | (hker : RingHom.ker π.toRingHom = I.map (algebraMap R A)) : |
| 20 | (A ⧸ I.map (algebraMap R A)) ≃ₐ[R] C := |
| 21 | (Ideal.quotientEquivAlgOfEq R hker.symm).trans (Ideal.quotientKerAlgEquivOfSurjective hπ) |
| 22 | |
| 23 | theorem quotientEquiv_mk (π : A →ₐ[R] C) (hπ : Function.Surjective π) |
| 24 | (hker : RingHom.ker π.toRingHom = I.map (algebraMap R A)) (a : A) : |
| 25 | quotientEquiv I π hπ hker (Ideal.Quotient.mk _ a) = π a := rfl |
| 26 | |
| 27 | variable (hI : IsNilpotent I) [Algebra.FormallySmooth R A] [Module.Flat R B] |
| 28 | (πA : A →ₐ[R] C) (hA : Function.Surjective πA) |
| 29 | (hAker : RingHom.ker πA.toRingHom = I.map (algebraMap R A)) |
| 30 | (πB : B →ₐ[R] C) (hB : Function.Surjective πB) |
| 31 | (hBker : RingHom.ker πB.toRingHom = I.map (algebraMap R B)) |
| 32 | |
| 33 | include hI hA hAker hB hBker in |
| 34 | theorem exists_equiv : ∃ e : A ≃ₐ[R] B, πB.comp e.toAlgHom = πA := by |
| 35 | let eA := quotientEquiv I πA hA hAker |
| 36 | let eB := quotientEquiv I πB hB hBker |
| 37 | obtain ⟨e, he⟩ := NilReductionEquiv.exists_equiv I hI (eA.trans eB.symm) |
| 38 | refine ⟨e, AlgHom.ext fun a => ?_⟩ |
| 39 | have h := congrArg eB (AlgHom.congr_fun he a) |
| 40 | change eB (Ideal.Quotient.mk _ (e a)) = eB (eB.symm (eA (Ideal.Quotient.mk _ a))) at h |
| 41 | rw [eB.apply_symm_apply] at h |
| 42 | exact h |
| 43 | |
| 44 | def equiv : A ≃ₐ[R] B := |
| 45 | (exists_equiv I hI πA hA hAker πB hB hBker).choose |
| 46 | |
| 47 | theorem reduction_equiv : πB.comp (equiv I hI πA hA hAker πB hB hBker).toAlgHom = πA := |
| 48 | (exists_equiv I hI πA hA hAker πB hB hBker).choose_spec |
| 49 | |
| 50 | theorem reduction_equiv_apply (a : A) : |
| 51 | πB (equiv I hI πA hA hAker πB hB hBker a) = πA a := |
| 52 | AlgHom.congr_fun (reduction_equiv I hI πA hA hAker πB hB hBker) a |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.NilCommonReduction |