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.HodgeConjecture.HeckeCycles.Rational.FrameBilinearExt |
| 2 | |
| 3 | /-! # Frame Semilinear Ext -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Rational.FrameSemilinearExt.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Conjugate-linear maps are determined on the actual rational frame. -/ |
| 10 | |
| 11 | open scoped Classical |
| 12 | |
| 13 | variable {I U V W : Type*} [Fintype I] [DecidableEq I] |
| 14 | [AddCommGroup U] [Module ℚ U] [AddCommGroup V] [Module ℂ V] |
| 15 | [AddCommGroup W] [Module ℂ W] |
| 16 | (q : U ≃ₗ[ℚ] (I → ℚ)) (e : V ≃ₗ[ℂ] (I → ℂ)) (r : U → V) |
| 17 | (hr : ∀ x, e (r x) = fun i => (q x i : ℂ)) |
| 18 | |
| 19 | include hr in |
| 20 | theorem ext (A B : V →ₗ⋆[ℂ] W) (h : ∀ x, A (r x) = B (r x)) : A = B := by |
| 21 | have hs (i : I) : (Pi.single i (1 : ℂ) : I → ℂ) = |
| 22 | fun j => ((Pi.single i (1 : ℚ) : I → ℚ) j : ℂ) := by |
| 23 | funext j |
| 24 | simp only [Pi.single_apply] |
| 25 | split_ifs <;> norm_num |
| 26 | have heq : A.comp e.symm.toLinearMap = B.comp e.symm.toLinearMap := by |
| 27 | apply (Pi.basisFun ℂ I).ext |
| 28 | intro i |
| 29 | simp only [LinearMap.comp_apply, LinearEquiv.coe_coe, Pi.basisFun_apply, hs, |
| 30 | FrameBilinearExt.CM.inverse_rational q e r hr] |
| 31 | exact h _ |
| 32 | apply LinearMap.ext |
| 33 | intro x |
| 34 | simpa only [LinearMap.comp_apply, LinearEquiv.coe_coe, LinearEquiv.symm_apply_apply] using |
| 35 | LinearMap.congr_fun heq (e x) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Rational.FrameSemilinearExt.CM |