Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Why3
why3
Commits
7845b21e
Commit
7845b21e
authored
Oct 18, 2012
by
MARCHE Claude
Browse files
cleaning
parent
ac14a2af
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/hoare_logic/blocking_semantics5.mlw
View file @
7845b21e
...
...
@@ -372,7 +372,7 @@ inductive compatible datatype value =
*)
predicate compatible_env (sigma:env) (sigmat:type_env) (pi:stack) (pit: type_stack) =
(forall id: mident. type_value (
IdMap.get
sigma
id
) = get_reftype id sigmat) /\
(forall id: mident. type_value (
get_env id
sigma) = get_reftype id sigmat) /\
(forall id: ident. type_value (get_stack id pi) = get_vartype id pit)
lemma type_inversion : forall v "induction":value.
...
...
@@ -439,9 +439,8 @@ 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 (id:ident) (t:term) =
match t with
| Tvalue _ -> true
| Tvalue _
| Tderef _
-> true
| Tvar i -> id <> i
| Tderef _ -> true
| 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