0.688 * [progress]: [Phase 1 of 3] Setting up. 0.002 * * * [progress]: [1/2] Preparing points 0.342 * * * [progress]: [2/2] Setting up program. 0.345 * [progress]: [Phase 2 of 3] Improving. 0.347 * [simplify]: Simplifying: (* (sqrt (- x 1.0)) (sqrt x)) 0.347 * [simplify]: Sending expressions to egg_math: (* (sqrt (- h0 h1)) (sqrt h0)) 0.372 * * [simplify]: iteration 0 : 9 enodes (cost 4 ) 0.373 * * [simplify]: iteration 1 : 10 enodes (cost 4 ) 0.375 * * [simplify]: iteration 2 : 10 enodes (cost 4 ) 0.376 * * [progress]: iteration 1 / 4 0.376 * * * [progress]: picking best candidate 0.380 * * * * [pick]: Picked # 0.380 * * * [progress]: localizing error 0.387 * * * [progress]: generating rewritten candidates 0.387 * * * * [progress]: [ 1 / 1 ] rewriting at (2) 0.417 * * * [progress]: generating series expansions 0.417 * * * * [progress]: [ 1 / 1 ] generating series at (2) 0.421 * [backup-simplify]: Simplify (* (sqrt (- x 1.0)) (sqrt x)) into (sqrt (* (- x 1.0) x)) 0.421 * [approximate]: Taking taylor expansion of (sqrt (* (- x 1.0) x)) in (x) around 0 0.422 * [taylor]: Taking taylor expansion of (sqrt (* (- x 1.0) x)) in x 0.422 * [taylor]: Taking taylor expansion of (* (- x 1.0) x) in x 0.422 * [taylor]: Taking taylor expansion of (- x 1.0) in x 0.422 * [taylor]: Taking taylor expansion of x in x 0.422 * [backup-simplify]: Simplify 0 into 0 0.422 * [backup-simplify]: Simplify 1 into 1 0.422 * [taylor]: Taking taylor expansion of 1.0 in x 0.422 * [backup-simplify]: Simplify 1.0 into 1.0 0.422 * [taylor]: Taking taylor expansion of x in x 0.422 * [backup-simplify]: Simplify 0 into 0 0.422 * [backup-simplify]: Simplify 1 into 1 0.423 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.424 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.424 * [backup-simplify]: Simplify (* (- 1.0) 0) into 0 0.424 * [backup-simplify]: Simplify (- 0) into 0 0.425 * [backup-simplify]: Simplify (+ 1 0) into 1 0.426 * [backup-simplify]: Simplify (+ (* (- 1.0) 1) (* 1 0)) into (- 1.0) 0.426 * [backup-simplify]: Simplify (sqrt 0) into 0 0.427 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 0))) into +nan.0 0.427 * [taylor]: Taking taylor expansion of (sqrt (* (- x 1.0) x)) in x 0.427 * [taylor]: Taking taylor expansion of (* (- x 1.0) x) in x 0.427 * [taylor]: Taking taylor expansion of (- x 1.0) in x 0.427 * [taylor]: Taking taylor expansion of x in x 0.427 * [backup-simplify]: Simplify 0 into 0 0.427 * [backup-simplify]: Simplify 1 into 1 0.427 * [taylor]: Taking taylor expansion of 1.0 in x 0.427 * [backup-simplify]: Simplify 1.0 into 1.0 0.427 * [taylor]: Taking taylor expansion of x in x 0.427 * [backup-simplify]: Simplify 0 into 0 0.427 * [backup-simplify]: Simplify 1 into 1 0.428 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.428 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.428 * [backup-simplify]: Simplify (* (- 1.0) 0) into 0 0.429 * [backup-simplify]: Simplify (- 0) into 0 0.429 * [backup-simplify]: Simplify (+ 1 0) into 1 0.430 * [backup-simplify]: Simplify (+ (* (- 1.0) 1) (* 1 0)) into (- 1.0) 0.430 * [backup-simplify]: Simplify (sqrt 0) into 0 0.431 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 0))) into +nan.0 0.432 * [backup-simplify]: Simplify 0 into 0 0.432 * [backup-simplify]: Simplify +nan.0 into +nan.0 0.432 * [backup-simplify]: Simplify (- 0) into 0 0.432 * [backup-simplify]: Simplify (+ 0 0) into 0 0.433 * [backup-simplify]: Simplify (+ (* (- 1.0) 0) (+ (* 1 1) (* 0 0))) into 1 0.435 * [backup-simplify]: Simplify (/ (- 1 (pow +nan.0 2) (+)) (* 2 0)) into +nan.0 0.435 * [backup-simplify]: Simplify +nan.0 into +nan.0 0.436 * [backup-simplify]: Simplify (- 0) into 0 0.436 * [backup-simplify]: Simplify (+ 0 0) into 0 0.437 * [backup-simplify]: Simplify (+ (* (- 1.0) 0) (+ (* 1 0) (+ (* 0 1) (* 0 0)))) into 0 0.439 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* +nan.0 +nan.0)))) (* 2 0)) into +nan.0 0.439 * [backup-simplify]: Simplify +nan.0 into +nan.0 0.440 * [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.440 * [backup-simplify]: Simplify (* (sqrt (- (/ 1 x) 1.0)) (sqrt (/ 1 x))) into (sqrt (/ (- (/ 1 x) 1.0) x)) 0.441 * [approximate]: Taking taylor expansion of (sqrt (/ (- (/ 1 x) 1.0) x)) in (x) around 0 0.441 * [taylor]: Taking taylor expansion of (sqrt (/ (- (/ 1 x) 1.0) x)) in x 0.441 * [taylor]: Taking taylor expansion of (/ (- (/ 1 x) 1.0) x) in x 0.441 * [taylor]: Taking taylor expansion of (- (/ 1 x) 1.0) in x 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.441 * [backup-simplify]: Simplify (/ 1 1) into 1 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 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 0) into 1 0.442 * [backup-simplify]: Simplify (/ 1 1) into 1 0.442 * [backup-simplify]: Simplify (sqrt 1) into 1 0.443 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.443 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.443 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.445 * [backup-simplify]: Simplify (- (/ (- 1.0) 1) (+ (* 1 (/ 0 1)))) into (- 1.0) 0.446 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 1))) into -0.5 0.446 * [taylor]: Taking taylor expansion of (sqrt (/ (- (/ 1 x) 1.0) x)) in x 0.446 * [taylor]: Taking taylor expansion of (/ (- (/ 1 x) 1.0) x) in x 0.446 * [taylor]: Taking taylor expansion of (- (/ 1 x) 1.0) in x 0.446 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.446 * [taylor]: Taking taylor expansion of x in x 0.446 * [backup-simplify]: Simplify 0 into 0 0.446 * [backup-simplify]: Simplify 1 into 1 0.446 * [backup-simplify]: Simplify (/ 1 1) into 1 0.446 * [taylor]: Taking taylor expansion of 1.0 in x 0.446 * [backup-simplify]: Simplify 1.0 into 1.0 0.446 * [taylor]: Taking taylor expansion of x in x 0.446 * [backup-simplify]: Simplify 0 into 0 0.446 * [backup-simplify]: Simplify 1 into 1 0.447 * [backup-simplify]: Simplify (+ 1 0) into 1 0.447 * [backup-simplify]: Simplify (/ 1 1) into 1 0.447 * [backup-simplify]: Simplify (sqrt 1) into 1 0.447 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.448 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.449 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.450 * [backup-simplify]: Simplify (- (/ (- 1.0) 1) (+ (* 1 (/ 0 1)))) into (- 1.0) 0.451 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 1))) into -0.5 0.451 * [backup-simplify]: Simplify 1 into 1 0.451 * [backup-simplify]: Simplify -0.5 into -0.5 0.452 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.452 * [backup-simplify]: Simplify (- 0) into 0 0.452 * [backup-simplify]: Simplify (+ 0 0) into 0 0.453 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* 1 (/ 0 1)) (* (- 1.0) (/ 0 1)))) into 0 0.454 * [backup-simplify]: Simplify (/ (- 0 (pow -0.5 2) (+)) (* 2 1)) into -0.125 0.454 * [backup-simplify]: Simplify -0.125 into -0.125 0.455 * [backup-simplify]: Simplify (+ (* -0.125 (/ 1 x)) (+ -0.5 (* 1 (/ 1 (/ 1 x))))) into (- x (+ 0.5 (* 0.125 (/ 1 x)))) 0.455 * [backup-simplify]: Simplify (* (sqrt (- (/ 1 (- x)) 1.0)) (sqrt (/ 1 (- x)))) into (* (sqrt (- (+ 1.0 (/ 1 x)))) (sqrt (/ -1 x))) 0.455 * [approximate]: Taking taylor expansion of (* (sqrt (- (+ 1.0 (/ 1 x)))) (sqrt (/ -1 x))) in (x) around 0 0.455 * [taylor]: Taking taylor expansion of (* (sqrt (- (+ 1.0 (/ 1 x)))) (sqrt (/ -1 x))) in x 0.455 * [taylor]: Taking taylor expansion of (sqrt (- (+ 1.0 (/ 1 x)))) in x 0.455 * [taylor]: Taking taylor expansion of (- (+ 1.0 (/ 1 x))) in x 0.455 * [taylor]: Taking taylor expansion of (+ 1.0 (/ 1 x)) in x 0.455 * [taylor]: Taking taylor expansion of 1.0 in x 0.455 * [backup-simplify]: Simplify 1.0 into 1.0 0.455 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.455 * [taylor]: Taking taylor expansion of x in x 0.455 * [backup-simplify]: Simplify 0 into 0 0.455 * [backup-simplify]: Simplify 1 into 1 0.455 * [backup-simplify]: Simplify (/ 1 1) into 1 0.456 * [backup-simplify]: Simplify (+ 0 1) into 1 0.456 * [backup-simplify]: Simplify (- 1) into -1 0.456 * [backup-simplify]: Simplify (sqrt 0) into 0 0.456 * [backup-simplify]: Simplify (- 1) into -1 0.457 * [backup-simplify]: Simplify (/ -1 (* 2 (sqrt 0))) into +nan.0 0.457 * [taylor]: Taking taylor expansion of (sqrt (/ -1 x)) in x 0.457 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.457 * [taylor]: Taking taylor expansion of -1 in x 0.457 * [backup-simplify]: Simplify -1 into -1 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.457 * [backup-simplify]: Simplify (/ -1 1) into -1 0.458 * [backup-simplify]: Simplify (sqrt 0) into 0 0.458 * [backup-simplify]: Simplify (/ -1 (* 2 (sqrt 0))) into +nan.0 0.458 * [taylor]: Taking taylor expansion of (* (sqrt (- (+ 1.0 (/ 1 x)))) (sqrt (/ -1 x))) in x 0.458 * [taylor]: Taking taylor expansion of (sqrt (- (+ 1.0 (/ 1 x)))) in x 0.458 * [taylor]: Taking taylor expansion of (- (+ 1.0 (/ 1 x))) in x 0.459 * [taylor]: Taking taylor expansion of (+ 1.0 (/ 1 x)) in x 0.459 * [taylor]: Taking taylor expansion of 1.0 in x 0.459 * [backup-simplify]: Simplify 1.0 into 1.0 0.459 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.459 * [taylor]: Taking taylor expansion of x in x 0.459 * [backup-simplify]: Simplify 0 into 0 0.459 * [backup-simplify]: Simplify 1 into 1 0.459 * [backup-simplify]: Simplify (/ 1 1) into 1 0.459 * [backup-simplify]: Simplify (+ 0 1) into 1 0.459 * [backup-simplify]: Simplify (- 1) into -1 0.460 * [backup-simplify]: Simplify (sqrt 0) into 0 0.460 * [backup-simplify]: Simplify (- 1) into -1 0.461 * [backup-simplify]: Simplify (/ -1 (* 2 (sqrt 0))) into +nan.0 0.461 * [taylor]: Taking taylor expansion of (sqrt (/ -1 x)) in x 0.461 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.461 * [taylor]: Taking taylor expansion of -1 in x 0.461 * [backup-simplify]: Simplify -1 into -1 0.461 * [taylor]: Taking taylor expansion of x in x 0.461 * [backup-simplify]: Simplify 0 into 0 0.461 * [backup-simplify]: Simplify 1 into 1 0.461 * [backup-simplify]: Simplify (/ -1 1) into -1 0.462 * [backup-simplify]: Simplify (sqrt 0) into 0 0.463 * [backup-simplify]: Simplify (/ -1 (* 2 (sqrt 0))) into +nan.0 0.463 * [backup-simplify]: Simplify (* 0 0) into 0 0.463 * [backup-simplify]: Simplify 0 into 0 0.463 * [backup-simplify]: Simplify (+ (* 0 +nan.0) (* +nan.0 0)) into 0 0.463 * [backup-simplify]: Simplify 0 into 0 0.464 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* -1 (/ 0 1)))) into 0 0.472 * [backup-simplify]: Simplify (/ (- 0 (pow +nan.0 2) (+)) (* 2 0)) into +nan.0 0.472 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.472 * [backup-simplify]: Simplify (+ 1.0 0) into 1.0 0.473 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.475 * [backup-simplify]: Simplify (/ (- (- 1.0) (pow +nan.0 2) (+)) (* 2 0)) into +nan.0 0.476 * [backup-simplify]: Simplify (+ (* 0 +nan.0) (+ (* +nan.0 +nan.0) (* +nan.0 0))) into (- +nan.0) 0.476 * [backup-simplify]: Simplify (- +nan.0) into (- +nan.0) 0.477 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* -1 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.479 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* +nan.0 +nan.0)))) (* 2 0)) into +nan.0 0.479 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.479 * [backup-simplify]: Simplify (+ 0 0) into 0 0.480 * [backup-simplify]: Simplify (- 0) into 0 0.482 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* +nan.0 +nan.0)))) (* 2 0)) into +nan.0 0.484 * [backup-simplify]: Simplify (+ (* 0 +nan.0) (+ (* +nan.0 +nan.0) (+ (* +nan.0 +nan.0) (* +nan.0 0)))) into (- +nan.0) 0.484 * [backup-simplify]: Simplify (- +nan.0) into (- +nan.0) 0.485 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* -1 (/ 0 1)) (* 0 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.487 * [backup-simplify]: Simplify (/ (- 0 (pow +nan.0 2) (+ (* 2 (* +nan.0 +nan.0)))) (* 2 0)) into +nan.0 0.488 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.488 * [backup-simplify]: Simplify (+ 0 0) into 0 0.488 * [backup-simplify]: Simplify (- 0) into 0 0.491 * [backup-simplify]: Simplify (/ (- 0 (pow +nan.0 2) (+ (* 2 (* +nan.0 +nan.0)))) (* 2 0)) into +nan.0 0.493 * [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.493 * [backup-simplify]: Simplify (- +nan.0) into (- +nan.0) 0.494 * [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.494 * * * [progress]: simplifying candidates 0.495 * [simplify]: Simplifying: (expm1 (* (sqrt (- x 1.0)) (sqrt x))) (log1p (* (sqrt (- x 1.0)) (sqrt x))) (* (- 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.496 * [simplify]: Sending expressions to egg_math: (expm1 (* (sqrt (- h0 h1)) (sqrt h0))) (log1p (* (sqrt (- h0 h1)) (sqrt h0))) (* (- 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.499 * * [simplify]: iteration 0 : 188 enodes (cost 226 ) 0.502 * * [simplify]: iteration 1 : 635 enodes (cost 215 ) 0.515 * * [simplify]: iteration 2 : 2636 enodes (cost 210 ) 0.569 * * [simplify]: iteration 3 : 5002 enodes (cost 210 ) 0.570 * * * [progress]: adding candidates to table 0.640 * * [progress]: iteration 2 / 4 0.641 * * * [progress]: picking best candidate 0.643 * * * * [pick]: Picked # 0.643 * * * [progress]: localizing error 0.648 * * * [progress]: generating rewritten candidates 0.648 * * * [progress]: generating series expansions 0.648 * * * [progress]: simplifying candidates 0.648 * [simplify]: Simplifying: 0.648 * [simplify]: Sending expressions to egg_math: 0.650 * * [simplify]: iteration 0 : 0 enodes (cost 0 ) 0.651 * * * [progress]: adding candidates to table 0.651 * * [progress]: iteration 3 / 4 0.651 * * * [progress]: picking best candidate 0.652 * * * * [pick]: Picked # 0.652 * * * [progress]: localizing error 0.656 * * * [progress]: generating rewritten candidates 0.656 * * * * [progress]: [ 1 / 1 ] rewriting at (2) 0.666 * * * [progress]: generating series expansions 0.666 * * * * [progress]: [ 1 / 1 ] generating series at (2) 0.666 * [backup-simplify]: Simplify (sqrt (* (- x 1.0) x)) into (sqrt (* (- x 1.0) x)) 0.666 * [approximate]: Taking taylor expansion of (sqrt (* (- x 1.0) x)) in (x) around 0 0.666 * [taylor]: Taking taylor expansion of (sqrt (* (- x 1.0) x)) in x 0.666 * [taylor]: Taking taylor expansion of (* (- x 1.0) x) in x 0.666 * [taylor]: Taking taylor expansion of (- x 1.0) in x 0.666 * [taylor]: Taking taylor expansion of x in x 0.667 * [backup-simplify]: Simplify 0 into 0 0.667 * [backup-simplify]: Simplify 1 into 1 0.667 * [taylor]: Taking taylor expansion of 1.0 in x 0.667 * [backup-simplify]: Simplify 1.0 into 1.0 0.667 * [taylor]: Taking taylor expansion of x in x 0.667 * [backup-simplify]: Simplify 0 into 0 0.667 * [backup-simplify]: Simplify 1 into 1 0.667 * [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) 0) into 0 0.668 * [backup-simplify]: Simplify (- 0) into 0 0.668 * [backup-simplify]: Simplify (+ 1 0) into 1 0.669 * [backup-simplify]: Simplify (+ (* (- 1.0) 1) (* 1 0)) into (- 1.0) 0.670 * [backup-simplify]: Simplify (sqrt 0) into 0 0.674 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 0))) into +nan.0 0.674 * [taylor]: Taking taylor expansion of (sqrt (* (- x 1.0) x)) in x 0.674 * [taylor]: Taking taylor expansion of (* (- x 1.0) x) in x 0.674 * [taylor]: Taking taylor expansion of (- x 1.0) in x 0.674 * [taylor]: Taking taylor expansion of x in x 0.674 * [backup-simplify]: Simplify 0 into 0 0.674 * [backup-simplify]: Simplify 1 into 1 0.674 * [taylor]: Taking taylor expansion of 1.0 in x 0.674 * [backup-simplify]: Simplify 1.0 into 1.0 0.674 * [taylor]: Taking taylor expansion of x in x 0.674 * [backup-simplify]: Simplify 0 into 0 0.674 * [backup-simplify]: Simplify 1 into 1 0.674 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.675 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.675 * [backup-simplify]: Simplify (* (- 1.0) 0) into 0 0.675 * [backup-simplify]: Simplify (- 0) into 0 0.675 * [backup-simplify]: Simplify (+ 1 0) into 1 0.676 * [backup-simplify]: Simplify (+ (* (- 1.0) 1) (* 1 0)) into (- 1.0) 0.677 * [backup-simplify]: Simplify (sqrt 0) into 0 0.678 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 0))) into +nan.0 0.678 * [backup-simplify]: Simplify 0 into 0 0.678 * [backup-simplify]: Simplify +nan.0 into +nan.0 0.678 * [backup-simplify]: Simplify (- 0) into 0 0.678 * [backup-simplify]: Simplify (+ 0 0) into 0 0.679 * [backup-simplify]: Simplify (+ (* (- 1.0) 0) (+ (* 1 1) (* 0 0))) into 1 0.681 * [backup-simplify]: Simplify (/ (- 1 (pow +nan.0 2) (+)) (* 2 0)) into +nan.0 0.681 * [backup-simplify]: Simplify +nan.0 into +nan.0 0.681 * [backup-simplify]: Simplify (- 0) into 0 0.681 * [backup-simplify]: Simplify (+ 0 0) into 0 0.682 * [backup-simplify]: Simplify (+ (* (- 1.0) 0) (+ (* 1 0) (+ (* 0 1) (* 0 0)))) into 0 0.684 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* +nan.0 +nan.0)))) (* 2 0)) into +nan.0 0.684 * [backup-simplify]: Simplify +nan.0 into +nan.0 0.684 * [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.684 * [backup-simplify]: Simplify (sqrt (* (- (/ 1 x) 1.0) (/ 1 x))) into (sqrt (/ (- (/ 1 x) 1.0) x)) 0.684 * [approximate]: Taking taylor expansion of (sqrt (/ (- (/ 1 x) 1.0) x)) in (x) around 0 0.685 * [taylor]: Taking taylor expansion of (sqrt (/ (- (/ 1 x) 1.0) x)) in x 0.685 * [taylor]: Taking taylor expansion of (/ (- (/ 1 x) 1.0) x) in x 0.685 * [taylor]: Taking taylor expansion of (- (/ 1 x) 1.0) in x 0.685 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.685 * [taylor]: Taking taylor expansion of x in x 0.685 * [backup-simplify]: Simplify 0 into 0 0.685 * [backup-simplify]: Simplify 1 into 1 0.685 * [backup-simplify]: Simplify (/ 1 1) into 1 0.685 * [taylor]: Taking taylor expansion of 1.0 in x 0.685 * [backup-simplify]: Simplify 1.0 into 1.0 0.685 * [taylor]: Taking taylor expansion of x in x 0.685 * [backup-simplify]: Simplify 0 into 0 0.685 * [backup-simplify]: Simplify 1 into 1 0.685 * [backup-simplify]: Simplify (+ 1 0) into 1 0.685 * [backup-simplify]: Simplify (/ 1 1) into 1 0.686 * [backup-simplify]: Simplify (sqrt 1) into 1 0.686 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.686 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.687 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.688 * [backup-simplify]: Simplify (- (/ (- 1.0) 1) (+ (* 1 (/ 0 1)))) into (- 1.0) 0.689 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 1))) into -0.5 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.689 * [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 * [backup-simplify]: Simplify 1 into 1 0.694 * [backup-simplify]: Simplify -0.5 into -0.5 0.694 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.695 * [backup-simplify]: Simplify (- 0) into 0 0.695 * [backup-simplify]: Simplify (+ 0 0) into 0 0.695 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* 1 (/ 0 1)) (* (- 1.0) (/ 0 1)))) into 0 0.697 * [backup-simplify]: Simplify (/ (- 0 (pow -0.5 2) (+)) (* 2 1)) into -0.125 0.697 * [backup-simplify]: Simplify -0.125 into -0.125 0.697 * [backup-simplify]: Simplify (+ (* -0.125 (/ 1 x)) (+ -0.5 (* 1 (/ 1 (/ 1 x))))) into (- x (+ 0.5 (* 0.125 (/ 1 x)))) 0.697 * [backup-simplify]: Simplify (sqrt (* (- (/ 1 (- x)) 1.0) (/ 1 (- x)))) into (sqrt (/ (+ 1.0 (/ 1 x)) x)) 0.697 * [approximate]: Taking taylor expansion of (sqrt (/ (+ 1.0 (/ 1 x)) x)) in (x) around 0 0.697 * [taylor]: Taking taylor expansion of (sqrt (/ (+ 1.0 (/ 1 x)) x)) in x 0.698 * [taylor]: Taking taylor expansion of (/ (+ 1.0 (/ 1 x)) x) in x 0.698 * [taylor]: Taking taylor expansion of (+ 1.0 (/ 1 x)) in x 0.698 * [taylor]: Taking taylor expansion of 1.0 in x 0.698 * [backup-simplify]: Simplify 1.0 into 1.0 0.698 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.698 * [taylor]: Taking taylor expansion of x in x 0.698 * [backup-simplify]: Simplify 0 into 0 0.698 * [backup-simplify]: Simplify 1 into 1 0.698 * [backup-simplify]: Simplify (/ 1 1) into 1 0.698 * [taylor]: Taking taylor expansion of x in x 0.698 * [backup-simplify]: Simplify 0 into 0 0.698 * [backup-simplify]: Simplify 1 into 1 0.698 * [backup-simplify]: Simplify (+ 0 1) into 1 0.698 * [backup-simplify]: Simplify (/ 1 1) into 1 0.699 * [backup-simplify]: Simplify (sqrt 1) into 1 0.699 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.699 * [backup-simplify]: Simplify (+ 1.0 0) into 1.0 0.700 * [backup-simplify]: Simplify (- (/ 1.0 1) (+ (* 1 (/ 0 1)))) into 1.0 0.701 * [backup-simplify]: Simplify (/ 1.0 (* 2 (sqrt 1))) into 0.5 0.701 * [taylor]: Taking taylor expansion of (sqrt (/ (+ 1.0 (/ 1 x)) x)) in x 0.701 * [taylor]: Taking taylor expansion of (/ (+ 1.0 (/ 1 x)) x) in x 0.701 * [taylor]: Taking taylor expansion of (+ 1.0 (/ 1 x)) in x 0.701 * [taylor]: Taking taylor expansion of 1.0 in x 0.701 * [backup-simplify]: Simplify 1.0 into 1.0 0.701 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.701 * [taylor]: Taking taylor expansion of x in x 0.701 * [backup-simplify]: Simplify 0 into 0 0.701 * [backup-simplify]: Simplify 1 into 1 0.701 * [backup-simplify]: Simplify (/ 1 1) into 1 0.701 * [taylor]: Taking taylor expansion of x in x 0.701 * [backup-simplify]: Simplify 0 into 0 0.701 * [backup-simplify]: Simplify 1 into 1 0.702 * [backup-simplify]: Simplify (+ 0 1) into 1 0.702 * [backup-simplify]: Simplify (/ 1 1) into 1 0.702 * [backup-simplify]: Simplify (sqrt 1) into 1 0.703 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.703 * [backup-simplify]: Simplify (+ 1.0 0) into 1.0 0.704 * [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 * [backup-simplify]: Simplify 1 into 1 0.705 * [backup-simplify]: Simplify 0.5 into 0.5 0.705 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.706 * [backup-simplify]: Simplify (+ 0 0) into 0 0.706 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* 1 (/ 0 1)) (* 1.0 (/ 0 1)))) into 0 0.708 * [backup-simplify]: Simplify (/ (- 0 (pow 0.5 2) (+)) (* 2 1)) into -0.125 0.708 * [backup-simplify]: Simplify -0.125 into -0.125 0.708 * [backup-simplify]: Simplify (+ (* -0.125 (/ 1 (- x))) (+ 0.5 (* 1 (/ 1 (/ 1 (- x)))))) into (- (+ 0.5 (* 0.125 (/ 1 x))) x) 0.708 * * * [progress]: simplifying candidates 0.708 * [simplify]: Simplifying: (expm1 (sqrt (* (- x 1.0) x))) (log1p (sqrt (* (- x 1.0) x))) (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.709 * [simplify]: Sending expressions to egg_math: (expm1 (sqrt (* (- h0 h1) h0))) (log1p (sqrt (* (- h0 h1) h0))) (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.712 * * [simplify]: iteration 0 : 118 enodes (cost 82 ) 0.714 * * [simplify]: iteration 1 : 306 enodes (cost 77 ) 0.720 * * [simplify]: iteration 2 : 1115 enodes (cost 74 ) 0.744 * * [simplify]: iteration 3 : 4409 enodes (cost 73 ) 0.866 * * [simplify]: iteration 4 : 5001 enodes (cost 73 ) 0.867 * * * [progress]: adding candidates to table 0.903 * [progress]: [Phase 3 of 3] Extracting. 0.903 * * [regime]: Finding splitpoints for: (# #) 0.904 * * * [regime-changes]: Trying 1 branch expressions: (x) 0.904 * * * * [regimes]: Trying to branch on x from (# #) 0.915 * * * [regime]: Found split indices: #