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.AlgebraicGeometry.DivisorClass.Chern.ResolutionLiftIndependence |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.TwoStepExt |
| 3 | import OAI.AlgebraicGeometry.DivisorClass.Chern.SecondQuotientCocycles |
| 4 | |
| 5 | /-! # Resolution Quotient -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.ResolutionQuotient |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The quotient connecting class equals the actual resolution cocycle class, with its proved sign. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Abelian |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | |
| 19 | universe u v |
| 20 | variable {C : Type u} [Category.{v} C] [Abelian C] {Y : C} |
| 21 | |
| 22 | def resolutionZeroSequence (R : InjectiveResolution Y) : ShortComplex C := |
| 23 | ShortComplex.mk (R.ι.f 0) (R.cocomplex.d 0 1) R.ι_f_zero_comp_complex_d |
| 24 | |
| 25 | theorem resolutionZeroSequence_exact (R : InjectiveResolution Y) : (resolutionZeroSequence R).Exact := |
| 26 | ShortComplex.exact_of_f_is_kernel _ R.isLimitKernelFork |
| 27 | |
| 28 | instance resolutionZeroSequence_mono (R : InjectiveResolution Y) : Mono (resolutionZeroSequence R).f := by |
| 29 | change Mono (R.ι.f 0) |
| 30 | infer_instance |
| 31 | |
| 32 | def resolutionSecondQuotientMap (R : InjectiveResolution Y) : |
| 33 | cokernel (TwoStepQuotient.firstQuotientDifferential (resolutionZeroSequence R)) ⟶ R.cocomplex.X 2 := |
| 34 | TwoStepQuotient.secondQuotientDifferential (resolutionZeroSequence R) (R.cocomplex.d 1 2) (R.cocomplex.d_comp_d 0 1 2) |
| 35 | |
| 36 | theorem resolutionSecondQuotientMap_closed (R : InjectiveResolution Y) : |
| 37 | resolutionSecondQuotientMap R ≫ R.cocomplex.d 2 3 = 0 := |
| 38 | SecondQuotientCocycles.secondQuotientDifferential_next (resolutionZeroSequence R) (R.cocomplex.d 1 2) |
| 39 | (R.cocomplex.d_comp_d 0 1 2) (R.cocomplex.d 2 3) (R.cocomplex.d_comp_d 1 2 3) |
| 40 | |
| 41 | variable [HasExt.{v} C] |
| 42 | |
| 43 | theorem resolutionZeroSequence_twoStepExtClass (R : InjectiveResolution Y) : |
| 44 | TwoStepExt.twoStepQuotientExtClass (resolutionZeroSequence R) (resolutionZeroSequence_exact R) = |
| 45 | -R.extMk (resolutionSecondQuotientMap R) 3 rfl (resolutionSecondQuotientMap_closed R) := by |
| 46 | let S := resolutionZeroSequence R |
| 47 | have hclosed : TwoStepQuotient.firstQuotientDifferential S ≫ R.cocomplex.d 1 2 = 0 := |
| 48 | TwoStepQuotient.firstQuotientDifferential_next S (R.cocomplex.d 1 2) (R.cocomplex.d_comp_d 0 1 2) |
| 49 | have h₀ := ResolutionLiftIndependence.connectingExtClass_eq_neg_of_lift (TwoStepQuotient.firstQuotientSequence_shortExact S) R |
| 50 | (𝟙 (R.cocomplex.X 0)) (Category.comp_id _) (TwoStepQuotient.firstQuotientDifferential S) |
| 51 | ((TwoStepQuotient.firstQuotientDifferential_comp S).trans (Category.id_comp _).symm) hclosed |
| 52 | have h₁ := ResolutionLiftIndependence.connectingExt_comp_eq_of_lift (TwoStepQuotient.secondQuotientSequence_shortExact S (resolutionZeroSequence_exact R)) R |
| 53 | (TwoStepQuotient.firstQuotientDifferential S) hclosed (𝟙 (R.cocomplex.X 1)) (Category.comp_id _) |
| 54 | (resolutionSecondQuotientMap R) |
| 55 | ((TwoStepQuotient.secondQuotientDifferential_comp S (R.cocomplex.d 1 2) (R.cocomplex.d_comp_d 0 1 2)).trans |
| 56 | (Category.id_comp _).symm) (resolutionSecondQuotientMap_closed R) |
| 57 | change (TwoStepQuotient.secondQuotientSequence_shortExact S (resolutionZeroSequence_exact R)).extClass.comp |
| 58 | (TwoStepQuotient.firstQuotientSequence_shortExact S).extClass (rfl : 1 + 1 = 2) = _ |
| 59 | rw [h₀, Ext.comp_neg, h₁] |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.DivisorClass.Chern.ResolutionQuotient |