Skip to content
Snippets Groups Projects
Commit 30b2c314 authored by Allan Blanchard's avatar Allan Blanchard
Browse files

[WP] Recursive predicate definition as equivalence

parent 32e5d441
No related branches found
No related tags found
No related merge requests found
......@@ -914,7 +914,7 @@ class visitor (ctx:context) c =
let t = share cnv Prop (Lang.F.e_prop p) in
let t =
Why3.Term.t_forall_close vars []
(Why3.Term.t_implies t
(Why3.Term.t_iff t
(Why3.Term.t_app id (List.map Why3.Term.t_var vars) result))
in
let decl =
......
......@@ -24,7 +24,7 @@
predicate P_RP int
axiom P_RP_def :
forall i:int. i <= 0 \/ P_P i /\ P_RP ((- 1) + i) -> P_RP i
forall i:int. i <= 0 \/ P_P i /\ P_RP ((- 1) + i) <-> P_RP i
function L_F (i:int) : int = 2 * i
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment