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.ReferenceFamily.Regular.ChartDerivative |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Intrinsic.AffineDerivationChart |
| 3 | import Mathlib.Geometry.Manifold.ContMDiff.NormedSpace |
| 4 | |
| 5 | /-! # Intrinsic Affine Tangent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Regular.IntrinsicAffineTangent |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The constructed derivation comparison passes to every chart in the |
| 14 | actual native regular atlas through its analytic transition map. -/ |
| 15 | |
| 16 | variable {S : Type*} [CommRing S] [Algebra ℂ S] {n : ℕ} |
| 17 | |
| 18 | theorem regularChart_transition_derivations |
| 19 | (e f : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) (Fin n → ℂ)) |
| 20 | (he : e ∈ ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas S n) (hf : f ∈ ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas S n) |
| 21 | (hd : ∀ u ∈ e.target, ∃ d : (Fin n → ℂ) ≃ₗ[ℂ] PointDerivations.pointDerivations (e.symm u), |
| 22 | ∀ v a, (d v).val a = fderiv ℂ (fun w => e.symm w a) u v) |
| 23 | (u : Fin n → ℂ) (hu : u ∈ f.target) (hue : f.symm u ∈ e.source) : |
| 24 | ∃ d : (Fin n → ℂ) ≃ₗ[ℂ] PointDerivations.pointDerivations (f.symm u), |
| 25 | ∀ v a, (d v).val a = fderiv ℂ (fun w => f.symm w a) u v := by |
| 26 | obtain ⟨d0, hd0⟩ := hd (e (f.symm u)) (e.map_source hue) |
| 27 | let t : (Fin n → ℂ) ≃ₗ[ℂ] (Fin n → ℂ) := |
| 28 | LinearEquiv.ofBijective (fderiv ℂ (f.symm.trans e) u).toLinearMap |
| 29 | (ChartDerivative.regularChart_transition_bijective e f he hf u hu hue) |
| 30 | refine ⟨t.trans (d0.trans (PointDerivations.pointDerivationsCongr (e.left_inv hue))), ?_⟩ |
| 31 | intro v a |
| 32 | exact (PointDerivations.pointDerivationsCongr_apply (e.left_inv hue) (d0 (t v)) a).trans |
| 33 | ((hd0 (t v) a).trans (ChartDerivative.regularChart_transition_eval e f he hf u v hu hue a).symm) |
| 34 | |
| 35 | theorem nativeRegularChart_derivations [IsDomain S] [Algebra.Smooth ℂ S] |
| 36 | (f : OpenPartialHomeomorph (Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) (Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ S) → ℂ)) |
| 37 | (hf : f ∈ ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas S (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ S)) |
| 38 | (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) (hx : x ∈ f.source) : |
| 39 | ∃ d : (Fin (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ S) → ℂ) ≃ₗ[ℂ] PointDerivations.pointDerivations x, |
| 40 | ∀ v a, (d v).val a = fderiv ℂ (fun w => f.symm w a) (f x) v := by |
| 41 | obtain ⟨e, he, hxe, hd⟩ := Intrinsic.AffineDerivationChart.exists_smoothDomain_derivation_chart x |
| 42 | have hsource : f.symm (f x) ∈ e.source := (f.left_inv hx).symm ▸ hxe |
| 43 | obtain ⟨d0, hd0⟩ := regularChart_transition_derivations e f he hf hd (f x) (f.map_source hx) hsource |
| 44 | refine ⟨d0.trans (PointDerivations.pointDerivationsCongr (f.left_inv hx)), ?_⟩ |
| 45 | intro v a |
| 46 | exact (PointDerivations.pointDerivationsCongr_apply (f.left_inv hx) (d0 v) a).trans (hd0 v a) |
| 47 | |
| 48 | end |
| 49 | |
| 50 | /-! The existing native smooth-affine manifold tangent space is |
| 51 | canonically the space of algebra derivations at the actual point. -/ |
| 52 | |
| 53 | open scoped _root_.Manifold ContDiff |
| 54 | |
| 55 | variable {S : Type*} [CommRing S] [Algebra ℂ S] [IsDomain S] [Algebra.Smooth ℂ S] |
| 56 | |
| 57 | local notation "Model" => (Fin (OAI.AlgebraicGeometry.Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ S) → ℂ) |
| 58 | |
| 59 | def nativeAffineTangentDerivations (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) : |
| 60 | TangentSpace 𝓘(ℂ, Model) x ≃ₗ[ℂ] PointDerivations.pointDerivations x := |
| 61 | (nativeRegularChart_derivations (chartAt Model x) (chart_mem_atlas _ x) x (mem_chart_source _ x)).choose |
| 62 | |
| 63 | theorem nativeAffineTangentDerivations_chart (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) |
| 64 | (v : TangentSpace 𝓘(ℂ, Model) x) (a : S) : |
| 65 | (nativeAffineTangentDerivations x v).val a = |
| 66 | fderiv ℂ (fun w => (chartAt Model x).symm w a) (chartAt Model x x) v := |
| 67 | (nativeRegularChart_derivations (chartAt Model x) (chart_mem_atlas _ x) x |
| 68 | (mem_chart_source _ x)).choose_spec v a |
| 69 | |
| 70 | theorem contMDiff_affineEvaluation (a : S) (r : ℕ∞ω) : |
| 71 | ContMDiff 𝓘(ℂ, Model) 𝓘(ℂ, ℂ) r (fun x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints S => x a) := by |
| 72 | intro x |
| 73 | apply contMDiffAt_iff_source.mpr |
| 74 | have he : chartAt Model x ∈ ComplexPoints.Analytic.SmoothSchemeManifold.affineRegularAtlas S (Foundations.Scheme.SmoothDomainDimension.Algebraic.genericDifferentialRank ℂ S) := |
| 75 | chart_mem_atlas _ x |
| 76 | have hd := (he.1 a).contDiffAt ((chartAt Model x).open_target.mem_nhds |
| 77 | ((chartAt Model x).map_source (mem_chart_source _ x))) |
| 78 | simpa only [extChartAt_coe_symm, extChartAt_coe, modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, |
| 79 | Function.comp_def, id_eq, Set.range_id, contMDiffWithinAt_univ, contMDiffAt_iff_contDiffAt] |
| 80 | using hd.of_le (show r ≤ ω from le_top) |
| 81 | |
| 82 | theorem mfderiv_affineEvaluation_chart (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) (a : S) : |
| 83 | mfderiv 𝓘(ℂ, Model) 𝓘(ℂ, ℂ) (fun y : Foundations.Scheme.AffineComplexPoints.affineComplexPoints S => y a) x = |
| 84 | fderiv ℂ (fun w => (chartAt Model x).symm w a) (chartAt Model x x) := by |
| 85 | rw [((contMDiff_affineEvaluation a 1).mdifferentiableAt (x := x) one_ne_zero).mfderiv] |
| 86 | simp only [writtenInExtChartAt, extChartAt_coe, extChartAt_coe_symm, |
| 87 | modelWithCornersSelf_coe, modelWithCornersSelf_coe_symm, Function.comp_def, |
| 88 | id_eq, Set.range_id, fderivWithin_univ, chartAt_self_eq, OpenPartialHomeomorph.refl_apply] |
| 89 | rfl |
| 90 | |
| 91 | theorem nativeAffineTangentDerivations_apply (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints S) |
| 92 | (v : TangentSpace 𝓘(ℂ, Model) x) (a : S) : |
| 93 | (nativeAffineTangentDerivations x v).val a = |
| 94 | mfderiv 𝓘(ℂ, Model) 𝓘(ℂ, ℂ) (fun y : Foundations.Scheme.AffineComplexPoints.affineComplexPoints S => y a) x v := |
| 95 | (nativeAffineTangentDerivations_chart x v a).trans |
| 96 | (DFunLike.congr_fun (mfderiv_affineEvaluation_chart x a) v).symm |
| 97 | |
| 98 | end |
| 99 | |
| 100 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Regular.IntrinsicAffineTangent |