Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Why3
why3
Commits
3b321edf
Commit
3b321edf
authored
Oct 10, 2012
by
Claude Marche
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simple renaming
parent
26b1e6de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
examples/hoare_logic/blocking_semantics5.mlw
examples/hoare_logic/blocking_semantics5.mlw
+3
-3
No files found.
examples/hoare_logic/blocking_semantics5.mlw
View file @
3b321edf
...
...
@@ -431,12 +431,12 @@ function msubst (f:fmla) (x:mident) (v:ident) : fmla =
(** [fresh_in_term id t] is true when [id] does not occur in [t] *)
predicate fresh_in_term (
x
:ident) (t:term) =
predicate fresh_in_term (
id
:ident) (t:term) =
match t with
| Tvalue _ -> true
| Tvar i ->
x
<> i
| Tvar i ->
id
<> i
| Tderef _ -> true
| Tbin t1 _ t2 -> fresh_in_term
x
t1 /\ fresh_in_term
x
t2
| Tbin t1 _ t2 -> fresh_in_term
id
t1 /\ fresh_in_term
id
t2
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment