Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add computation rules to suspension and pushout #52

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions Agda/HITs/Lecture4-notes.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,16 @@ postulate
merid : {A : Type} → A → northS ≡ southS [ Susp A ]
Susp-rec : {l : Level} {A : Type} {X : Type l}
(n : X) (s : X) (m : A → n ≡ s)
→ Susp A → X
→ Susp A → X
Susp-rec-north : {l : Level} {A : Type} {X : Type l} (n : X) (s : X) (m : A → n ≡ s)
→ Susp-rec n s m northS ≡ n
Susp-rec-south : {l : Level} {A : Type} {X : Type l} (n : X) (s : X) (m : A → n ≡ s)
→ Susp-rec n s m southS ≡ s
{-# REWRITE Susp-rec-north #-}
{-# REWRITE Susp-rec-south #-}
postulate
Susp-rec-meridan : {l : Level} {A : Type} {X : Type l} (n : X) (s : X) (m : A → n ≡ s)
→ (a : A) → ap (Susp-rec n s m) (merid a) ≡ m a
```

# Pushouts
Expand All @@ -318,8 +327,12 @@ module _ {C : Type} {A : Type} {B : Type} {f : C → A} {g : C → B} where
inr : B → Pushout C A B f g
glue : (c : C) → inl (f c) ≡ inr (g c)
Push-rec : {X : Type} (l : A → X) (r : B → X) (gl : (c : C) → l (f c) ≡ r (g c))
→ Pushout C A B f g → X
```
→ Pushout C A B f g → X
Push-rec-glue-l : {X : Type} (l : A → X) (r : B → X) (gl : (c : C) → l (f c) ≡ r (g c))
→ (a : A) → (Push-rec l r gl) (inl a) ≡ l a
Push-rec-glue-r : {X : Type} (l : A → X) (r : B → X) (gl : (c : C) → l (f c) ≡ r (g c))
→ (b : B) → (Push-rec l r gl) (inr b) ≡ r b
Copy link
Contributor

@ncfavier ncfavier May 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should be named Push-rec-in{l,r} and there should be a separate rule relating glue and gl.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You marked this as resolved, did you forget to push the update?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I marked it as resolved accidentaly, sorry. Thank you for the correction, the update should be pushed now.

```

# Relation quotient

Expand Down