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.NumberTheory.PadicHodge.IntegralComparison.Presentation.ResolutionCoordinates |
| 2 | |
| 3 | /-! # Resolution Face Maps -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Presentation.ResolutionFaceMaps |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual tuple face maps become the actual restrictions between frame products. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | variable {C : Type (max u v)} [Category.{v} C] [HasBinaryProducts C] |
| 16 | {ι : Type v} (F : ι → C) {n m : ℕ} (θ : Fin (m + 1) → Fin (n + 1)) |
| 17 | |
| 18 | def tupleMap : TupleProducts.tuples F n ⟶ TupleProducts.tuples F m where |
| 19 | app _ := ↾fun x => x ∘ θ |
| 20 | naturality _ _ _ := rfl |
| 21 | |
| 22 | def productMap (t : Fin (n + 1) → ι) : TupleProducts.family F n t ⟶ |
| 23 | TupleProducts.family F m (t ∘ θ) := |
| 24 | Pi.lift (fun b => Pi.π (fun a => F (t a)) (θ b)) |
| 25 | |
| 26 | theorem universal_natural (t : Fin (n + 1) → ι) : |
| 27 | (TupleProducts.tuples F m).map (productMap F θ t).op |
| 28 | (ResolutionCoordinates.universalTuple F m (t ∘ θ)) = |
| 29 | ResolutionCoordinates.universalTuple F n t ∘ θ := by |
| 30 | funext b |
| 31 | apply ULift.ext |
| 32 | exact Sigma.ext rfl (heq_of_eq (Pi.lift_comp_π (fun a => Pi.π (fun j => F (t j)) (θ a)) b)) |
| 33 | |
| 34 | variable (R : Type (max u v)) [CommRing R] |
| 35 | |
| 36 | def presheafMap : |
| 37 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.PresentationResolution.CechPresentationResolution.complex R |
| 38 | (CoveringPresentationPresheaf.presentations F)).X n ⟶ |
| 39 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.PresentationResolution.CechPresentationResolution.complex R |
| 40 | (CoveringPresentationPresheaf.presentations F)).X m := |
| 41 | Functor.whiskerRight (tupleMap F θ) (ModuleCat.free R) |
| 42 | |
| 43 | omit [HasBinaryProducts C] in |
| 44 | theorem map_generator (U : Cᵒᵖ) |
| 45 | (x : Fin (n + 1) → (CoveringPresentationPresheaf.presentations F).obj U) : |
| 46 | (presheafMap F θ R).app U (ModuleCat.freeMk x) = ModuleCat.freeMk (x ∘ θ) := |
| 47 | ModuleCat.free_map_apply (R := R) ((tupleMap F θ).app U) x |
| 48 | |
| 49 | theorem restriction_generator (t : Fin (n + 1) → ι) : |
| 50 | ((AlgebraicGeometry.Crystalline.Cohomology.Cech.PresentationResolution.CechPresentationResolution.complex R |
| 51 | (CoveringPresentationPresheaf.presentations F)).X m).map (productMap F θ t).op |
| 52 | (ModuleCat.freeMk (ResolutionCoordinates.universalTuple F m (t ∘ θ))) = |
| 53 | ModuleCat.freeMk (ResolutionCoordinates.universalTuple F n t ∘ θ) := |
| 54 | (ModuleCat.free_map_apply (R := R) ((TupleProducts.tuples F m).map (productMap F θ t).op) |
| 55 | (ResolutionCoordinates.universalTuple F m (t ∘ θ))).trans |
| 56 | (congrArg ModuleCat.freeMk (universal_natural F θ t)) |
| 57 | |
| 58 | theorem presheaf_coordinates (H : Cᵒᵖ ⥤ ModuleCat.{max u v} R) |
| 59 | (a : (AlgebraicGeometry.Crystalline.Cohomology.Cech.PresentationResolution.CechPresentationResolution.complex R |
| 60 | (CoveringPresentationPresheaf.presentations F)).X m ⟶ H) (t : Fin (n + 1) → ι) : |
| 61 | ResolutionCoordinates.presheaf F R n H (presheafMap F θ R ≫ a) t = |
| 62 | H.map (productMap F θ t).op (ResolutionCoordinates.presheaf F R m H a (t ∘ θ)) := by |
| 63 | have h := congrArg (fun b => b (ModuleCat.freeMk |
| 64 | (ResolutionCoordinates.universalTuple F m (t ∘ θ)))) |
| 65 | (a.naturality (productMap F θ t).op) |
| 66 | have hl := congrArg (a.app (op (TupleProducts.family F n t))) |
| 67 | (map_generator F θ R (op (TupleProducts.family F n t)) |
| 68 | (ResolutionCoordinates.universalTuple F n t)) |
| 69 | have hr := congrArg (a.app (op (TupleProducts.family F n t))) |
| 70 | (restriction_generator F θ R t) |
| 71 | exact (ResolutionCoordinates.presheaf_apply F R n H (presheafMap F θ R ≫ a) t).trans |
| 72 | (hl.trans (hr.symm.trans (h.trans |
| 73 | (congrArg (H.map (productMap F θ t).op) |
| 74 | (ResolutionCoordinates.presheaf_apply F R m H a (t ∘ θ)).symm)))) |
| 75 | |
| 76 | def sheafMap (J : GrothendieckTopology C) : |
| 77 | (CoveringPresentationResolution.complex J R F).X n ⟶ |
| 78 | (CoveringPresentationResolution.complex J R F).X m := |
| 79 | (presheafToSheaf J (ModuleCat.{max u v} R)).map (presheafMap F θ R) |
| 80 | |
| 81 | theorem sheaf_coordinates (J : GrothendieckTopology C) (H : Sheaf J (ModuleCat.{max u v} R)) |
| 82 | (a : (CoveringPresentationResolution.complex J R F).X m ⟶ H) (t : Fin (n + 1) → ι) : |
| 83 | ResolutionCoordinates.sheaf F R n J H (sheafMap F θ R J ≫ a) t = |
| 84 | H.obj.map (productMap F θ t).op (ResolutionCoordinates.sheaf F R m J H a (t ∘ θ)) := by |
| 85 | have h := (sheafificationAdjunction J (ModuleCat.{max u v} R)).homEquiv_naturality_left |
| 86 | (presheafMap F θ R) a |
| 87 | exact (congrArg (fun b => ResolutionCoordinates.presheaf F R n H.obj b t) h).trans |
| 88 | (presheaf_coordinates F θ R H.obj (ResolutionCoordinates.unadjoint F R m J H a) t) |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Presentation.ResolutionFaceMaps |