- Minneapolis, MN
- https://mzhang.io
- Joined on
2020-07-21
Bi-invertible equivalence
Bool-id : Bool → Bool
Bool-id true = true
Bool-id false = false
Bool-id-pointwise : (b : Bool) → Bool-id (Bool-id b) ≡ b
Bool-id-pointwise true = refl
Bool-id-pointwise false…
Incorporate reverse-ap for proving equivalence
Ok Favonia's hint is to compute "ap g p", and then concatenate it with a proof that g is the left-inverse of f
Trying with:
Bool-id-inv : Bool → Bool
Bool-id-inv b = (((Bool-id-is-equ…
Incorporate reverse-ap for proving equivalence
Ok I think I had a slight breakthrough with why I was getting this wrong. I had thought that for a function (f : A -> B) and particular (y : B), the fiber would be (y, f x ≡ y) because of the…