Skip to content
Snippets Groups Projects
Commit 224ad3d4 authored by Jacques-Henri Jourdan's avatar Jacques-Henri Jourdan
Browse files

Make valid comparisons between pointers and 0.

parent 82151de2
No related branches found
No related tags found
No related merge requests found
...@@ -220,7 +220,11 @@ Inductive lit_neq (σ : state) : base_lit → base_lit → Prop := ...@@ -220,7 +220,11 @@ Inductive lit_neq (σ : state) : base_lit → base_lit → Prop :=
| IntNeq z1 z2 : | IntNeq z1 z2 :
z1 z2 lit_neq σ (LitInt z1) (LitInt z2) z1 z2 lit_neq σ (LitInt z1) (LitInt z2)
| LocNeq l1 l2 : | LocNeq l1 l2 :
l1 l2 lit_neq σ (LitLoc l1) (LitLoc l2). l1 l2 lit_neq σ (LitLoc l1) (LitLoc l2)
| LocNeqNullR l :
lit_neq σ (LitLoc l) (LitInt 0)
| LocNeqNullL l :
lit_neq σ (LitInt 0) (LitLoc l).
Inductive bin_op_eval (σ : state) : bin_op base_lit base_lit base_lit Prop := Inductive bin_op_eval (σ : state) : bin_op base_lit base_lit base_lit Prop :=
| BinOpPlus z1 z2 : | BinOpPlus z1 z2 :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment