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.RepresentationTheory.Theta.Geometric.Holomorphic.CriticalImage |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.ContinuousAnalyticRemovable |
| 3 | import Mathlib.Analysis.Calculus.FDeriv.OfCompLeft |
| 4 | |
| 5 | /-! # Homeomorph Inverse -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.Holomorphic.HomeomorphInverse |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An open partial homeomorphism in complex coordinates has a holomorphic |
| 12 | inverse when its forward map is holomorphic. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | open Set Filter _root_.Metric |
| 16 | open scoped _root_.Topology |
| 17 | |
| 18 | variable {n : ℕ} (q : OpenPartialHomeomorph (Fin n → ℂ) (Fin n → ℂ)) |
| 19 | |
| 20 | theorem holomorphic_homeomorph_inverse_regular (hq : DifferentiableOn ℂ q q.source) |
| 21 | {y : Fin n → ℂ} (hy : y ∈ q.target) (hj : Jacobian.holomorphicJacobian q (q.symm y) ≠ 0) : |
| 22 | DifferentiableAt ℂ q.symm y := by |
| 23 | have hi := (Jacobian.holomorphicJacobian_ne_zero_iff (f := q) (q.symm y)).mp hj |
| 24 | have hb : Function.Bijective (fderiv ℂ q (q.symm y)) := |
| 25 | ⟨hi, (LinearMap.injective_iff_surjective_of_finrank_eq_finrank rfl).mp hi⟩ |
| 26 | let e := (LinearEquiv.ofBijective (fderiv ℂ q (q.symm y)).toLinearMap hb).toContinuousLinearEquiv |
| 27 | have hd : HasFDerivAt q e.toContinuousLinearMap (q.symm y) := |
| 28 | (hq.differentiableAt (q.open_source.mem_nhds (q.map_target hy))).hasFDerivAt |
| 29 | exact (q.hasFDerivAt_symm hy hd).differentiableAt |
| 30 | |
| 31 | theorem holomorphic_homeomorph_inverse (hq : DifferentiableOn ℂ q q.source) : |
| 32 | DifferentiableOn ℂ q.symm q.target := by |
| 33 | intro y hy |
| 34 | let x := q.symm y |
| 35 | have hx : x ∈ q.source := q.map_target hy |
| 36 | obtain ⟨r, hr, hKU⟩ := nhds_basis_closedBall.mem_iff.mp (q.open_source.mem_nhds hx) |
| 37 | let K := closedBall x r |
| 38 | let S := q '' CriticalImage.holomorphicCriticalPiece q K |
| 39 | have hxK : x ∈ K := mem_closedBall_self hr.le |
| 40 | have hK : K ∈ 𝓝 x := closedBall_mem_nhds x hr |
| 41 | have hlocal : AlgebraicGeometry.ComplexGroups.HolomorphicAlgebraicity.ZeroLocus.Constructions.Cone.HolomorphicZeroSetAt S y := by |
| 42 | have h := CriticalImage.holomorphicCriticalImage_local q.open_source hq q.injOn (isCompact_closedBall x r) hKU hxK hK |
| 43 | simpa only [x, q.right_inv hy] using h |
| 44 | have hn : S ∉ 𝓝 y := by |
| 45 | have h := CriticalImage.holomorphicCriticalImage_not_mem_nhds q.open_source hq q.injOn hKU hx |
| 46 | simpa only [x, q.right_inv hy] using h |
| 47 | let V := q.target ∩ q.symm ⁻¹' interior K |
| 48 | have hV : IsOpen V := q.isOpen_inter_preimage_symm isOpen_interior |
| 49 | have hyV : y ∈ V := ⟨hy, mem_interior_iff_mem_nhds.mpr hK⟩ |
| 50 | have hd (z : Fin n → ℂ) (hz : z ∈ V) (hzS : z ∉ S) : DifferentiableAt ℂ q.symm z := by |
| 51 | apply holomorphic_homeomorph_inverse_regular q hq hz.1 |
| 52 | intro hj |
| 53 | apply hzS |
| 54 | exact ⟨q.symm z, ⟨interior_subset hz.2, hj⟩, q.right_inv hz.1⟩ |
| 55 | have hwhole : DifferentiableAt ℂ q.symm y := by |
| 56 | apply differentiableAt_pi.mpr |
| 57 | intro i |
| 58 | apply ContinuousAnalyticRemovable.continuous_differentiableAt_of_analytic_exception hV |
| 59 | ((continuous_apply i).comp_continuousOn (q.continuousOn_symm.mono inter_subset_left)) |
| 60 | (fun z hz hzS => (ContinuousLinearMap.proj i).differentiableAt.comp z (hd z hz hzS)) |
| 61 | hyV hlocal hn |
| 62 | exact hwhole.differentiableWithinAt |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.RepresentationTheory.Theta.Geometric.Holomorphic.HomeomorphInverse |