Repository navigation
Conversation
PR summary a29cbe30b7Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
Co-authored-by: Joël Riou <[email protected]>
Co-authored-by: Joël Riou <[email protected]>
Co-authored-by: Joël Riou <[email protected]>
Co-authored-by: Joël Riou <[email protected]>
Co-authored-by: Joël Riou <[email protected]>
…long.lean Co-authored-by: Joël Riou <[email protected]>
…long.lean Co-authored-by: Joël Riou <[email protected]>
…long.lean Co-authored-by: Joël Riou <[email protected]>
…long.lean Co-authored-by: Joël Riou <[email protected]>
|
Thanks! bors merge |
We develop a computable implementation of pullbacks, by introducing a new type-class `ChosenPullbacksAlong`. The non-computable `HasPullbacksAlong` and `HasPullbacks` predicates yield instances of `ChosenPullbacksAlong` (using global choice), but interestingly in the category of types every morphism has chosen pullbacks. Also, we prove that in cartesian monoidal categories, morphisms to the terminal object and the product projections have chosen pullbacks. We prove that `ChosenPullbacksAlong` has good closure properties, e.g., id, isos have chosen pullbacks, and composition of morphisms with chosen pullbacks have chosen pullbacks. Co-authored-by: Joël Riou <[email protected]>
|
Pull request successfully merged into master. Build succeeded: |
We develop a computable implementation of pullbacks, by introducing a new type-class `ChosenPullbacksAlong`. The non-computable `HasPullbacksAlong` and `HasPullbacks` predicates yield instances of `ChosenPullbacksAlong` (using global choice), but interestingly in the category of types every morphism has chosen pullbacks. Also, we prove that in cartesian monoidal categories, morphisms to the terminal object and the product projections have chosen pullbacks. We prove that `ChosenPullbacksAlong` has good closure properties, e.g., id, isos have chosen pullbacks, and composition of morphisms with chosen pullbacks have chosen pullbacks. Co-authored-by: Joël Riou <[email protected]>
We develop a computable implementation of pullbacks, by introducing a new type-class
ChosenPullbacksAlong. The non-computableHasPullbacksAlongandHasPullbackspredicates yield instances ofChosenPullbacksAlong(using global choice), but interestingly in the category of types every morphism has chosen pullbacks. Also, we prove that in cartesian monoidal categories, morphisms to the terminal object and the product projections have chosen pullbacks. We prove thatChosenPullbacksAlonghas good closure properties, e.g., id, isos have chosen pullbacks, and composition of morphisms with chosen pullbacks have chosen pullbacks.