1 (*.c) by Richard Lang, 2003 .*)
2 (* collecting all knowledge for Root and Rational Equations
10 (* use"knowledge/RootRatEq.ML";
16 remove_thy"RootRatEq";
20 RootRatEq = RootEq + RatEq + RootRat +
22 (*-------------------- consts-----------------------------------------------*)
25 is'_rootRatAddTerm'_in :: [real, real] => bool ("_ is'_rootRatAddTerm'_in _") (*RL DA*)
27 (*---------scripts--------------------------*)
28 Elim'_rootrat'_equation
30 \ bool list] => bool list"
31 ("((Script Elim'_rootrat'_equation (_ _ =))// \
33 (*-------------------- rules------------------------------------------------*)
36 (* eliminate ratRootTerm *)
37 rootrat_equation_left_1
38 "[|c is_rootTerm_in bdv|] ==> ( (a + b/c = d) = ( b = (d - a) * c ))"
39 rootrat_equation_left_2
40 "[|c is_rootTerm_in bdv|] ==> ( (b/c = d) = ( b = d * c ))"
41 rootrat_equation_right_2
42 "[|f is_rootTerm_in bdv|] ==> ( (a = d + e/f) = ( (a - d) * f = e ))"
43 rootrat_equation_right_1
44 "[|f is_rootTerm_in bdv|] ==> ( (a = e/f) = ( a * f = e ))"