equal
deleted
inserted
replaced
567 val decls = if sorted then func_sigs () @ pred_sigs () else [] |
567 val decls = if sorted then func_sigs () @ pred_sigs () else [] |
568 val axioms = |
568 val axioms = |
569 filt (formula (curry (op <>) Conjecture)) |> separate [""] |> flat |
569 filt (formula (curry (op <>) Conjecture)) |> separate [""] |> flat |
570 val conjs = |
570 val conjs = |
571 filt (formula (curry (op =) Conjecture)) |> separate [""] |> flat |
571 filt (formula (curry (op =) Conjecture)) |> separate [""] |> flat |
572 (* The second layer of ")." is a temporary workaround for a quirk in SPASS's |
|
573 parser. *) |
|
574 val settings = |
572 val settings = |
575 (if is_lpo then ["set_flag(Ordering, 1).)."] else []) @ |
573 (if is_lpo then ["set_flag(Ordering, 1)."] else []) @ |
576 (if gen_prec then |
574 (if gen_prec then |
577 [ord_info |> map fst |> rev |> commas |
575 [ord_info |> map fst |> rev |> commas |
578 |> maybe_enclose "set_precedence(" ")."] |
576 |> maybe_enclose "set_precedence(" ")."] |
579 else |
577 else |
580 []) |
578 []) |