Commit 25daf249 authored by Nikita Zyuzin's avatar Nikita Zyuzin

Uncomment assumption on checked expressions

parent ac33f759
This diff is collapsed.
...@@ -36,6 +36,23 @@ Proof. ...@@ -36,6 +36,23 @@ Proof.
- apply FloverMapFacts.P.F.add_neq_o; congruence. - apply FloverMapFacts.P.F.add_neq_o; congruence.
Qed. Qed.
Lemma contained_flover_map_add_compat V (expmap1 expmap2: FloverMap.t V) e v:
contained_flover_map expmap1 expmap2 ->
contained_flover_map (FloverMap.add e v expmap1) (FloverMap.add e v expmap2).
Proof.
unfold contained_flover_map.
intros A e' v' B.
destruct (Q_orderedExps.expCompare e e') eqn: Hcomp.
- rewrite FloverMapFacts.P.F.add_eq_o in B; auto.
rewrite FloverMapFacts.P.F.add_eq_o; auto.
- rewrite FloverMapFacts.P.F.add_neq_o in B; try congruence.
rewrite FloverMapFacts.P.F.add_neq_o; try congruence.
auto.
- rewrite FloverMapFacts.P.F.add_neq_o in B; try congruence.
rewrite FloverMapFacts.P.F.add_neq_o; try congruence.
auto.
Qed.
(** (**
We treat a function mapping an expression arguing on fractions as value type We treat a function mapping an expression arguing on fractions as value type
to pairs of intervals on rationals and rational errors as the analysis result to pairs of intervals on rationals and rational errors as the analysis result
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment