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 Mathlib |
| 2 | |
| 3 | /-! # Circle Integral -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CircleIntegral.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Circle integration as a bounded complex-linear operator on continuous |
| 10 | boundary functions. This lets Banach-space Cauchy kernels provide joint |
| 11 | regularity in several complex variables. -/ |
| 12 | |
| 13 | open scoped Classical ContDiff |
| 14 | open _root_.Complex Set _root_.Metric |
| 15 | |
| 16 | abbrev Boundary (c : ℂ) (R : ℝ) := sphere c R |
| 17 | |
| 18 | instance boundary_compactSpace (c : ℂ) (R : ℝ) : CompactSpace (Boundary c R) := |
| 19 | isCompact_iff_compactSpace.mp (isCompact_sphere c R) |
| 20 | |
| 21 | def extend {c : ℂ} {R : ℝ} (f : C(Boundary c R, ℂ)) (z : ℂ) : ℂ := |
| 22 | if h : z ∈ sphere c R then f ⟨z, h⟩ else 0 |
| 23 | |
| 24 | @[simp] theorem extend_boundary {c : ℂ} {R : ℝ} |
| 25 | (f : C(Boundary c R, ℂ)) (z : Boundary c R) : extend f z = f z := by |
| 26 | simp only [extend, dite_eq_left z.property] |
| 27 | |
| 28 | theorem extend_continuousOn {c : ℂ} {R : ℝ} (f : C(Boundary c R, ℂ)) : |
| 29 | ContinuousOn (extend f) (sphere c R) := by |
| 30 | apply continuousOn_iff_continuous_domRestrict.mpr |
| 31 | simpa only [Set.domRestrict_def, extend_boundary] using f.continuous |
| 32 | |
| 33 | theorem extend_circleIntegrable {c : ℂ} {R : ℝ} (hR : 0 ≤ R) |
| 34 | (f : C(Boundary c R, ℂ)) : CircleIntegrable (extend f) c R := |
| 35 | ContinuousOn.circleIntegrable hR (extend_continuousOn f) |
| 36 | |
| 37 | theorem extend_add {c : ℂ} {R : ℝ} (f g : C(Boundary c R, ℂ)) : |
| 38 | extend (f + g) = fun z => extend f z + extend g z := by |
| 39 | funext z |
| 40 | by_cases hz : z ∈ sphere c R |
| 41 | · simp only [extend, dite_eq_left hz, ContinuousMap.add_apply] |
| 42 | · simp only [extend, dite_eq_right hz, add_zero] |
| 43 | |
| 44 | theorem extend_smul {c : ℂ} {R : ℝ} (a : ℂ) (f : C(Boundary c R, ℂ)) : |
| 45 | extend (a • f) = fun z => a • extend f z := by |
| 46 | funext z |
| 47 | by_cases hz : z ∈ sphere c R |
| 48 | · simp only [extend, dite_eq_left hz, ContinuousMap.smul_apply] |
| 49 | · simp only [extend, dite_eq_right hz, smul_zero] |
| 50 | |
| 51 | def integralLinear (c : ℂ) (R : ℝ) (hR : 0 ≤ R) : C(Boundary c R, ℂ) →ₗ[ℂ] ℂ where |
| 52 | toFun f := ∮ z in C(c, R), extend f z |
| 53 | map_add' f g := by |
| 54 | rw [extend_add] |
| 55 | exact circleIntegral.integral_add (extend_circleIntegrable hR f) (extend_circleIntegrable hR g) |
| 56 | map_smul' a f := by |
| 57 | rw [extend_smul] |
| 58 | exact circleIntegral.integral_smul a (extend f) c R |
| 59 | |
| 60 | def integral (c : ℂ) (R : ℝ) (hR : 0 ≤ R) : C(Boundary c R, ℂ) →L[ℂ] ℂ := |
| 61 | (integralLinear c R hR).mkContinuous (2 * Real.pi * R) (by |
| 62 | intro f |
| 63 | apply circleIntegral.norm_integral_le_of_norm_le_const hR |
| 64 | intro z hz |
| 65 | change ‖extend f (⟨z, hz⟩ : Boundary c R)‖ ≤ ‖f‖ |
| 66 | rw [extend_boundary] |
| 67 | exact f.norm_coe_le_norm ⟨z, hz⟩) |
| 68 | |
| 69 | @[simp] theorem integral_apply (c : ℂ) (R : ℝ) (hR : 0 ≤ R) |
| 70 | (f : C(Boundary c R, ℂ)) : |
| 71 | integral c R hR f = ∮ z in C(c, R), extend f z := rfl |
| 72 | |
| 73 | /-- Any scalar function agreeing with the boundary function has the same |
| 74 | circle integral; the values outside the circle play no role. -/ |
| 75 | theorem integral_eq_of_boundary (c : ℂ) (R : ℝ) (hR : 0 ≤ R) |
| 76 | (f : C(Boundary c R, ℂ)) (g : ℂ → ℂ) |
| 77 | (h : ∀ z : Boundary c R, f z = g z) : |
| 78 | integral c R hR f = ∮ z in C(c, R), g z := by |
| 79 | apply circleIntegral.integral_congr hR |
| 80 | intro z hz |
| 81 | exact (extend_boundary f ⟨z, hz⟩).trans (h ⟨z, hz⟩) |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CircleIntegral.CM |