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.Geometry.ComplexTorus.RiemannProjectivity.AnalyticIrreducibilityEq |
| 2 | |
| 3 | /-! # Connected Analytic Locus -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric.ConnectedAnalyticLocus |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A locally analytic equality locus containing an open part fills a |
| 10 | connected open domain. The statement is relative to the original domain. -/ |
| 11 | |
| 12 | open Set |
| 13 | |
| 14 | open OAI.Geometry.ComplexTorus.RiemannProjectivity.AnalyticIrreducibilityEq.Constructions.AnalyticIrreducibility |
| 15 | |
| 16 | theorem connected_local_equations_eq_on |
| 17 | {E : Type*} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 18 | {U S : Set E} (hc : IsPreconnected U) |
| 19 | (hlocal : ∀ x ∈ U, Geometry.ComplexTorus.RiemannProjectivity.AnalyticIrreducibilityEq.Constructions.AnalyticIrreducibility.HasLocalEquations S x) |
| 20 | (hne : (U ∩ interior S).Nonempty) : U ⊆ S := by |
| 21 | let : PreconnectedSpace U := Subtype.preconnectedSpace hc |
| 22 | let T : Set U := {x | x.val ∈ interior S} |
| 23 | have ho : IsOpen T := isOpen_interior.preimage continuous_subtype_val |
| 24 | have hcl : IsClosed T := by |
| 25 | apply isClosed_of_closure_subset |
| 26 | intro x hx |
| 27 | have hv : x.val ∈ closure (interior S) := by |
| 28 | have h := image_closure_subset_closure_image continuous_subtype_val ⟨x, hx, rfl⟩ |
| 29 | exact closure_mono (by rintro _ ⟨y, hy, rfl⟩; exact hy) h |
| 30 | exact Geometry.ComplexTorus.RiemannProjectivity.AnalyticIrreducibilityEq.Constructions.AnalyticIrreducibility.mem_interior_of_local_equations (hlocal x.val x.property) hv |
| 31 | have ht : T.Nonempty := by |
| 32 | obtain ⟨x, hxU, hxS⟩ := hne |
| 33 | exact ⟨⟨x, hxU⟩, hxS⟩ |
| 34 | have hall : T = univ := (isClopen_iff.mp ⟨hcl, ho⟩).resolve_left ht.ne_empty |
| 35 | intro x hx |
| 36 | have hm : (⟨x, hx⟩ : U) ∈ T := by rw [hall]; trivial |
| 37 | exact interior_subset hm |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.RepresentationTheory.Theta.Geometric.ConnectedAnalyticLocus |