feat(CategoryTheory/Bicategory/Span): bicategories of spans#39537
feat(CategoryTheory/Bicategory/Span): bicategories of spans#39537robin-carlier wants to merge 13 commits into
Conversation
PR summary 47cc982d1fImport changes for modified filesNo significant changes to the import graph Import changes for all files
|
| Current number | Change | Type (strong) |
|---|---|---|
| 5780 | 6 | backward.isDefEq.respectTransparency |
Current commit 47cc982d1f
Reference commit c0ba100fa0
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.sh 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).
5fa6721 to
4cd050b
Compare
|
This pull request has conflicts, please merge |
|
This PR/issue depends on: |
| Span.hom_ext h | ||
|
|
||
| /-- Constructor for 1-morphisms in `Spans C _ _` -/ | ||
| abbrev mkHom {X Y : Spans C Wₗ Wᵣ} (apex : C) (l : apex ⟶ X.of) (r : apex ⟶ Y.of) |
There was a problem hiding this comment.
Could we make apex implicit here?
| variable (C) in | ||
| /-- The bicategory of spans of `C` with left/right legs satisfying a given | ||
| morphism property. This is a one-field structure wrapper around `C`. -/ | ||
| structure Spans (Wₗ Wᵣ : MorphismProperty C) : Type _ where |
There was a problem hiding this comment.
The problem is that Span is already taken above (Span Wₗ Wᵣ c₁ c₂ is the type of spans from c₁ to c₂ with left leg satisfying Wₗ and right leg satisfying Wᵣ)
SpanBicat is an option as well..
There was a problem hiding this comment.
Ah, then SpanBicat would be better IMO.
In this PR, we extend the constructions from #39536 to a bicategory structure on
Spans C Wₗ Wᵣ, which is a type alias forC, where the 1-morphisms are spans inCwith left leg satisfyingWₗand the right leg satisfiesWᵣ.From SymmMonCoherence