Skip to content

Commit 9615a1b

Browse files
committed
Started StlcProp
1 parent b92be28 commit 9615a1b

File tree

2 files changed

+847
-2
lines changed

2 files changed

+847
-2
lines changed

src/Stlc.lidr

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ work to deal with these.
2121

2222
> %access public export
2323
> %default total
24+
2425
> %hide Types.Tm
2526
> %hide Types.Ty
2627
> %hide Types.(->>)
@@ -497,7 +498,7 @@ Formally:
497498
> Tif Tfalse t1 t2 ->> t2
498499
> ST_If : {t1, t1', t2, t3: Tm} ->
499500
> t1 ->> t1' ->
500-
> Tif t1 t2 t3 ->> Tif t1' t2 t3
501+
> Tif t1 t2 t3 ->> Tif t1' t2 t3
501502

502503
> infixl 6 ->>*
503504
> (->>*) : Tm -> Tm -> Type
@@ -747,7 +748,7 @@ to the term `\x:Bool. \y:Bool, x y` -- i.e.,
747748
748749
> forallToExistence : {X : Type} -> {P: X -> Type} ->
749750
> ((a : X) -> Not (P a)) -> Not (a : X ** P a)
750-
> forallToExistence hyp (b ** p2) = hyp b p2
751+
> forallToExistence hyp (a ** p2) = hyp a p2
751752
752753
> typing_nonexample_1 :
753754
> Not (T : Ty **

0 commit comments

Comments
 (0)