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.Intrinsic.EtaleFormDuality |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.FormDualEvaluation |
| 3 | |
| 4 | /-! # Etale Form Evaluation -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.EtaleFormEvaluation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual source module-form sections are the coefficient dual of |
| 11 | actual target module-form sections. Evaluation at one agrees with the |
| 12 | original global finite étale de Rham trace through its native comparison. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | universe u v |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.EtaleFormDuality |
| 22 | |
| 23 | variable (R : Type u) [CommRing R] |
| 24 | (X Y : Over (Spec (CommRingCat.of R))) (f : X ⟶ Y) |
| 25 | [IsFinite f.left] [Etale f.left] (U : Y.left.Opens) [Fact (IsAffineOpen U)] |
| 26 | |
| 27 | local instance : Algebra (AffineOpen.DeRhamTrace.targetRing R Y U) (AffineOpen.DeRhamTrace.sourceRing R X Y f U) := |
| 28 | AffineOpen.DeRhamTrace.sectionAlgebra R X Y f U |
| 29 | local instance : IsScalarTower R (AffineOpen.DeRhamTrace.targetRing R Y U) (AffineOpen.DeRhamTrace.sourceRing R X Y f U) := |
| 30 | AffineOpen.DeRhamTrace.sectionTower R X Y f U |
| 31 | local instance : Algebra.Etale (AffineOpen.DeRhamTrace.targetRing R Y U) (AffineOpen.DeRhamTrace.sourceRing R X Y f U) := |
| 32 | AffineOpen.DeRhamTrace.sectionEtale R X Y f U Fact.out |
| 33 | |
| 34 | variable (σ : Type u) [Fintype σ] [LinearOrder σ] |
| 35 | [Algebra (MvPolynomial σ R) (AffineOpen.DeRhamTrace.targetRing R Y U)] |
| 36 | [IsScalarTower R (MvPolynomial σ R) (AffineOpen.DeRhamTrace.targetRing R Y U)] |
| 37 | [Algebra.Etale (MvPolynomial σ R) (AffineOpen.DeRhamTrace.targetRing R Y U)] |
| 38 | |
| 39 | local instance : Algebra (MvPolynomial σ R) (AffineOpen.DeRhamTrace.sourceRing R X Y f U) := |
| 40 | AffineOpen.DeRhamTrace.polynomialSource R X Y f U σ |
| 41 | local instance : IsScalarTower (MvPolynomial σ R) (AffineOpen.DeRhamTrace.targetRing R Y U) (AffineOpen.DeRhamTrace.sourceRing R X Y f U) := |
| 42 | AffineOpen.DeRhamTrace.polynomialTower R X Y f U σ |
| 43 | local instance : IsScalarTower R (MvPolynomial σ R) (AffineOpen.DeRhamTrace.sourceRing R X Y f U) := |
| 44 | AffineOpen.DeRhamTrace.polynomialBaseTower R X Y f U σ |
| 45 | local instance : Algebra.Etale (MvPolynomial σ R) (AffineOpen.DeRhamTrace.sourceRing R X Y f U) := |
| 46 | AffineOpen.DeRhamTrace.sourceEtale R X Y f U σ |
| 47 | |
| 48 | local instance sourceScalar (n : ℕ) : Module (AffineOpen.DeRhamTrace.sourceRing R X Y f U) (EtaleFormDuality.sourceSections R X Y f U n) := |
| 49 | inferInstanceAs (Module Γ(X.left, f.left ⁻¹ᵁ U) (EtaleFormDuality.sourceSections R X Y f U n)) |
| 50 | local instance targetScalar (n : ℕ) : Module (AffineOpen.DeRhamTrace.targetRing R Y U) (EtaleFormDuality.targetSections R Y U n) := |
| 51 | inferInstanceAs (Module Γ(Y.left, U) (EtaleFormDuality.targetSections R Y U n)) |
| 52 | local instance restrictedScalar (n : ℕ) : Module (AffineOpen.DeRhamTrace.targetRing R Y U) (EtaleFormDuality.sourceSections R X Y f U n) := |
| 53 | Module.compHom (EtaleFormDuality.sourceSections R X Y f U n) (algebraMap (AffineOpen.DeRhamTrace.targetRing R Y U) (AffineOpen.DeRhamTrace.sourceRing R X Y f U)) |
| 54 | local instance (n : ℕ) : IsScalarTower (AffineOpen.DeRhamTrace.targetRing R Y U) (AffineOpen.DeRhamTrace.sourceRing R X Y f U) |
| 55 | (EtaleFormDuality.sourceSections R X Y f U n) := IsScalarTower.of_algebraMap_smul (fun _ _ => rfl) |
| 56 | |
| 57 | variable [Module.Free (AffineOpen.DeRhamTrace.targetRing R Y U) (AffineOpen.DeRhamTrace.sourceRing R X Y f U)] |
| 58 | [Module.Finite (AffineOpen.DeRhamTrace.targetRing R Y U) (AffineOpen.DeRhamTrace.sourceRing R X Y f U)] |
| 59 | |
| 60 | omit [Fintype σ] in |
| 61 | theorem smul (n : ℕ) (b x : AffineOpen.DeRhamTrace.sourceRing R X Y f U) (z : EtaleFormDuality.sourceSections R X Y f U n) : |
| 62 | EtaleFormDuality.equiv R X Y f U σ n (b • z) x = EtaleFormDuality.equiv R X Y f U σ n z (b * x) := by |
| 63 | obtain ⟨ω, rfl⟩ := IntegralComparison.Etale.FormSections.Integral.unit_bijective R X (f.left ⁻¹ᵁ U) |
| 64 | ((Fact.out : IsAffineOpen U).preimage f.left) σ n |>.surjective z |
| 65 | rw [← (Integral.FormSectionUnit.unit R X n (f.left ⁻¹ᵁ U)).map_smul, |
| 66 | EtaleFormDuality.equiv_unit, EtaleFormDuality.equiv_unit, IntegralComparison.Etale.FormDualEvaluation.smul] |
| 67 | |
| 68 | variable [IsProper Y.hom] [Smooth Y.hom] |
| 69 | |
| 70 | theorem evaluation (n : ℕ) (b : AffineOpen.DeRhamTrace.sourceRing R X Y f U) (z : EtaleFormDuality.sourceSections R X Y f U n) : |
| 71 | (Integral.IntrinsicFormNormalization.Intrinsic.iso R Y U n).hom (EtaleFormDuality.equiv R X Y f U σ n z b) = |
| 72 | ((FiniteEtale.DeRhamSheafTrace.trace R X Y f).f n).hom.app (op U) |
| 73 | ((Integral.IntrinsicFormNormalization.Intrinsic.iso R X (f.left ⁻¹ᵁ U) n).hom (b • z)) := by |
| 74 | calc |
| 75 | _ = (Integral.IntrinsicFormNormalization.Intrinsic.iso R Y U n).hom |
| 76 | (EtaleFormDuality.equiv R X Y f U σ n (b • z) 1) := by rw [smul, mul_one] |
| 77 | _ = _ := EtaleFormDuality.global_trace R X Y f U σ |
| 78 | (Module.Free.chooseBasis (AffineOpen.DeRhamTrace.targetRing R Y U) (AffineOpen.DeRhamTrace.sourceRing R X Y f U)) n (b • z) |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.EtaleFormEvaluation |