Skip to content

Commit 67310bd

Browse files
committed
IndProp: add missing Uninhabited (False = True)
1 parent 87a6a94 commit 67310bd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/IndProp.lidr

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,6 +1305,13 @@ by combining evidence for \idr{Not p} with the \idr{ReflectF} constructor.
13051305
It is easy to formalize this intuition and show that the two statements are
13061306
indeed equivalent:
13071307

1308+
\todo[inline]{Remove when a release with
1309+
https://github.com/idris-lang/Idris-dev/pull/3925 happens}
1310+
1311+
> implementation Uninhabited (False = True) where
1312+
> uninhabited Refl impossible
1313+
>
1314+
13081315
> iff_reflect : (p <-> (b = True)) -> Reflect p b
13091316
> iff_reflect {b = False} (pb, _) = ReflectF (uninhabited . pb) Refl
13101317
> iff_reflect {b = True} (_, bp) = ReflectT (bp Refl) Refl

0 commit comments

Comments
 (0)