fix(base/form): fix CNF for equiv

This commit is contained in:
Simon Cruanes 2022-09-10 21:48:51 -04:00
parent fd39a414c3
commit c9127c6cd7
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -49,7 +49,7 @@ let view (t : T.t) : T.t view =
| E_const { Const.c_view = T.C_false; _ }, [] -> B_bool false
| E_const { Const.c_view = T.C_not; _ }, [ a ] -> B_not a
| E_const { Const.c_view = T.C_eq; _ }, [ _ty; a; b ] ->
if Ty.is_bool a then
if Ty.is_bool (Term.ty a) then
B_equiv (a, b)
else
B_eq (a, b)