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.Geometry.ComplexTorus.RiemannProjectivity.GenericProjectionOn |
| 2 | import Mathlib.Analysis.Normed.Ring.Units |
| 3 | import Mathlib.Analysis.Normed.Operator.Banach |
| 4 | import Mathlib.LinearAlgebra.Basis.VectorSpace |
| 5 | |
| 6 | /-! # Regular Projection Is -/ |
| 7 | |
| 8 | namespace OAI.Geometry.ComplexTorus.RiemannProjectivity.RegularProjectionIs.Constructions.RegularProjection |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # RiemannProjectivity: cone projections with a prescribed regular tangent space |
| 14 | |
| 15 | The cone-avoiding matrices are dense. Invertibility on a fixed tangent |
| 16 | space is an open, nonempty condition, so the projection can satisfy both |
| 17 | requirements simultaneously. |
| 18 | -/ |
| 19 | |
| 20 | open Set _root_.Module |
| 21 | open scoped BigOperators |
| 22 | |
| 23 | variable {n k : ℕ} |
| 24 | |
| 25 | /-- View columns as the continuous linear operator they define. -/ |
| 26 | def matrixOperator : (Fin (n + 1) → Fin k → ℂ) →ₗ[ℂ] |
| 27 | ((Fin (n + 1) → ℂ) →L[ℂ] (Fin k → ℂ)) := |
| 28 | ∑ j : Fin (n + 1), |
| 29 | ((ContinuousLinearMap.proj j : (Fin (n + 1) → ℂ) →L[ℂ] ℂ).smulRightₗ).comp |
| 30 | (LinearMap.proj j) |
| 31 | |
| 32 | theorem matrixOperator_apply (M : Fin (n + 1) → Fin k → ℂ) (v : Fin (n + 1) → ℂ) : |
| 33 | matrixOperator M v = ∑ j, v j • M j := by |
| 34 | simp [matrixOperator, LinearMap.sum_apply] |
| 35 | |
| 36 | theorem matrixOperator_columns (L : (Fin (n + 1) → ℂ) →L[ℂ] (Fin k → ℂ)) : |
| 37 | matrixOperator (fun j => L (Pi.single j 1)) = L := by |
| 38 | classical |
| 39 | ext v i |
| 40 | have heq : ∑ j : Fin (n + 1), v j • Pi.single j (1 : ℂ) = v := by |
| 41 | ext j |
| 42 | simp [Finset.sum_apply, Pi.single_apply] |
| 43 | have h : matrixOperator (fun j => L (Pi.single j 1)) v = L v := by |
| 44 | rw [matrixOperator_apply] |
| 45 | simp_rw [← map_smul] |
| 46 | rw [← map_sum] |
| 47 | exact congrArg L heq |
| 48 | exact congrFun h i |
| 49 | |
| 50 | theorem isOpen_regular_matrices |
| 51 | (A : (Fin k → ℂ) →L[ℂ] (Fin (n + 1) → ℂ)) : |
| 52 | IsOpen {M : Fin (n + 1) → Fin k → ℂ | Function.Bijective ((matrixOperator M).comp A)} := by |
| 53 | have hc : Continuous (fun M : Fin (n + 1) → Fin k → ℂ => (matrixOperator M).comp A) := |
| 54 | matrixOperator.continuous_of_finiteDimensional.clm_comp continuous_const |
| 55 | simpa only [Set.preimage_ofPred_eq, ContinuousLinearMap.isUnit_iff_bijective] using! |
| 56 | Units.isOpen.preimage hc |
| 57 | |
| 58 | theorem nonempty_regular_matrices |
| 59 | (A : (Fin k → ℂ) →L[ℂ] (Fin (n + 1) → ℂ)) (hA : Function.Injective A) : |
| 60 | {M : Fin (n + 1) → Fin k → ℂ | Function.Bijective ((matrixOperator M).comp A)}.Nonempty := by |
| 61 | obtain ⟨g, hg⟩ := A.toLinearMap.exists_leftInverse_of_injective (LinearMap.ker_eq_bot.mpr hA) |
| 62 | let L := g.toContinuousLinearMap |
| 63 | refine ⟨fun j => L (Pi.single j 1), ?_⟩ |
| 64 | change Function.Bijective ((matrixOperator (fun j => L (Pi.single j 1))).comp A) |
| 65 | rw [matrixOperator_columns] |
| 66 | have heq : L.comp A = ContinuousLinearMap.id ℂ (Fin k → ℂ) := by |
| 67 | apply ContinuousLinearMap.ext |
| 68 | intro v |
| 69 | exact LinearMap.congr_fun hg v |
| 70 | rw [heq] |
| 71 | exact Function.bijective_id |
| 72 | |
| 73 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] |
| 74 | [NormedSpace ℝ V] [IsScalarTower ℝ ℂ V] [FiniteDimensional ℂ V] |
| 75 | |
| 76 | /-- Avoid the entire projective cone while remaining invertible on one |
| 77 | prescribed tangent space of the same dimension as the projection target. -/ |
| 78 | theorem exists_regular_projection_avoiding (hk : finrank ℂ V < k) |
| 79 | (U : Fin (n + 1) → Set V) (r : Fin (n + 1) → V → Fin n → ℂ) |
| 80 | (hU : ∀ i, IsOpen (U i)) (hr : ∀ i, DifferentiableOn ℂ (r i) (U i)) |
| 81 | (S : Set (Fin (n + 1) → ℂ)) |
| 82 | (hcover : ∀ v ∈ S, v ≠ 0 → ∃ i z, z ∈ U i ∧ v i ≠ 0 ∧ |
| 83 | ∀ j, v (i.succAbove j) / v i = r i z j) |
| 84 | (A : (Fin k → ℂ) →L[ℂ] (Fin (n + 1) → ℂ)) (hA : Function.Injective A) : |
| 85 | ∃ L : (Fin (n + 1) → ℂ) →L[ℂ] (Fin k → ℂ), |
| 86 | (∀ v ∈ S, L v = 0 → v = 0) ∧ Function.Bijective (L.comp A) := by |
| 87 | obtain ⟨M, hMreg, hM⟩ := (GenericProjectionOn.Constructions.GenericProjection.dense_matrices_avoiding hk U r hU hr).inter_open_nonempty |
| 88 | _ (isOpen_regular_matrices A) (nonempty_regular_matrices A hA) |
| 89 | refine ⟨matrixOperator M, ?_, hMreg⟩ |
| 90 | intro v hv hLv |
| 91 | by_contra hv0 |
| 92 | obtain ⟨i, z, hz, hi, hratio⟩ := hcover v hv hv0 |
| 93 | have hsum : ∑ j, v j • M j = 0 := (matrixOperator_apply M v).symm.trans hLv |
| 94 | exact hM i z hz (i.removeNth M) |
| 95 | (GenericProjectionOn.Constructions.GenericProjection.eq_badMatrix_of_annihilates i (r i) z v M hi hratio hsum) |
| 96 | |
| 97 | end |
| 98 | |
| 99 | end OAI.Geometry.ComplexTorus.RiemannProjectivity.RegularProjectionIs.Constructions.RegularProjection |