Commit 401c4ce9 authored by Andrei Paskevich's avatar Andrei Paskevich

rename Encoding_distinction to Discriminate

parent 35c0d32e
......@@ -126,7 +126,7 @@ LIB_TRANSFORM = simplify_recursive_definition simplify_formula \
eliminate_definition eliminate_algebraic \
eliminate_inductive eliminate_let eliminate_if \
encoding_enumeration encoding libencoding \
encoding_distinction encoding_select \
discriminate encoding_select \
encoding_decorate encoding_bridge \
encoding_explicit encoding_guard encoding_sort \
encoding_instantiate simplify_array filter_trigger \
......
......@@ -303,7 +303,7 @@ let distingued =
| _ -> assert false in
Trans.on_meta meta_syntax_logic (fun syntax ->
let syntax = List.fold_left dist_syntax Mls.empty syntax in
Trans.on_meta Encoding_distinction.meta_lsinst (fun dis ->
Trans.on_meta Discriminate.meta_lsinst (fun dis ->
let dis2 = List.fold_left (dist_dist syntax) Mid.empty dis in
Trans.return dis2))
......
......@@ -307,7 +307,7 @@ let distingued =
| _ -> assert false in
Trans.on_meta meta_syntax_logic (fun syntax ->
let syntax = List.fold_left dist_syntax Mls.empty syntax in
Trans.on_meta Encoding_distinction.meta_lsinst (fun dis ->
Trans.on_meta Discriminate.meta_lsinst (fun dis ->
let dis2 = List.fold_left (dist_dist syntax) Mid.empty dis in
Trans.return dis2))
......
......@@ -26,7 +26,7 @@ open Decl
open Theory
open Task
open Encoding
open Encoding_distinction
open Discriminate
let register pr l = List.iter (fun (n,f) -> Hashtbl.replace pr n (const f)) l
......
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