refactor(ModuleCat): state pushforward coherence without identifying functor bracketings - #43569
refactor(ModuleCat): state pushforward coherence without identifying functor bracketings#43569kim-em wants to merge 1 commit into
Conversation
PR summary ccab94e0d7Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
| Current number | Change | Type (strong) |
|---|---|---|
| backward.isDefEq.respectTransparency | 4684 | -3 |
Current commit ccab94e0d7
Reference commit 572e4d091b
This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.py pr_summary
- The
relativevalue is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolutevalue is therelativevalue divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
e0c09ea to
8b38729
Compare
…functor bracketings Introduce pushforwardIdHom and pushforwardCompHom as the honestly-typed data along which the pushforward by the identity and by a composition are taken (they are the unitor and associator composed with Functor.opId/opComp), and transport the associativity and unitality isomorphisms of pushforward and pullback along the functor associator and unitors instead of relying on the two bracketings being definitionally equal. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
8b38729 to
ccab94e
Compare
This PR makes the pushforward of (pre)sheaves of modules along the identity functor and along a composition of functors honestly typed. Currently
pushforwardIdtakes𝟙 Sat the typeS ⟶ (𝟭 C).op ⋙ SandpushforwardComptakesφ ≫ whiskerLeft F.op ψat the typeS ⟶ (F ⋙ G).op ⋙ T, which only elaborate becauseFunctor.comp,Functor.idandFunctor.opunfold. The newpushforwardIdHomandpushforwardCompHomare the unitor and associator composed withFunctor.opId/Functor.opComp(seepushforwardIdHom_eqandpushforwardCompHom_eq), and the associativity and unitality isomorphisms of pushforward and pullback are transported along the functor associator and unitors through the newpushforwardCongr₂/pullbackCongr₂(added at the presheaf level, together withpushforwardCongr,pushforwardNatTransandpushforwardNatIso). The scheme-level pseudofunctor coherence lemmas inAlgebraicGeometry.Modules.Sheafare reproved from these, andAdjunction.leftAdjointCompIso_transis added for that purpose.It is extracted from Paul Reichert's experiment making
Functor.compandFunctor.idinstance_reducible(master...leanprover-community:mathlib4-nightly-testing:datokrat/functorcomp, discussed at https://leanprover.zulipchat.com/#narrow/channel/113488-general/topic/backward.2EisDefEq.2ErespectTransparency), and is the (pre)sheaf-of-modules half of #43566; it is independent of that PR.🤖 Prepared with Claude Code