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.PuncturedCauchy |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.ParameterLinePullbackDerivative |
| 3 | |
| 4 | /-! # Punctured Directions -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Comparison.Betti.PuncturedDirections.Dolbeault |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The two whole-line input pieces preserve the holomorphic parameter |
| 11 | directions of the original family on the punctured line. -/ |
| 12 | |
| 13 | open _root_.TopologicalSpace Set _root_.Complex |
| 14 | open scoped ContDiff _root_.Topology |
| 15 | |
| 16 | variable {P F : Type} [NormedAddCommGroup P] [NormedSpace ℝ P] [NormedSpace ℂ P] |
| 17 | [NormedAddCommGroup F] [NormedSpace ℝ F] [NormedSpace ℂ F] [IsScalarTower ℝ ℂ F] |
| 18 | |
| 19 | theorem puncturedCauchyOuterInput_preserves_direction (S : Opens P) (g : P × ℂ → F) |
| 20 | (hg : ContDiffOn ℝ ∞ g ((S : Set P) ×ˢ (PuncturedCauchy.Dolbeault.puncturedComplexOpen : Set ℂ))) |
| 21 | (q : P × ℂ) (hq : q.1 ∈ S) (v : P) |
| 22 | (hv : ∀ w : ℂ, w ≠ 0 → fderiv ℝ g (q.1, w) (I • v, 0) = I • fderiv ℝ g (q.1, w) (v, 0)) : |
| 23 | fderiv ℝ (PuncturedCauchy.Dolbeault.puncturedCauchyOuterInput g) q (I • v, 0) = |
| 24 | I • fderiv ℝ (PuncturedCauchy.Dolbeault.puncturedCauchyOuterInput g) q (v, 0) := by |
| 25 | by_cases hz : q.2 = 0 |
| 26 | · have hq0 : q = (q.1, 0) := Prod.ext rfl hz |
| 27 | rw [hq0, PuncturedCauchy.Dolbeault.puncturedCauchyOuterInput_fderiv_zero] |
| 28 | simp only [zero_apply, smul_zero] |
| 29 | · have hf := ((PuncturedCauchy.Dolbeault.puncturedCauchyOuterInput_smooth S hg).contDiffAt |
| 30 | ((S.isOpen.prod isOpen_univ).mem_nhds (show q ∈ (S : Set P) ×ˢ univ from ⟨hq, mem_univ _⟩))).differentiableAt (by simp) |
| 31 | have hgp := (hg.contDiffAt ((S.isOpen.prod PuncturedCauchy.Dolbeault.puncturedComplexOpen.isOpen).mem_nhds ⟨hq, hz⟩)).differentiableAt (by simp) |
| 32 | exact ParameterLinePullbackDerivative.Dolbeault.parameter_direction_line_weight (a := fun z => 1 - (PuncturedCauchy.Dolbeault.puncturedCauchyBump z : ℂ)) |
| 33 | (φ := id) hf hgp v (hv q.2 hz) |
| 34 | |
| 35 | theorem puncturedCauchyInnerInput_preserves_direction (S : Opens P) (g : P × ℂ → F) |
| 36 | (hg : ContDiffOn ℝ ∞ g ((S : Set P) ×ˢ (PuncturedCauchy.Dolbeault.puncturedComplexOpen : Set ℂ))) |
| 37 | (q : P × ℂ) (hq : q.1 ∈ S) (v : P) |
| 38 | (hv : ∀ w : ℂ, w ≠ 0 → fderiv ℝ g (q.1, w) (I • v, 0) = I • fderiv ℝ g (q.1, w) (v, 0)) : |
| 39 | fderiv ℝ (PuncturedCauchy.Dolbeault.puncturedCauchyInnerInput g) q (I • v, 0) = |
| 40 | I • fderiv ℝ (PuncturedCauchy.Dolbeault.puncturedCauchyInnerInput g) q (v, 0) := by |
| 41 | by_cases hz : q.2 = 0 |
| 42 | · have hq0 : q = (q.1, 0) := Prod.ext rfl hz |
| 43 | rw [hq0, PuncturedCauchy.Dolbeault.puncturedCauchyInnerInput_fderiv_zero] |
| 44 | simp only [zero_apply, smul_zero] |
| 45 | · let b : P × ℂ → F := fun y => (PuncturedCauchy.Dolbeault.puncturedCauchyBump y.2 : ℂ) • g y |
| 46 | have hgp := hg.contDiffAt ((S.isOpen.prod PuncturedCauchy.Dolbeault.puncturedComplexOpen.isOpen).mem_nhds |
| 47 | (show (q.1, q.2⁻¹) ∈ (S : Set P) ×ˢ (PuncturedCauchy.Dolbeault.puncturedComplexOpen : Set ℂ) from ⟨hq, inv_ne_zero hz⟩)) |
| 48 | have hχ : ContDiffAt ℝ ∞ (fun y : P × ℂ => (PuncturedCauchy.Dolbeault.puncturedCauchyBump y.2 : ℂ)) (q.1, q.2⁻¹) := |
| 49 | Complex.ofRealCLM.contDiff.contDiffAt.comp _ (PuncturedCauchy.Dolbeault.puncturedCauchyBump.contDiff.contDiffAt.comp _ contDiffAt_snd) |
| 50 | have hb : DifferentiableAt ℝ b (q.1, q.2⁻¹) := (hχ.smul hgp).differentiableAt (by simp) |
| 51 | have hdir : fderiv ℝ b (q.1, q.2⁻¹) (I • v, 0) = I • fderiv ℝ b (q.1, q.2⁻¹) (v, 0) := |
| 52 | ParameterLinePullbackDerivative.Dolbeault.parameter_direction_line_weight (a := fun z => (PuncturedCauchy.Dolbeault.puncturedCauchyBump z : ℂ)) (φ := id) |
| 53 | hb (hgp.differentiableAt (by simp)) v (hv q.2⁻¹ (inv_ne_zero hz)) |
| 54 | have hf := ((PuncturedCauchy.Dolbeault.puncturedCauchyInnerInput_smooth S hg).contDiffAt |
| 55 | ((S.isOpen.prod isOpen_univ).mem_nhds (show q ∈ (S : Set P) ×ˢ univ from ⟨hq, mem_univ _⟩))).differentiableAt (by simp) |
| 56 | exact ParameterLinePullbackDerivative.Dolbeault.parameter_direction_line_weight (g := b) (a := PuncturedCauchy.Dolbeault.complexInversionJacobian) |
| 57 | (φ := Inv.inv) hf hb v hdir |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.Comparison.Betti.PuncturedDirections.Dolbeault |