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 Mathlib.Analysis.Complex.Basic |
| 2 | import Mathlib.Analysis.Normed.Module.FiniteDimension |
| 3 | import Mathlib.Geometry.Manifold.Diffeomorph |
| 4 | import Mathlib.LinearAlgebra.Complex.FiniteDimensional |
| 5 | import Mathlib.LinearAlgebra.Pi |
| 6 | import Mathlib.Logic.Equiv.Fin.Basic |
| 7 | |
| 8 | /-! # Complex Model Real Coordinates -/ |
| 9 | |
| 10 | namespace OAI.Topology.Euclidean.ComplexModelRealCoordinates.Globalization |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! |
| 15 | # Explicit real coordinates for finite-dimensional complex model spaces |
| 16 | |
| 17 | The real parts of a complex vector precede its imaginary parts. The construction |
| 18 | uses the standard real/imaginary coordinate equivalence for `ℂ` and an explicit |
| 19 | finite-index reindexing, rather than a chosen vector-space basis. Both directions |
| 20 | are real continuous linear maps, hence smooth of every order. |
| 21 | -/ |
| 22 | |
| 23 | open scoped _root_.Manifold ContDiff |
| 24 | |
| 25 | /-- Concatenate the real and imaginary coordinate index sets. -/ |
| 26 | def complexRealCoordinateIndexEquiv (d : ℕ) : Fin d ⊕ Fin d ≃ Fin (2 * d) := |
| 27 | finSumFinEquiv.trans (finCongr (two_mul d).symm) |
| 28 | |
| 29 | /-- Real and imaginary parts, with a separate summand for each coordinate block. -/ |
| 30 | def complexModelRealSumLinearEquiv (d : ℕ) : |
| 31 | (Fin d → ℂ) ≃ₗ[ℝ] (Fin d ⊕ Fin d → ℝ) where |
| 32 | toFun z := Sum.elim (fun i => (z i).re) (fun i => (z i).im) |
| 33 | invFun x i := Complex.equivRealProdCLM.symm (x (Sum.inl i), x (Sum.inr i)) |
| 34 | left_inv z := by |
| 35 | funext i |
| 36 | exact Complex.equivRealProdCLM.symm_apply_apply (z i) |
| 37 | right_inv x := by |
| 38 | funext i |
| 39 | cases i <;> rfl |
| 40 | map_add' z w := by |
| 41 | funext i |
| 42 | cases i with |
| 43 | | inl j => exact Complex.reLm.map_add (z j) (w j) |
| 44 | | inr j => exact Complex.imLm.map_add (z j) (w j) |
| 45 | map_smul' c z := by |
| 46 | funext i |
| 47 | cases i with |
| 48 | | inl j => exact Complex.reLm.map_smul c (z j) |
| 49 | | inr j => exact Complex.imLm.map_smul c (z j) |
| 50 | |
| 51 | /-- The explicit real-linear coordinate equivalence `ℂᵈ ≃ ℝ²ᵈ`. -/ |
| 52 | def complexModelRealLinearEquiv (d : ℕ) : |
| 53 | (Fin d → ℂ) ≃ₗ[ℝ] (Fin (2 * d) → ℝ) := |
| 54 | (complexModelRealSumLinearEquiv d).trans |
| 55 | (LinearEquiv.funCongrLeft ℝ ℝ (complexRealCoordinateIndexEquiv d).symm) |
| 56 | |
| 57 | /-- The coordinate equivalence is continuous in both directions. -/ |
| 58 | def complexModelRealContinuousLinearEquiv (d : ℕ) : |
| 59 | (Fin d → ℂ) ≃L[ℝ] (Fin (2 * d) → ℝ) := |
| 60 | (complexModelRealLinearEquiv d).toContinuousLinearEquiv |
| 61 | |
| 62 | @[simp] |
| 63 | theorem complexModelRealContinuousLinearEquiv_apply_re (d : ℕ) |
| 64 | (z : Fin d → ℂ) (i : Fin d) : |
| 65 | complexModelRealContinuousLinearEquiv d z |
| 66 | (complexRealCoordinateIndexEquiv d (Sum.inl i)) = (z i).re := by |
| 67 | change Sum.elim (fun j => (z j).re) (fun j => (z j).im) |
| 68 | ((complexRealCoordinateIndexEquiv d).symm |
| 69 | (complexRealCoordinateIndexEquiv d (Sum.inl i))) = _ |
| 70 | rw [Equiv.symm_apply_apply] |
| 71 | rfl |
| 72 | |
| 73 | @[simp] |
| 74 | theorem complexModelRealContinuousLinearEquiv_apply_im (d : ℕ) |
| 75 | (z : Fin d → ℂ) (i : Fin d) : |
| 76 | complexModelRealContinuousLinearEquiv d z |
| 77 | (complexRealCoordinateIndexEquiv d (Sum.inr i)) = (z i).im := by |
| 78 | change Sum.elim (fun j => (z j).re) (fun j => (z j).im) |
| 79 | ((complexRealCoordinateIndexEquiv d).symm |
| 80 | (complexRealCoordinateIndexEquiv d (Sum.inr i))) = _ |
| 81 | rw [Equiv.symm_apply_apply] |
| 82 | rfl |
| 83 | |
| 84 | @[simp] |
| 85 | theorem complexModelRealContinuousLinearEquiv_symm_apply_re (d : ℕ) |
| 86 | (x : Fin (2 * d) → ℝ) (i : Fin d) : |
| 87 | ((complexModelRealContinuousLinearEquiv d).symm x i).re = |
| 88 | x (complexRealCoordinateIndexEquiv d (Sum.inl i)) := rfl |
| 89 | |
| 90 | @[simp] |
| 91 | theorem complexModelRealContinuousLinearEquiv_symm_apply_im (d : ℕ) |
| 92 | (x : Fin (2 * d) → ℝ) (i : Fin d) : |
| 93 | ((complexModelRealContinuousLinearEquiv d).symm x i).im = |
| 94 | x (complexRealCoordinateIndexEquiv d (Sum.inr i)) := rfl |
| 95 | |
| 96 | theorem complexModelRealContinuousLinearEquiv_symm_apply (d : ℕ) |
| 97 | (x : Fin (2 * d) → ℝ) (i : Fin d) : |
| 98 | (complexModelRealContinuousLinearEquiv d).symm x i = |
| 99 | (x (complexRealCoordinateIndexEquiv d (Sum.inl i)) : ℂ) + |
| 100 | (x (complexRealCoordinateIndexEquiv d (Sum.inr i)) : ℂ) * Complex.I := |
| 101 | Complex.equivRealProdCLM_symm_apply _ |
| 102 | |
| 103 | theorem contDiff_complexModelRealCoordinates (d : ℕ) (r : ℕ∞ω) : |
| 104 | ContDiff ℝ r (complexModelRealContinuousLinearEquiv d) := |
| 105 | (complexModelRealContinuousLinearEquiv d).contDiff |
| 106 | |
| 107 | theorem contDiff_complexModelRealCoordinates_symm (d : ℕ) (r : ℕ∞ω) : |
| 108 | ContDiff ℝ r (complexModelRealContinuousLinearEquiv d).symm := |
| 109 | (complexModelRealContinuousLinearEquiv d).symm.contDiff |
| 110 | |
| 111 | /-- Real coordinates give a diffeomorphism for every smoothness order. -/ |
| 112 | def complexModelRealDiffeomorph (d : ℕ) (r : ℕ∞ω) : |
| 113 | Diffeomorph (𝓘(ℝ, Fin d → ℂ)) (𝓘(ℝ, Fin (2 * d) → ℝ)) |
| 114 | (Fin d → ℂ) (Fin (2 * d) → ℝ) r where |
| 115 | toEquiv := (complexModelRealContinuousLinearEquiv d).toEquiv |
| 116 | contMDiff_toFun := (contDiff_complexModelRealCoordinates d r).contMDiff |
| 117 | contMDiff_invFun := (contDiff_complexModelRealCoordinates_symm d r).contMDiff |
| 118 | |
| 119 | @[simp] |
| 120 | theorem complexModelRealDiffeomorph_apply (d : ℕ) (r : ℕ∞ω) (z : Fin d → ℂ) : |
| 121 | complexModelRealDiffeomorph d r z = complexModelRealContinuousLinearEquiv d z := rfl |
| 122 | |
| 123 | @[simp] |
| 124 | theorem complexModelRealDiffeomorph_symm_apply (d : ℕ) (r : ℕ∞ω) |
| 125 | (x : Fin (2 * d) → ℝ) : |
| 126 | (complexModelRealDiffeomorph d r).symm x = |
| 127 | (complexModelRealContinuousLinearEquiv d).symm x := rfl |
| 128 | |
| 129 | @[simp] |
| 130 | theorem complexModelRealDiffeomorph_toEquiv (d : ℕ) (r : ℕ∞ω) : |
| 131 | (complexModelRealDiffeomorph d r).toEquiv = |
| 132 | (complexModelRealContinuousLinearEquiv d).toEquiv := rfl |
| 133 | |
| 134 | @[simp] |
| 135 | theorem complexModelRealDiffeomorph_toHomeomorph (d : ℕ) (r : ℕ∞ω) : |
| 136 | (complexModelRealDiffeomorph d r).toHomeomorph = |
| 137 | (complexModelRealContinuousLinearEquiv d).toHomeomorph := rfl |
| 138 | |
| 139 | end |
| 140 | |
| 141 | end OAI.Topology.Euclidean.ComplexModelRealCoordinates.Globalization |