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.Comparison.Betti.Affine.ClosedNormalCovectors |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Finite.SpanningSubfamily |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.LinearNormalCoordinates |
| 4 | |
| 5 | /-! # Closed Normal Coordinates -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Affine.ClosedNormalCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finite equations from the original affine kernel complete a local holomorphic left inverse to coordinates. -/ |
| 12 | |
| 13 | open scoped ContDiff _root_.Topology |
| 14 | |
| 15 | open Filter |
| 16 | |
| 17 | variable {A B : Type} [CommRing A] [Algebra ℂ A] [CommRing B] [Algebra ℂ B] |
| 18 | [IsDomain B] [Algebra.Smooth ℂ B] {m : ℕ} |
| 19 | |
| 20 | theorem affineClosed_exists_normalCoordinates |
| 21 | (h : A →ₐ[ℂ] B) (hh : Function.Surjective h) |
| 22 | (e : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) |
| 23 | (Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ B) → ℂ)) |
| 24 | (f : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (Fin m → ℂ)) |
| 25 | (he : e ∈ ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas B (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ B)) |
| 26 | (hf : f ∈ ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas A m) |
| 27 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B) (hx : x ∈ e.source) (hfx : x.comp h ∈ f.source) : |
| 28 | ∃ (k : ℕ) (a : Fin k → RingHom.ker h.toRingHom) |
| 29 | (Ψ : (Fin m → ℂ) → (Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ B) → ℂ)), |
| 30 | let q := fun w => (Ψ w, fun i => f.symm w (a i)) |
| 31 | ContDiffAt ℂ ω q (f (x.comp h)) ∧ |
| 32 | Function.Bijective (fderiv ℂ q (f (x.comp h))) ∧ |
| 33 | (fun u => q (f ((e.symm u).comp h))) =ᶠ[𝓝 (e x)] (fun u => (u, 0)) := by |
| 34 | obtain ⟨Ψ, hΨ, hleft⟩ := ComplexPoints.Analytic.SmoothClosedImmersion.exists_affineChartComap_localLeftInverse h hh e f he hf x hx hfx |
| 35 | let L := (fderiv ℂ (fun z => f ((e.symm z).comp h)) (e x)).toLinearMap |
| 36 | obtain ⟨k, b, a, ha⟩ := Finite.SpanningSubfamily.LinearAlgebra.exists_fin_basis_subfamily_of_span_eq |
| 37 | (LinearMap.range L).dualAnnihilator |
| 38 | (fun a : RingHom.ker h.toRingHom => ChartCotangentRealization.affineChartRegularDifferential f (x.comp h) a) |
| 39 | (ClosedNormalCovectors.affineClosedNormalCovectors_span h hh e f he hf x hx hfx) |
| 40 | let q := fun w => (Ψ w, fun i => f.symm w (a i)) |
| 41 | have hreg (i : Fin k) : ContDiffAt ℂ ω (fun w => f.symm w (a i)) (f (x.comp h)) := |
| 42 | (hf.1 (a i)).contDiffAt (f.open_target.mem_nhds (f.map_source hfx)) |
| 43 | have hq : ContDiffAt ℂ ω q (f (x.comp h)) := |
| 44 | hΨ.prodMk (contDiffAt_pi.mpr hreg) |
| 45 | refine ⟨k, a, Ψ, hq, ?_, ?_⟩ |
| 46 | · have hΦ := (ComplexPoints.Analytic.SmoothClosedImmersion.contDiffAt_affineChartComap h e f he hf x hx hfx).differentiableAt (by simp) |
| 47 | have hΨ' : DifferentiableAt ℂ Ψ (f ((e.symm (e x)).comp h)) := by |
| 48 | rw [e.left_inv hx] |
| 49 | exact hΨ.differentiableAt (by simp) |
| 50 | have hchain := fderiv_comp (e x) hΨ' hΦ |
| 51 | have hcomp := hleft.fderiv_eq (𝕜 := ℂ) |
| 52 | rw [fderiv_id] at hcomp |
| 53 | change fderiv ℂ (fun z => Ψ (f ((e.symm z).comp h))) (e x) = _ at hchain |
| 54 | rw [hcomp, e.left_inv hx] at hchain |
| 55 | have hRL : (fderiv ℂ Ψ (f (x.comp h))).toLinearMap.comp L = LinearMap.id := by |
| 56 | apply LinearMap.ext |
| 57 | intro v |
| 58 | exact congrArg (fun T => T v) hchain.symm |
| 59 | have hb := LinearNormalCoordinates.Algebra.linearNormalCoordinates_bijective L |
| 60 | (fderiv ℂ Ψ (f (x.comp h))).toLinearMap hRL b |
| 61 | have hderiv : (fderiv ℂ q (f (x.comp h))).toLinearMap = |
| 62 | (fderiv ℂ Ψ (f (x.comp h))).toLinearMap.prod |
| 63 | (LinearMap.pi (fun i => (b i : Module.Dual ℂ (Fin m → ℂ)))) := by |
| 64 | apply LinearMap.ext |
| 65 | intro v |
| 66 | apply Prod.ext |
| 67 | · change (fderiv ℂ q (f (x.comp h)) v).1 = _ |
| 68 | rw [DifferentiableAt.fderiv_prodMk (hΨ.differentiableAt (by simp)) |
| 69 | ((contDiffAt_pi.mpr hreg).differentiableAt (by simp))] |
| 70 | rfl |
| 71 | · funext i |
| 72 | change (fderiv ℂ q (f (x.comp h)) v).2 i = (b i : Module.Dual ℂ (Fin m → ℂ)) v |
| 73 | rw [DifferentiableAt.fderiv_prodMk (hΨ.differentiableAt (by simp)) |
| 74 | ((contDiffAt_pi.mpr hreg).differentiableAt (by simp)), |
| 75 | fderiv_pi (fun i => (hreg i).differentiableAt (by simp)), ha] |
| 76 | rfl |
| 77 | change Function.Bijective (fderiv ℂ q (f (x.comp h))).toLinearMap |
| 78 | rw [hderiv] |
| 79 | exact hb |
| 80 | · filter_upwards [hleft, ComplexPoints.Analytic.SmoothClosedImmersion.affineChartComap_neighborhood h e f x hx hfx] with u hu hU |
| 81 | apply Prod.ext |
| 82 | · exact hu |
| 83 | · funext i |
| 84 | change f.symm (f ((e.symm u).comp h)) (a i) = 0 |
| 85 | rw [f.left_inv hU.2] |
| 86 | change e.symm u (h (a i)) = 0 |
| 87 | have hai : h (a i) = 0 := (a i).property |
| 88 | rw [hai, map_zero] |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.Comparison.Betti.Affine.ClosedNormalCoordinates |