some reduction tests & fixes
This commit is contained in:
parent
bd57a976a8
commit
bc9344c6ba
4 changed files with 154 additions and 17 deletions
|
@ -83,7 +83,10 @@ mutual
|
|||
pushSubstsEWith th ph (F x) =
|
||||
ncloE $ F x
|
||||
pushSubstsEWith th ph (B i) =
|
||||
assert_total pushSubstsE $ ph !! i
|
||||
let res = ph !! i in
|
||||
case choose $ topCloE res of
|
||||
Left _ => assert_total pushSubstsE res
|
||||
Right _ => ncloE res
|
||||
pushSubstsEWith th ph (f :@ s) =
|
||||
ncloE $ subs f th ph :@ subs s th ph
|
||||
pushSubstsEWith th ph (s :# a) =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue