export isSubSing

This commit is contained in:
rhiannon morris 2023-02-19 17:43:27 +01:00
parent 27e61011ac
commit 195791e158

View file

@ -80,7 +80,7 @@ parameters (defs : Definitions' q g)
||| * a pair type is a subsingleton if both its elements are. ||| * a pair type is a subsingleton if both its elements are.
||| * all equality types are subsingletons because uip is admissible by ||| * all equality types are subsingletons because uip is admissible by
||| boundary separation. ||| boundary separation.
private public export
isSubSing : Term q 0 n -> Bool isSubSing : Term q 0 n -> Bool
isSubSing ty = isSubSing ty =
let Element ty nc = whnfD defs ty in let Element ty nc = whnfD defs ty in