diff -r c8a2755bf220 -r ff784d5a5bfb src/HOL/Matrix_LP/fspmlp.ML --- a/src/HOL/Matrix_LP/fspmlp.ML Sat Jan 05 17:00:43 2019 +0100 +++ b/src/HOL/Matrix_LP/fspmlp.ML Sat Jan 05 17:24:33 2019 +0100 @@ -182,10 +182,10 @@ exception Load of string; -val empty_spvec = @{term "Nil :: real spvec"}; -fun cons_spvec x xs = @{term "Cons :: nat * real => real spvec => real spvec"} $ x $ xs; -val empty_spmat = @{term "Nil :: real spmat"}; -fun cons_spmat x xs = @{term "Cons :: nat * real spvec => real spmat => real spmat"} $ x $ xs; +val empty_spvec = \<^term>\Nil :: real spvec\; +fun cons_spvec x xs = \<^term>\Cons :: nat * real => real spvec => real spvec\ $ x $ xs; +val empty_spmat = \<^term>\Nil :: real spmat\; +fun cons_spmat x xs = \<^term>\Cons :: nat * real spvec => real spmat => real spmat\ $ x $ xs; fun calcr safe_propagation xlen names prec A b = let @@ -276,8 +276,8 @@ val b1 = Inttab.lookup r1 index val b2 = Inttab.lookup r2 index in - (add_row_entry r12_1 index @{term "lbound :: real => real"} ((names index)^"l") b1, - add_row_entry r12_2 index @{term "ubound :: real => real"} ((names index)^"u") b2) + (add_row_entry r12_1 index \<^term>\lbound :: real => real\ ((names index)^"l") b1, + add_row_entry r12_2 index \<^term>\ubound :: real => real\ ((names index)^"u") b2) end val (r1, r2) = abs_estimate xlen r1 r2