0.634 * [progress]: [Phase 1 of 3] Setting up. 0.002 * * * [progress]: [1/2] Preparing points 0.328 * * * [progress]: [2/2] Setting up program. 0.332 * [progress]: [Phase 2 of 3] Improving. 0.335 * [simplify]: Simplifying: (* (sqrt (- x 1.0)) (sqrt x)) 0.336 * [simplify]: Sending expressions to egg_math: (* (sqrt (- h0 h1)) (sqrt h0)) 0.338 * * [simplify]: iteration 0 : 9 enodes (cost 4 ) 0.339 * * [simplify]: iteration 1 : 10 enodes (cost 4 ) 0.340 * * [simplify]: iteration 2 : 10 enodes (cost 4 ) 0.342 * * [progress]: iteration 1 / 4 0.342 * * * [progress]: picking best candidate 0.344 * * * * [pick]: Picked # 0.344 * * * [progress]: localizing error 0.372 * * * [progress]: generating rewritten candidates 0.372 * * * * [progress]: [ 1 / 1 ] rewriting at (2) 0.403 * * * [progress]: generating series expansions 0.404 * * * * [progress]: [ 1 / 1 ] generating series at (2) 0.408 * [backup-simplify]: Simplify (* (sqrt (- x 1.0)) (sqrt x)) into (sqrt (* (- x 1.0) x)) 0.408 * [approximate]: Taking taylor expansion of (sqrt (* (- x 1.0) x)) in (x) around 0 0.409 * [taylor]: Taking taylor expansion of (sqrt (* (- x 1.0) x)) in x 0.409 * [taylor]: Taking taylor expansion of (* (- x 1.0) x) in x 0.409 * [taylor]: Taking taylor expansion of (- x 1.0) in x 0.409 * [taylor]: Taking taylor expansion of x in x 0.409 * [backup-simplify]: Simplify 0 into 0 0.409 * [backup-simplify]: Simplify 1 into 1 0.409 * [taylor]: Taking taylor expansion of 1.0 in x 0.409 * [backup-simplify]: Simplify 1.0 into 1.0 0.409 * [taylor]: Taking taylor expansion of x in x 0.409 * [backup-simplify]: Simplify 0 into 0 0.409 * [backup-simplify]: Simplify 1 into 1 0.410 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.411 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.411 * [backup-simplify]: Simplify (* (- 1.0) 0) into 0 0.411 * [backup-simplify]: Simplify (- 0) into 0 0.412 * [backup-simplify]: Simplify (+ 1 0) into 1 0.413 * [backup-simplify]: Simplify (+ (* (- 1.0) 1) (* 1 0)) into (- 1.0) 0.413 * [backup-simplify]: Simplify (sqrt 0) into 0 0.414 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 0))) into +nan.0 0.414 * [taylor]: Taking taylor expansion of (sqrt (* (- x 1.0) x)) in x 0.414 * [taylor]: Taking taylor expansion of (* (- x 1.0) x) in x 0.414 * [taylor]: Taking taylor expansion of (- x 1.0) in x 0.414 * [taylor]: Taking taylor expansion of x in x 0.414 * [backup-simplify]: Simplify 0 into 0 0.414 * [backup-simplify]: Simplify 1 into 1 0.414 * [taylor]: Taking taylor expansion of 1.0 in x 0.414 * [backup-simplify]: Simplify 1.0 into 1.0 0.414 * [taylor]: Taking taylor expansion of x in x 0.414 * [backup-simplify]: Simplify 0 into 0 0.414 * [backup-simplify]: Simplify 1 into 1 0.415 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.415 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.415 * [backup-simplify]: Simplify (* (- 1.0) 0) into 0 0.416 * [backup-simplify]: Simplify (- 0) into 0 0.416 * [backup-simplify]: Simplify (+ 1 0) into 1 0.417 * [backup-simplify]: Simplify (+ (* (- 1.0) 1) (* 1 0)) into (- 1.0) 0.417 * [backup-simplify]: Simplify (sqrt 0) into 0 0.418 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 0))) into +nan.0 0.419 * [backup-simplify]: Simplify 0 into 0 0.419 * [backup-simplify]: Simplify +nan.0 into +nan.0 0.419 * [backup-simplify]: Simplify (- 0) into 0 0.420 * [backup-simplify]: Simplify (+ 0 0) into 0 0.420 * [backup-simplify]: Simplify (+ (* (- 1.0) 0) (+ (* 1 1) (* 0 0))) into 1 0.422 * [backup-simplify]: Simplify (/ (- 1 (pow +nan.0 2) (+)) (* 2 0)) into +nan.0 0.422 * [backup-simplify]: Simplify +nan.0 into +nan.0 0.423 * [backup-simplify]: Simplify (- 0) into 0 0.423 * [backup-simplify]: Simplify (+ 0 0) into 0 0.424 * [backup-simplify]: Simplify (+ (* (- 1.0) 0) (+ (* 1 0) (+ (* 0 1) (* 0 0)))) into 0 0.426 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* +nan.0 +nan.0)))) (* 2 0)) into +nan.0 0.426 * [backup-simplify]: Simplify +nan.0 into +nan.0 0.427 * [backup-simplify]: Simplify (+ (* +nan.0 (pow x 3)) (+ (* +nan.0 (pow x 2)) (* +nan.0 x))) into (- (+ (* +nan.0 (pow x 2)) (- (+ (* +nan.0 (pow x 3)) (- (* +nan.0 x)))))) 0.428 * [backup-simplify]: Simplify (* (sqrt (- (/ 1 x) 1.0)) (sqrt (/ 1 x))) into (sqrt (/ (- (/ 1 x) 1.0) x)) 0.428 * [approximate]: Taking taylor expansion of (sqrt (/ (- (/ 1 x) 1.0) x)) in (x) around 0 0.428 * [taylor]: Taking taylor expansion of (sqrt (/ (- (/ 1 x) 1.0) x)) in x 0.428 * [taylor]: Taking taylor expansion of (/ (- (/ 1 x) 1.0) x) in x 0.428 * [taylor]: Taking taylor expansion of (- (/ 1 x) 1.0) in x 0.428 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.428 * [taylor]: Taking taylor expansion of x in x 0.428 * [backup-simplify]: Simplify 0 into 0 0.428 * [backup-simplify]: Simplify 1 into 1 0.428 * [backup-simplify]: Simplify (/ 1 1) into 1 0.428 * [taylor]: Taking taylor expansion of 1.0 in x 0.428 * [backup-simplify]: Simplify 1.0 into 1.0 0.428 * [taylor]: Taking taylor expansion of x in x 0.428 * [backup-simplify]: Simplify 0 into 0 0.428 * [backup-simplify]: Simplify 1 into 1 0.429 * [backup-simplify]: Simplify (+ 1 0) into 1 0.429 * [backup-simplify]: Simplify (/ 1 1) into 1 0.429 * [backup-simplify]: Simplify (sqrt 1) into 1 0.430 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.430 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.431 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.432 * [backup-simplify]: Simplify (- (/ (- 1.0) 1) (+ (* 1 (/ 0 1)))) into (- 1.0) 0.433 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 1))) into -0.5 0.433 * [taylor]: Taking taylor expansion of (sqrt (/ (- (/ 1 x) 1.0) x)) in x 0.433 * [taylor]: Taking taylor expansion of (/ (- (/ 1 x) 1.0) x) in x 0.433 * [taylor]: Taking taylor expansion of (- (/ 1 x) 1.0) in x 0.433 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.433 * [taylor]: Taking taylor expansion of x in x 0.433 * [backup-simplify]: Simplify 0 into 0 0.433 * [backup-simplify]: Simplify 1 into 1 0.433 * [backup-simplify]: Simplify (/ 1 1) into 1 0.433 * [taylor]: Taking taylor expansion of 1.0 in x 0.433 * [backup-simplify]: Simplify 1.0 into 1.0 0.433 * [taylor]: Taking taylor expansion of x in x 0.433 * [backup-simplify]: Simplify 0 into 0 0.433 * [backup-simplify]: Simplify 1 into 1 0.433 * [backup-simplify]: Simplify (+ 1 0) into 1 0.434 * [backup-simplify]: Simplify (/ 1 1) into 1 0.434 * [backup-simplify]: Simplify (sqrt 1) into 1 0.434 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.435 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.435 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.436 * [backup-simplify]: Simplify (- (/ (- 1.0) 1) (+ (* 1 (/ 0 1)))) into (- 1.0) 0.437 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 1))) into -0.5 0.438 * [backup-simplify]: Simplify 1 into 1 0.438 * [backup-simplify]: Simplify -0.5 into -0.5 0.438 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.438 * [backup-simplify]: Simplify (- 0) into 0 0.439 * [backup-simplify]: Simplify (+ 0 0) into 0 0.439 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* 1 (/ 0 1)) (* (- 1.0) (/ 0 1)))) into 0 0.441 * [backup-simplify]: Simplify (/ (- 0 (pow -0.5 2) (+)) (* 2 1)) into -0.125 0.441 * [backup-simplify]: Simplify -0.125 into -0.125 0.441 * [backup-simplify]: Simplify (+ (* -0.125 (/ 1 x)) (+ -0.5 (* 1 (/ 1 (/ 1 x))))) into (- x (+ 0.5 (* 0.125 (/ 1 x)))) 0.441 * [backup-simplify]: Simplify (* (sqrt (- (/ 1 (- x)) 1.0)) (sqrt (/ 1 (- x)))) into (* (sqrt (- (+ 1.0 (/ 1 x)))) (sqrt (/ -1 x))) 0.441 * [approximate]: Taking taylor expansion of (* (sqrt (- (+ 1.0 (/ 1 x)))) (sqrt (/ -1 x))) in (x) around 0 0.441 * [taylor]: Taking taylor expansion of (* (sqrt (- (+ 1.0 (/ 1 x)))) (sqrt (/ -1 x))) in x 0.441 * [taylor]: Taking taylor expansion of (sqrt (- (+ 1.0 (/ 1 x)))) in x 0.441 * [taylor]: Taking taylor expansion of (- (+ 1.0 (/ 1 x))) in x 0.441 * [taylor]: Taking taylor expansion of (+ 1.0 (/ 1 x)) in x 0.441 * [taylor]: Taking taylor expansion of 1.0 in x 0.441 * [backup-simplify]: Simplify 1.0 into 1.0 0.441 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.441 * [taylor]: Taking taylor expansion of x in x 0.441 * [backup-simplify]: Simplify 0 into 0 0.441 * [backup-simplify]: Simplify 1 into 1 0.442 * [backup-simplify]: Simplify (/ 1 1) into 1 0.442 * [backup-simplify]: Simplify (+ 0 1) into 1 0.442 * [backup-simplify]: Simplify (- 1) into -1 0.442 * [backup-simplify]: Simplify (sqrt 0) into 0 0.443 * [backup-simplify]: Simplify (- 1) into -1 0.443 * [backup-simplify]: Simplify (/ -1 (* 2 (sqrt 0))) into +nan.0 0.443 * [taylor]: Taking taylor expansion of (sqrt (/ -1 x)) in x 0.443 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.443 * [taylor]: Taking taylor expansion of -1 in x 0.443 * [backup-simplify]: Simplify -1 into -1 0.443 * [taylor]: Taking taylor expansion of x in x 0.443 * [backup-simplify]: Simplify 0 into 0 0.443 * [backup-simplify]: Simplify 1 into 1 0.444 * [backup-simplify]: Simplify (/ -1 1) into -1 0.444 * [backup-simplify]: Simplify (sqrt 0) into 0 0.445 * [backup-simplify]: Simplify (/ -1 (* 2 (sqrt 0))) into +nan.0 0.445 * [taylor]: Taking taylor expansion of (* (sqrt (- (+ 1.0 (/ 1 x)))) (sqrt (/ -1 x))) in x 0.445 * [taylor]: Taking taylor expansion of (sqrt (- (+ 1.0 (/ 1 x)))) in x 0.445 * [taylor]: Taking taylor expansion of (- (+ 1.0 (/ 1 x))) in x 0.445 * [taylor]: Taking taylor expansion of (+ 1.0 (/ 1 x)) in x 0.445 * [taylor]: Taking taylor expansion of 1.0 in x 0.445 * [backup-simplify]: Simplify 1.0 into 1.0 0.445 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.445 * [taylor]: Taking taylor expansion of x in x 0.445 * [backup-simplify]: Simplify 0 into 0 0.445 * [backup-simplify]: Simplify 1 into 1 0.445 * [backup-simplify]: Simplify (/ 1 1) into 1 0.445 * [backup-simplify]: Simplify (+ 0 1) into 1 0.446 * [backup-simplify]: Simplify (- 1) into -1 0.446 * [backup-simplify]: Simplify (sqrt 0) into 0 0.446 * [backup-simplify]: Simplify (- 1) into -1 0.447 * [backup-simplify]: Simplify (/ -1 (* 2 (sqrt 0))) into +nan.0 0.447 * [taylor]: Taking taylor expansion of (sqrt (/ -1 x)) in x 0.447 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.447 * [taylor]: Taking taylor expansion of -1 in x 0.447 * [backup-simplify]: Simplify -1 into -1 0.447 * [taylor]: Taking taylor expansion of x in x 0.447 * [backup-simplify]: Simplify 0 into 0 0.447 * [backup-simplify]: Simplify 1 into 1 0.447 * [backup-simplify]: Simplify (/ -1 1) into -1 0.448 * [backup-simplify]: Simplify (sqrt 0) into 0 0.448 * [backup-simplify]: Simplify (/ -1 (* 2 (sqrt 0))) into +nan.0 0.449 * [backup-simplify]: Simplify (* 0 0) into 0 0.449 * [backup-simplify]: Simplify 0 into 0 0.449 * [backup-simplify]: Simplify (+ (* 0 +nan.0) (* +nan.0 0)) into 0 0.449 * [backup-simplify]: Simplify 0 into 0 0.450 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* -1 (/ 0 1)))) into 0 0.451 * [backup-simplify]: Simplify (/ (- 0 (pow +nan.0 2) (+)) (* 2 0)) into +nan.0 0.452 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.452 * [backup-simplify]: Simplify (+ 1.0 0) into 1.0 0.452 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.459 * [backup-simplify]: Simplify (/ (- (- 1.0) (pow +nan.0 2) (+)) (* 2 0)) into +nan.0 0.461 * [backup-simplify]: Simplify (+ (* 0 +nan.0) (+ (* +nan.0 +nan.0) (* +nan.0 0))) into (- +nan.0) 0.461 * [backup-simplify]: Simplify (- +nan.0) into (- +nan.0) 0.461 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* -1 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.463 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* +nan.0 +nan.0)))) (* 2 0)) into +nan.0 0.464 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.464 * [backup-simplify]: Simplify (+ 0 0) into 0 0.464 * [backup-simplify]: Simplify (- 0) into 0 0.466 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* +nan.0 +nan.0)))) (* 2 0)) into +nan.0 0.468 * [backup-simplify]: Simplify (+ (* 0 +nan.0) (+ (* +nan.0 +nan.0) (+ (* +nan.0 +nan.0) (* +nan.0 0)))) into (- +nan.0) 0.469 * [backup-simplify]: Simplify (- +nan.0) into (- +nan.0) 0.469 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* -1 (/ 0 1)) (* 0 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.472 * [backup-simplify]: Simplify (/ (- 0 (pow +nan.0 2) (+ (* 2 (* +nan.0 +nan.0)))) (* 2 0)) into +nan.0 0.472 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.472 * [backup-simplify]: Simplify (+ 0 0) into 0 0.473 * [backup-simplify]: Simplify (- 0) into 0 0.475 * [backup-simplify]: Simplify (/ (- 0 (pow +nan.0 2) (+ (* 2 (* +nan.0 +nan.0)))) (* 2 0)) into +nan.0 0.478 * [backup-simplify]: Simplify (+ (* 0 +nan.0) (+ (* +nan.0 +nan.0) (+ (* +nan.0 +nan.0) (+ (* +nan.0 +nan.0) (* +nan.0 0))))) into (- +nan.0) 0.478 * [backup-simplify]: Simplify (- +nan.0) into (- +nan.0) 0.479 * [backup-simplify]: Simplify (+ (* (- +nan.0) (pow (/ 1 (- x)) 2)) (+ (* (- +nan.0) (/ 1 (- x))) (- +nan.0))) into (- (+ (* +nan.0 (/ 1 (pow x 2))) (- (+ (* +nan.0 (/ 1 x)) (- +nan.0))))) 0.479 * * * [progress]: simplifying candidates 0.480 * [simplify]: Simplifying: (* (- x 1.0) x) (* (sqrt (- x 1.0)) (sqrt x)) (* (- x 1.0) x) (+ (log (sqrt (- x 1.0))) (log (sqrt x))) (log (* (sqrt (- x 1.0)) (sqrt x))) (exp (* (sqrt (- x 1.0)) (sqrt x))) (* (* (* (sqrt (- x 1.0)) (sqrt (- x 1.0))) (sqrt (- x 1.0))) (* (* (sqrt x) (sqrt x)) (sqrt x))) (* (cbrt (* (sqrt (- x 1.0)) (sqrt x))) (cbrt (* (sqrt (- x 1.0)) (sqrt x)))) (cbrt (* (sqrt (- x 1.0)) (sqrt x))) (* (* (* (sqrt (- x 1.0)) (sqrt x)) (* (sqrt (- x 1.0)) (sqrt x))) (* (sqrt (- x 1.0)) (sqrt x))) (* (- x 1.0) x) (sqrt (* (sqrt (- x 1.0)) (sqrt x))) (sqrt (* (sqrt (- x 1.0)) (sqrt x))) (* (sqrt (sqrt (- x 1.0))) (sqrt (sqrt x))) (* (sqrt (sqrt (- x 1.0))) (sqrt (sqrt x))) (* (sqrt (sqrt (- x 1.0))) (sqrt (sqrt x))) (* (sqrt (sqrt (- x 1.0))) (sqrt (sqrt x))) (* (sqrt (sqrt (- x 1.0))) (sqrt (sqrt x))) (* (sqrt (sqrt (- x 1.0))) (sqrt (sqrt x))) (* (sqrt (sqrt (- x 1.0))) (sqrt (sqrt x))) (* (sqrt (sqrt (- x 1.0))) (sqrt (sqrt x))) (* (sqrt (- x 1.0)) (* (cbrt (sqrt x)) (cbrt (sqrt x)))) (* (sqrt (- x 1.0)) (sqrt (* (cbrt x) (cbrt x)))) (* (sqrt (- x 1.0)) (sqrt (sqrt x))) (* (sqrt (- x 1.0)) (sqrt 1)) (* (sqrt (- x 1.0)) (sqrt (sqrt x))) (* (sqrt (- x 1.0)) 1) (* (cbrt (sqrt (- x 1.0))) (sqrt x)) (* (sqrt (cbrt (- x 1.0))) (sqrt x)) (* (sqrt (sqrt (- x 1.0))) (sqrt x)) (* (sqrt (- x 1.0)) (sqrt x)) (* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x)) (* (sqrt (- x 1.0)) (sqrt x)) (* (sqrt (sqrt (- x 1.0))) (sqrt x)) (* (sqrt (- x 1.0)) (sqrt x)) (* (sqrt (- (pow x 3) (pow 1.0 3))) (sqrt x)) (* (sqrt (- (* x x) (* 1.0 1.0))) (sqrt x)) (- (+ (* +nan.0 (pow x 2)) (- (+ (* +nan.0 (pow x 3)) (- (* +nan.0 x)))))) (- x (+ 0.5 (* 0.125 (/ 1 x)))) (- (+ (* +nan.0 (/ 1 (pow x 2))) (- (+ (* +nan.0 (/ 1 x)) (- +nan.0))))) 0.480 * [simplify]: Sending expressions to egg_math: (* (- h0 h1) h0) (* (sqrt (- h0 h1)) (sqrt h0)) (* (- h0 h1) h0) (+ (log (sqrt (- h0 h1))) (log (sqrt h0))) (log (* (sqrt (- h0 h1)) (sqrt h0))) (exp (* (sqrt (- h0 h1)) (sqrt h0))) (* (* (* (sqrt (- h0 h1)) (sqrt (- h0 h1))) (sqrt (- h0 h1))) (* (* (sqrt h0) (sqrt h0)) (sqrt h0))) (* (cbrt (* (sqrt (- h0 h1)) (sqrt h0))) (cbrt (* (sqrt (- h0 h1)) (sqrt h0)))) (cbrt (* (sqrt (- h0 h1)) (sqrt h0))) (* (* (* (sqrt (- h0 h1)) (sqrt h0)) (* (sqrt (- h0 h1)) (sqrt h0))) (* (sqrt (- h0 h1)) (sqrt h0))) (* (- h0 h1) h0) (sqrt (* (sqrt (- h0 h1)) (sqrt h0))) (sqrt (* (sqrt (- h0 h1)) (sqrt h0))) (* (sqrt (sqrt (- h0 h1))) (sqrt (sqrt h0))) (* (sqrt (sqrt (- h0 h1))) (sqrt (sqrt h0))) (* (sqrt (sqrt (- h0 h1))) (sqrt (sqrt h0))) (* (sqrt (sqrt (- h0 h1))) (sqrt (sqrt h0))) (* (sqrt (sqrt (- h0 h1))) (sqrt (sqrt h0))) (* (sqrt (sqrt (- h0 h1))) (sqrt (sqrt h0))) (* (sqrt (sqrt (- h0 h1))) (sqrt (sqrt h0))) (* (sqrt (sqrt (- h0 h1))) (sqrt (sqrt h0))) (* (sqrt (- h0 h1)) (* (cbrt (sqrt h0)) (cbrt (sqrt h0)))) (* (sqrt (- h0 h1)) (sqrt (* (cbrt h0) (cbrt h0)))) (* (sqrt (- h0 h1)) (sqrt (sqrt h0))) (* (sqrt (- h0 h1)) (sqrt 1)) (* (sqrt (- h0 h1)) (sqrt (sqrt h0))) (* (sqrt (- h0 h1)) 1) (* (cbrt (sqrt (- h0 h1))) (sqrt h0)) (* (sqrt (cbrt (- h0 h1))) (sqrt h0)) (* (sqrt (sqrt (- h0 h1))) (sqrt h0)) (* (sqrt (- h0 h1)) (sqrt h0)) (* (sqrt (- (sqrt h0) (sqrt h1))) (sqrt h0)) (* (sqrt (- h0 h1)) (sqrt h0)) (* (sqrt (sqrt (- h0 h1))) (sqrt h0)) (* (sqrt (- h0 h1)) (sqrt h0)) (* (sqrt (- (pow h0 3) (pow h1 3))) (sqrt h0)) (* (sqrt (- (* h0 h0) (* h1 h1))) (sqrt h0)) (- (+ (* h2 (pow h0 2)) (- (+ (* h2 (pow h0 3)) (- (* h2 h0)))))) (- h0 (+ h4 (* h3 (/ 1 h0)))) (- (+ (* h2 (/ 1 (pow h0 2))) (- (+ (* h2 (/ 1 h0)) (- h2))))) 0.483 * * [simplify]: iteration 0 : 181 enodes (cost 216 ) 0.487 * * [simplify]: iteration 1 : 610 enodes (cost 206 ) 0.499 * * [simplify]: iteration 2 : 2471 enodes (cost 201 ) 0.552 * * [simplify]: iteration 3 : 5002 enodes (cost 201 ) 0.554 * * * [progress]: adding candidates to table 0.618 * * [progress]: iteration 2 / 4 0.618 * * * [progress]: picking best candidate 0.620 * * * * [pick]: Picked # 0.620 * * * [progress]: localizing error 0.625 * * * [progress]: generating rewritten candidates 0.625 * * * [progress]: generating series expansions 0.625 * * * [progress]: simplifying candidates 0.625 * [simplify]: Simplifying: 0.625 * [simplify]: Sending expressions to egg_math: 0.627 * * [simplify]: iteration 0 : 0 enodes (cost 0 ) 0.627 * * * [progress]: adding candidates to table 0.627 * * [progress]: iteration 3 / 4 0.627 * * * [progress]: picking best candidate 0.629 * * * * [pick]: Picked # 0.629 * * * [progress]: localizing error 0.632 * * * [progress]: generating rewritten candidates 0.633 * * * * [progress]: [ 1 / 1 ] rewriting at (2) 0.641 * * * [progress]: generating series expansions 0.641 * * * * [progress]: [ 1 / 1 ] generating series at (2) 0.641 * [backup-simplify]: Simplify (sqrt (* (- x 1.0) x)) into (sqrt (* (- x 1.0) x)) 0.641 * [approximate]: Taking taylor expansion of (sqrt (* (- x 1.0) x)) in (x) around 0 0.641 * [taylor]: Taking taylor expansion of (sqrt (* (- x 1.0) x)) in x 0.641 * [taylor]: Taking taylor expansion of (* (- x 1.0) x) in x 0.641 * [taylor]: Taking taylor expansion of (- x 1.0) in x 0.641 * [taylor]: Taking taylor expansion of x in x 0.641 * [backup-simplify]: Simplify 0 into 0 0.641 * [backup-simplify]: Simplify 1 into 1 0.641 * [taylor]: Taking taylor expansion of 1.0 in x 0.641 * [backup-simplify]: Simplify 1.0 into 1.0 0.641 * [taylor]: Taking taylor expansion of x in x 0.641 * [backup-simplify]: Simplify 0 into 0 0.641 * [backup-simplify]: Simplify 1 into 1 0.641 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.642 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.642 * [backup-simplify]: Simplify (* (- 1.0) 0) into 0 0.642 * [backup-simplify]: Simplify (- 0) into 0 0.643 * [backup-simplify]: Simplify (+ 1 0) into 1 0.644 * [backup-simplify]: Simplify (+ (* (- 1.0) 1) (* 1 0)) into (- 1.0) 0.644 * [backup-simplify]: Simplify (sqrt 0) into 0 0.645 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 0))) into +nan.0 0.645 * [taylor]: Taking taylor expansion of (sqrt (* (- x 1.0) x)) in x 0.645 * [taylor]: Taking taylor expansion of (* (- x 1.0) x) in x 0.645 * [taylor]: Taking taylor expansion of (- x 1.0) in x 0.645 * [taylor]: Taking taylor expansion of x in x 0.645 * [backup-simplify]: Simplify 0 into 0 0.645 * [backup-simplify]: Simplify 1 into 1 0.645 * [taylor]: Taking taylor expansion of 1.0 in x 0.645 * [backup-simplify]: Simplify 1.0 into 1.0 0.645 * [taylor]: Taking taylor expansion of x in x 0.646 * [backup-simplify]: Simplify 0 into 0 0.646 * [backup-simplify]: Simplify 1 into 1 0.646 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.646 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.647 * [backup-simplify]: Simplify (* (- 1.0) 0) into 0 0.647 * [backup-simplify]: Simplify (- 0) into 0 0.647 * [backup-simplify]: Simplify (+ 1 0) into 1 0.648 * [backup-simplify]: Simplify (+ (* (- 1.0) 1) (* 1 0)) into (- 1.0) 0.648 * [backup-simplify]: Simplify (sqrt 0) into 0 0.649 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 0))) into +nan.0 0.650 * [backup-simplify]: Simplify 0 into 0 0.650 * [backup-simplify]: Simplify +nan.0 into +nan.0 0.650 * [backup-simplify]: Simplify (- 0) into 0 0.650 * [backup-simplify]: Simplify (+ 0 0) into 0 0.651 * [backup-simplify]: Simplify (+ (* (- 1.0) 0) (+ (* 1 1) (* 0 0))) into 1 0.652 * [backup-simplify]: Simplify (/ (- 1 (pow +nan.0 2) (+)) (* 2 0)) into +nan.0 0.652 * [backup-simplify]: Simplify +nan.0 into +nan.0 0.653 * [backup-simplify]: Simplify (- 0) into 0 0.653 * [backup-simplify]: Simplify (+ 0 0) into 0 0.654 * [backup-simplify]: Simplify (+ (* (- 1.0) 0) (+ (* 1 0) (+ (* 0 1) (* 0 0)))) into 0 0.656 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* +nan.0 +nan.0)))) (* 2 0)) into +nan.0 0.656 * [backup-simplify]: Simplify +nan.0 into +nan.0 0.656 * [backup-simplify]: Simplify (+ (* +nan.0 (pow x 3)) (+ (* +nan.0 (pow x 2)) (* +nan.0 x))) into (- (+ (* +nan.0 (pow x 2)) (- (+ (* +nan.0 (pow x 3)) (- (* +nan.0 x)))))) 0.657 * [backup-simplify]: Simplify (sqrt (* (- (/ 1 x) 1.0) (/ 1 x))) into (sqrt (/ (- (/ 1 x) 1.0) x)) 0.657 * [approximate]: Taking taylor expansion of (sqrt (/ (- (/ 1 x) 1.0) x)) in (x) around 0 0.657 * [taylor]: Taking taylor expansion of (sqrt (/ (- (/ 1 x) 1.0) x)) in x 0.657 * [taylor]: Taking taylor expansion of (/ (- (/ 1 x) 1.0) x) in x 0.657 * [taylor]: Taking taylor expansion of (- (/ 1 x) 1.0) in x 0.657 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.657 * [taylor]: Taking taylor expansion of x in x 0.657 * [backup-simplify]: Simplify 0 into 0 0.657 * [backup-simplify]: Simplify 1 into 1 0.657 * [backup-simplify]: Simplify (/ 1 1) into 1 0.657 * [taylor]: Taking taylor expansion of 1.0 in x 0.657 * [backup-simplify]: Simplify 1.0 into 1.0 0.657 * [taylor]: Taking taylor expansion of x in x 0.657 * [backup-simplify]: Simplify 0 into 0 0.657 * [backup-simplify]: Simplify 1 into 1 0.657 * [backup-simplify]: Simplify (+ 1 0) into 1 0.658 * [backup-simplify]: Simplify (/ 1 1) into 1 0.658 * [backup-simplify]: Simplify (sqrt 1) into 1 0.658 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.658 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.659 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.660 * [backup-simplify]: Simplify (- (/ (- 1.0) 1) (+ (* 1 (/ 0 1)))) into (- 1.0) 0.661 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 1))) into -0.5 0.661 * [taylor]: Taking taylor expansion of (sqrt (/ (- (/ 1 x) 1.0) x)) in x 0.661 * [taylor]: Taking taylor expansion of (/ (- (/ 1 x) 1.0) x) in x 0.661 * [taylor]: Taking taylor expansion of (- (/ 1 x) 1.0) in x 0.661 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.661 * [taylor]: Taking taylor expansion of x in x 0.661 * [backup-simplify]: Simplify 0 into 0 0.661 * [backup-simplify]: Simplify 1 into 1 0.665 * [backup-simplify]: Simplify (/ 1 1) into 1 0.665 * [taylor]: Taking taylor expansion of 1.0 in x 0.665 * [backup-simplify]: Simplify 1.0 into 1.0 0.665 * [taylor]: Taking taylor expansion of x in x 0.665 * [backup-simplify]: Simplify 0 into 0 0.665 * [backup-simplify]: Simplify 1 into 1 0.665 * [backup-simplify]: Simplify (+ 1 0) into 1 0.665 * [backup-simplify]: Simplify (/ 1 1) into 1 0.666 * [backup-simplify]: Simplify (sqrt 1) into 1 0.666 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.666 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.667 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.668 * [backup-simplify]: Simplify (- (/ (- 1.0) 1) (+ (* 1 (/ 0 1)))) into (- 1.0) 0.669 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 1))) into -0.5 0.669 * [backup-simplify]: Simplify 1 into 1 0.669 * [backup-simplify]: Simplify -0.5 into -0.5 0.670 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.670 * [backup-simplify]: Simplify (- 0) into 0 0.670 * [backup-simplify]: Simplify (+ 0 0) into 0 0.671 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* 1 (/ 0 1)) (* (- 1.0) (/ 0 1)))) into 0 0.672 * [backup-simplify]: Simplify (/ (- 0 (pow -0.5 2) (+)) (* 2 1)) into -0.125 0.673 * [backup-simplify]: Simplify -0.125 into -0.125 0.673 * [backup-simplify]: Simplify (+ (* -0.125 (/ 1 x)) (+ -0.5 (* 1 (/ 1 (/ 1 x))))) into (- x (+ 0.5 (* 0.125 (/ 1 x)))) 0.673 * [backup-simplify]: Simplify (sqrt (* (- (/ 1 (- x)) 1.0) (/ 1 (- x)))) into (sqrt (/ (+ 1.0 (/ 1 x)) x)) 0.673 * [approximate]: Taking taylor expansion of (sqrt (/ (+ 1.0 (/ 1 x)) x)) in (x) around 0 0.673 * [taylor]: Taking taylor expansion of (sqrt (/ (+ 1.0 (/ 1 x)) x)) in x 0.673 * [taylor]: Taking taylor expansion of (/ (+ 1.0 (/ 1 x)) x) in x 0.673 * [taylor]: Taking taylor expansion of (+ 1.0 (/ 1 x)) in x 0.673 * [taylor]: Taking taylor expansion of 1.0 in x 0.673 * [backup-simplify]: Simplify 1.0 into 1.0 0.673 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.673 * [taylor]: Taking taylor expansion of x in x 0.673 * [backup-simplify]: Simplify 0 into 0 0.673 * [backup-simplify]: Simplify 1 into 1 0.673 * [backup-simplify]: Simplify (/ 1 1) into 1 0.673 * [taylor]: Taking taylor expansion of x in x 0.673 * [backup-simplify]: Simplify 0 into 0 0.673 * [backup-simplify]: Simplify 1 into 1 0.673 * [backup-simplify]: Simplify (+ 0 1) into 1 0.674 * [backup-simplify]: Simplify (/ 1 1) into 1 0.674 * [backup-simplify]: Simplify (sqrt 1) into 1 0.674 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.675 * [backup-simplify]: Simplify (+ 1.0 0) into 1.0 0.676 * [backup-simplify]: Simplify (- (/ 1.0 1) (+ (* 1 (/ 0 1)))) into 1.0 0.676 * [backup-simplify]: Simplify (/ 1.0 (* 2 (sqrt 1))) into 0.5 0.676 * [taylor]: Taking taylor expansion of (sqrt (/ (+ 1.0 (/ 1 x)) x)) in x 0.676 * [taylor]: Taking taylor expansion of (/ (+ 1.0 (/ 1 x)) x) in x 0.676 * [taylor]: Taking taylor expansion of (+ 1.0 (/ 1 x)) in x 0.676 * [taylor]: Taking taylor expansion of 1.0 in x 0.676 * [backup-simplify]: Simplify 1.0 into 1.0 0.676 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.676 * [taylor]: Taking taylor expansion of x in x 0.676 * [backup-simplify]: Simplify 0 into 0 0.677 * [backup-simplify]: Simplify 1 into 1 0.677 * [backup-simplify]: Simplify (/ 1 1) into 1 0.677 * [taylor]: Taking taylor expansion of x in x 0.677 * [backup-simplify]: Simplify 0 into 0 0.677 * [backup-simplify]: Simplify 1 into 1 0.677 * [backup-simplify]: Simplify (+ 0 1) into 1 0.677 * [backup-simplify]: Simplify (/ 1 1) into 1 0.677 * [backup-simplify]: Simplify (sqrt 1) into 1 0.678 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.678 * [backup-simplify]: Simplify (+ 1.0 0) into 1.0 0.679 * [backup-simplify]: Simplify (- (/ 1.0 1) (+ (* 1 (/ 0 1)))) into 1.0 0.680 * [backup-simplify]: Simplify (/ 1.0 (* 2 (sqrt 1))) into 0.5 0.680 * [backup-simplify]: Simplify 1 into 1 0.680 * [backup-simplify]: Simplify 0.5 into 0.5 0.681 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.681 * [backup-simplify]: Simplify (+ 0 0) into 0 0.681 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* 1 (/ 0 1)) (* 1.0 (/ 0 1)))) into 0 0.683 * [backup-simplify]: Simplify (/ (- 0 (pow 0.5 2) (+)) (* 2 1)) into -0.125 0.683 * [backup-simplify]: Simplify -0.125 into -0.125 0.683 * [backup-simplify]: Simplify (+ (* -0.125 (/ 1 (- x))) (+ 0.5 (* 1 (/ 1 (/ 1 (- x)))))) into (- (+ 0.5 (* 0.125 (/ 1 x))) x) 0.683 * * * [progress]: simplifying candidates 0.684 * [simplify]: Simplifying: (log (sqrt (* (- x 1.0) x))) (exp (sqrt (* (- x 1.0) x))) (* (cbrt (sqrt (* (- x 1.0) x))) (cbrt (sqrt (* (- x 1.0) x)))) (cbrt (sqrt (* (- x 1.0) x))) (* (* (sqrt (* (- x 1.0) x)) (sqrt (* (- x 1.0) x))) (sqrt (* (- x 1.0) x))) (sqrt (- x 1.0)) (sqrt x) (sqrt (* (- (pow x 3) (pow 1.0 3)) x)) (sqrt (+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))) (sqrt (* (- (* x x) (* 1.0 1.0)) x)) (sqrt (+ x 1.0)) (/ 1 2) (/ 1 2) (sqrt (sqrt (* (- x 1.0) x))) (sqrt (sqrt (* (- x 1.0) x))) (- (+ (* +nan.0 (pow x 2)) (- (+ (* +nan.0 (pow x 3)) (- (* +nan.0 x)))))) (- x (+ 0.5 (* 0.125 (/ 1 x)))) (- (+ 0.5 (* 0.125 (/ 1 x))) x) 0.684 * [simplify]: Sending expressions to egg_math: (log (sqrt (* (- h0 h1) h0))) (exp (sqrt (* (- h0 h1) h0))) (* (cbrt (sqrt (* (- h0 h1) h0))) (cbrt (sqrt (* (- h0 h1) h0)))) (cbrt (sqrt (* (- h0 h1) h0))) (* (* (sqrt (* (- h0 h1) h0)) (sqrt (* (- h0 h1) h0))) (sqrt (* (- h0 h1) h0))) (sqrt (- h0 h1)) (sqrt h0) (sqrt (* (- (pow h0 3) (pow h1 3)) h0)) (sqrt (+ (* h0 h0) (+ (* h1 h1) (* h0 h1)))) (sqrt (* (- (* h0 h0) (* h1 h1)) h0)) (sqrt (+ h0 h1)) (/ 1 2) (/ 1 2) (sqrt (sqrt (* (- h0 h1) h0))) (sqrt (sqrt (* (- h0 h1) h0))) (- (+ (* h2 (pow h0 2)) (- (+ (* h2 (pow h0 3)) (- (* h2 h0)))))) (- h0 (+ h4 (* h3 (/ 1 h0)))) (- (+ h4 (* h3 (/ 1 h0))) h0) 0.686 * * [simplify]: iteration 0 : 111 enodes (cost 74 ) 0.688 * * [simplify]: iteration 1 : 281 enodes (cost 69 ) 0.694 * * [simplify]: iteration 2 : 983 enodes (cost 68 ) 0.715 * * [simplify]: iteration 3 : 3763 enodes (cost 66 ) 0.834 * * [simplify]: iteration 4 : 5001 enodes (cost 66 ) 0.835 * * * [progress]: adding candidates to table