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.CategoryTheory.Iso |
| 2 | |
| 3 | /-! # Tangent Sources Based -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric.TangentSourcesBased |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Changing the presentations of a pointed infinitesimal test preserves |
| 10 | its actual scheme-morphism fiber. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | |
| 14 | def basedHomEquiv {C : Type*} [Category C] {A B A' B' X : C} |
| 15 | (t : A ⟶ B) (t' : A' ⟶ B') (e₀ : A ≅ A') (e : B ≅ B') |
| 16 | (ht : e₀.hom ≫ t' = t ≫ e.hom) (p : A ⟶ X) : |
| 17 | {f : B ⟶ X // t ≫ f = p} ≃ {f : B' ⟶ X // t' ≫ f = e₀.inv ≫ p} where |
| 18 | toFun f := ⟨e.inv ≫ f.val, by |
| 19 | apply (cancel_epi e₀.hom).mp |
| 20 | rw [← Category.assoc, ht, Category.assoc, Iso.hom_inv_id_assoc, f.property, |
| 21 | Iso.hom_inv_id_assoc]⟩ |
| 22 | invFun f := ⟨e.hom ≫ f.val, by |
| 23 | rw [← Category.assoc, ← ht, Category.assoc, f.property, Iso.hom_inv_id_assoc]⟩ |
| 24 | left_inv f := Subtype.ext (e.hom_inv_id_assoc f.val) |
| 25 | right_inv f := Subtype.ext (e.inv_hom_id_assoc f.val) |
| 26 | |
| 27 | theorem basedHomEquiv_apply {C : Type*} [Category C] {A B A' B' X : C} |
| 28 | (t : A ⟶ B) (t' : A' ⟶ B') (e₀ : A ≅ A') (e : B ≅ B') |
| 29 | (ht : e₀.hom ≫ t' = t ≫ e.hom) (p : A ⟶ X) (f : {f : B ⟶ X // t ≫ f = p}) : |
| 30 | (basedHomEquiv t t' e₀ e ht p f).val = e.inv ≫ f.val := rfl |
| 31 | |
| 32 | end |
| 33 | |
| 34 | end OAI.RepresentationTheory.Theta.Geometric.TangentSourcesBased |