1.1 --- a/test/Tools/isac/Knowledge/rateq.sml Thu Mar 10 15:19:26 2011 +0100
1.2 +++ b/test/Tools/isac/Knowledge/rateq.sml Thu Mar 10 16:04:00 2011 +0100
1.3 @@ -14,22 +14,22 @@
1.4 val t = (term_of o the o (parse RatEq.thy)) "(1/b+1/x=1) is_ratequation_in x";
1.5 val SOME(t_, _) = rewrite_set_ RatEq.thy false RatEq_prls t;
1.6 val result = term2str t_;
1.7 -if result <> "True" then error "rateq.sml: new behaviour 1:" else ();
1.8 +if result <> "HOL.True" then error "rateq.sml: new behaviour 1:" else ();
1.9
1.10 val t = (term_of o the o (parse RatEq.thy)) "(sqrt(x)=1) is_ratequation_in x";
1.11 val SOME(t_, _) = rewrite_set_ RatEq.thy false RatEq_prls t;
1.12 val result = term2str t_;
1.13 -if result <> "False" then error "rateq.sml: new behaviour 2:" else ();
1.14 +if result <> "HOL.False" then error "rateq.sml: new behaviour 2:" else ();
1.15
1.16 val t = (term_of o the o (parse RatEq.thy)) "(x=-1) is_ratequation_in x";
1.17 val SOME(t_,_) = rewrite_set_ RatEq.thy false RatEq_prls t;
1.18 val result = term2str t_;
1.19 -if result <> "False" then error "rateq.sml: new behaviour 3:" else ();
1.20 +if result <> "HOL.False" then error "rateq.sml: new behaviour 3:" else ();
1.21
1.22 val t = (term_of o the o (parse RatEq.thy)) "(3 + x^^^2 + 1/(x^^^2+3)=1) is_ratequation_in x";
1.23 val SOME(t_,_) = rewrite_set_ RatEq.thy false RatEq_prls t;
1.24 val result = term2str t_;
1.25 -if result <> "True" then error "rateq.sml: new behaviour 4:" else ();
1.26 +if result <> "HOL.True" then error "rateq.sml: new behaviour 4:" else ();
1.27
1.28 val result = match_pbl ["equality (x=1)","solveFor x","solutions L"]
1.29 (get_pbt ["rational","univariate","equation"]);