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.Etale.DeRhamTraceNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.FormScalarExtension |
| 3 | |
| 4 | /-! # De Rham Trace Coordinates -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.DeRhamTraceCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The projection formula characterizes the native trace independently |
| 11 | of the polynomial étale coordinates used to construct it. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u v w |
| 17 | |
| 18 | variable (R A B σ : Type u) [CommRing R] [CommRing A] [CommRing B] |
| 19 | [Algebra R A] [Algebra R B] [Algebra A B] [IsScalarTower R A B] |
| 20 | [Algebra (MvPolynomial σ R) A] [Algebra (MvPolynomial σ R) B] |
| 21 | [IsScalarTower R (MvPolynomial σ R) A] [IsScalarTower R (MvPolynomial σ R) B] |
| 22 | [IsScalarTower (MvPolynomial σ R) A B] |
| 23 | [Algebra.FormallyEtale (MvPolynomial σ R) A] |
| 24 | [Algebra.FormallyEtale (MvPolynomial σ R) B] |
| 25 | [Fintype σ] [LinearOrder σ] |
| 26 | {ι : Type v} [Fintype ι] (b : Module.Basis ι A B) |
| 27 | |
| 28 | private theorem smul_symbol {S : Type u} [CommRing S] [Algebra R S] |
| 29 | (n : ℕ) (x y : S) (v : Fin n → S) : |
| 30 | x • AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R S y v = |
| 31 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R S (x * y) v := by |
| 32 | rw [AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol_smul_one R S y v, |
| 33 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol_smul_one R S (x * y) v, smul_smul] |
| 34 | |
| 35 | def formTrace (n : ℕ) : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R B n →ₗ[R] AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n := |
| 36 | ((DeRhamTrace.trace R A B σ b).f n).hom |
| 37 | |
| 38 | theorem trace_projection_formula (n : ℕ) (x : B) (ω : AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n) : |
| 39 | formTrace R A B σ b n (x • OrdinaryFormScalars.Ordinary.map R A B n ω) = |
| 40 | Algebra.trace A B x • ω := by |
| 41 | have he : (formTrace R A B σ b n).comp |
| 42 | (x • (OrdinaryFormScalars.Ordinary.map R A B n).restrictScalars R) = |
| 43 | Algebra.trace A B x • (LinearMap.id : Module.End R (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.Form R A n)) := by |
| 44 | apply DeRhamTraceNaturality.formMap_ext R A σ n |
| 45 | intro a v |
| 46 | change formTrace R A B σ b n |
| 47 | (x • OrdinaryFormScalars.Ordinary.map R A B n |
| 48 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a (AlgebraicGeometry.Crystalline.Cohomology.EtaleCoordinate.EtaleCoordinateDerivations.coordinate R A σ ∘ v))) = |
| 49 | Algebra.trace A B x • |
| 50 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a (AlgebraicGeometry.Crystalline.Cohomology.EtaleCoordinate.EtaleCoordinateDerivations.coordinate R A σ ∘ v) |
| 51 | have hpb := DeRhamTraceNaturality.pullback_coordinate_symbol R A B σ n a v |
| 52 | change OrdinaryFormScalars.Ordinary.map R A B n |
| 53 | (AlgebraicGeometry.Crystalline.Cohomology.DeRhamPresentationTo.DeRhamPresentation.symbol R A a (AlgebraicGeometry.Crystalline.Cohomology.EtaleCoordinate.EtaleCoordinateDerivations.coordinate R A σ ∘ v)) = _ at hpb |
| 54 | rw [hpb, smul_symbol] |
| 55 | have ht := DeRhamTrace.trace_coordinate_symbol R A B σ b n (x * algebraMap A B a) v |
| 56 | change formTrace R A B σ b n _ = _ at ht |
| 57 | rw [ht, smul_symbol] |
| 58 | congr 1 |
| 59 | calc |
| 60 | Algebra.trace A B (x * algebraMap A B a) = Algebra.trace A B (a • x) := by |
| 61 | rw [Algebra.smul_def, mul_comm] |
| 62 | _ = a * Algebra.trace A B x := (Algebra.trace A B).map_smul a x |
| 63 | _ = Algebra.trace A B x * a := mul_comm _ _ |
| 64 | exact LinearMap.congr_fun he ω |
| 65 | |
| 66 | variable (τ : Type u) [Fintype τ] [LinearOrder τ] |
| 67 | [Algebra (MvPolynomial τ R) A] [Algebra (MvPolynomial τ R) B] |
| 68 | [IsScalarTower R (MvPolynomial τ R) A] [IsScalarTower R (MvPolynomial τ R) B] |
| 69 | [IsScalarTower (MvPolynomial τ R) A B] |
| 70 | [Algebra.FormallyEtale (MvPolynomial τ R) A] |
| 71 | [Algebra.FormallyEtale (MvPolynomial τ R) B] |
| 72 | {κ : Type w} [Fintype κ] (c : Module.Basis κ A B) |
| 73 | |
| 74 | theorem trace_coordinate_independent : DeRhamTrace.trace R A B σ b = DeRhamTrace.trace R A B τ c := by |
| 75 | apply HomologicalComplex.Hom.ext |
| 76 | funext n |
| 77 | apply ModuleCat.hom_ext |
| 78 | apply LinearMap.ext |
| 79 | intro ω |
| 80 | let e := (FormScalarExtension.isBaseChange R A B σ n).equiv |
| 81 | obtain ⟨z, rfl⟩ := e.surjective ω |
| 82 | change formTrace R A B σ b n (e z) = formTrace R A B τ c n (e z) |
| 83 | induction z using TensorProduct.inductionOn with |
| 84 | | tmul x η => |
| 85 | change formTrace R A B σ b n (x • OrdinaryFormScalars.Ordinary.map R A B n η) = |
| 86 | formTrace R A B τ c n (x • OrdinaryFormScalars.Ordinary.map R A B n η) |
| 87 | rw [trace_projection_formula, trace_projection_formula] |
| 88 | | add x y hx hy => simp only [map_add, hx, hy] |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Etale.DeRhamTraceCoordinates |