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.AdditiveResidue |
| 2 | |
| 3 | /-! # Additive Selected Class -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.AdditiveSelectedClass |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The selected finite residue is fixed by its component and is |
| 10 | annihilated by functions vanishing at the selected section. -/ |
| 11 | open _root_.CategoryTheory |
| 12 | open scoped TensorProduct |
| 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 w |
| 17 | variable {C : Type v} [Category C] |
| 18 | (Q B k : Type u) [CommRing Q] [CommRing B] [CommRing k] |
| 19 | [Algebra Q B] [Algebra Q k] [Module.Free Q B] [Module.Finite Q B] [Algebra.Etale Q B] |
| 20 | (P : C ⥤ ModuleCat.{u} Q) |
| 21 | (F : (C ⥤ ModuleCat.{u} Q) ⥤ AddCommGrpCat.{w}) [F.Additive] |
| 22 | (ε : B →ₐ[Q] k) (lift : k → Q) (hlift : ∀ x, algebraMap Q k (lift x) = x) |
| 23 | (y : F.obj P) |
| 24 | (hy : ∀ r : Q, algebraMap Q k r = 0 → F.map (PresheafTrace.scalar Q P r) y = 0) |
| 25 | (z : B) |
| 26 | (hz : (1 ⊗ₜ[Q] z : k ⊗[Q] B) = FiberSectionTrace.component Q B k ε) |
| 27 | |
| 28 | include hlift hy hz in |
| 29 | theorem pairing_inserted (b x : B) : |
| 30 | F.map (PresheafTrace.pairing Q B P x) (F.map (PresheafTrace.insertion Q B P (z*b)) y) = |
| 31 | F.map (PresheafTrace.scalar Q P (lift (ε (b*x)))) y := by |
| 32 | rw [← ConcreteCategory.comp_apply, ← F.map_comp, PresheafTrace.insertion_pairing, mul_assoc] |
| 33 | exact AdditiveResidue.trace_scalar Q B k P F ε lift hlift y hy z hz (b*x) |
| 34 | |
| 35 | include hlift hy hz in |
| 36 | theorem insertion_same (b₁ b₂ : B) (hb : ε b₁ = ε b₂) : |
| 37 | F.map (PresheafTrace.insertion Q B P (z*b₁)) y = F.map (PresheafTrace.insertion Q B P (z*b₂)) y := by |
| 38 | apply PresheafTraceElements.jointly_injective Q B P F |
| 39 | intro x |
| 40 | rw [pairing_inserted Q B k P F ε lift hlift y hy z hz, |
| 41 | pairing_inserted Q B k P F ε lift hlift y hy z hz, |
| 42 | map_mul, map_mul, hb] |
| 43 | |
| 44 | include hlift hy hz in |
| 45 | theorem fixed (he : ε z = 1) : |
| 46 | F.map (PresheafTrace.insertion Q B P (z*z)) y = F.map (PresheafTrace.insertion Q B P z) y := by |
| 47 | have h := insertion_same Q B k P F ε lift hlift y hy z hz z 1 (he.trans (map_one ε).symm) |
| 48 | simpa only [mul_one] using h |
| 49 | |
| 50 | omit [Module.Free Q B] [Module.Finite Q B] [Algebra.Etale Q B] in |
| 51 | private theorem insertion_zero : PresheafTrace.insertion Q B P (0 : B) = 0 := by |
| 52 | apply NatTrans.ext |
| 53 | funext a |
| 54 | apply ModuleCat.hom_ext |
| 55 | apply LinearMap.ext |
| 56 | intro x |
| 57 | change (0 : B) ⊗ₜ[Q] x = 0 |
| 58 | exact TensorProduct.zero_tmul _ _ |
| 59 | |
| 60 | include hlift hy hz in |
| 61 | theorem annihilated (b : B) (hb : ε b = 0) : |
| 62 | F.map (PresheafTrace.insertion Q B P (z*b)) y = 0 := by |
| 63 | have h := insertion_same Q B k P F ε lift hlift y hy z hz b 0 (hb.trans (map_zero ε).symm) |
| 64 | rw [mul_zero, insertion_zero, F.map_zero] at h |
| 65 | exact h |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.AdditiveSelectedClass |