0.722 * [progress]: [Phase 1 of 3] Setting up. 0.002 * * * [progress]: [1/2] Preparing points 0.357 * * * [progress]: [2/2] Setting up program. 0.360 * [progress]: [Phase 2 of 3] Improving. 0.384 * [simplify]: Simplifying: (* (sqrt (- x 1.0)) (sqrt x)) 0.384 * [simplify]: Sending expressions to egg_math: (* (sqrt (- h0 h1)) (sqrt h0)) 0.387 * * [simplify]: iteration 0 : 9 enodes (cost 4 ) 0.388 * * [simplify]: iteration 1 : 10 enodes (cost 4 ) 0.390 * * [simplify]: iteration 2 : 10 enodes (cost 4 ) 0.391 * * [progress]: iteration 1 / 4 0.391 * * * [progress]: picking best candidate 0.394 * * * * [pick]: Picked # 0.394 * * * [progress]: localizing error 0.402 * * * [progress]: generating rewritten candidates 0.402 * * * * [progress]: [ 1 / 1 ] rewriting at (2) 0.433 * * * [progress]: generating series expansions 0.433 * * * * [progress]: [ 1 / 1 ] generating series at (2) 0.438 * [backup-simplify]: Simplify (* (sqrt (- x 1.0)) (sqrt x)) into (sqrt (* (- x 1.0) x)) 0.438 * [approximate]: Taking taylor expansion of (sqrt (* (- x 1.0) x)) in (x) around 0 0.439 * [taylor]: Taking taylor expansion of (sqrt (* (- x 1.0) x)) in x 0.439 * [taylor]: Taking taylor expansion of (* (- x 1.0) x) in x 0.439 * [taylor]: Taking taylor expansion of (- x 1.0) in x 0.439 * [taylor]: Taking taylor expansion of x in x 0.439 * [backup-simplify]: Simplify 0 into 0 0.439 * [backup-simplify]: Simplify 1 into 1 0.439 * [taylor]: Taking taylor expansion of 1.0 in x 0.439 * [backup-simplify]: Simplify 1.0 into 1.0 0.439 * [taylor]: Taking taylor expansion of x in x 0.439 * [backup-simplify]: Simplify 0 into 0 0.439 * [backup-simplify]: Simplify 1 into 1 0.440 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.441 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.441 * [backup-simplify]: Simplify (* (- 1.0) 0) into 0 0.441 * [backup-simplify]: Simplify (- 0) into 0 0.441 * [backup-simplify]: Simplify (+ 1 0) into 1 0.443 * [backup-simplify]: Simplify (+ (* (- 1.0) 1) (* 1 0)) into (- 1.0) 0.443 * [backup-simplify]: Simplify (sqrt 0) into 0 0.444 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 0))) into +nan.0 0.444 * [taylor]: Taking taylor expansion of (sqrt (* (- x 1.0) x)) in x 0.444 * [taylor]: Taking taylor expansion of (* (- x 1.0) x) in x 0.444 * [taylor]: Taking taylor expansion of (- x 1.0) in x 0.444 * [taylor]: Taking taylor expansion of x in x 0.444 * [backup-simplify]: Simplify 0 into 0 0.444 * [backup-simplify]: Simplify 1 into 1 0.444 * [taylor]: Taking taylor expansion of 1.0 in x 0.444 * [backup-simplify]: Simplify 1.0 into 1.0 0.444 * [taylor]: Taking taylor expansion of x in x 0.444 * [backup-simplify]: Simplify 0 into 0 0.444 * [backup-simplify]: Simplify 1 into 1 0.445 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.445 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.445 * [backup-simplify]: Simplify (* (- 1.0) 0) into 0 0.446 * [backup-simplify]: Simplify (- 0) into 0 0.446 * [backup-simplify]: Simplify (+ 1 0) into 1 0.447 * [backup-simplify]: Simplify (+ (* (- 1.0) 1) (* 1 0)) into (- 1.0) 0.447 * [backup-simplify]: Simplify (sqrt 0) into 0 0.448 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 0))) into +nan.0 0.449 * [backup-simplify]: Simplify 0 into 0 0.449 * [backup-simplify]: Simplify +nan.0 into +nan.0 0.449 * [backup-simplify]: Simplify (- 0) into 0 0.450 * [backup-simplify]: Simplify (+ 0 0) into 0 0.450 * [backup-simplify]: Simplify (+ (* (- 1.0) 0) (+ (* 1 1) (* 0 0))) into 1 0.452 * [backup-simplify]: Simplify (/ (- 1 (pow +nan.0 2) (+)) (* 2 0)) into +nan.0 0.452 * [backup-simplify]: Simplify +nan.0 into +nan.0 0.453 * [backup-simplify]: Simplify (- 0) into 0 0.453 * [backup-simplify]: Simplify (+ 0 0) into 0 0.454 * [backup-simplify]: Simplify (+ (* (- 1.0) 0) (+ (* 1 0) (+ (* 0 1) (* 0 0)))) into 0 0.456 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* +nan.0 +nan.0)))) (* 2 0)) into +nan.0 0.456 * [backup-simplify]: Simplify +nan.0 into +nan.0 0.457 * [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.457 * [backup-simplify]: Simplify (* (sqrt (- (/ 1 x) 1.0)) (sqrt (/ 1 x))) into (sqrt (/ (- (/ 1 x) 1.0) x)) 0.457 * [approximate]: Taking taylor expansion of (sqrt (/ (- (/ 1 x) 1.0) x)) in (x) around 0 0.457 * [taylor]: Taking taylor expansion of (sqrt (/ (- (/ 1 x) 1.0) x)) in x 0.457 * [taylor]: Taking taylor expansion of (/ (- (/ 1 x) 1.0) x) in x 0.457 * [taylor]: Taking taylor expansion of (- (/ 1 x) 1.0) in x 0.457 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.457 * [taylor]: Taking taylor expansion of x in x 0.457 * [backup-simplify]: Simplify 0 into 0 0.457 * [backup-simplify]: Simplify 1 into 1 0.458 * [backup-simplify]: Simplify (/ 1 1) into 1 0.458 * [taylor]: Taking taylor expansion of 1.0 in x 0.458 * [backup-simplify]: Simplify 1.0 into 1.0 0.458 * [taylor]: Taking taylor expansion of x in x 0.458 * [backup-simplify]: Simplify 0 into 0 0.458 * [backup-simplify]: Simplify 1 into 1 0.458 * [backup-simplify]: Simplify (+ 1 0) into 1 0.459 * [backup-simplify]: Simplify (/ 1 1) into 1 0.459 * [backup-simplify]: Simplify (sqrt 1) into 1 0.459 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.460 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.460 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.461 * [backup-simplify]: Simplify (- (/ (- 1.0) 1) (+ (* 1 (/ 0 1)))) into (- 1.0) 0.462 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 1))) into -0.5 0.462 * [taylor]: Taking taylor expansion of (sqrt (/ (- (/ 1 x) 1.0) x)) in x 0.463 * [taylor]: Taking taylor expansion of (/ (- (/ 1 x) 1.0) x) in x 0.463 * [taylor]: Taking taylor expansion of (- (/ 1 x) 1.0) in x 0.463 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.463 * [taylor]: Taking taylor expansion of x in x 0.463 * [backup-simplify]: Simplify 0 into 0 0.463 * [backup-simplify]: Simplify 1 into 1 0.463 * [backup-simplify]: Simplify (/ 1 1) into 1 0.463 * [taylor]: Taking taylor expansion of 1.0 in x 0.463 * [backup-simplify]: Simplify 1.0 into 1.0 0.463 * [taylor]: Taking taylor expansion of x in x 0.463 * [backup-simplify]: Simplify 0 into 0 0.463 * [backup-simplify]: Simplify 1 into 1 0.463 * [backup-simplify]: Simplify (+ 1 0) into 1 0.463 * [backup-simplify]: Simplify (/ 1 1) into 1 0.464 * [backup-simplify]: Simplify (sqrt 1) into 1 0.464 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.464 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.465 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.466 * [backup-simplify]: Simplify (- (/ (- 1.0) 1) (+ (* 1 (/ 0 1)))) into (- 1.0) 0.467 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 1))) into -0.5 0.467 * [backup-simplify]: Simplify 1 into 1 0.467 * [backup-simplify]: Simplify -0.5 into -0.5 0.468 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.468 * [backup-simplify]: Simplify (- 0) into 0 0.468 * [backup-simplify]: Simplify (+ 0 0) into 0 0.469 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* 1 (/ 0 1)) (* (- 1.0) (/ 0 1)))) into 0 0.470 * [backup-simplify]: Simplify (/ (- 0 (pow -0.5 2) (+)) (* 2 1)) into -0.125 0.470 * [backup-simplify]: Simplify -0.125 into -0.125 0.470 * [backup-simplify]: Simplify (+ (* -0.125 (/ 1 x)) (+ -0.5 (* 1 (/ 1 (/ 1 x))))) into (- x (+ 0.5 (* 0.125 (/ 1 x)))) 0.471 * [backup-simplify]: Simplify (* (sqrt (- (/ 1 (- x)) 1.0)) (sqrt (/ 1 (- x)))) into (* (sqrt (- (+ 1.0 (/ 1 x)))) (sqrt (/ -1 x))) 0.471 * [approximate]: Taking taylor expansion of (* (sqrt (- (+ 1.0 (/ 1 x)))) (sqrt (/ -1 x))) in (x) around 0 0.471 * [taylor]: Taking taylor expansion of (* (sqrt (- (+ 1.0 (/ 1 x)))) (sqrt (/ -1 x))) in x 0.471 * [taylor]: Taking taylor expansion of (sqrt (- (+ 1.0 (/ 1 x)))) in x 0.471 * [taylor]: Taking taylor expansion of (- (+ 1.0 (/ 1 x))) in x 0.471 * [taylor]: Taking taylor expansion of (+ 1.0 (/ 1 x)) in x 0.471 * [taylor]: Taking taylor expansion of 1.0 in x 0.471 * [backup-simplify]: Simplify 1.0 into 1.0 0.471 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.471 * [taylor]: Taking taylor expansion of x in x 0.471 * [backup-simplify]: Simplify 0 into 0 0.471 * [backup-simplify]: Simplify 1 into 1 0.471 * [backup-simplify]: Simplify (/ 1 1) into 1 0.471 * [backup-simplify]: Simplify (+ 0 1) into 1 0.472 * [backup-simplify]: Simplify (- 1) into -1 0.472 * [backup-simplify]: Simplify (sqrt 0) into 0 0.472 * [backup-simplify]: Simplify (- 1) into -1 0.473 * [backup-simplify]: Simplify (/ -1 (* 2 (sqrt 0))) into +nan.0 0.473 * [taylor]: Taking taylor expansion of (sqrt (/ -1 x)) in x 0.473 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.473 * [taylor]: Taking taylor expansion of -1 in x 0.473 * [backup-simplify]: Simplify -1 into -1 0.473 * [taylor]: Taking taylor expansion of x in x 0.473 * [backup-simplify]: Simplify 0 into 0 0.473 * [backup-simplify]: Simplify 1 into 1 0.473 * [backup-simplify]: Simplify (/ -1 1) into -1 0.474 * [backup-simplify]: Simplify (sqrt 0) into 0 0.474 * [backup-simplify]: Simplify (/ -1 (* 2 (sqrt 0))) into +nan.0 0.474 * [taylor]: Taking taylor expansion of (* (sqrt (- (+ 1.0 (/ 1 x)))) (sqrt (/ -1 x))) in x 0.474 * [taylor]: Taking taylor expansion of (sqrt (- (+ 1.0 (/ 1 x)))) in x 0.474 * [taylor]: Taking taylor expansion of (- (+ 1.0 (/ 1 x))) in x 0.475 * [taylor]: Taking taylor expansion of (+ 1.0 (/ 1 x)) in x 0.475 * [taylor]: Taking taylor expansion of 1.0 in x 0.475 * [backup-simplify]: Simplify 1.0 into 1.0 0.475 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.475 * [taylor]: Taking taylor expansion of x in x 0.475 * [backup-simplify]: Simplify 0 into 0 0.475 * [backup-simplify]: Simplify 1 into 1 0.475 * [backup-simplify]: Simplify (/ 1 1) into 1 0.475 * [backup-simplify]: Simplify (+ 0 1) into 1 0.481 * [backup-simplify]: Simplify (- 1) into -1 0.482 * [backup-simplify]: Simplify (sqrt 0) into 0 0.482 * [backup-simplify]: Simplify (- 1) into -1 0.483 * [backup-simplify]: Simplify (/ -1 (* 2 (sqrt 0))) into +nan.0 0.483 * [taylor]: Taking taylor expansion of (sqrt (/ -1 x)) in x 0.483 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.483 * [taylor]: Taking taylor expansion of -1 in x 0.483 * [backup-simplify]: Simplify -1 into -1 0.483 * [taylor]: Taking taylor expansion of x in x 0.483 * [backup-simplify]: Simplify 0 into 0 0.483 * [backup-simplify]: Simplify 1 into 1 0.483 * [backup-simplify]: Simplify (/ -1 1) into -1 0.484 * [backup-simplify]: Simplify (sqrt 0) into 0 0.484 * [backup-simplify]: Simplify (/ -1 (* 2 (sqrt 0))) into +nan.0 0.485 * [backup-simplify]: Simplify (* 0 0) into 0 0.485 * [backup-simplify]: Simplify 0 into 0 0.485 * [backup-simplify]: Simplify (+ (* 0 +nan.0) (* +nan.0 0)) into 0 0.485 * [backup-simplify]: Simplify 0 into 0 0.486 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* -1 (/ 0 1)))) into 0 0.487 * [backup-simplify]: Simplify (/ (- 0 (pow +nan.0 2) (+)) (* 2 0)) into +nan.0 0.488 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.488 * [backup-simplify]: Simplify (+ 1.0 0) into 1.0 0.488 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.490 * [backup-simplify]: Simplify (/ (- (- 1.0) (pow +nan.0 2) (+)) (* 2 0)) into +nan.0 0.491 * [backup-simplify]: Simplify (+ (* 0 +nan.0) (+ (* +nan.0 +nan.0) (* +nan.0 0))) into (- +nan.0) 0.492 * [backup-simplify]: Simplify (- +nan.0) into (- +nan.0) 0.492 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* -1 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.494 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* +nan.0 +nan.0)))) (* 2 0)) into +nan.0 0.495 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.495 * [backup-simplify]: Simplify (+ 0 0) into 0 0.495 * [backup-simplify]: Simplify (- 0) into 0 0.497 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* +nan.0 +nan.0)))) (* 2 0)) into +nan.0 0.500 * [backup-simplify]: Simplify (+ (* 0 +nan.0) (+ (* +nan.0 +nan.0) (+ (* +nan.0 +nan.0) (* +nan.0 0)))) into (- +nan.0) 0.500 * [backup-simplify]: Simplify (- +nan.0) into (- +nan.0) 0.500 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* -1 (/ 0 1)) (* 0 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.503 * [backup-simplify]: Simplify (/ (- 0 (pow +nan.0 2) (+ (* 2 (* +nan.0 +nan.0)))) (* 2 0)) into +nan.0 0.503 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.504 * [backup-simplify]: Simplify (+ 0 0) into 0 0.504 * [backup-simplify]: Simplify (- 0) into 0 0.506 * [backup-simplify]: Simplify (/ (- 0 (pow +nan.0 2) (+ (* 2 (* +nan.0 +nan.0)))) (* 2 0)) into +nan.0 0.509 * [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.509 * [backup-simplify]: Simplify (- +nan.0) into (- +nan.0) 0.510 * [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.510 * * * [progress]: simplifying candidates 0.511 * [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.511 * [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 (+ h3 (* h4 (/ 1 h0)))) (- (+ (* h2 (/ 1 (pow h0 2))) (- (+ (* h2 (/ 1 h0)) (- h2))))) 0.515 * * [simplify]: iteration 0 : 181 enodes (cost 216 ) 0.518 * * [simplify]: iteration 1 : 610 enodes (cost 206 ) 0.531 * * [simplify]: iteration 2 : 2471 enodes (cost 201 ) 0.583 * * [simplify]: iteration 3 : 5002 enodes (cost 201 ) 0.584 * * * [progress]: adding candidates to table 0.646 * * [progress]: iteration 2 / 4 0.646 * * * [progress]: picking best candidate 0.648 * * * * [pick]: Picked # 0.648 * * * [progress]: localizing error 0.654 * * * [progress]: generating rewritten candidates 0.654 * * * [progress]: generating series expansions 0.654 * * * [progress]: simplifying candidates 0.654 * [simplify]: Simplifying: 0.654 * [simplify]: Sending expressions to egg_math: 0.656 * * [simplify]: iteration 0 : 0 enodes (cost 0 ) 0.656 * * * [progress]: adding candidates to table 0.656 * * [progress]: iteration 3 / 4 0.656 * * * [progress]: picking best candidate 0.658 * * * * [pick]: Picked # 0.658 * * * [progress]: localizing error 0.662 * * * [progress]: generating rewritten candidates 0.662 * * * * [progress]: [ 1 / 1 ] rewriting at (2) 0.670 * * * [progress]: generating series expansions 0.670 * * * * [progress]: [ 1 / 1 ] generating series at (2) 0.671 * [backup-simplify]: Simplify (sqrt (* (- x 1.0) x)) into (sqrt (* (- x 1.0) x)) 0.671 * [approximate]: Taking taylor expansion of (sqrt (* (- x 1.0) x)) in (x) around 0 0.671 * [taylor]: Taking taylor expansion of (sqrt (* (- x 1.0) x)) in x 0.671 * [taylor]: Taking taylor expansion of (* (- x 1.0) x) in x 0.671 * [taylor]: Taking taylor expansion of (- x 1.0) in x 0.671 * [taylor]: Taking taylor expansion of x in x 0.671 * [backup-simplify]: Simplify 0 into 0 0.671 * [backup-simplify]: Simplify 1 into 1 0.671 * [taylor]: Taking taylor expansion of 1.0 in x 0.671 * [backup-simplify]: Simplify 1.0 into 1.0 0.671 * [taylor]: Taking taylor expansion of x in x 0.671 * [backup-simplify]: Simplify 0 into 0 0.671 * [backup-simplify]: Simplify 1 into 1 0.671 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.672 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.672 * [backup-simplify]: Simplify (* (- 1.0) 0) into 0 0.672 * [backup-simplify]: Simplify (- 0) into 0 0.673 * [backup-simplify]: Simplify (+ 1 0) into 1 0.674 * [backup-simplify]: Simplify (+ (* (- 1.0) 1) (* 1 0)) into (- 1.0) 0.674 * [backup-simplify]: Simplify (sqrt 0) into 0 0.675 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 0))) into +nan.0 0.675 * [taylor]: Taking taylor expansion of (sqrt (* (- x 1.0) x)) in x 0.675 * [taylor]: Taking taylor expansion of (* (- x 1.0) x) in x 0.676 * [taylor]: Taking taylor expansion of (- x 1.0) in x 0.676 * [taylor]: Taking taylor expansion of x in x 0.676 * [backup-simplify]: Simplify 0 into 0 0.676 * [backup-simplify]: Simplify 1 into 1 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 x in x 0.676 * [backup-simplify]: Simplify 0 into 0 0.676 * [backup-simplify]: Simplify 1 into 1 0.676 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.676 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.677 * [backup-simplify]: Simplify (* (- 1.0) 0) into 0 0.677 * [backup-simplify]: Simplify (- 0) into 0 0.677 * [backup-simplify]: Simplify (+ 1 0) into 1 0.678 * [backup-simplify]: Simplify (+ (* (- 1.0) 1) (* 1 0)) into (- 1.0) 0.678 * [backup-simplify]: Simplify (sqrt 0) into 0 0.679 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 0))) into +nan.0 0.680 * [backup-simplify]: Simplify 0 into 0 0.680 * [backup-simplify]: Simplify +nan.0 into +nan.0 0.680 * [backup-simplify]: Simplify (- 0) into 0 0.680 * [backup-simplify]: Simplify (+ 0 0) into 0 0.681 * [backup-simplify]: Simplify (+ (* (- 1.0) 0) (+ (* 1 1) (* 0 0))) into 1 0.685 * [backup-simplify]: Simplify (/ (- 1 (pow +nan.0 2) (+)) (* 2 0)) into +nan.0 0.685 * [backup-simplify]: Simplify +nan.0 into +nan.0 0.686 * [backup-simplify]: Simplify (- 0) into 0 0.686 * [backup-simplify]: Simplify (+ 0 0) into 0 0.687 * [backup-simplify]: Simplify (+ (* (- 1.0) 0) (+ (* 1 0) (+ (* 0 1) (* 0 0)))) into 0 0.689 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* +nan.0 +nan.0)))) (* 2 0)) into +nan.0 0.689 * [backup-simplify]: Simplify +nan.0 into +nan.0 0.689 * [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.689 * [backup-simplify]: Simplify (sqrt (* (- (/ 1 x) 1.0) (/ 1 x))) into (sqrt (/ (- (/ 1 x) 1.0) x)) 0.689 * [approximate]: Taking taylor expansion of (sqrt (/ (- (/ 1 x) 1.0) x)) in (x) around 0 0.689 * [taylor]: Taking taylor expansion of (sqrt (/ (- (/ 1 x) 1.0) x)) in x 0.689 * [taylor]: Taking taylor expansion of (/ (- (/ 1 x) 1.0) x) in x 0.689 * [taylor]: Taking taylor expansion of (- (/ 1 x) 1.0) in x 0.689 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.689 * [taylor]: Taking taylor expansion of x in x 0.689 * [backup-simplify]: Simplify 0 into 0 0.689 * [backup-simplify]: Simplify 1 into 1 0.690 * [backup-simplify]: Simplify (/ 1 1) into 1 0.690 * [taylor]: Taking taylor expansion of 1.0 in x 0.690 * [backup-simplify]: Simplify 1.0 into 1.0 0.690 * [taylor]: Taking taylor expansion of x in x 0.690 * [backup-simplify]: Simplify 0 into 0 0.690 * [backup-simplify]: Simplify 1 into 1 0.690 * [backup-simplify]: Simplify (+ 1 0) into 1 0.690 * [backup-simplify]: Simplify (/ 1 1) into 1 0.690 * [backup-simplify]: Simplify (sqrt 1) into 1 0.691 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.691 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.691 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.693 * [backup-simplify]: Simplify (- (/ (- 1.0) 1) (+ (* 1 (/ 0 1)))) into (- 1.0) 0.694 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 1))) into -0.5 0.694 * [taylor]: Taking taylor expansion of (sqrt (/ (- (/ 1 x) 1.0) x)) in x 0.694 * [taylor]: Taking taylor expansion of (/ (- (/ 1 x) 1.0) x) in x 0.694 * [taylor]: Taking taylor expansion of (- (/ 1 x) 1.0) in x 0.694 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.694 * [taylor]: Taking taylor expansion of x in x 0.694 * [backup-simplify]: Simplify 0 into 0 0.694 * [backup-simplify]: Simplify 1 into 1 0.694 * [backup-simplify]: Simplify (/ 1 1) into 1 0.694 * [taylor]: Taking taylor expansion of 1.0 in x 0.694 * [backup-simplify]: Simplify 1.0 into 1.0 0.694 * [taylor]: Taking taylor expansion of x in x 0.694 * [backup-simplify]: Simplify 0 into 0 0.694 * [backup-simplify]: Simplify 1 into 1 0.694 * [backup-simplify]: Simplify (+ 1 0) into 1 0.695 * [backup-simplify]: Simplify (/ 1 1) into 1 0.695 * [backup-simplify]: Simplify (sqrt 1) into 1 0.695 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.695 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.696 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.697 * [backup-simplify]: Simplify (- (/ (- 1.0) 1) (+ (* 1 (/ 0 1)))) into (- 1.0) 0.698 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 1))) into -0.5 0.698 * [backup-simplify]: Simplify 1 into 1 0.698 * [backup-simplify]: Simplify -0.5 into -0.5 0.699 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.699 * [backup-simplify]: Simplify (- 0) into 0 0.699 * [backup-simplify]: Simplify (+ 0 0) into 0 0.700 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* 1 (/ 0 1)) (* (- 1.0) (/ 0 1)))) into 0 0.702 * [backup-simplify]: Simplify (/ (- 0 (pow -0.5 2) (+)) (* 2 1)) into -0.125 0.702 * [backup-simplify]: Simplify -0.125 into -0.125 0.702 * [backup-simplify]: Simplify (+ (* -0.125 (/ 1 x)) (+ -0.5 (* 1 (/ 1 (/ 1 x))))) into (- x (+ 0.5 (* 0.125 (/ 1 x)))) 0.702 * [backup-simplify]: Simplify (sqrt (* (- (/ 1 (- x)) 1.0) (/ 1 (- x)))) into (sqrt (/ (+ 1.0 (/ 1 x)) x)) 0.702 * [approximate]: Taking taylor expansion of (sqrt (/ (+ 1.0 (/ 1 x)) x)) in (x) around 0 0.702 * [taylor]: Taking taylor expansion of (sqrt (/ (+ 1.0 (/ 1 x)) x)) in x 0.702 * [taylor]: Taking taylor expansion of (/ (+ 1.0 (/ 1 x)) x) in x 0.702 * [taylor]: Taking taylor expansion of (+ 1.0 (/ 1 x)) in x 0.702 * [taylor]: Taking taylor expansion of 1.0 in x 0.702 * [backup-simplify]: Simplify 1.0 into 1.0 0.702 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.702 * [taylor]: Taking taylor expansion of x in x 0.702 * [backup-simplify]: Simplify 0 into 0 0.702 * [backup-simplify]: Simplify 1 into 1 0.702 * [backup-simplify]: Simplify (/ 1 1) into 1 0.702 * [taylor]: Taking taylor expansion of x in x 0.702 * [backup-simplify]: Simplify 0 into 0 0.702 * [backup-simplify]: Simplify 1 into 1 0.703 * [backup-simplify]: Simplify (+ 0 1) into 1 0.703 * [backup-simplify]: Simplify (/ 1 1) into 1 0.703 * [backup-simplify]: Simplify (sqrt 1) into 1 0.703 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.704 * [backup-simplify]: Simplify (+ 1.0 0) into 1.0 0.705 * [backup-simplify]: Simplify (- (/ 1.0 1) (+ (* 1 (/ 0 1)))) into 1.0 0.705 * [backup-simplify]: Simplify (/ 1.0 (* 2 (sqrt 1))) into 0.5 0.705 * [taylor]: Taking taylor expansion of (sqrt (/ (+ 1.0 (/ 1 x)) x)) in x 0.705 * [taylor]: Taking taylor expansion of (/ (+ 1.0 (/ 1 x)) x) in x 0.705 * [taylor]: Taking taylor expansion of (+ 1.0 (/ 1 x)) in x 0.705 * [taylor]: Taking taylor expansion of 1.0 in x 0.705 * [backup-simplify]: Simplify 1.0 into 1.0 0.706 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.706 * [taylor]: Taking taylor expansion of x in x 0.706 * [backup-simplify]: Simplify 0 into 0 0.706 * [backup-simplify]: Simplify 1 into 1 0.706 * [backup-simplify]: Simplify (/ 1 1) into 1 0.706 * [taylor]: Taking taylor expansion of x in x 0.706 * [backup-simplify]: Simplify 0 into 0 0.706 * [backup-simplify]: Simplify 1 into 1 0.706 * [backup-simplify]: Simplify (+ 0 1) into 1 0.706 * [backup-simplify]: Simplify (/ 1 1) into 1 0.707 * [backup-simplify]: Simplify (sqrt 1) into 1 0.707 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.707 * [backup-simplify]: Simplify (+ 1.0 0) into 1.0 0.708 * [backup-simplify]: Simplify (- (/ 1.0 1) (+ (* 1 (/ 0 1)))) into 1.0 0.709 * [backup-simplify]: Simplify (/ 1.0 (* 2 (sqrt 1))) into 0.5 0.709 * [backup-simplify]: Simplify 1 into 1 0.709 * [backup-simplify]: Simplify 0.5 into 0.5 0.710 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.710 * [backup-simplify]: Simplify (+ 0 0) into 0 0.710 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* 1 (/ 0 1)) (* 1.0 (/ 0 1)))) into 0 0.712 * [backup-simplify]: Simplify (/ (- 0 (pow 0.5 2) (+)) (* 2 1)) into -0.125 0.712 * [backup-simplify]: Simplify -0.125 into -0.125 0.712 * [backup-simplify]: Simplify (+ (* -0.125 (/ 1 (- x))) (+ 0.5 (* 1 (/ 1 (/ 1 (- x)))))) into (- (+ 0.5 (* 0.125 (/ 1 x))) x) 0.712 * * * [progress]: simplifying candidates 0.713 * [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.713 * [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 (+ h3 (* h4 (/ 1 h0)))) (- (+ h3 (* h4 (/ 1 h0))) h0) 0.715 * * [simplify]: iteration 0 : 111 enodes (cost 74 ) 0.718 * * [simplify]: iteration 1 : 281 enodes (cost 69 ) 0.723 * * [simplify]: iteration 2 : 983 enodes (cost 68 ) 0.745 * * [simplify]: iteration 3 : 3763 enodes (cost 66 ) 0.864 * * [simplify]: iteration 4 : 5001 enodes (cost 66 ) 0.865 * * * [progress]: adding candidates to table 0.891 * [progress]: [Phase 3 of 3] Extracting. 0.891 * * [regime]: Finding splitpoints for: (# #) 0.892 * * * [regime-changes]: Trying 1 branch expressions: (x) 0.893 * * * * [regimes]: Trying to branch on x from (# #) 0.906 * * * [regime]: Found split indices: #