mirror of
https://git8.cs.fau.de/theses/bsc-leon-vatthauer.git
synced 2024-05-31 07:28:34 +02:00
minor
This commit is contained in:
parent
11107c67b8
commit
7be2f41196
1 changed files with 5 additions and 1 deletions
|
@ -83,6 +83,10 @@ module _ {c ℓ : Level} where
|
|||
maybeFun-id {A} {nothing} {nothing} i≈j = i≈j
|
||||
maybeFun-id {A} {just _} {just _} i≈j = i≈j
|
||||
|
||||
maybeFun-comp : ∀ {A B C : Setoid c ℓ} (f : A ⟶ B) (g : B ⟶ C) → maybeFun (g ∘ f) ≋ ((maybeFun g) ∘ (maybeFun f))
|
||||
maybeFun-comp {A} {B} {C} f g {nothing} {nothing} i≈j = i≈j
|
||||
maybeFun-comp {A} {B} {C} f g {just i} {just j} i≈j = cong g (cong f i≈j)
|
||||
|
||||
|
||||
η : ∀ (A : Setoid c ℓ) → A ⟶ maybeSetoid A
|
||||
η A = record { _⟨$⟩_ = just ; cong = id }
|
||||
|
@ -103,7 +107,7 @@ module _ {c ℓ : Level} where
|
|||
{ F₀ = maybeSetoid
|
||||
; F₁ = maybeFun
|
||||
; identity = λ {A} {x} {y} → maybeFun-id {A = A} {x} {y}
|
||||
; homomorphism = {! !}
|
||||
; homomorphism = λ {A} {B} {C} {f} {g} {i} {j} → maybeFun-comp {A} {B} {C} f g {i} {j}
|
||||
; F-resp-≈ = {! !}
|
||||
}
|
||||
; η = ntHelper (record
|
||||
|
|
Loading…
Reference in a new issue