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.Algebra.Homology.Homotopy |
| 2 | |
| 3 | /-! # Quotient Homotopy -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.QuotientHomotopy.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A homotopy descends once its actual components factor through a degreewise epimorphism. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 12 | |
| 13 | variable {V : Type*} [Category* V] [Preadditive V] |
| 14 | variable {ι : Type*} {c : ComplexShape ι} |
| 15 | variable {C D C' D' : HomologicalComplex V c} |
| 16 | |
| 17 | def quotientHomotopyOfComponents (π : C ⟶ C') (ρ : D ⟶ D') |
| 18 | [∀ n, Epi (π.f n)] {f g : C ⟶ D} {f' g' : C' ⟶ D'} |
| 19 | (hf : π ≫ f' = f ≫ ρ) (hg : π ≫ g' = g ≫ ρ) (H : Homotopy f g) |
| 20 | (K : ∀ a b, C'.X a ⟶ D'.X b) |
| 21 | (hK : ∀ a b, π.f a ≫ K a b = H.hom a b ≫ ρ.f b) : Homotopy f' g' := by |
| 22 | refine { hom := K, zero := ?_, comm := ?_ } |
| 23 | · intro a b hab |
| 24 | apply (cancel_epi (π.f a)).mp |
| 25 | rw [hK, H.zero a b hab, zero_comp, comp_zero] |
| 26 | · intro n |
| 27 | apply (cancel_epi (π.f n)).mp |
| 28 | have hf' : π.f n ≫ f'.f n = f.f n ≫ ρ.f n := HomologicalComplex.congr_hom hf n |
| 29 | have hg' : π.f n ≫ g'.f n = g.f n ≫ ρ.f n := HomologicalComplex.congr_hom hg n |
| 30 | have hd : π.f n ≫ dNext n K = dNext n H.hom ≫ ρ.f n := by |
| 31 | calc |
| 32 | _ = dNext n (fun a b => π.f a ≫ K a b) := (dNext_comp_left π K n).symm |
| 33 | _ = dNext n (fun a b => H.hom a b ≫ ρ.f b) := by simp only [hK] |
| 34 | _ = _ := dNext_comp_right H.hom ρ n |
| 35 | have hp : π.f n ≫ prevD n K = prevD n H.hom ≫ ρ.f n := by |
| 36 | calc |
| 37 | _ = prevD n (fun a b => π.f a ≫ K a b) := (prevD_comp_left π K n).symm |
| 38 | _ = prevD n (fun a b => H.hom a b ≫ ρ.f b) := by simp only [hK] |
| 39 | _ = _ := prevD_comp_right H.hom ρ n |
| 40 | calc |
| 41 | _ = f.f n ≫ ρ.f n := hf' |
| 42 | _ = (dNext n H.hom + prevD n H.hom + g.f n) ≫ ρ.f n := by rw [H.comm n] |
| 43 | _ = _ := by |
| 44 | simp only [Preadditive.add_comp, Preadditive.comp_add] |
| 45 | rw [hd, hp, hg'] |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.QuotientHomotopy.Constructions |