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.AlgebraicGeometry.HilbertScheme.Presentations.IdealTensor.BaseChangeNaturality |
| 2 | |
| 3 | /-! # Base Change Presentation Relations -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.BaseChangePresentationRelations |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The old relation module generates the kernel of the actual base-changed |
| 10 | presentation. The map and its formula use the same relation units as the |
| 11 | obstruction comparison. -/ |
| 12 | |
| 13 | open TensorProduct |
| 14 | |
| 15 | universe u v w t z |
| 16 | variable {B : Type u} [CommRing B] (A : Type v) [CommRing A] [Algebra B A] |
| 17 | variable {F : Type w} [AddCommGroup F] [Module B F] |
| 18 | variable {M : Type t} [AddCommGroup M] [Module B M] |
| 19 | |
| 20 | def baseChangePresentationRelationMap (q : F →ₗ[B] M) : |
| 21 | A ⊗[B] q.ker →ₗ[A] (q.baseChange A).ker := |
| 22 | (q.ker.subtype.baseChange A).codRestrict _ (fun x => by |
| 23 | induction x with |
| 24 | | tmul a r => |
| 25 | change a ⊗ₜ[B] q r.val = 0 |
| 26 | rw [r.property, TensorProduct.tmul_zero] |
| 27 | | add x y hx hy => |
| 28 | simp only [LinearMap.mem_ker] at hx hy |
| 29 | change q.baseChange A (q.ker.subtype.baseChange A (x + y)) = 0 |
| 30 | simp only [map_add, hx, hy, add_zero]) |
| 31 | |
| 32 | theorem baseChangePresentationRelationMap_tmul (q : F →ₗ[B] M) (a : A) (z : q.ker) : |
| 33 | baseChangePresentationRelationMap A q (a ⊗ₜ[B] z) = |
| 34 | a • IdealTensor.BaseChangeNaturality.baseChangePresentationRelationUnit B A q z := by |
| 35 | apply Subtype.ext |
| 36 | change a ⊗ₜ[B] z.val = a • ((1 : A) ⊗ₜ[B] z.val) |
| 37 | rw [TensorProduct.smul_tmul', smul_eq_mul, mul_one] |
| 38 | |
| 39 | theorem baseChangePresentationRelationMap_surjective (q : F →ₗ[B] M) |
| 40 | (hq : Function.Surjective q) : Function.Surjective (baseChangePresentationRelationMap A q) := by |
| 41 | intro z |
| 42 | obtain ⟨x, hx⟩ := (lTensor_exact A q.exact_subtype_ker_map hq z.val).mp z.property |
| 43 | exact ⟨x, Subtype.ext hx⟩ |
| 44 | |
| 45 | variable {N : Type z} [AddCommGroup N] [Module B N] [Module A N] [IsScalarTower B A N] |
| 46 | |
| 47 | def extendModuleScalarMap (h : F →ₗ[B] N) : A ⊗[B] F →ₗ[A] N := |
| 48 | AlgebraTensorModule.lift (LinearMap.toSpanSingleton A (F →ₗ[B] N) h) |
| 49 | |
| 50 | theorem extendModuleScalarMap_tmul (h : F →ₗ[B] N) (a : A) (x : F) : |
| 51 | extendModuleScalarMap A h (a ⊗ₜ[B] x) = a • h x := rfl |
| 52 | |
| 53 | theorem baseChange_relation_extension |
| 54 | (q : F →ₗ[B] M) (hq : Function.Surjective q) |
| 55 | (l : (q.baseChange A).ker →ₗ[A] N) (h : F →ₗ[B] N) |
| 56 | (hh : ∀ z : q.ker, h z.val = l (IdealTensor.BaseChangeNaturality.baseChangePresentationRelationUnit B A q z)) |
| 57 | (z : (q.baseChange A).ker) : |
| 58 | extendModuleScalarMap A h z.val = l z := by |
| 59 | obtain ⟨x, rfl⟩ := baseChangePresentationRelationMap_surjective A q hq z |
| 60 | induction x with |
| 61 | | tmul a r => |
| 62 | change a • h r.val = l (baseChangePresentationRelationMap A q (a ⊗ₜ[B] r)) |
| 63 | rw [baseChangePresentationRelationMap_tmul, map_smul, hh r] |
| 64 | | add x y hx hy => |
| 65 | simp only [map_add, AddMemClass.coe_add, hx, hy] |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.BaseChangePresentationRelations |