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.PointedSmoothNilLift |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Smooth.NilCommonReduction |
| 3 | |
| 4 | /-! # Smooth Nil Common Reduction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothNilCommonReduction.Pointed |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Smooth affine models with the same special fiber and compatible |
| 11 | sections admit an actual isomorphism preserving both identifications. -/ |
| 12 | |
| 13 | universe u v w z |
| 14 | variable {R : Type u} [CommRing R] |
| 15 | {A : Type v} [CommRing A] [Algebra R A] |
| 16 | {B : Type w} [CommRing B] [Algebra R B] |
| 17 | {C : Type z} [CommRing C] [Algebra R C] |
| 18 | (I : Ideal R) (hI : IsNilpotent I) |
| 19 | [Algebra.FormallySmooth R A] [Module.Flat R B] |
| 20 | (πA : A →ₐ[R] C) (hA : Function.Surjective πA) |
| 21 | (hAker : RingHom.ker πA.toRingHom = I.map (algebraMap R A)) |
| 22 | (πB : B →ₐ[R] C) (hB : Function.Surjective πB) |
| 23 | (hBker : RingHom.ker πB.toRingHom = I.map (algebraMap R B)) |
| 24 | (εA : A →ₐ[R] R) (εB : B →ₐ[R] R) (εC : C →ₐ[R] R ⧸ I) |
| 25 | (hεA : εC.comp πA = (Ideal.Quotient.mkₐ R I).comp εA) |
| 26 | (hεB : εC.comp πB = (Ideal.Quotient.mkₐ R I).comp εB) |
| 27 | |
| 28 | include hI hA hAker hB hBker hεA hεB in |
| 29 | theorem exists_equiv : ∃ e : A ≃ₐ[R] B, |
| 30 | πB.comp e.toAlgHom = πA ∧ εB.comp e.toAlgHom = εA := by |
| 31 | have hnil : IsNilpotent (RingHom.ker πB.toRingHom) := by |
| 32 | rw [hBker] |
| 33 | exact AlgebraicGeometry.Resolution.Blowups.Etale.FiniteNeighborhood.Construction.ideal_map_isNilpotent I hI |
| 34 | have hbase : I ≤ RingHom.ker (algebraMap R C) := by |
| 35 | intro r hr |
| 36 | have hb : algebraMap R B r ∈ RingHom.ker πB.toRingHom := by |
| 37 | rw [hBker] |
| 38 | exact Ideal.mem_map_of_mem (algebraMap R B) hr |
| 39 | exact (πB.commutes r).symm.trans hb |
| 40 | obtain ⟨f, hf, hpoint⟩ := PointedSmoothNilLift.exists_lift |
| 41 | I πA πB εA εB εC hεA hεB hB hnil hbase |
| 42 | let eA := Smooth.NilCommonReduction.quotientEquiv I πA hA hAker |
| 43 | let eB := Smooth.NilCommonReduction.quotientEquiv I πB hB hBker |
| 44 | have hred : (Ideal.Quotient.mkₐ R (I.map (algebraMap R B))).comp f = |
| 45 | (eA.trans eB.symm).toAlgHom.comp (Ideal.Quotient.mkₐ R (I.map (algebraMap R A))) := by |
| 46 | apply AlgHom.ext |
| 47 | intro a |
| 48 | apply eB.injective |
| 49 | change eB (Ideal.Quotient.mk _ (f a)) = eB (eB.symm (eA (Ideal.Quotient.mk _ a))) |
| 50 | rw [eB.apply_symm_apply] |
| 51 | exact AlgHom.congr_fun hf a |
| 52 | exact ⟨AlgEquiv.ofBijective f |
| 53 | (Smooth.NilReductionEquiv.bijective_of_reduction I hI (eA.trans eB.symm) f hred), hf, hpoint⟩ |
| 54 | |
| 55 | def equiv : A ≃ₐ[R] B := |
| 56 | (exists_equiv I hI πA hA hAker πB hB hBker εA εB εC hεA hεB).choose |
| 57 | |
| 58 | theorem reduction_equiv : πB.comp |
| 59 | (equiv I hI πA hA hAker πB hB hBker εA εB εC hεA hεB).toAlgHom = πA := |
| 60 | (exists_equiv I hI πA hA hAker πB hB hBker εA εB εC hεA hεB).choose_spec.1 |
| 61 | |
| 62 | theorem section_equiv : εB.comp |
| 63 | (equiv I hI πA hA hAker πB hB hBker εA εB εC hεA hεB).toAlgHom = εA := |
| 64 | (exists_equiv I hI πA hA hAker πB hB hBker εA εB εC hεA hεB).choose_spec.2 |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothNilCommonReduction.Pointed |