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.HodgeConjecture.CMExtraction.Intrinsic.FrameRoot |
| 2 | |
| 3 | /-! # Holomorphic Frame Root -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.HolomorphicFrameRoot |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Holomorphy of the square root of the actual native frame determinant. |
| 10 | Continuity selects the local inverse of squaring at every nonzero value. -/ |
| 11 | |
| 12 | open scoped Classical _root_.Matrix |
| 13 | |
| 14 | namespace Weil |
| 15 | |
| 16 | theorem square_root_differentiableOn |
| 17 | {X : Type*} [NormedAddCommGroup X] [NormedSpace ℂ X] |
| 18 | (O : Set X) (f g : X → ℂ) (hf : ContinuousOn f O) (hg : DifferentiableOn ℂ g O) |
| 19 | (hsq : ∀ x ∈ O, f x ^ 2 = g x) (hne : ∀ x ∈ O, f x ≠ 0) : |
| 20 | DifferentiableOn ℂ f O := by |
| 21 | intro x hx |
| 22 | have hd : HasStrictDerivAt (fun z : ℂ => z ^ 2) (2 * f x) (f x) := by |
| 23 | simpa using hasStrictDerivAt_pow 2 (f x) |
| 24 | have hd0 : 2 * f x ≠ 0 := mul_ne_zero (by norm_num) (hne x hx) |
| 25 | let inv := hd.localInverse _ _ _ hd0 |
| 26 | have hi : DifferentiableAt ℂ inv (g x) := by |
| 27 | rw [← hsq x hx] |
| 28 | exact (hd.to_localInverse hd0).hasDerivAt.differentiableAt |
| 29 | have hc : DifferentiableWithinAt ℂ (fun y => inv (g y)) O x := |
| 30 | hi.comp_differentiableWithinAt x (hg x hx) |
| 31 | have he : (fun y => inv (g y)) =ᶠ[nhdsWithin x O] f := by |
| 32 | have hlocal := hd.eventually_left_inverse hd0 |
| 33 | filter_upwards [(hf x hx) hlocal, self_mem_nhdsWithin] with y hy hyO |
| 34 | rw [← hsq y hyO] |
| 35 | exact hy |
| 36 | exact hc.congr_of_eventuallyEq_of_mem he.symm hx |
| 37 | |
| 38 | end Weil |
| 39 | |
| 40 | namespace Multiplicity |
| 41 | |
| 42 | attribute [local instance] Intrinsic.Multiplicity.nativePlaceDecidableEq Intrinsic.Multiplicity.nativeTripleDecidableEq |
| 43 | |
| 44 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] [IsGalois ℚ E] |
| 45 | {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hP : P.IsAdmissible) |
| 46 | (hμ : P.μ = E.val.toRingHom) (v : Multiplicity.Odd.Sign E) (hv : v.val 1 = true) |
| 47 | (e : (Fin 3 → E) ≃ₗ[ℚ] (Sum (Fin s × Fin 3) (Fin s × Fin 3) → ℚ)) |
| 48 | (he : ∀ x y, RepresentationTheory.Hecke.RadialDilation.FramePositivity.Realization.coordinatePairing (e x) (e y) = |
| 49 | Algebra.trace ℚ E (P.imaginaryScalar * Intrinsic.Multiplicity.nativeTensorPairing E P v x y)) |
| 50 | |
| 51 | def nativeFrameRootExtension (z : Geometry.ComplexBall.PrescribedSignsB.BallChart) : ℂ := |
| 52 | if hz : z ∈ P.domain then Intrinsic.FrameRoot.Multiplicity.nativeFrameRoot E P hP hμ v hv e he ⟨z, hz⟩ |
| 53 | else Intrinsic.FrameRoot.Multiplicity.nativeFrameRoot E P hP hμ v hv e he (Intrinsic.PeriodDomain.Multiplicity.nativeOrigin E P hP) |
| 54 | |
| 55 | theorem nativeFrameRootExtension_on_domain (z : Geometry.ComplexBall.PrescribedSignsB.BallChart) (hz : z ∈ P.domain) : |
| 56 | nativeFrameRootExtension E P hP hμ v hv e he z = |
| 57 | Intrinsic.FrameRoot.Multiplicity.nativeFrameRoot E P hP hμ v hv e he ⟨z, hz⟩ := by |
| 58 | simp only [nativeFrameRootExtension, dite_eq_left hz] |
| 59 | |
| 60 | theorem nativeFrameRootExtension_ne_zero (z : Geometry.ComplexBall.PrescribedSignsB.BallChart) : |
| 61 | nativeFrameRootExtension E P hP hμ v hv e he z ≠ 0 := by |
| 62 | unfold nativeFrameRootExtension |
| 63 | split_ifs <;> exact Intrinsic.FrameRoot.Multiplicity.nativeFrameRoot_ne_zero E P hP hμ v hv e he _ |
| 64 | |
| 65 | theorem nativeFrameRootExtension_continuousOn : |
| 66 | ContinuousOn (nativeFrameRootExtension E P hP hμ v hv e he) P.domain := by |
| 67 | rw [continuousOn_iff_continuous_domRestrict] |
| 68 | exact (Intrinsic.FrameRoot.Multiplicity.nativeFrameRoot E P hP hμ v hv e he).continuous.congr |
| 69 | (fun z => (nativeFrameRootExtension_on_domain E P hP hμ v hv e he z z.property).symm) |
| 70 | |
| 71 | theorem nativeFrameRootExtension_differentiable : |
| 72 | DifferentiableOn ℂ (nativeFrameRootExtension E P hP hμ v hv e he) P.domain := by |
| 73 | apply Weil.square_root_differentiableOn P.domain _ |
| 74 | (fun z => (Multiplicity.Period.nativeLowerFrame E P hP v e z).det) |
| 75 | (nativeFrameRootExtension_continuousOn E P hP hμ v hv e he) |
| 76 | · apply PeriodMatrixFamilies.Multiplicity.matrix_family_det_differentiable |
| 77 | apply PeriodFrameFamilies.Multiplicity.lowerFrame_differentiable |
| 78 | intro z _ |
| 79 | rw [Multiplicity.Period.native_frame_denominator E P z] |
| 80 | exact (map_ne_zero _).mpr hP.2.2.1 |
| 81 | · intro z hz |
| 82 | rw [nativeFrameRootExtension_on_domain E P hP hμ v hv e he z hz] |
| 83 | exact Intrinsic.FrameRoot.Multiplicity.nativeFrameRoot_sq E P hP hμ v hv e he ⟨z, hz⟩ |
| 84 | · intro z _ |
| 85 | exact nativeFrameRootExtension_ne_zero E P hP hμ v hv e he z |
| 86 | |
| 87 | end Multiplicity |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.HolomorphicFrameRoot |