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.Quotient.DeRhamComplex |
| 2 | |
| 3 | /-! # Structural Quotient De Rham -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.StructuralQuotientDeRham |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Base-ideal reduction of the original complex with its exact structural algebra action. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable (R A σ : Type u) [CommRing R] [CommRing A] [Algebra R A] [LinearOrder σ] |
| 16 | (I : Ideal R) (J : Ideal A) (hJ : J = I.map (algebraMap R A)) |
| 17 | (x : σ → A) (b : Module.Basis σ A (KaehlerDifferential R A)) |
| 18 | (hb : ∀ i, b i = KaehlerDifferential.D R A (x i)) |
| 19 | |
| 20 | include σ hJ x b hb in |
| 21 | theorem exists_iso : |
| 22 | let : Algebra R (A ⧸ J) := ((Ideal.Quotient.mk J).comp (algebraMap R A)).toAlgebra |
| 23 | ∃ e : IntegralComparison.Module.IdealQuotient.complex R I (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R A) ≅ |
| 24 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R (A ⧸ J), |
| 25 | ∀ (m : ℕ) (a : A) (v : Fin m → A), |
| 26 | ((IntegralComparison.Module.IdealQuotient.complexProjection R I (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R A)) ≫ e.hom).f m |
| 27 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v) = AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R (A ⧸ J) |
| 28 | (Ideal.Quotient.mk J a) (fun i => Ideal.Quotient.mk J (v i)) := by |
| 29 | have he : ((Ideal.Quotient.mk J).comp (algebraMap R A)).toAlgebra = |
| 30 | (inferInstance : Algebra R (A ⧸ J)) := Algebra.algebra_ext _ _ (fun _ => rfl) |
| 31 | rw [he] |
| 32 | subst J |
| 33 | refine ⟨IntegralComparison.Quotient.DeRhamComplex.iso R A σ I x b hb, ?_⟩ |
| 34 | intro m a v |
| 35 | exact (IntegralComparison.Quotient.DeRhamComplex.projection_iso_apply R A σ I x b hb m |
| 36 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v)).trans |
| 37 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap_symbol (CommAlgCat.ofHom |
| 38 | (IsScalarTower.toAlgHom R A (A ⧸ I.map (algebraMap R A)))) m a v) |
| 39 | |
| 40 | def iso : |
| 41 | let : Algebra R (A ⧸ J) := ((Ideal.Quotient.mk J).comp (algebraMap R A)).toAlgebra |
| 42 | IntegralComparison.Module.IdealQuotient.complex R I (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R A) ≅ |
| 43 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R (A ⧸ J) := |
| 44 | (exists_iso R A σ I J hJ x b hb).choose |
| 45 | |
| 46 | theorem projection_iso_symbol (m : ℕ) (a : A) (v : Fin m → A) : |
| 47 | let : Algebra R (A ⧸ J) := ((Ideal.Quotient.mk J).comp (algebraMap R A)).toAlgebra |
| 48 | ((IntegralComparison.Module.IdealQuotient.complexProjection R I (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R A)) ≫ |
| 49 | (iso R A σ I J hJ x b hb).hom).f m (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a v) = |
| 50 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R (A ⧸ J) (Ideal.Quotient.mk J a) |
| 51 | (fun i => Ideal.Quotient.mk J (v i)) := |
| 52 | (exists_iso R A σ I J hJ x b hb).choose_spec m a v |
| 53 | |
| 54 | theorem projection_iso_apply (m : ℕ) (ω : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A m) : |
| 55 | let : Algebra R (A ⧸ J) := ((Ideal.Quotient.mk J).comp (algebraMap R A)).toAlgebra |
| 56 | ((IntegralComparison.Module.IdealQuotient.complexProjection R I (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R A)) ≫ |
| 57 | (iso R A σ I J hJ x b hb).hom).f m ω = |
| 58 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap (CommAlgCat.ofHom |
| 59 | (show A →ₐ[R] A ⧸ J from { toRingHom := Ideal.Quotient.mk J, commutes' := fun _ => rfl })) m ω := by |
| 60 | let : Algebra R (A ⧸ J) := ((Ideal.Quotient.mk J).comp (algebraMap R A)).toAlgebra |
| 61 | let g := |
| 62 | ((IntegralComparison.Module.IdealQuotient.complexProjection R I (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.complex R A) ≫ |
| 63 | (iso R A σ I J hJ x b hb).hom).f m).hom |
| 64 | change g ω = _ |
| 65 | obtain ⟨t, rfl⟩ := (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.relations R A m).mkQ_surjective ω |
| 66 | induction t using Finsupp.induction_linear with |
| 67 | | zero => |
| 68 | simp only [map_zero] |
| 69 | exact g.map_zero |
| 70 | | add t s ht hs => |
| 71 | simp only [map_add] |
| 72 | exact (g.map_add _ _).trans (congrArg₂ (· + ·) ht hs) |
| 73 | | single v a => |
| 74 | exact (projection_iso_symbol R A σ I J hJ x b hb m a v).trans |
| 75 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.formMap_symbol (CommAlgCat.ofHom |
| 76 | (show A →ₐ[R] A ⧸ J from { toRingHom := Ideal.Quotient.mk J, commutes' := fun _ => rfl })) m a v).symm |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.NumberTheory.PadicHodge.IntegralComparison.StructuralQuotientDeRham |