# HG changeset patch # User wneuper # Date 1157468797 -7200 # Node ID f2ef81c190285eed16c87483bd294f39141fa5cd # Parent 8d7ffa38b6379e938d801dc29851f497bf28326b checked tests for cancel_p diff -r 8d7ffa38b637 -r f2ef81c19028 src/smltest/IsacKnowledge/rational.sml --- a/src/smltest/IsacKnowledge/rational.sml Tue Sep 05 16:54:36 2006 +0200 +++ b/src/smltest/IsacKnowledge/rational.sml Tue Sep 05 17:06:37 2006 +0200 @@ -1368,21 +1368,18 @@ (*Schalk I, p.68 Nr. 437b *) (* SK loops, Falsches Ergebnis: cancel_p kann nicht weiter krzen!!! *) val t = str2term "(a + b)/(x^^^2 - y^^^2) * ((x - y)^^^2/(a^^^2 - b^^^2))"; +(* val Some (t,_) = rewrite_set_ thy false norm_Rational(*_mg*) t; term2str t; WN060831????SK9 "(a * x ^^^ 2 + -2 * a * x * y + a * y ^^^ 2 + b * x ^^^ 2 + -2 * b * x * y + b * y ^^^ 2) /(a ^^^ 2 * x ^^^ 2 + -1 * a ^^^ 2 * y ^^^ 2 + -1 * b ^^^ 2 * x ^^^ 2 + b ^^^ 2 * y ^^^ 2)"; - -(**) +*) (* *) val t = str2term "(a * x ^^^ 2 + -2 * a * x * y + a * y ^^^ 2 + b * x ^^^ 2 + -2 * b * x * y + b * y ^^^ 2) /(a ^^^ 2 * x ^^^ 2 + -1 * a ^^^ 2 * y ^^^ 2 + -1 * b ^^^ 2 * x ^^^ 2 + b ^^^ 2 * y ^^^ 2)"; -(* WN060831????SK10 *) +(* WN060831????SK10 val Some (t,_) = rewrite_set_ thy false cancel_p t; term2str t; -(* -uncaught exception nonexhaustive binding failure - raised at: stdIn:270.1-270.51 *) (*SRM Schalk I, p.68 Nr. 438a *)