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.PeriodInvariants.EtaComplex |
| 2 | |
| 3 | /-! # Eta Cycles -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.PeriodInvariants.EtaCycles |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Cycles of the eta complex |
| 11 | |
| 12 | For termwise a-torsion-free complexes, multiplication by a^n identifies |
| 13 | the original cycles in degree n with the cycles of the eta complex. |
| 14 | -/ |
| 15 | |
| 16 | universe u v |
| 17 | |
| 18 | open _root_.CategoryTheory OAI.NumberTheory.PadicHodge.PeriodInvariants.EtaComplex |
| 19 | |
| 20 | variable {R : Type u} [CommRing R] (a : R) |
| 21 | |
| 22 | def cycles (C : CochainComplex (ModuleCat.{v} R) ℕ) (n : ℕ) : Submodule R (C.X n) := |
| 23 | LinearMap.ker (C.d n (n + 1)).hom |
| 24 | |
| 25 | def etaCycles (C : CochainComplex (ModuleCat.{v} R) ℕ) (n : ℕ) : |
| 26 | Submodule R (EtaComplex.term a C n) := LinearMap.ker (EtaComplex.differential a C n) |
| 27 | |
| 28 | def scaledTerm (C : CochainComplex (ModuleCat.{v} R) ℕ) (n : ℕ) : |
| 29 | cycles C n →ₗ[R] EtaComplex.term a C n where |
| 30 | toFun x := ⟨a ^ n • (x : C.X n), (EtaComplex.mem_term a C n _).mpr |
| 31 | ⟨⟨x, rfl⟩, ⟨0, by |
| 32 | have hx : C.d n (n + 1) x = 0 := x.property |
| 33 | rw [map_smul, hx, smul_zero, smul_zero]⟩⟩⟩ |
| 34 | map_add' x y := Subtype.ext (smul_add (a ^ n) (x : C.X n) (y : C.X n)) |
| 35 | map_smul' r x := Subtype.ext (smul_comm (a ^ n) r (x : C.X n)) |
| 36 | |
| 37 | theorem scaledTerm_cycle (C : CochainComplex (ModuleCat.{v} R) ℕ) (n : ℕ) (x : cycles C n) : |
| 38 | EtaComplex.differential a C n (scaledTerm a C n x) = 0 := by |
| 39 | apply Subtype.ext |
| 40 | change C.d n (n + 1) (a ^ n • (x : C.X n)) = 0 |
| 41 | have hx : C.d n (n + 1) x = 0 := x.property |
| 42 | rw [map_smul, hx, smul_zero] |
| 43 | |
| 44 | def scaleCycles (C : CochainComplex (ModuleCat.{v} R) ℕ) (n : ℕ) : |
| 45 | cycles C n →ₗ[R] etaCycles a C n := |
| 46 | (scaledTerm a C n).codRestrict _ (scaledTerm_cycle a C n) |
| 47 | |
| 48 | theorem scaleCycles_injective (C : CochainComplex (ModuleCat.{v} R) ℕ) (n : ℕ) |
| 49 | (ha : IsSMulRegular (C.X n) a) : Function.Injective (scaleCycles a C n) := by |
| 50 | intro x y h |
| 51 | apply Subtype.ext |
| 52 | apply ha.pow n |
| 53 | exact congrArg (fun z : etaCycles a C n => (z.val : C.X n)) h |
| 54 | |
| 55 | theorem scaleCycles_surjective (C : CochainComplex (ModuleCat.{v} R) ℕ) (n : ℕ) |
| 56 | (ha : IsSMulRegular (C.X (n + 1)) a) : Function.Surjective (scaleCycles a C n) := by |
| 57 | intro x |
| 58 | obtain ⟨⟨y, hy⟩, _⟩ := (EtaComplex.mem_term a C n x.val).mp x.val.property |
| 59 | have hx : C.d n (n + 1) (x.val : C.X n) = 0 := |
| 60 | congrArg (fun z : EtaComplex.term a C (n + 1) => (z : C.X (n + 1))) |
| 61 | (show EtaComplex.differential a C n x.val = 0 from x.property) |
| 62 | have hycycle : C.d n (n + 1) y = 0 := by |
| 63 | apply ha.pow n |
| 64 | change a ^ n • C.d n (n + 1) y = a ^ n • (0 : C.X (n + 1)) |
| 65 | rw [smul_zero, ← map_smul, hy] |
| 66 | exact hx |
| 67 | refine ⟨⟨y, hycycle⟩, ?_⟩ |
| 68 | apply Subtype.ext |
| 69 | exact Subtype.ext hy |
| 70 | |
| 71 | def cyclesEquiv (C : CochainComplex (ModuleCat.{v} R) ℕ) (n : ℕ) |
| 72 | (ha : IsSMulRegular (C.X n) a) (ha' : IsSMulRegular (C.X (n + 1)) a) : |
| 73 | cycles C n ≃ₗ[R] etaCycles a C n := |
| 74 | LinearEquiv.ofBijective (scaleCycles a C n) |
| 75 | ⟨scaleCycles_injective a C n ha, scaleCycles_surjective a C n ha'⟩ |
| 76 | |
| 77 | theorem cyclesEquiv_apply (C : CochainComplex (ModuleCat.{v} R) ℕ) (n : ℕ) |
| 78 | (ha : IsSMulRegular (C.X n) a) (ha' : IsSMulRegular (C.X (n + 1)) a) |
| 79 | (x : cycles C n) : |
| 80 | ((cyclesEquiv a C n ha ha' x).val : C.X n) = a ^ n • (x : C.X n) := rfl |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.NumberTheory.PadicHodge.PeriodInvariants.EtaCycles |