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.PuncturedParametricDbarPrimitive |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.PuncturedDirections |
| 3 | |
| 4 | /-! # Punctured Parametric Dbar -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.PuncturedParametricDbar.Dolbeault |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Preservation of every holomorphic parameter direction by the |
| 13 | actual global primitive on the punctured complex line. -/ |
| 14 | |
| 15 | open _root_.TopologicalSpace Set _root_.Complex |
| 16 | open scoped ContDiff _root_.Topology |
| 17 | |
| 18 | variable {P F : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] [NormedSpace ℂ P] |
| 19 | [IsScalarTower ℝ ℂ P] [FiniteDimensional ℝ P] |
| 20 | [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedSpace ℂ F] |
| 21 | [IsScalarTower ℝ ℂ F] [CompleteSpace F] |
| 22 | |
| 23 | theorem puncturedParametricCauchyCandidate_preserves_direction |
| 24 | (S : Opens P) (g : P × ℂ → F) |
| 25 | (hg : ContDiffOn ℝ ∞ g ((S : Set P) ×ˢ (PuncturedCauchy.Dolbeault.puncturedComplexOpen : Set ℂ))) |
| 26 | (q : P × ℂ) (hq : q.1 ∈ S) (hz : q.2 ≠ 0) (v : P) |
| 27 | (hv : ∀ w : ℂ, w ≠ 0 → fderiv ℝ g (q.1, w) (I • v, 0) = I • fderiv ℝ g (q.1, w) (v, 0)) : |
| 28 | fderiv ℝ (PuncturedParametricDbarPrimitive.Dolbeault.puncturedParametricCauchyCandidate S g hg) q (I • v, 0) = |
| 29 | I • fderiv ℝ (PuncturedParametricDbarPrimitive.Dolbeault.puncturedParametricCauchyCandidate S g hg) q (v, 0) := by |
| 30 | let A := Open.ParametricSeriesConvergence.Dolbeault.openParametricCauchyCandidate S (PuncturedCauchy.Dolbeault.puncturedCauchyOuterInput g) (PuncturedCauchy.Dolbeault.puncturedCauchyOuterInput_smooth S hg) |
| 31 | let B := Open.ParametricSeriesConvergence.Dolbeault.openParametricCauchyCandidate S (PuncturedCauchy.Dolbeault.puncturedCauchyInnerInput g) (PuncturedCauchy.Dolbeault.puncturedCauchyInnerInput_smooth S hg) |
| 32 | have hA : ContDiffAt ℝ ∞ A q := |
| 33 | (Open.ParametricTailCauchy.Dolbeault.openParametricCauchyCandidate_smooth S _ (PuncturedCauchy.Dolbeault.puncturedCauchyOuterInput_smooth S hg)).contDiffAt |
| 34 | ((S.isOpen.prod isOpen_univ).mem_nhds ⟨hq, mem_univ _⟩) |
| 35 | have hB : ContDiffAt ℝ ∞ B (q.1, q.2⁻¹) := |
| 36 | (Open.ParametricTailCauchy.Dolbeault.openParametricCauchyCandidate_smooth S _ (PuncturedCauchy.Dolbeault.puncturedCauchyInnerInput_smooth S hg)).contDiffAt |
| 37 | ((S.isOpen.prod isOpen_univ).mem_nhds ⟨hq, mem_univ _⟩) |
| 38 | have hBinv : ContDiffAt ℝ ∞ (fun y : P × ℂ => B (y.1, y.2⁻¹)) q := |
| 39 | hB.comp q (contDiffAt_fst.prodMk (contDiffAt_snd.inv hz)) |
| 40 | have hAdir : fderiv ℝ A q (I • v, 0) = I • fderiv ℝ A q (v, 0) := |
| 41 | Open.ParametricDbarDirections.Dolbeault.openParametricCauchyCandidate_preserves_holomorphic_direction S _ |
| 42 | (PuncturedCauchy.Dolbeault.puncturedCauchyOuterInput_smooth S hg) q hq v |
| 43 | (fun w => PuncturedDirections.Dolbeault.puncturedCauchyOuterInput_preserves_direction S g hg (q.1, w) hq v hv) |
| 44 | have hBdir : fderiv ℝ B (q.1, q.2⁻¹) (I • v, 0) = I • fderiv ℝ B (q.1, q.2⁻¹) (v, 0) := |
| 45 | Open.ParametricDbarDirections.Dolbeault.openParametricCauchyCandidate_preserves_holomorphic_direction S _ |
| 46 | (PuncturedCauchy.Dolbeault.puncturedCauchyInnerInput_smooth S hg) (q.1, q.2⁻¹) hq v |
| 47 | (fun w => PuncturedDirections.Dolbeault.puncturedCauchyInnerInput_preserves_direction S g hg (q.1, w) hq v hv) |
| 48 | have hpull : fderiv ℝ (fun y : P × ℂ => B (y.1, y.2⁻¹)) q (I • v, 0) = |
| 49 | I • fderiv ℝ (fun y : P × ℂ => B (y.1, y.2⁻¹)) q (v, 0) := by |
| 50 | simpa only [one_smul] using ParameterLinePullbackDerivative.Dolbeault.parameter_direction_line_weight |
| 51 | (g := B) (a := fun _ => 1) (φ := Inv.inv) |
| 52 | (by simpa only [one_smul] using hBinv.differentiableAt (by simp)) |
| 53 | (hB.differentiableAt (by simp)) v hBdir |
| 54 | change fderiv ℝ (fun y => A y + B (y.1, y.2⁻¹)) q (I • v, 0) = |
| 55 | I • fderiv ℝ (fun y => A y + B (y.1, y.2⁻¹)) q (v, 0) |
| 56 | rw [fderiv_fun_add (hA.differentiableAt (by simp)) (hBinv.differentiableAt (by simp)), |
| 57 | add_apply, add_apply, hAdir, hpull, smul_add] |
| 58 | |
| 59 | end |
| 60 | |
| 61 | section |
| 62 | |
| 63 | /-! Preservation of coefficient kernels by the actual punctured-line |
| 64 | primitive, including the input extensions at the added zero point. -/ |
| 65 | |
| 66 | open _root_.TopologicalSpace Set |
| 67 | open scoped ContDiff |
| 68 | |
| 69 | variable {P F G : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] [NormedSpace ℂ P] |
| 70 | [IsScalarTower ℝ ℂ P] [FiniteDimensional ℝ P] |
| 71 | [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedSpace ℂ F] [IsScalarTower ℝ ℂ F] [CompleteSpace F] |
| 72 | [NormedAddCommGroup G] [NormedSpace ℝ G] [NormedSpace ℂ G] [IsScalarTower ℝ ℂ G] [CompleteSpace G] |
| 73 | |
| 74 | theorem puncturedParametricCauchyCandidate_kernel (L : F →L[ℂ] G) (S : Opens P) |
| 75 | (g : P × ℂ → F) (hg : ContDiffOn ℝ ∞ g ((S : Set P) ×ˢ (PuncturedCauchy.Dolbeault.puncturedComplexOpen : Set ℂ))) |
| 76 | (q : P × ℂ) (hq : q.1 ∈ S) |
| 77 | (hzero : ∀ w : ℂ, w ≠ 0 → L (g (q.1, w)) = 0) : |
| 78 | L (PuncturedParametricDbarPrimitive.Dolbeault.puncturedParametricCauchyCandidate S g hg q) = 0 := by |
| 79 | have houter : ∀ w : ℂ, L (PuncturedCauchy.Dolbeault.puncturedCauchyOuterInput g (q.1, w)) = 0 := by |
| 80 | intro w |
| 81 | by_cases hw : w = 0 |
| 82 | · subst w |
| 83 | rw [PuncturedCauchy.Dolbeault.puncturedCauchyOuterInput_zero g (by norm_num), map_zero] |
| 84 | · change L ((1 - (PuncturedCauchy.Dolbeault.puncturedCauchyBump w : ℂ)) • g (q.1, w)) = 0 |
| 85 | rw [map_smul, hzero w hw, smul_zero] |
| 86 | have hinner : ∀ w : ℂ, L (PuncturedCauchy.Dolbeault.puncturedCauchyInnerInput g (q.1, w)) = 0 := by |
| 87 | intro w |
| 88 | by_cases hw : w = 0 |
| 89 | · subst w |
| 90 | rw [PuncturedCauchy.Dolbeault.puncturedCauchyInnerInput_zero g (by norm_num), map_zero] |
| 91 | · change L (PuncturedCauchy.Dolbeault.complexInversionJacobian w • ((PuncturedCauchy.Dolbeault.puncturedCauchyBump w⁻¹ : ℂ) • g (q.1, w⁻¹))) = 0 |
| 92 | rw [map_smul, map_smul, hzero w⁻¹ (inv_ne_zero hw), smul_zero, smul_zero] |
| 93 | change L (Open.ParametricSeriesConvergence.Dolbeault.openParametricCauchyCandidate S _ (PuncturedCauchy.Dolbeault.puncturedCauchyOuterInput_smooth S hg) q + |
| 94 | Open.ParametricSeriesConvergence.Dolbeault.openParametricCauchyCandidate S _ (PuncturedCauchy.Dolbeault.puncturedCauchyInnerInput_smooth S hg) (q.1, q.2⁻¹)) = 0 |
| 95 | rw [map_add, Open.ParametricDbarKernels.Dolbeault.openParametricCauchyCandidate_kernel L S _ (PuncturedCauchy.Dolbeault.puncturedCauchyOuterInput_smooth S hg) q hq houter, |
| 96 | Open.ParametricDbarKernels.Dolbeault.openParametricCauchyCandidate_kernel L S _ (PuncturedCauchy.Dolbeault.puncturedCauchyInnerInput_smooth S hg) (q.1, q.2⁻¹) hq hinner, |
| 97 | add_zero] |
| 98 | |
| 99 | end |
| 100 | |
| 101 | /-! A common actual primitive for ordinary and punctured complex |
| 102 | coordinate lines over any open finite-dimensional complex parameter domain. -/ |
| 103 | |
| 104 | open _root_.TopologicalSpace Set _root_.Complex |
| 105 | open scoped ContDiff |
| 106 | |
| 107 | def cauchyCoordinateOpen : Bool → Opens ℂ |
| 108 | | false => ⊤ |
| 109 | | true => PuncturedCauchy.Dolbeault.puncturedComplexOpen |
| 110 | |
| 111 | variable {P F : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] [NormedSpace ℂ P] |
| 112 | [IsScalarTower ℝ ℂ P] [FiniteDimensional ℝ P] |
| 113 | [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedSpace ℂ F] |
| 114 | [IsScalarTower ℝ ℂ F] [CompleteSpace F] |
| 115 | |
| 116 | def coordinateLineCauchyCandidate (S : Opens P) (b : Bool) (g : P × ℂ → F) |
| 117 | (hg : ContDiffOn ℝ ∞ g ((S : Set P) ×ˢ (cauchyCoordinateOpen b : Set ℂ))) : P × ℂ → F := by |
| 118 | cases b |
| 119 | · exact Open.ParametricSeriesConvergence.Dolbeault.openParametricCauchyCandidate S g hg |
| 120 | · exact PuncturedParametricDbarPrimitive.Dolbeault.puncturedParametricCauchyCandidate S g hg |
| 121 | |
| 122 | theorem coordinateLineCauchyCandidate_smooth (S : Opens P) (b : Bool) (g : P × ℂ → F) |
| 123 | (hg : ContDiffOn ℝ ∞ g ((S : Set P) ×ˢ (cauchyCoordinateOpen b : Set ℂ))) : |
| 124 | ContDiffOn ℝ ∞ (coordinateLineCauchyCandidate S b g hg) |
| 125 | ((S : Set P) ×ˢ (cauchyCoordinateOpen b : Set ℂ)) := by |
| 126 | cases b |
| 127 | · exact Open.ParametricTailCauchy.Dolbeault.openParametricCauchyCandidate_smooth S g hg |
| 128 | · exact PuncturedParametricDbarPrimitive.Dolbeault.puncturedParametricCauchyCandidate_smooth S g hg |
| 129 | |
| 130 | theorem coordinateLineCauchyCandidate_dbar (S : Opens P) (b : Bool) (g : P × ℂ → F) |
| 131 | (hg : ContDiffOn ℝ ∞ g ((S : Set P) ×ˢ (cauchyCoordinateOpen b : Set ℂ))) |
| 132 | {p : P} (hp : p ∈ S) {z : ℂ} (hz : z ∈ cauchyCoordinateOpen b) : |
| 133 | VectorDbar.Dolbeault.vectorDbar (fun w => coordinateLineCauchyCandidate S b g hg (p, w)) z = g (p, z) := by |
| 134 | cases b |
| 135 | · exact Open.ParametricTailCauchy.Dolbeault.openParametricCauchyCandidate_dbar S g hg hp z |
| 136 | · exact PuncturedParametricDbarPrimitive.Dolbeault.puncturedParametricCauchyCandidate_dbar S g hg hp hz |
| 137 | |
| 138 | theorem coordinateLineCauchyCandidate_preserves_direction (S : Opens P) (b : Bool) (g : P × ℂ → F) |
| 139 | (hg : ContDiffOn ℝ ∞ g ((S : Set P) ×ˢ (cauchyCoordinateOpen b : Set ℂ))) |
| 140 | (q : P × ℂ) (hq : q ∈ (S : Set P) ×ˢ (cauchyCoordinateOpen b : Set ℂ)) (v : P) |
| 141 | (hv : ∀ w ∈ cauchyCoordinateOpen b, |
| 142 | fderiv ℝ g (q.1, w) (I • v, 0) = I • fderiv ℝ g (q.1, w) (v, 0)) : |
| 143 | fderiv ℝ (coordinateLineCauchyCandidate S b g hg) q (I • v, 0) = |
| 144 | I • fderiv ℝ (coordinateLineCauchyCandidate S b g hg) q (v, 0) := by |
| 145 | cases b |
| 146 | · exact Open.ParametricDbarDirections.Dolbeault.openParametricCauchyCandidate_preserves_holomorphic_direction S g hg q hq.1 v |
| 147 | (fun w => hv w (mem_univ _)) |
| 148 | · exact puncturedParametricCauchyCandidate_preserves_direction S g hg q hq.1 hq.2 v hv |
| 149 | |
| 150 | variable {G : Type} [NormedAddCommGroup G] [NormedSpace ℝ G] [NormedSpace ℂ G] |
| 151 | [IsScalarTower ℝ ℂ G] [CompleteSpace G] |
| 152 | |
| 153 | theorem coordinateLineCauchyCandidate_kernel (L : F →L[ℂ] G) (S : Opens P) (b : Bool) (g : P × ℂ → F) |
| 154 | (hg : ContDiffOn ℝ ∞ g ((S : Set P) ×ˢ (cauchyCoordinateOpen b : Set ℂ))) |
| 155 | (q : P × ℂ) (hq : q.1 ∈ S) (hzero : ∀ w ∈ cauchyCoordinateOpen b, L (g (q.1, w)) = 0) : |
| 156 | L (coordinateLineCauchyCandidate S b g hg q) = 0 := by |
| 157 | cases b |
| 158 | · exact Open.ParametricDbarKernels.Dolbeault.openParametricCauchyCandidate_kernel L S g hg q hq (fun w => hzero w (mem_univ _)) |
| 159 | · exact puncturedParametricCauchyCandidate_kernel L S g hg q hq hzero |
| 160 | |
| 161 | end |
| 162 | |
| 163 | end OAI.AlgebraicGeometry.Comparison.Betti.PuncturedParametricDbar.Dolbeault |