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.Kernel.Factorization |
| 2 | |
| 3 | /-! # Schwartz -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Kernel.Schwartz |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | open scoped BigOperators |
| 10 | |
| 11 | universe u v |
| 12 | |
| 13 | /-- Universe lifts let the two blocks have independent index universes. -/ |
| 14 | def BinaryBlock (ι : Type u) (κ : Type v) : Bool → Type (max u v) := |
| 15 | Bool.rec (ULift.{v} (ι → Definitions.DerivativeFactorization.AQf)) (ULift.{u} (κ → Definitions.DerivativeFactorization.AQf)) |
| 16 | |
| 17 | instance (ι : Type u) (κ : Type v) (b : Bool) : |
| 18 | TopologicalSpace (BinaryBlock ι κ b) := by |
| 19 | cases b <;> dsimp [BinaryBlock] <;> infer_instance |
| 20 | |
| 21 | def binaryCoordinates (ι : Type u) (κ : Type v) : |
| 22 | ((b : Bool) → BinaryBlock ι κ b) ≃ₜ (Sum ι κ → Definitions.DerivativeFactorization.AQf) where |
| 23 | toFun x := Sum.elim (x false).down (x true).down |
| 24 | invFun a := fun b => by |
| 25 | cases b |
| 26 | · exact ULift.up (fun i => a (Sum.inl i)) |
| 27 | · exact ULift.up (fun j => a (Sum.inr j)) |
| 28 | left_inv x := by funext b; cases b <;> rfl |
| 29 | right_inv a := by funext i; cases i <;> rfl |
| 30 | continuous_toFun := by |
| 31 | apply continuous_pi |
| 32 | intro i |
| 33 | cases i <;> dsimp <;> fun_prop |
| 34 | continuous_invFun := by |
| 35 | apply continuous_pi |
| 36 | intro b |
| 37 | cases b <;> fun_prop |
| 38 | |
| 39 | /-- The conclusion of TensorDecomposition's `finite_product_decomposition`, specialized to |
| 40 | the two lifted blocks. The supplied prerequisite includes its topological |
| 41 | premises; only its resulting decomposition is needed in this implication. -/ |
| 42 | def ProductInput (ι : Type u) (κ : Type v) : Prop := |
| 43 | ∀ φ : Definitions.DerivativeFactorization.FiniteSchwartz ((b : Bool) → BinaryBlock ι κ b), |
| 44 | ∃ (n : ℕ) (c : Fin n → ℂ) |
| 45 | (ψ : Fin n → (b : Bool) → Definitions.DerivativeFactorization.FiniteSchwartz (BinaryBlock ι κ b)), |
| 46 | ∀ x, φ.1 x = ∑ j, c j * ∏ b, (ψ j b).1 (x b) |
| 47 | |
| 48 | lemma e32_coordinates {ι : Type u} {κ : Type v} |
| 49 | (h_TensorDecomposition : ProductInput ι κ) : Factorization.TensorDecompositionInput ι κ := by |
| 50 | intro φ |
| 51 | let e := binaryCoordinates ι κ |
| 52 | let f : Definitions.DerivativeFactorization.FiniteSchwartz ((b : Bool) → BinaryBlock ι κ b) := |
| 53 | ⟨φ.1 ∘ e, φ.2.1.comp_continuous e.continuous, φ.2.2.comp_homeomorph e⟩ |
| 54 | obtain ⟨n, c, η, hη⟩ := h_TensorDecomposition f |
| 55 | let ψ : Fin n → Definitions.DerivativeFactorization.Input ι := fun i => |
| 56 | ⟨(η i false).1 ∘ Homeomorph.ulift.symm, |
| 57 | (η i false).2.1.comp_continuous Homeomorph.ulift.symm.continuous, |
| 58 | (η i false).2.2.comp_homeomorph Homeomorph.ulift.symm⟩ |
| 59 | let χ : Fin n → Definitions.DerivativeFactorization.Input κ := fun i => |
| 60 | ⟨(η i true).1 ∘ Homeomorph.ulift.symm, |
| 61 | (η i true).2.1.comp_continuous Homeomorph.ulift.symm.continuous, |
| 62 | (η i true).2.2.comp_homeomorph Homeomorph.ulift.symm⟩ |
| 63 | refine ⟨n, c, ψ, χ, ?_⟩ |
| 64 | intro a |
| 65 | have h := hη (e.symm a) |
| 66 | simp only [f, Function.comp_apply, Homeomorph.apply_symm_apply, Fintype.prod_bool] at h |
| 67 | change φ.1 a = ∑ j, c j * |
| 68 | (η j false).1 (ULift.up (fun i => a (Sum.inl i))) * |
| 69 | (η j true).1 (ULift.up (fun i => a (Sum.inr i))) |
| 70 | change φ.1 a = ∑ j, c j * |
| 71 | ((η j true).1 (ULift.up (fun i => a (Sum.inr i))) * |
| 72 | (η j false).1 (ULift.up (fun i => a (Sum.inl i)))) at h |
| 73 | simpa only [mul_comm, mul_left_comm, mul_assoc] using h |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.RepresentationTheory.Theta.Kernel.Schwartz |