mirror of
https://github.com/HigherOrderCO/Kind.git
synced 2024-09-11 17:15:26 +03:00
12 lines
225 B
Plaintext
12 lines
225 B
Plaintext
// a == b -> (f a) == (f b)
|
|
Equal.apply
|
|
: ∀(A: *)
|
|
∀(B: *)
|
|
∀(f: ∀(x: A) B)
|
|
∀(a: A)
|
|
∀(b: A)
|
|
∀(e: (Equal A a b))
|
|
(Equal B (f a) (f b))
|
|
= λA λB λf λa λb λe
|
|
(e λx(Equal B (f a) (f x)) λP λx x)
|