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.ProjectiveFinite.EtaleAdjunction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveCoefficient.HomEvaluation |
| 3 | |
| 4 | /-! # Adjunction Evaluation -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.AdjunctionEvaluation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original finite adjunction evaluates every local coefficient by |
| 11 | multiplying the actual source form and taking its genuine de Rham trace. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial Opposite |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u v |
| 17 | |
| 18 | private theorem cancel_factors {C : Type u} {D : Type v} [Category C] [Category D] |
| 19 | (F : C ⥤ D) {A B : C} {Z H : D} (a : Z ≅ H) (b : F.obj B ≅ H) (c : A ≅ B) : |
| 20 | (a ≪≫ b.symm ≪≫ F.mapIso c.symm).hom ≫ F.map c.hom ≫ b.hom = a.hom := by |
| 21 | simp only [Iso.trans_hom, Iso.symm_hom, Functor.mapIso_hom, Category.assoc, |
| 22 | ← F.map_comp_assoc, Iso.inv_hom_id, F.map_id, Category.id_comp, |
| 23 | Category.comp_id] |
| 24 | |
| 25 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveCoefficient.HomLocal |
| 26 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} |
| 27 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 28 | variable (X Y : Over (Spec (CommRingCat.of R))) (f : Y ⟶ X) |
| 29 | [IsFinite f.left] [Etale f.left] |
| 30 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R n) [IsClosedImmersion i.left] |
| 31 | (g : ℕ) [SmoothOfRelativeDimension g X.hom] [IsProper X.hom] |
| 32 | (j : Fin (n+1)) (B : ℕ) (hB : n+1≤B) (hg : g≤n) |
| 33 | local instance coefficient_qc : (FormSheafDuality.coefficients R Y X f).IsQuasicoherent := |
| 34 | FormSheafDuality.coefficient_qc R Y X f |
| 35 | |
| 36 | theorem coefficient_map : |
| 37 | letI : Smooth X.hom := SmoothOfRelativeDimension.smooth g X.hom |
| 38 | (ProjectiveFinite.EtaleAdjunction.iso X Y f i g j B hB hg).hom ≫ |
| 39 | (Scheme.Modules.pushforward i.left).map (FormSheafDuality.iso R Y X f g).hom ≫ |
| 40 | (Closed.InternalHom.iso i.left (FormSheafDuality.coefficients R Y X f) |
| 41 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X g)).hom = |
| 42 | (ProjectiveCoefficient.HomGlobal.iso X f.left i g j B hB hg).hom := by |
| 43 | let : Smooth X.hom := SmoothOfRelativeDimension.smooth g X.hom |
| 44 | exact cancel_factors (Scheme.Modules.pushforward i.left) |
| 45 | (ProjectiveCoefficient.HomGlobal.iso X f.left i g j B hB hg) |
| 46 | (Closed.InternalHom.iso i.left (FormSheafDuality.coefficients R Y X f) |
| 47 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X g)) |
| 48 | (FormSheafDuality.iso R Y X f g) |
| 49 | |
| 50 | variable (U : (Projective.IntrinsicOverlap.Intrinsic.space R n).Opens) (hU : IsAffineOpen U) |
| 51 | (z : Γ(ProjectiveCoefficient.HomLocal.sourceSheaf X f.left i g j B, U)) (x : Γ(ProjectiveCoefficient.HomLocal.coefficient X f.left i, U)) |
| 52 | |
| 53 | include hU in |
| 54 | theorem hom_evaluation : |
| 55 | letI : Smooth X.hom := SmoothOfRelativeDimension.smooth g X.hom |
| 56 | ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomEvaluation.Construction.sheafHomEvalAtOpen (ProjectiveCoefficient.HomLocal.coefficient X f.left i) (ProjectiveCoefficient.HomLocal.formSheaf X i g) U |
| 57 | ((ProjectiveCoefficient.HomGlobal.iso X f.left i g j B hB hg).hom.app U z) x = |
| 58 | ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomEvaluation.Construction.sheafHomEvalAtOpen (FormSheafDuality.coefficients R Y X f) |
| 59 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X g) (i.left ⁻¹ᵁ U) |
| 60 | ((FormSheafDuality.iso R Y X f g).hom.app (i.left ⁻¹ᵁ U) |
| 61 | ((ProjectiveFinite.EtaleAdjunction.iso X Y f i g j B hB hg).hom.app U z)) x := by |
| 62 | let : Smooth X.hom := SmoothOfRelativeDimension.smooth g X.hom |
| 63 | have hc := congrArg (fun a => a.app U z) (coefficient_map X Y f i g j B hB hg) |
| 64 | change (Closed.InternalHom.iso i.left (FormSheafDuality.coefficients R Y X f) |
| 65 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X g)).hom.app U |
| 66 | ((FormSheafDuality.iso R Y X f g).hom.app (i.left ⁻¹ᵁ U) |
| 67 | ((ProjectiveFinite.EtaleAdjunction.iso X Y f i g j B hB hg).hom.app U z)) = _ at hc |
| 68 | have hi := Closed.InternalHom.iso_app i.left |
| 69 | (FormSheafDuality.coefficients R Y X f) |
| 70 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X g) U hU |
| 71 | ((FormSheafDuality.iso R Y X f g).hom.app (i.left ⁻¹ᵁ U) |
| 72 | ((ProjectiveFinite.EtaleAdjunction.iso X Y f i g j B hB hg).hom.app U z)) |
| 73 | exact (congrArg |
| 74 | (fun v => ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomEvaluation.Construction.sheafHomEvalAtOpen (ProjectiveCoefficient.HomLocal.coefficient X f.left i) (ProjectiveCoefficient.HomLocal.formSheaf X i g) U v x) |
| 75 | (hc.symm.trans hi)).trans |
| 76 | (Closed.InternalHom.evaluation i.left |
| 77 | (FormSheafDuality.coefficients R Y X f) |
| 78 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X g) U hU _ x) |
| 79 | |
| 80 | variable (hgood : TraceBasis.Good R Y X f (i.left ⁻¹ᵁ U)) |
| 81 | |
| 82 | include hU hgood in |
| 83 | theorem trace_evaluation : |
| 84 | letI : Smooth X.hom := SmoothOfRelativeDimension.smooth g X.hom |
| 85 | (Integral.IntrinsicFormNormalization.Intrinsic.iso R X (i.left ⁻¹ᵁ U) g).hom |
| 86 | (ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomEvaluation.Construction.sheafHomEvalAtOpen (ProjectiveCoefficient.HomLocal.coefficient X f.left i) (ProjectiveCoefficient.HomLocal.formSheaf X i g) U |
| 87 | ((ProjectiveCoefficient.HomGlobal.iso X f.left i g j B hB hg).hom.app U z) x) = |
| 88 | ((DeRhamSheafTrace.trace R Y X f).f g).hom.app (op (i.left ⁻¹ᵁ U)) |
| 89 | ((Integral.IntrinsicFormNormalization.Intrinsic.iso R Y (f.left ⁻¹ᵁ (i.left ⁻¹ᵁ U)) g).hom |
| 90 | ((show Γ(Y.left, f.left ⁻¹ᵁ (i.left ⁻¹ᵁ U)) from x) • |
| 91 | (show Γ(GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R Y g, f.left ⁻¹ᵁ (i.left ⁻¹ᵁ U)) from |
| 92 | (ProjectiveFinite.EtaleAdjunction.iso X Y f i g j B hB hg).hom.app U z))) := by |
| 93 | let : Smooth X.hom := SmoothOfRelativeDimension.smooth g X.hom |
| 94 | let a : TraceBasis.Index R Y X f := ⟨i.left ⁻¹ᵁ U,hgood⟩ |
| 95 | let v := (ProjectiveFinite.EtaleAdjunction.iso X Y f i g j B hB hg).hom.app U z |
| 96 | have hs := (congrArg |
| 97 | (fun w => ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomEvaluation.Construction.sheafHomEvalAtOpen (FormSheafDuality.coefficients R Y X f) |
| 98 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X g) (i.left ⁻¹ᵁ U) w x) |
| 99 | (FormSheafDuality.iso_app R Y X f a g v)).trans |
| 100 | (FormSheafDuality.sectionEquiv_evaluation R Y X f a g v x) |
| 101 | exact (congrArg (Integral.IntrinsicFormNormalization.Intrinsic.iso R X (i.left ⁻¹ᵁ U) g).hom |
| 102 | ((hom_evaluation X Y f i g j B hB hg U hU z x).trans hs)).trans |
| 103 | (Intrinsic.EtaleFormRestriction.evaluation R Y X f a g x v) |
| 104 | |
| 105 | variable (k : Fin (n+1)) (hUk : U ≤ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.coordinateOpen (R := R) k) |
| 106 | |
| 107 | abbrev scalar_evaluation := by |
| 108 | letI : Smooth X.hom := SmoothOfRelativeDimension.smooth g X.hom |
| 109 | have h := ProjectiveCoefficient.HomEvaluation.evaluation X f.left i g j B hB hg U hU k hUk z x |
| 110 | have ht := trace_evaluation X Y f i g j B hB hg U hU z x hgood |
| 111 | exact (congrArg (Integral.IntrinsicFormNormalization.Intrinsic.iso R X (i.left ⁻¹ᵁ U) g).hom h).symm.trans ht |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.AdjunctionEvaluation |