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.FiniteEtale.AdjunctionEvaluation |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveCoefficient.HomDegreeCoordinates |
| 3 | |
| 4 | /-! # Adjunction Degree Coordinates -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.AdjunctionDegreeCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The same explicit codimension transport is used by finite top-form |
| 11 | adjunction, coefficient evaluation, and the 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 |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveCoefficient.HomLocal |
| 18 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] {n : ℕ} |
| 19 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 20 | variable (X Y : Over (Spec (CommRingCat.of R))) (f : Y ⟶ X) |
| 21 | [IsFinite f.left] [Etale f.left] |
| 22 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model R n) [IsClosedImmersion i.left] |
| 23 | (g c : ℕ) [SmoothOfRelativeDimension g X.hom] [IsProper X.hom] |
| 24 | (hc : c=n-g) (j : Fin (n+1)) (B : ℕ) (hB : n+1≤B) (hg : g≤n) |
| 25 | local instance coefficient_qc : (FormSheafDuality.coefficients R Y X f).IsQuasicoherent := |
| 26 | FormSheafDuality.coefficient_qc R Y X f |
| 27 | |
| 28 | def iso : (ProjectiveCoefficient.HomLocal.coefficientDual X f.left i j B).homology c ≅ |
| 29 | (Scheme.Modules.pushforward i.left).obj |
| 30 | ((Scheme.Modules.pushforward f.left).obj (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R Y g)) := |
| 31 | eqToIso (congrArg (fun d => (ProjectiveCoefficient.HomLocal.coefficientDual X f.left i j B).homology d) hc) ≪≫ |
| 32 | ProjectiveFinite.EtaleAdjunction.iso X Y f i g j B hB hg |
| 33 | |
| 34 | theorem coefficient_map : |
| 35 | letI : Smooth X.hom := SmoothOfRelativeDimension.smooth g X.hom |
| 36 | (iso X Y f i g c hc j B hB hg).hom ≫ |
| 37 | (Scheme.Modules.pushforward i.left).map (FormSheafDuality.iso R Y X f g).hom ≫ |
| 38 | (Closed.InternalHom.iso i.left (FormSheafDuality.coefficients R Y X f) |
| 39 | (GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R X g)).hom = |
| 40 | (ProjectiveCoefficient.HomDegreeCoordinates.iso X f.left i g c hc j B hB hg).hom := by |
| 41 | let : Smooth X.hom := SmoothOfRelativeDimension.smooth g X.hom |
| 42 | have h := AdjunctionEvaluation.coefficient_map X Y f i g j B hB hg |
| 43 | simpa only [iso, ProjectiveCoefficient.HomDegreeCoordinates.iso, |
| 44 | Iso.trans_hom, Category.assoc] using congrArg |
| 45 | (fun a => (eqToIso (congrArg |
| 46 | (fun d => (ProjectiveCoefficient.HomLocal.coefficientDual X f.left i j B).homology d) hc)).hom ≫ a) h |
| 47 | |
| 48 | variable (U : (Projective.IntrinsicOverlap.Intrinsic.space R n).Opens) (hU : IsAffineOpen U) |
| 49 | (z : Γ((ProjectiveCoefficient.HomLocal.coefficientDual X f.left i j B).homology c, U)) |
| 50 | (x : Γ(ProjectiveCoefficient.HomLocal.coefficient X f.left i, U)) |
| 51 | (hgood : TraceBasis.Good R Y X f (i.left ⁻¹ᵁ U)) |
| 52 | |
| 53 | include hU hgood in |
| 54 | theorem trace_evaluation : |
| 55 | letI : Smooth X.hom := SmoothOfRelativeDimension.smooth g X.hom |
| 56 | (Integral.IntrinsicFormNormalization.Intrinsic.iso R X (i.left ⁻¹ᵁ U) g).hom |
| 57 | (ArithmeticGeometry.OrdinaryLocus.Openness.SheafHomEvaluation.Construction.sheafHomEvalAtOpen (ProjectiveCoefficient.HomLocal.coefficient X f.left i) (ProjectiveCoefficient.HomLocal.formSheaf X i g) U |
| 58 | ((ProjectiveCoefficient.HomDegreeCoordinates.iso X f.left i g c hc j B hB hg).hom.app U z) x) = |
| 59 | ((DeRhamSheafTrace.trace R Y X f).f g).hom.app (op (i.left ⁻¹ᵁ U)) |
| 60 | ((Integral.IntrinsicFormNormalization.Intrinsic.iso R Y (f.left ⁻¹ᵁ (i.left ⁻¹ᵁ U)) g).hom |
| 61 | ((show Γ(Y.left, f.left ⁻¹ᵁ (i.left ⁻¹ᵁ U)) from x) • |
| 62 | (show Γ(GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf R Y g, f.left ⁻¹ᵁ (i.left ⁻¹ᵁ U)) from |
| 63 | (iso X Y f i g c hc j B hB hg).hom.app U z))) := by |
| 64 | let : Smooth X.hom := SmoothOfRelativeDimension.smooth g X.hom |
| 65 | exact AdjunctionEvaluation.trace_evaluation X Y f i g j B hB hg U hU |
| 66 | ((eqToIso (congrArg (fun d => (ProjectiveCoefficient.HomLocal.coefficientDual X f.left i j B).homology d) hc)).hom.app U z) |
| 67 | x hgood |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.AdjunctionDegreeCoordinates |