Skip to content

Commit a916e8a

Browse files
committed
fix
1 parent 8649963 commit a916e8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/phl/ecPhlRnd.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ module Core = struct
467467
(* Goal: dmap d1 g = d2 => forall a, psi[x -> a, y -> g(a)] *)
468468
let dmap_op = EcPath.extend EcCoreLib.p_top ["Distr"; "dmap"] in
469469
let dmap_ty = tfun (tdistr tyL) (tfun (tfun tyL tyR) (tdistr tyR)) in
470-
let dmap_pred = f_app (f_op dmap_op [tyL; tyR] dmap_ty) [muL; g; muR] tbool in
470+
let dmap_pred = f_eq (f_app (f_op dmap_op [tyL; tyR] dmap_ty) [muL; g] tyR) muR in
471471

472472
let a_id = EcIdent.create "a" in
473473
let a = f_local a_id tyL in
@@ -481,7 +481,7 @@ module Core = struct
481481
(* Goal: dmap d2 g = d1 => forall b, psi[y -> b, y -> g(b)] *)
482482
let dmap_op = EcPath.extend EcCoreLib.p_top ["Distr"; "dmap"] in
483483
let dmap_ty = tfun (tdistr tyR) (tfun (tfun tyR tyL) (tdistr tyL)) in
484-
let dmap_pred = f_app (f_op dmap_op [tyR; tyL] dmap_ty) [muR; g; muL] tbool in
484+
let dmap_pred = f_eq (f_app (f_op dmap_op [tyR; tyL] dmap_ty) [muR; g] tyL) muL in
485485

486486
let b_id = EcIdent.create "b" in
487487
let b = f_local b_id tyR in

0 commit comments

Comments
 (0)