diff -r a80d8ec6c998 -r 3dda49e08b9d src/HOL/Tools/prop_logic.ML --- a/src/HOL/Tools/prop_logic.ML Fri Jan 04 21:49:06 2019 +0100 +++ b/src/HOL/Tools/prop_logic.ML Fri Jan 04 23:22:53 2019 +0100 @@ -350,17 +350,17 @@ next_idx_is_valid := true; Unsynchronized.inc next_idx ) - fun aux (Const (@{const_name True}, _)) table = (True, table) - | aux (Const (@{const_name False}, _)) table = (False, table) - | aux (Const (@{const_name Not}, _) $ x) table = apfst Not (aux x table) - | aux (Const (@{const_name HOL.disj}, _) $ x $ y) table = + fun aux (Const (\<^const_name>\True\, _)) table = (True, table) + | aux (Const (\<^const_name>\False\, _)) table = (False, table) + | aux (Const (\<^const_name>\Not\, _) $ x) table = apfst Not (aux x table) + | aux (Const (\<^const_name>\HOL.disj\, _) $ x $ y) table = let val (fm1, table1) = aux x table val (fm2, table2) = aux y table1 in (Or (fm1, fm2), table2) end - | aux (Const (@{const_name HOL.conj}, _) $ x $ y) table = + | aux (Const (\<^const_name>\HOL.conj\, _) $ x $ y) table = let val (fm1, table1) = aux x table val (fm2, table2) = aux y table1 @@ -390,8 +390,8 @@ (* Boolean variables in the formula, similar to 'prop_formula_of_term' *) (* (but the other way round). *) -fun term_of_prop_formula True = @{term True} - | term_of_prop_formula False = @{term False} +fun term_of_prop_formula True = \<^term>\True\ + | term_of_prop_formula False = \<^term>\False\ | term_of_prop_formula (BoolVar i) = Free ("v" ^ string_of_int i, HOLogic.boolT) | term_of_prop_formula (Not fm) = HOLogic.mk_not (term_of_prop_formula fm) | term_of_prop_formula (Or (fm1, fm2)) =