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.AbelianModuli.HilbertConstruction.Module.DualBaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RankOneDifferentialCoefficients |
| 3 | |
| 4 | /-! # Rank One Dual Presentation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RankOneDualPresentation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The dual of a rank-one differential presents precisely its coefficient ideal. Finite free duality also carries a zero scalar-extended differential to zero. -/ |
| 11 | open _root_.Module |
| 12 | universe u |
| 13 | variable {R M N : Type u} [CommRing R] [AddCommGroup M] [AddCommGroup N] |
| 14 | [Module R M] [Module R N] |
| 15 | |
| 16 | def rankOneDualCoefficientMap (e : R ≃ₗ[R] M) (f : M →ₗ[R] N) : |
| 17 | Module.Dual R N →ₗ[R] R where |
| 18 | toFun ℓ := ℓ (f (e 1)) |
| 19 | map_add' _ _ := rfl |
| 20 | map_smul' _ _ := rfl |
| 21 | |
| 22 | theorem rankOneDualCoefficientMap_ker (e : R ≃ₗ[R] M) (f : M →ₗ[R] N) : |
| 23 | (rankOneDualCoefficientMap e f).ker = f.dualMap.ker := by |
| 24 | ext ℓ |
| 25 | constructor |
| 26 | · intro h |
| 27 | apply LinearMap.ext |
| 28 | intro x |
| 29 | obtain ⟨r, rfl⟩ := e.surjective x |
| 30 | have he : e r = r • e 1 := by |
| 31 | simpa only [smul_eq_mul, mul_one] using e.map_smul r (1 : R) |
| 32 | change ℓ (f (e r)) = 0 |
| 33 | change ℓ (f (e 1)) = 0 at h |
| 34 | rw [he, f.map_smul, ℓ.map_smul, h, smul_zero] |
| 35 | · intro h |
| 36 | exact congrArg (fun z : Module.Dual R M => z (e 1)) h |
| 37 | |
| 38 | theorem rankOneDualCoefficientMap_range |
| 39 | {ι : Type u} [Fintype ι] (b : Basis ι R N) (e : R ≃ₗ[R] M) (f : M →ₗ[R] N) : |
| 40 | (rankOneDualCoefficientMap e f).range = |
| 41 | Ideal.span (Set.range fun i => b.repr (f (e 1)) i) := by |
| 42 | classical |
| 43 | let d := rankOneDualCoefficientMap e f |
| 44 | calc |
| 45 | d.range = (⊤ : Submodule R (Module.Dual R N)).map d := (Submodule.map_top d).symm |
| 46 | _ = (Submodule.span R (Set.range b.dualBasis)).map d := by rw [b.dualBasis.span_eq] |
| 47 | _ = Submodule.span R (Set.range fun i => d (b.dualBasis i)) := by |
| 48 | rw [Submodule.map_span, ← Set.range_comp] |
| 49 | rfl |
| 50 | _ = Ideal.span (Set.range fun i => b.repr (f (e 1)) i) := by |
| 51 | exact congrArg (fun v : ι → R => Ideal.span (Set.range v)) |
| 52 | (funext fun i => b.dualBasis_apply i (f (e 1))) |
| 53 | |
| 54 | theorem baseChange_dualMap_zero_of_zero |
| 55 | (B : Type u) [CommRing B] [Algebra R B] |
| 56 | [Module.Finite R M] [Module.Free R M] [Module.Finite R N] [Module.Free R N] |
| 57 | (f : M →ₗ[R] N) (hf : f.baseChange B = 0) : f.dualMap.baseChange B = 0 := by |
| 58 | apply LinearMap.ext |
| 59 | intro z |
| 60 | apply (HilbertConstruction.Module.DualBaseChange.moduleDualBaseChangeEquiv B M).injective |
| 61 | calc |
| 62 | HilbertConstruction.Module.DualBaseChange.moduleDualBaseChangeEquiv B M (f.dualMap.baseChange B z) = |
| 63 | (f.baseChange B).dualMap (HilbertConstruction.Module.DualBaseChange.moduleDualBaseChangeEquiv B N z) := |
| 64 | congrArg (fun h => h z) (HilbertConstruction.Module.DualBaseChange.moduleDualBaseChangeEquiv_naturality B f) |
| 65 | _ = 0 := by |
| 66 | rw [hf] |
| 67 | ext x |
| 68 | simp [LinearMap.dualMap_apply] |
| 69 | _ = HilbertConstruction.Module.DualBaseChange.moduleDualBaseChangeEquiv B M 0 := (map_zero _).symm |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RankOneDualPresentation |