@@ -73,14 +73,14 @@ eitherAssoc = MkIso eitherAssoc1 eitherAssoc2 ok1 ok2
73eitherBotLeft : Iso (Either Void a) a
73eitherBotLeft : Iso (Either Void a) a
74eitherBotLeft = MkIso to from ok1 ok2
74eitherBotLeft = MkIso to from ok1 ok2
75 where to : Either Void a -> a
75 where to : Either Void a -> a
76− to (Left x) = VoidElim x
76+ to (Left x) = void x
77 to (Right x) = x
77 to (Right x) = x
78 from : a -> Either Void a
78 from : a -> Either Void a
79 from = Right
79 from = Right
80 ok1 : (x : a) -> to (from x) = x
80 ok1 : (x : a) -> to (from x) = x
81 ok1 x = Refl
81 ok1 x = Refl
82 ok2 : (x : Either Void a) -> from (to x) = x
82 ok2 : (x : Either Void a) -> from (to x) = x
83− ok2 (Left x) = VoidElim x
83+ ok2 (Left x) = void x
84 ok2 (Right x) = Refl
84 ok2 (Right x) = Refl
86||| Disjunction with false is a no-op
86||| Disjunction with false is a no-op
@@ -146,7 +146,7 @@ pairUnitLeft = isoTrans pairComm pairUnitRight
147||| Conjunction preserves falsehood
147||| Conjunction preserves falsehood
148pairBotLeft : Iso (Void, a) Void
148pairBotLeft : Iso (Void, a) Void
149−pairBotLeft = MkIso fst VoidElim (\x => VoidElim x) (\y => VoidElim (fst y))
149+pairBotLeft = MkIso fst void (\x => void x) (\y => void (fst y))
151||| Conjunction preserves falsehood
151||| Conjunction preserves falsehood
152pairBotRight : Iso (a, Void) Void
152pairBotRight : Iso (a, Void) Void
@@ -281,10 +281,10 @@ maybeIsoS = MkIso forth back fb bf
281 fb (FS x) = Refl
281 fb (FS x) = Refl
283finZeroBot : Iso (Fin 0) Void
283finZeroBot : Iso (Fin 0) Void
284−finZeroBot = MkIso (\x => VoidElim (uninhabited x))
284+finZeroBot = MkIso (\x => void (uninhabited x))
285− (\x => VoidElim x)
285+ (\x => void x)
286− (\x => VoidElim x)
286+ (\x => void x)
287− (\x => VoidElim (uninhabited x))
287+ (\x => void (uninhabited x))
289eitherFinPlus : Iso (Either (Fin m) (Fin n)) (Fin (m + n))
289eitherFinPlus : Iso (Either (Fin m) (Fin n)) (Fin (m + n))
290eitherFinPlus {m = Z} {n=n} =
290eitherFinPlus {m = Z} {n=n} =