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.HolomorphicContourF |
| 2 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.FiniteBranchesAt |
| 3 | import OAI.Geometry.ComplexTorus.RiemannProjectivity.GenericProjectionOn |
| 4 | import Mathlib.Analysis.Calculus.Implicit |
| 5 | import Mathlib.LinearAlgebra.Dual.Lemmas |
| 6 | |
| 7 | /-! # Regular Zero -/ |
| 8 | |
| 9 | namespace OAI.Geometry.ComplexTorus.RiemannProjectivity.RegularZero.Constructions.RegularZeroDimension |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! |
| 14 | # RiemannProjectivity: local dimension of regular holomorphic zero sets |
| 15 | |
| 16 | Implicit-function coordinates identify a regular zero set with a complex |
| 17 | hyperplane. Its local Hausdorff dimension is bounded by the real dimension |
| 18 | of the derivative's kernel. |
| 19 | -/ |
| 20 | |
| 21 | open Set Filter _root_.Module |
| 22 | open scoped _root_.Topology ContDiff ENNReal |
| 23 | |
| 24 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] [FiniteDimensional ℂ V] |
| 25 | |
| 26 | theorem local_regular_zero_dimension {f : V → ℂ} {U : Set V} |
| 27 | (hU : IsOpen U) (hf : DifferentiableOn ℂ f U) {x : V} (hx : x ∈ U) |
| 28 | (hdf : Function.Surjective (fderiv ℂ f x)) : |
| 29 | ∃ O : Set V, IsOpen O ∧ x ∈ O ∧ |
| 30 | dimH (O ∩ {y | f y = 0}) ≤ (finrank ℝ (fderiv ℂ f x).ker : ℝ≥0∞) := by |
| 31 | let : CompleteSpace V := FiniteDimensional.complete ℂ V |
| 32 | let d := fderiv ℂ f x |
| 33 | have hds : d.range = ⊤ := LinearMap.range_eq_top.mpr hdf |
| 34 | have hc := HolomorphicRegularityAt.Constructions.HolomorphicRegularity.contDiffAt_one_of_differentiableOn hU hf hx |
| 35 | have hs := hc.hasStrictFDerivAt (by norm_num) |
| 36 | let hk := d.ker_closedComplemented_of_finiteDimensional_range |
| 37 | let φ := hs.implicitFunctionDataOfComplemented f d hds hk |
| 38 | have hφ : DifferentiableOn ℂ φ.prodFun U := by |
| 39 | have hp : Differentiable ℂ (fun y => (Classical.choose hk) (y - x)) := |
| 40 | (Classical.choose hk).differentiable.comp (differentiable_id.sub_const x) |
| 41 | exact hf.prodMk hp.differentiableOn |
| 42 | have hφbij : Function.Bijective (fderiv ℂ φ.prodFun x) := by |
| 43 | change Function.Bijective (fderiv ℂ φ.prodFun φ.pt) |
| 44 | rw [φ.hasStrictFDerivAt.hasFDerivAt.fderiv] |
| 45 | exact (φ.leftDeriv.equivProdOfSurjectiveOfIsCompl φ.rightDeriv |
| 46 | φ.range_leftDeriv φ.range_rightDeriv φ.isCompl_ker).bijective |
| 47 | obtain ⟨q, hqx, hqφ, hqi⟩ := FiniteBranchesAt.Constructions.FiniteBranches.holomorphic_local_inverse hU hφ hx hφbij |
| 48 | have hqfirst (y : V) : (q y).1 = f y := by rw [congrFun hqφ y]; rfl |
| 49 | let A : Set d.ker := (fun u : d.ker => ((0 : ℂ), u)) ⁻¹' q.target |
| 50 | let b : d.ker → V := fun u => q.symm (0, u) |
| 51 | have hA : IsOpen A := q.open_target.preimage (continuous_const.prodMk continuous_id) |
| 52 | have hb : DifferentiableOn ℂ b A := |
| 53 | hqi.comp ((differentiable_const (0 : ℂ)).prodMk differentiable_id).differentiableOn |
| 54 | (mapsTo_preimage (fun u : d.ker => ((0 : ℂ), u)) q.target) |
| 55 | have heq : q.source ∩ {y | f y = 0} = b '' A := by |
| 56 | ext y |
| 57 | constructor |
| 58 | · rintro ⟨hy, hfy⟩ |
| 59 | have hqy : (0, (q y).2) = q y := Prod.ext (by rw [hqfirst, hfy]) rfl |
| 60 | refine ⟨(q y).2, ?_, ?_⟩ |
| 61 | · change (0, (q y).2) ∈ q.target |
| 62 | rw [hqy] |
| 63 | exact q.map_source hy |
| 64 | · change q.symm (0, (q y).2) = y |
| 65 | rw [hqy, q.left_inv hy] |
| 66 | · rintro ⟨u, hu, rfl⟩ |
| 67 | have hq : q (q.symm (0, u)) = (0, u) := q.right_inv hu |
| 68 | refine ⟨q.map_target hu, ?_⟩ |
| 69 | exact (hqfirst _).symm.trans (congrArg Prod.fst hq) |
| 70 | refine ⟨q.source, q.open_source, hqx, ?_⟩ |
| 71 | rw [heq] |
| 72 | exact GenericProjectionOn.Constructions.GenericProjection.dimH_image_le_of_holomorphic hA hb |
| 73 | |
| 74 | theorem real_kernel_dimension (d : V →L[ℂ] ℂ) (hd : Function.Surjective d) : |
| 75 | finrank ℝ d.ker = finrank ℝ V - 2 := by |
| 76 | have hc := d.toLinearMap.finrank_range_add_finrank_ker |
| 77 | rw [LinearMap.range_eq_top.mpr hd, finrank_top, finrank_self] at hc |
| 78 | have hV : finrank ℝ V = 2 * finrank ℂ V := by |
| 79 | rw [← Module.finrank_mul_finrank ℝ ℂ V, Complex.finrank_real_complex] |
| 80 | have hK : finrank ℝ d.ker = 2 * finrank ℂ d.ker := by |
| 81 | rw [← Module.finrank_mul_finrank ℝ ℂ d.ker, Complex.finrank_real_complex] |
| 82 | omega |
| 83 | |
| 84 | /-- The full regular part of a holomorphic zero set has real Hausdorff |
| 85 | dimension at most two less than the ambient real dimension. -/ |
| 86 | theorem regular_zero_dimension {f : V → ℂ} {U : Set V} |
| 87 | (hU : IsOpen U) (hf : DifferentiableOn ℂ f U) : |
| 88 | dimH {x | x ∈ U ∧ f x = 0 ∧ Function.Surjective (fderiv ℂ f x)} ≤ |
| 89 | ((finrank ℝ V - 2 : ℕ) : ℝ≥0∞) := by |
| 90 | let : FiniteDimensional ℝ V := FiniteDimensional.trans ℝ ℂ V |
| 91 | let : SecondCountableTopology V := inferInstance |
| 92 | let S := {x | x ∈ U ∧ f x = 0 ∧ Function.Surjective (fderiv ℂ f x)} |
| 93 | change dimH S ≤ _ |
| 94 | by_contra h |
| 95 | obtain ⟨x, hx, hlocal⟩ := exists_mem_nhdsWithin_lt_dimH_of_lt_dimH (lt_of_not_ge h) |
| 96 | obtain ⟨O, hO, hxO, hdim⟩ := local_regular_zero_dimension hU hf hx.1 hx.2.2 |
| 97 | have hOS : O ∩ S ∈ 𝓝[S] x := |
| 98 | inter_mem (mem_nhdsWithin_of_mem_nhds (hO.mem_nhds hxO)) self_mem_nhdsWithin |
| 99 | have hsub : O ∩ S ⊆ O ∩ {y | f y = 0} := fun y hy => ⟨hy.1, hy.2.2.1⟩ |
| 100 | have hbound := (dimH_mono hsub).trans hdim |
| 101 | rw [real_kernel_dimension _ hx.2.2] at hbound |
| 102 | exact (hlocal _ hOS).not_ge hbound |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.Geometry.ComplexTorus.RiemannProjectivity.RegularZero.Constructions.RegularZeroDimension |