Commit 285d60dd authored by Sylvain Dailler's avatar Sylvain Dailler

ce transformation: Disable projections of records

parent 9d25d06b
......@@ -32,14 +32,6 @@ rec_map, [[@model_projected], [@introduced],
"val" : "-1" } }, {"others" : {"type" : "Integer" , "val" : "0" } }] } },
{"field" : "g_bool" , "value" : {"type" : "Boolean" ,
"val" : false } }] } }
rec_map.f_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.f_map]] = {"type" : "Array" ,
"val" : [{"indice" : "true" , "value" : {"type" : "Integer" ,
"val" : "-1" } }, {"others" : {"type" : "Integer" ,
"val" : "0" } }] }
rec_map.g_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.g_map]] = {"type" : "Boolean" ,
"val" : false }
Line 47:
rec_map, [[@model_projected], [@introduced],
[@model_trace:rec_map]] = {"type" : "Record" ,
......@@ -48,14 +40,6 @@ rec_map, [[@model_projected], [@introduced],
"val" : "-1" } }, {"others" : {"type" : "Integer" , "val" : "0" } }] } },
{"field" : "g_bool" , "value" : {"type" : "Boolean" ,
"val" : false } }] } }
rec_map.f_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.f_map]] = {"type" : "Array" ,
"val" : [{"indice" : "true" , "value" : {"type" : "Integer" ,
"val" : "-1" } }, {"others" : {"type" : "Integer" ,
"val" : "0" } }] }
rec_map.g_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.g_map]] = {"type" : "Boolean" ,
"val" : false }
bench/ce/record_map.mlw M VC record_map_proj_test3: Timeout or Unknown
Counter-example model:File record_map.mlw:
......@@ -63,63 +47,27 @@ Line 51:
re_rec_map, [[@model_projected], [@introduced],
[@model_trace:re_rec_map]] = {"type" : "Record" ,
"val" : {"Field" : [{"field" : "f_map" , "value" : {"type" : "Array" ,
"val" : [{"indice" : "false" , "value" : {"type" : "Integer" ,
"val" : "-1" } }, {"others" : {"type" : "Integer" , "val" : "0" } }] } },
"val" : [{"others" : {"type" : "Integer" , "val" : "0" } }] } },
{"field" : "g_bool" , "value" : {"type" : "Boolean" ,
"val" : false } }] } }
re_rec_map.f_map, [[@model_projected], [@introduced],
[@model_trace:re_rec_map.f_map]] = {"type" : "Array" ,
"val" : [{"indice" : "false" , "value" : {"type" : "Integer" ,
"val" : "-1" } }, {"others" : {"type" : "Integer" ,
"val" : "0" } }] }
re_rec_map.g_map, [[@model_projected], [@introduced],
[@model_trace:re_rec_map.g_map]] = {"type" : "Boolean" ,
"val" : false }
Line 53:
rec_map, [[@model_projected], [@introduced],
[@model_trace:rec_map]] = {"type" : "Record" ,
"val" : {"Field" : [{"field" : "f_map" , "value" : {"type" : "Array" ,
"val" : [{"indice" : "true" , "value" : {"type" : "Integer" ,
"val" : "1" } }, {"others" : {"type" : "Integer" , "val" : "0" } }] } },
"val" : [{"others" : {"type" : "Integer" , "val" : "0" } }] } },
{"field" : "g_bool" , "value" : {"type" : "Boolean" ,
"val" : false } }] } }
rec_map.f_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.f_map]] = {"type" : "Array" ,
"val" : [{"indice" : "true" , "value" : {"type" : "Integer" ,
"val" : "1" } }, {"others" : {"type" : "Integer" ,
"val" : "0" } }] }
rec_map.g_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.g_map]] = {"type" : "Boolean" ,
"val" : false }
"val" : true } }] } }
Line 54:
re_rec_map, [[@model_projected], [@introduced],
[@model_trace:re_rec_map]] = {"type" : "Record" ,
"val" : {"Field" : [{"field" : "f_map" , "value" : {"type" : "Array" ,
"val" : [{"indice" : "false" , "value" : {"type" : "Integer" ,
"val" : "-1" } }, {"others" : {"type" : "Integer" , "val" : "0" } }] } },
"val" : [{"others" : {"type" : "Integer" , "val" : "0" } }] } },
{"field" : "g_bool" , "value" : {"type" : "Boolean" ,
"val" : false } }] } }
re_rec_map.f_map, [[@model_projected], [@introduced],
[@model_trace:re_rec_map.f_map]] = {"type" : "Array" ,
"val" : [{"indice" : "false" , "value" : {"type" : "Integer" ,
"val" : "-1" } }, {"others" : {"type" : "Integer" ,
"val" : "0" } }] }
re_rec_map.g_map, [[@model_projected], [@introduced],
[@model_trace:re_rec_map.g_map]] = {"type" : "Boolean" ,
"val" : false }
rec_map, [[@model_projected], [@introduced],
[@model_trace:rec_map]] = {"type" : "Record" ,
"val" : {"Field" : [{"field" : "f_map" , "value" : {"type" : "Array" ,
"val" : [{"indice" : "true" , "value" : {"type" : "Integer" ,
"val" : "1" } }, {"others" : {"type" : "Integer" , "val" : "0" } }] } },
"val" : [{"others" : {"type" : "Integer" , "val" : "0" } }] } },
{"field" : "g_bool" , "value" : {"type" : "Boolean" ,
"val" : false } }] } }
rec_map.f_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.f_map]] = {"type" : "Array" ,
"val" : [{"indice" : "true" , "value" : {"type" : "Integer" ,
"val" : "1" } }, {"others" : {"type" : "Integer" ,
"val" : "0" } }] }
rec_map.g_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.g_map]] = {"type" : "Boolean" ,
"val" : false }
"val" : true } }] } }
......@@ -32,14 +32,6 @@ rec_map, [[@model_projected], [@introduced],
"val" : "-1" } }, {"others" : {"type" : "Integer" , "val" : "0" } }] } },
{"field" : "g_bool" , "value" : {"type" : "Boolean" ,
"val" : false } }] } }
rec_map.f_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.f_map]] = {"type" : "Array" ,
"val" : [{"indice" : "true" , "value" : {"type" : "Integer" ,
"val" : "-1" } }, {"others" : {"type" : "Integer" ,
"val" : "0" } }] }
rec_map.g_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.g_map]] = {"type" : "Boolean" ,
"val" : false }
Line 47:
rec_map, [[@model_projected], [@introduced],
[@model_trace:rec_map]] = {"type" : "Record" ,
......@@ -48,14 +40,6 @@ rec_map, [[@model_projected], [@introduced],
"val" : "-1" } }, {"others" : {"type" : "Integer" , "val" : "0" } }] } },
{"field" : "g_bool" , "value" : {"type" : "Boolean" ,
"val" : false } }] } }
rec_map.f_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.f_map]] = {"type" : "Array" ,
"val" : [{"indice" : "true" , "value" : {"type" : "Integer" ,
"val" : "-1" } }, {"others" : {"type" : "Integer" ,
"val" : "0" } }] }
rec_map.g_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.g_map]] = {"type" : "Boolean" ,
"val" : false }
bench/ce/record_map.mlw M VC record_map_proj_test3: Timeout or Unknown
Counter-example model:File record_map.mlw:
......@@ -63,63 +47,27 @@ Line 51:
re_rec_map, [[@model_projected], [@introduced],
[@model_trace:re_rec_map]] = {"type" : "Record" ,
"val" : {"Field" : [{"field" : "f_map" , "value" : {"type" : "Array" ,
"val" : [{"indice" : "false" , "value" : {"type" : "Integer" ,
"val" : "-1" } }, {"others" : {"type" : "Integer" , "val" : "0" } }] } },
"val" : [{"others" : {"type" : "Integer" , "val" : "0" } }] } },
{"field" : "g_bool" , "value" : {"type" : "Boolean" ,
"val" : false } }] } }
re_rec_map.f_map, [[@model_projected], [@introduced],
[@model_trace:re_rec_map.f_map]] = {"type" : "Array" ,
"val" : [{"indice" : "false" , "value" : {"type" : "Integer" ,
"val" : "-1" } }, {"others" : {"type" : "Integer" ,
"val" : "0" } }] }
re_rec_map.g_map, [[@model_projected], [@introduced],
[@model_trace:re_rec_map.g_map]] = {"type" : "Boolean" ,
"val" : false }
Line 53:
rec_map, [[@model_projected], [@introduced],
[@model_trace:rec_map]] = {"type" : "Record" ,
"val" : {"Field" : [{"field" : "f_map" , "value" : {"type" : "Array" ,
"val" : [{"indice" : "true" , "value" : {"type" : "Integer" ,
"val" : "1" } }, {"others" : {"type" : "Integer" , "val" : "0" } }] } },
"val" : [{"others" : {"type" : "Integer" , "val" : "0" } }] } },
{"field" : "g_bool" , "value" : {"type" : "Boolean" ,
"val" : false } }] } }
rec_map.f_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.f_map]] = {"type" : "Array" ,
"val" : [{"indice" : "true" , "value" : {"type" : "Integer" ,
"val" : "1" } }, {"others" : {"type" : "Integer" ,
"val" : "0" } }] }
rec_map.g_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.g_map]] = {"type" : "Boolean" ,
"val" : false }
"val" : true } }] } }
Line 54:
re_rec_map, [[@model_projected], [@introduced],
[@model_trace:re_rec_map]] = {"type" : "Record" ,
"val" : {"Field" : [{"field" : "f_map" , "value" : {"type" : "Array" ,
"val" : [{"indice" : "false" , "value" : {"type" : "Integer" ,
"val" : "-1" } }, {"others" : {"type" : "Integer" , "val" : "0" } }] } },
"val" : [{"others" : {"type" : "Integer" , "val" : "0" } }] } },
{"field" : "g_bool" , "value" : {"type" : "Boolean" ,
"val" : false } }] } }
re_rec_map.f_map, [[@model_projected], [@introduced],
[@model_trace:re_rec_map.f_map]] = {"type" : "Array" ,
"val" : [{"indice" : "false" , "value" : {"type" : "Integer" ,
"val" : "-1" } }, {"others" : {"type" : "Integer" ,
"val" : "0" } }] }
re_rec_map.g_map, [[@model_projected], [@introduced],
[@model_trace:re_rec_map.g_map]] = {"type" : "Boolean" ,
"val" : false }
rec_map, [[@model_projected], [@introduced],
[@model_trace:rec_map]] = {"type" : "Record" ,
"val" : {"Field" : [{"field" : "f_map" , "value" : {"type" : "Array" ,
"val" : [{"indice" : "true" , "value" : {"type" : "Integer" ,
"val" : "1" } }, {"others" : {"type" : "Integer" , "val" : "0" } }] } },
"val" : [{"others" : {"type" : "Integer" , "val" : "0" } }] } },
{"field" : "g_bool" , "value" : {"type" : "Boolean" ,
"val" : false } }] } }
rec_map.f_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.f_map]] = {"type" : "Array" ,
"val" : [{"indice" : "true" , "value" : {"type" : "Integer" ,
"val" : "1" } }, {"others" : {"type" : "Integer" ,
"val" : "0" } }] }
rec_map.g_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.g_map]] = {"type" : "Boolean" ,
"val" : false }
"val" : true } }] } }
......@@ -25,13 +25,6 @@ rec_map, [[@model_projected], [@introduced],
"val" : [{"others" : {"type" : "Integer" , "val" : "1" } }] } },
{"field" : "g_bool" , "value" : {"type" : "Boolean" ,
"val" : false } }] } }
rec_map.f_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.f_map]] = {"type" : "Array" ,
"val" : [{"others" : {"type" : "Integer" ,
"val" : "1" } }] }
rec_map.g_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.g_map]] = {"type" : "Boolean" ,
"val" : false }
Line 47:
rec_map, [[@model_projected], [@introduced],
[@model_trace:rec_map]] = {"type" : "Record" ,
......@@ -39,13 +32,6 @@ rec_map, [[@model_projected], [@introduced],
"val" : [{"others" : {"type" : "Integer" , "val" : "1" } }] } },
{"field" : "g_bool" , "value" : {"type" : "Boolean" ,
"val" : false } }] } }
rec_map.f_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.f_map]] = {"type" : "Array" ,
"val" : [{"others" : {"type" : "Integer" ,
"val" : "1" } }] }
rec_map.g_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.g_map]] = {"type" : "Boolean" ,
"val" : false }
bench/ce/record_map.mlw M VC record_map_proj_test3: Unknown (sat)
Counter-example model:File record_map.mlw:
......@@ -53,55 +39,27 @@ Line 51:
re_rec_map, [[@model_projected], [@introduced],
[@model_trace:re_rec_map]] = {"type" : "Record" ,
"val" : {"Field" : [{"field" : "f_map" , "value" : {"type" : "Array" ,
"val" : [{"others" : {"type" : "Integer" , "val" : "0" } }] } },
"val" : [{"others" : {"type" : "Integer" , "val" : "1" } }] } },
{"field" : "g_bool" , "value" : {"type" : "Boolean" ,
"val" : false } }] } }
re_rec_map.f_map, [[@model_projected], [@introduced],
[@model_trace:re_rec_map.f_map]] = {"type" : "Array" ,
"val" : [{"others" : {"type" : "Integer" ,
"val" : "0" } }] }
re_rec_map.g_map, [[@model_projected], [@introduced],
[@model_trace:re_rec_map.g_map]] = {"type" : "Boolean" ,
"val" : false }
Line 53:
rec_map, [[@model_projected], [@introduced],
[@model_trace:rec_map]] = {"type" : "Record" ,
"val" : {"Field" : [{"field" : "f_map" , "value" : {"type" : "Array" ,
"val" : [{"others" : {"type" : "Integer" , "val" : "1" } }] } },
"val" : [{"others" : {"type" : "Integer" , "val" : "0" } }] } },
{"field" : "g_bool" , "value" : {"type" : "Boolean" ,
"val" : false } }] } }
rec_map.f_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.f_map]] = {"type" : "Array" ,
"val" : [{"others" : {"type" : "Integer" ,
"val" : "1" } }] }
rec_map.g_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.g_map]] = {"type" : "Boolean" ,
"val" : false }
Line 54:
re_rec_map, [[@model_projected], [@introduced],
[@model_trace:re_rec_map]] = {"type" : "Record" ,
"val" : {"Field" : [{"field" : "f_map" , "value" : {"type" : "Array" ,
"val" : [{"others" : {"type" : "Integer" , "val" : "0" } }] } },
"val" : [{"others" : {"type" : "Integer" , "val" : "1" } }] } },
{"field" : "g_bool" , "value" : {"type" : "Boolean" ,
"val" : false } }] } }
re_rec_map.f_map, [[@model_projected], [@introduced],
[@model_trace:re_rec_map.f_map]] = {"type" : "Array" ,
"val" : [{"others" : {"type" : "Integer" ,
"val" : "0" } }] }
re_rec_map.g_map, [[@model_projected], [@introduced],
[@model_trace:re_rec_map.g_map]] = {"type" : "Boolean" ,
"val" : false }
rec_map, [[@model_projected], [@introduced],
[@model_trace:rec_map]] = {"type" : "Record" ,
"val" : {"Field" : [{"field" : "f_map" , "value" : {"type" : "Array" ,
"val" : [{"others" : {"type" : "Integer" , "val" : "1" } }] } },
"val" : [{"others" : {"type" : "Integer" , "val" : "0" } }] } },
{"field" : "g_bool" , "value" : {"type" : "Boolean" ,
"val" : false } }] } }
rec_map.f_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.f_map]] = {"type" : "Array" ,
"val" : [{"others" : {"type" : "Integer" ,
"val" : "1" } }] }
rec_map.g_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.g_map]] = {"type" : "Boolean" ,
"val" : false }
......@@ -25,13 +25,6 @@ rec_map, [[@model_projected], [@introduced],
"val" : [{"others" : {"type" : "Integer" , "val" : "1" } }] } },
{"field" : "g_bool" , "value" : {"type" : "Boolean" ,
"val" : false } }] } }
rec_map.f_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.f_map]] = {"type" : "Array" ,
"val" : [{"others" : {"type" : "Integer" ,
"val" : "1" } }] }
rec_map.g_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.g_map]] = {"type" : "Boolean" ,
"val" : false }
Line 47:
rec_map, [[@model_projected], [@introduced],
[@model_trace:rec_map]] = {"type" : "Record" ,
......@@ -39,13 +32,6 @@ rec_map, [[@model_projected], [@introduced],
"val" : [{"others" : {"type" : "Integer" , "val" : "1" } }] } },
{"field" : "g_bool" , "value" : {"type" : "Boolean" ,
"val" : false } }] } }
rec_map.f_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.f_map]] = {"type" : "Array" ,
"val" : [{"others" : {"type" : "Integer" ,
"val" : "1" } }] }
rec_map.g_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.g_map]] = {"type" : "Boolean" ,
"val" : false }
bench/ce/record_map.mlw M VC record_map_proj_test3: Unknown (sat)
Counter-example model:File record_map.mlw:
......@@ -53,55 +39,27 @@ Line 51:
re_rec_map, [[@model_projected], [@introduced],
[@model_trace:re_rec_map]] = {"type" : "Record" ,
"val" : {"Field" : [{"field" : "f_map" , "value" : {"type" : "Array" ,
"val" : [{"others" : {"type" : "Integer" , "val" : "0" } }] } },
"val" : [{"others" : {"type" : "Integer" , "val" : "1" } }] } },
{"field" : "g_bool" , "value" : {"type" : "Boolean" ,
"val" : false } }] } }
re_rec_map.f_map, [[@model_projected], [@introduced],
[@model_trace:re_rec_map.f_map]] = {"type" : "Array" ,
"val" : [{"others" : {"type" : "Integer" ,
"val" : "0" } }] }
re_rec_map.g_map, [[@model_projected], [@introduced],
[@model_trace:re_rec_map.g_map]] = {"type" : "Boolean" ,
"val" : false }
Line 53:
rec_map, [[@model_projected], [@introduced],
[@model_trace:rec_map]] = {"type" : "Record" ,
"val" : {"Field" : [{"field" : "f_map" , "value" : {"type" : "Array" ,
"val" : [{"others" : {"type" : "Integer" , "val" : "1" } }] } },
"val" : [{"others" : {"type" : "Integer" , "val" : "0" } }] } },
{"field" : "g_bool" , "value" : {"type" : "Boolean" ,
"val" : false } }] } }
rec_map.f_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.f_map]] = {"type" : "Array" ,
"val" : [{"others" : {"type" : "Integer" ,
"val" : "1" } }] }
rec_map.g_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.g_map]] = {"type" : "Boolean" ,
"val" : false }
Line 54:
re_rec_map, [[@model_projected], [@introduced],
[@model_trace:re_rec_map]] = {"type" : "Record" ,
"val" : {"Field" : [{"field" : "f_map" , "value" : {"type" : "Array" ,
"val" : [{"others" : {"type" : "Integer" , "val" : "0" } }] } },
"val" : [{"others" : {"type" : "Integer" , "val" : "1" } }] } },
{"field" : "g_bool" , "value" : {"type" : "Boolean" ,
"val" : false } }] } }
re_rec_map.f_map, [[@model_projected], [@introduced],
[@model_trace:re_rec_map.f_map]] = {"type" : "Array" ,
"val" : [{"others" : {"type" : "Integer" ,
"val" : "0" } }] }
re_rec_map.g_map, [[@model_projected], [@introduced],
[@model_trace:re_rec_map.g_map]] = {"type" : "Boolean" ,
"val" : false }
rec_map, [[@model_projected], [@introduced],
[@model_trace:rec_map]] = {"type" : "Record" ,
"val" : {"Field" : [{"field" : "f_map" , "value" : {"type" : "Array" ,
"val" : [{"others" : {"type" : "Integer" , "val" : "1" } }] } },
"val" : [{"others" : {"type" : "Integer" , "val" : "0" } }] } },
{"field" : "g_bool" , "value" : {"type" : "Boolean" ,
"val" : false } }] } }
rec_map.f_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.f_map]] = {"type" : "Array" ,
"val" : [{"others" : {"type" : "Integer" ,
"val" : "1" } }] }
rec_map.g_map, [[@model_projected], [@introduced],
[@model_trace:rec_map.g_map]] = {"type" : "Boolean" ,
"val" : false }
......@@ -16,7 +16,7 @@ open Theory
open Ty
let is_proj_for_array_attr proj_name =
match Str.search_forward (Str.regexp "'First\\|'Last\\|\\.") proj_name 0 with
match Str.search_forward (Str.regexp "'First\\|'Last") proj_name 0 with
| _ -> true
| exception Not_found -> false
......
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