Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
52d7241c
Commit
52d7241c
authored
5 years ago
by
David Bühler
Committed by
Andre Maroneze
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[Eva] Eval_term: reduces mathematical variables in \subset predicates.
parent
298a225a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/value/legacy/eval_terms.ml
+6
-1
6 additions, 1 deletion
src/plugins/value/legacy/eval_terms.ml
with
6 additions
and
1 deletion
src/plugins/value/legacy/eval_terms.ml
+
6
−
1
View file @
52d7241c
...
...
@@ -1883,7 +1883,12 @@ let reduce_by_known_papp ~alarm_mode env positive li _labels args =
let
alarm_mode
=
alarm_reduce_mode
()
in
let
vr
=
(
eval_term
~
alarm_mode
env
argr
)
.
eover
in
match
eval_term_as_exact_locs
~
alarm_mode
env
argl
with
|
Logic_var
_
->
env
(* TODO *)
|
Logic_var
logic_var
->
let
vl
=
LogicVarEnv
.
find
logic_var
env
.
logic_vars
in
let
reduced
=
Cvalue
.
V
.
narrow
vl
vr
in
if
V
.
equal
V
.
bottom
reduced
then
raise
Reduce_to_bottom
;
let
logic_vars
=
LogicVarEnv
.
add
logic_var
reduced
env
.
logic_vars
in
{
env
with
logic_vars
}
|
Location
(
_typ
,
locsl
)
->
let
aux
locl
env
=
let
state
=
env_current_state
env
in
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment