Skip to content

Commit

Permalink
cartesian dependent span diagrams
Browse files Browse the repository at this point in the history
  • Loading branch information
EgbertRijke committed Mar 22, 2024
1 parent 7700d5c commit 44d26a3
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
24 changes: 22 additions & 2 deletions src/foundation/cartesian-dependent-span-diagrams.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ module foundation.cartesian-dependent-span-diagrams where
<details><summary>Imports</summary>

```agda

open import foundation.constant-span-diagrams
open import foundation.dependent-span-diagrams
open import foundation.span-diagrams
open import foundation.universe-levels
```

</details>
Expand All @@ -21,7 +24,12 @@ A [dependent span diagram](foundation.dependent-span-diagrams.md) `๐’ฏ` over a
๐’ฏโ‚‚ s โ†’ ๐’ฏโ‚ (g s)
```

are [equivalences](foundation-core.equivalences.md) for each `s : S`. The condition of being a cartesian dependent span diagram is equivalent to the condition that the [flattening](foundation.flattening-dependent-span-diagrams.md)
are [equivalences](foundation-core.equivalences.md) for each `s : S`. In other
words, a dependent span diagram `๐’ฏ` over `๐’ฎ` is cartesian if the display span
diagram `๐’ฏ s` is [constant](foundation.constant-span-diagrams.md) for every
`s : S`.

The condition of being a cartesian dependent span diagram is equivalent to the condition that the [flattening](foundation.flattening-dependent-span-diagrams.md)

```text
ฮฃ (a : A), ๐’ฏโ‚€ a <----- ฮฃ (s : S), ๐’ฏโ‚‚ s -----> ฮฃ (b : B), ๐’ฏโ‚ b
Expand All @@ -46,3 +54,15 @@ We will show that the type of cartesian dependent span diagrams over `๐’ฎ` is e
## Definitions

### The predicate of being a cartesian dependent span diagram

```agda
module _
{l1 l2 l3 l4 l5 l6 : Level}
(๐’ฎ : span-diagram l1 l2 l3) (๐’ฏ : dependent-span-diagram l4 l5 l6 ๐’ฎ)
where

is-cartesian-dependent-span-diagram : UU (l3 โŠ” l4 โŠ” l5 โŠ” l6)
is-cartesian-dependent-span-diagram =
(s : spanning-type-span-diagram ๐’ฎ) โ†’
is-constant-span-diagram (display-dependent-span-diagram ๐’ฏ s)
```
2 changes: 1 addition & 1 deletion src/foundation/dependent-span-diagrams.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ module _
```agda
module _
{l1 l2 l3 l4 l5 l6 : Level}
(๐’ฎ : span-diagram l1 l2 l3) (๐’ฏ : dependent-span-diagram l4 l5 l6 ๐’ฎ)
{๐’ฎ : span-diagram l1 l2 l3} (๐’ฏ : dependent-span-diagram l4 l5 l6 ๐’ฎ)
(s : spanning-type-span-diagram ๐’ฎ)
where

Expand Down

0 comments on commit 44d26a3

Please sign in to comment.