0.726 * [progress]: [Phase 1 of 3] Setting up. 0.002 * * * [progress]: [1/2] Preparing points 0.336 * * * [progress]: [2/2] Setting up program. 0.339 * [progress]: [Phase 2 of 3] Improving. 0.342 * [simplify]: Simplifying: (* (sqrt (- x 1.0)) (sqrt x)) 0.342 * [simplify]: Sending expressions to egg_math: (* (sqrt (- h0 h1)) (sqrt h0)) 0.345 * * [simplify]: iteration 0 : 9 enodes (cost 4 ) 0.346 * * [simplify]: iteration 1 : 10 enodes (cost 4 ) 0.347 * * [simplify]: iteration 2 : 10 enodes (cost 4 ) 0.349 * * [progress]: iteration 1 / 4 0.349 * * * [progress]: picking best candidate 0.372 * * * * [pick]: Picked # 0.372 * * * [progress]: localizing error 0.379 * * * [progress]: generating rewritten candidates 0.380 * * * * [progress]: [ 1 / 1 ] rewriting at (2) 0.411 * * * [progress]: generating series expansions 0.411 * * * * [progress]: [ 1 / 1 ] generating series at (2) 0.415 * [backup-simplify]: Simplify (* (sqrt (- x 1.0)) (sqrt x)) into (sqrt (* (- x 1.0) x)) 0.415 * [approximate]: Taking taylor expansion of (sqrt (* (- x 1.0) x)) in (x) around 0 0.416 * [taylor]: Taking taylor expansion of (sqrt (* (- x 1.0) x)) in x 0.416 * [taylor]: Taking taylor expansion of (* (- x 1.0) x) in x 0.416 * [taylor]: Taking taylor expansion of (- x 1.0) in x 0.416 * [taylor]: Taking taylor expansion of x in x 0.416 * [backup-simplify]: Simplify 0 into 0 0.416 * [backup-simplify]: Simplify 1 into 1 0.416 * [taylor]: Taking taylor expansion of 1.0 in x 0.416 * [backup-simplify]: Simplify 1.0 into 1.0 0.417 * [taylor]: Taking taylor expansion of x in x 0.417 * [backup-simplify]: Simplify 0 into 0 0.417 * [backup-simplify]: Simplify 1 into 1 0.417 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.418 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.419 * [backup-simplify]: Simplify (* (- 1.0) 0) into 0 0.419 * [backup-simplify]: Simplify (- 0) into 0 0.419 * [backup-simplify]: Simplify (+ 1 0) into 1 0.420 * [backup-simplify]: Simplify (+ (* (- 1.0) 1) (* 1 0)) into (- 1.0) 0.421 * [backup-simplify]: Simplify (sqrt 0) into 0 0.422 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 0))) into +nan.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.422 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.423 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.423 * [backup-simplify]: Simplify (* (- 1.0) 0) into 0 0.423 * [backup-simplify]: Simplify (- 0) into 0 0.423 * [backup-simplify]: Simplify (+ 1 0) into 1 0.424 * [backup-simplify]: Simplify (+ (* (- 1.0) 1) (* 1 0)) into (- 1.0) 0.425 * [backup-simplify]: Simplify (sqrt 0) into 0 0.426 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 0))) into +nan.0 0.426 * [backup-simplify]: Simplify 0 into 0 0.426 * [backup-simplify]: Simplify +nan.0 into +nan.0 0.427 * [backup-simplify]: Simplify (- 0) into 0 0.427 * [backup-simplify]: Simplify (+ 0 0) into 0 0.428 * [backup-simplify]: Simplify (+ (* (- 1.0) 0) (+ (* 1 1) (* 0 0))) into 1 0.430 * [backup-simplify]: Simplify (/ (- 1 (pow +nan.0 2) (+)) (* 2 0)) into +nan.0 0.430 * [backup-simplify]: Simplify +nan.0 into +nan.0 0.430 * [backup-simplify]: Simplify (- 0) into 0 0.430 * [backup-simplify]: Simplify (+ 0 0) into 0 0.431 * [backup-simplify]: Simplify (+ (* (- 1.0) 0) (+ (* 1 0) (+ (* 0 1) (* 0 0)))) into 0 0.433 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* +nan.0 +nan.0)))) (* 2 0)) into +nan.0 0.433 * [backup-simplify]: Simplify +nan.0 into +nan.0 0.434 * [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.435 * [backup-simplify]: Simplify (* (sqrt (- (/ 1 x) 1.0)) (sqrt (/ 1 x))) into (sqrt (/ (- (/ 1 x) 1.0) x)) 0.435 * [approximate]: Taking taylor expansion of (sqrt (/ (- (/ 1 x) 1.0) x)) in (x) around 0 0.435 * [taylor]: Taking taylor expansion of (sqrt (/ (- (/ 1 x) 1.0) x)) in x 0.435 * [taylor]: Taking taylor expansion of (/ (- (/ 1 x) 1.0) x) in x 0.435 * [taylor]: Taking taylor expansion of (- (/ 1 x) 1.0) in x 0.435 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.435 * [taylor]: Taking taylor expansion of x in x 0.435 * [backup-simplify]: Simplify 0 into 0 0.435 * [backup-simplify]: Simplify 1 into 1 0.435 * [backup-simplify]: Simplify (/ 1 1) into 1 0.435 * [taylor]: Taking taylor expansion of 1.0 in x 0.435 * [backup-simplify]: Simplify 1.0 into 1.0 0.435 * [taylor]: Taking taylor expansion of x in x 0.435 * [backup-simplify]: Simplify 0 into 0 0.435 * [backup-simplify]: Simplify 1 into 1 0.436 * [backup-simplify]: Simplify (+ 1 0) into 1 0.436 * [backup-simplify]: Simplify (/ 1 1) into 1 0.436 * [backup-simplify]: Simplify (sqrt 1) into 1 0.437 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.437 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.437 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.439 * [backup-simplify]: Simplify (- (/ (- 1.0) 1) (+ (* 1 (/ 0 1)))) into (- 1.0) 0.440 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 1))) into -0.5 0.440 * [taylor]: Taking taylor expansion of (sqrt (/ (- (/ 1 x) 1.0) x)) in x 0.440 * [taylor]: Taking taylor expansion of (/ (- (/ 1 x) 1.0) x) in x 0.440 * [taylor]: Taking taylor expansion of (- (/ 1 x) 1.0) in x 0.440 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.440 * [taylor]: Taking taylor expansion of x in x 0.440 * [backup-simplify]: Simplify 0 into 0 0.440 * [backup-simplify]: Simplify 1 into 1 0.440 * [backup-simplify]: Simplify (/ 1 1) into 1 0.440 * [taylor]: Taking taylor expansion of 1.0 in x 0.440 * [backup-simplify]: Simplify 1.0 into 1.0 0.440 * [taylor]: Taking taylor expansion of x in x 0.440 * [backup-simplify]: Simplify 0 into 0 0.440 * [backup-simplify]: Simplify 1 into 1 0.440 * [backup-simplify]: Simplify (+ 1 0) into 1 0.441 * [backup-simplify]: Simplify (/ 1 1) into 1 0.441 * [backup-simplify]: Simplify (sqrt 1) into 1 0.441 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.442 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.442 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.443 * [backup-simplify]: Simplify (- (/ (- 1.0) 1) (+ (* 1 (/ 0 1)))) into (- 1.0) 0.444 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 1))) into -0.5 0.444 * [backup-simplify]: Simplify 1 into 1 0.444 * [backup-simplify]: Simplify -0.5 into -0.5 0.445 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.445 * [backup-simplify]: Simplify (- 0) into 0 0.445 * [backup-simplify]: Simplify (+ 0 0) into 0 0.446 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* 1 (/ 0 1)) (* (- 1.0) (/ 0 1)))) into 0 0.447 * [backup-simplify]: Simplify (/ (- 0 (pow -0.5 2) (+)) (* 2 1)) into -0.125 0.448 * [backup-simplify]: Simplify -0.125 into -0.125 0.448 * [backup-simplify]: Simplify (+ (* -0.125 (/ 1 x)) (+ -0.5 (* 1 (/ 1 (/ 1 x))))) into (- x (+ 0.5 (* 0.125 (/ 1 x)))) 0.448 * [backup-simplify]: Simplify (* (sqrt (- (/ 1 (- x)) 1.0)) (sqrt (/ 1 (- x)))) into (* (sqrt (- (+ 1.0 (/ 1 x)))) (sqrt (/ -1 x))) 0.448 * [approximate]: Taking taylor expansion of (* (sqrt (- (+ 1.0 (/ 1 x)))) (sqrt (/ -1 x))) in (x) around 0 0.448 * [taylor]: Taking taylor expansion of (* (sqrt (- (+ 1.0 (/ 1 x)))) (sqrt (/ -1 x))) in x 0.448 * [taylor]: Taking taylor expansion of (sqrt (- (+ 1.0 (/ 1 x)))) in x 0.448 * [taylor]: Taking taylor expansion of (- (+ 1.0 (/ 1 x))) in x 0.448 * [taylor]: Taking taylor expansion of (+ 1.0 (/ 1 x)) in x 0.448 * [taylor]: Taking taylor expansion of 1.0 in x 0.448 * [backup-simplify]: Simplify 1.0 into 1.0 0.448 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.448 * [taylor]: Taking taylor expansion of x in x 0.448 * [backup-simplify]: Simplify 0 into 0 0.448 * [backup-simplify]: Simplify 1 into 1 0.448 * [backup-simplify]: Simplify (/ 1 1) into 1 0.448 * [backup-simplify]: Simplify (+ 0 1) into 1 0.449 * [backup-simplify]: Simplify (- 1) into -1 0.449 * [backup-simplify]: Simplify (sqrt 0) into 0 0.449 * [backup-simplify]: Simplify (- 1) into -1 0.450 * [backup-simplify]: Simplify (/ -1 (* 2 (sqrt 0))) into +nan.0 0.450 * [taylor]: Taking taylor expansion of (sqrt (/ -1 x)) in x 0.450 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.450 * [taylor]: Taking taylor expansion of -1 in x 0.450 * [backup-simplify]: Simplify -1 into -1 0.450 * [taylor]: Taking taylor expansion of x in x 0.450 * [backup-simplify]: Simplify 0 into 0 0.450 * [backup-simplify]: Simplify 1 into 1 0.450 * [backup-simplify]: Simplify (/ -1 1) into -1 0.450 * [backup-simplify]: Simplify (sqrt 0) into 0 0.451 * [backup-simplify]: Simplify (/ -1 (* 2 (sqrt 0))) into +nan.0 0.451 * [taylor]: Taking taylor expansion of (* (sqrt (- (+ 1.0 (/ 1 x)))) (sqrt (/ -1 x))) in x 0.451 * [taylor]: Taking taylor expansion of (sqrt (- (+ 1.0 (/ 1 x)))) in x 0.451 * [taylor]: Taking taylor expansion of (- (+ 1.0 (/ 1 x))) in x 0.451 * [taylor]: Taking taylor expansion of (+ 1.0 (/ 1 x)) in x 0.451 * [taylor]: Taking taylor expansion of 1.0 in x 0.451 * [backup-simplify]: Simplify 1.0 into 1.0 0.451 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.451 * [taylor]: Taking taylor expansion of x in x 0.451 * [backup-simplify]: Simplify 0 into 0 0.451 * [backup-simplify]: Simplify 1 into 1 0.452 * [backup-simplify]: Simplify (/ 1 1) into 1 0.452 * [backup-simplify]: Simplify (+ 0 1) into 1 0.452 * [backup-simplify]: Simplify (- 1) into -1 0.452 * [backup-simplify]: Simplify (sqrt 0) into 0 0.453 * [backup-simplify]: Simplify (- 1) into -1 0.453 * [backup-simplify]: Simplify (/ -1 (* 2 (sqrt 0))) into +nan.0 0.453 * [taylor]: Taking taylor expansion of (sqrt (/ -1 x)) in x 0.453 * [taylor]: Taking taylor expansion of (/ -1 x) in x 0.453 * [taylor]: Taking taylor expansion of -1 in x 0.453 * [backup-simplify]: Simplify -1 into -1 0.453 * [taylor]: Taking taylor expansion of x in x 0.453 * [backup-simplify]: Simplify 0 into 0 0.453 * [backup-simplify]: Simplify 1 into 1 0.454 * [backup-simplify]: Simplify (/ -1 1) into -1 0.454 * [backup-simplify]: Simplify (sqrt 0) into 0 0.455 * [backup-simplify]: Simplify (/ -1 (* 2 (sqrt 0))) into +nan.0 0.455 * [backup-simplify]: Simplify (* 0 0) into 0 0.455 * [backup-simplify]: Simplify 0 into 0 0.456 * [backup-simplify]: Simplify (+ (* 0 +nan.0) (* +nan.0 0)) into 0 0.456 * [backup-simplify]: Simplify 0 into 0 0.456 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* -1 (/ 0 1)))) into 0 0.463 * [backup-simplify]: Simplify (/ (- 0 (pow +nan.0 2) (+)) (* 2 0)) into +nan.0 0.464 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.464 * [backup-simplify]: Simplify (+ 1.0 0) into 1.0 0.464 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.466 * [backup-simplify]: Simplify (/ (- (- 1.0) (pow +nan.0 2) (+)) (* 2 0)) into +nan.0 0.468 * [backup-simplify]: Simplify (+ (* 0 +nan.0) (+ (* +nan.0 +nan.0) (* +nan.0 0))) into (- +nan.0) 0.468 * [backup-simplify]: Simplify (- +nan.0) into (- +nan.0) 0.468 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* -1 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.470 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* +nan.0 +nan.0)))) (* 2 0)) into +nan.0 0.471 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.471 * [backup-simplify]: Simplify (+ 0 0) into 0 0.471 * [backup-simplify]: Simplify (- 0) into 0 0.473 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* +nan.0 +nan.0)))) (* 2 0)) into +nan.0 0.475 * [backup-simplify]: Simplify (+ (* 0 +nan.0) (+ (* +nan.0 +nan.0) (+ (* +nan.0 +nan.0) (* +nan.0 0)))) into (- +nan.0) 0.475 * [backup-simplify]: Simplify (- +nan.0) into (- +nan.0) 0.476 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* -1 (/ 0 1)) (* 0 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.479 * [backup-simplify]: Simplify (/ (- 0 (pow +nan.0 2) (+ (* 2 (* +nan.0 +nan.0)))) (* 2 0)) into +nan.0 0.479 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.479 * [backup-simplify]: Simplify (+ 0 0) into 0 0.479 * [backup-simplify]: Simplify (- 0) into 0 0.482 * [backup-simplify]: Simplify (/ (- 0 (pow +nan.0 2) (+ (* 2 (* +nan.0 +nan.0)))) (* 2 0)) into +nan.0 0.485 * [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.485 * [backup-simplify]: Simplify (- +nan.0) into (- +nan.0) 0.486 * [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.486 * * * [progress]: simplifying candidates 0.487 * [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.487 * [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.490 * * [simplify]: iteration 0 : 181 enodes (cost 216 ) 0.493 * * [simplify]: iteration 1 : 610 enodes (cost 206 ) 0.506 * * [simplify]: iteration 2 : 2471 enodes (cost 201 ) 0.559 * * [simplify]: iteration 3 : 5002 enodes (cost 201 ) 0.560 * * * [progress]: adding candidates to table 0.623 * * [progress]: iteration 2 / 4 0.623 * * * [progress]: picking best candidate 0.626 * * * * [pick]: Picked # 0.626 * * * [progress]: localizing error 0.631 * * * [progress]: generating rewritten candidates 0.631 * * * [progress]: generating series expansions 0.631 * * * [progress]: simplifying candidates 0.631 * [simplify]: Simplifying: 0.631 * [simplify]: Sending expressions to egg_math: 0.633 * * [simplify]: iteration 0 : 0 enodes (cost 0 ) 0.633 * * * [progress]: adding candidates to table 0.633 * * [progress]: iteration 3 / 4 0.634 * * * [progress]: picking best candidate 0.635 * * * * [pick]: Picked # 0.635 * * * [progress]: localizing error 0.639 * * * [progress]: generating rewritten candidates 0.639 * * * * [progress]: [ 1 / 1 ] rewriting at (2) 0.647 * * * [progress]: generating series expansions 0.647 * * * * [progress]: [ 1 / 1 ] generating series at (2) 0.647 * [backup-simplify]: Simplify (sqrt (* (- x 1.0) x)) into (sqrt (* (- x 1.0) x)) 0.647 * [approximate]: Taking taylor expansion of (sqrt (* (- x 1.0) x)) in (x) around 0 0.647 * [taylor]: Taking taylor expansion of (sqrt (* (- x 1.0) x)) in x 0.647 * [taylor]: Taking taylor expansion of (* (- x 1.0) x) in x 0.647 * [taylor]: Taking taylor expansion of (- x 1.0) in x 0.647 * [taylor]: Taking taylor expansion of x in x 0.648 * [backup-simplify]: Simplify 0 into 0 0.648 * [backup-simplify]: Simplify 1 into 1 0.648 * [taylor]: Taking taylor expansion of 1.0 in x 0.648 * [backup-simplify]: Simplify 1.0 into 1.0 0.648 * [taylor]: Taking taylor expansion of x in x 0.648 * [backup-simplify]: Simplify 0 into 0 0.648 * [backup-simplify]: Simplify 1 into 1 0.648 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.649 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.649 * [backup-simplify]: Simplify (* (- 1.0) 0) into 0 0.649 * [backup-simplify]: Simplify (- 0) into 0 0.649 * [backup-simplify]: Simplify (+ 1 0) into 1 0.650 * [backup-simplify]: Simplify (+ (* (- 1.0) 1) (* 1 0)) into (- 1.0) 0.651 * [backup-simplify]: Simplify (sqrt 0) into 0 0.652 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 0))) into +nan.0 0.652 * [taylor]: Taking taylor expansion of (sqrt (* (- x 1.0) x)) in x 0.652 * [taylor]: Taking taylor expansion of (* (- x 1.0) x) in x 0.652 * [taylor]: Taking taylor expansion of (- x 1.0) in x 0.652 * [taylor]: Taking taylor expansion of x in x 0.652 * [backup-simplify]: Simplify 0 into 0 0.652 * [backup-simplify]: Simplify 1 into 1 0.652 * [taylor]: Taking taylor expansion of 1.0 in x 0.652 * [backup-simplify]: Simplify 1.0 into 1.0 0.652 * [taylor]: Taking taylor expansion of x in x 0.652 * [backup-simplify]: Simplify 0 into 0 0.652 * [backup-simplify]: Simplify 1 into 1 0.652 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.653 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.653 * [backup-simplify]: Simplify (* (- 1.0) 0) into 0 0.653 * [backup-simplify]: Simplify (- 0) into 0 0.654 * [backup-simplify]: Simplify (+ 1 0) into 1 0.655 * [backup-simplify]: Simplify (+ (* (- 1.0) 1) (* 1 0)) into (- 1.0) 0.655 * [backup-simplify]: Simplify (sqrt 0) into 0 0.656 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 0))) into +nan.0 0.656 * [backup-simplify]: Simplify 0 into 0 0.656 * [backup-simplify]: Simplify +nan.0 into +nan.0 0.656 * [backup-simplify]: Simplify (- 0) into 0 0.656 * [backup-simplify]: Simplify (+ 0 0) into 0 0.657 * [backup-simplify]: Simplify (+ (* (- 1.0) 0) (+ (* 1 1) (* 0 0))) into 1 0.659 * [backup-simplify]: Simplify (/ (- 1 (pow +nan.0 2) (+)) (* 2 0)) into +nan.0 0.659 * [backup-simplify]: Simplify +nan.0 into +nan.0 0.659 * [backup-simplify]: Simplify (- 0) into 0 0.659 * [backup-simplify]: Simplify (+ 0 0) into 0 0.660 * [backup-simplify]: Simplify (+ (* (- 1.0) 0) (+ (* 1 0) (+ (* 0 1) (* 0 0)))) into 0 0.662 * [backup-simplify]: Simplify (/ (- 0 (+ (* 2 (* +nan.0 +nan.0)))) (* 2 0)) into +nan.0 0.662 * [backup-simplify]: Simplify +nan.0 into +nan.0 0.663 * [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.663 * [backup-simplify]: Simplify (sqrt (* (- (/ 1 x) 1.0) (/ 1 x))) into (sqrt (/ (- (/ 1 x) 1.0) x)) 0.663 * [approximate]: Taking taylor expansion of (sqrt (/ (- (/ 1 x) 1.0) x)) in (x) around 0 0.663 * [taylor]: Taking taylor expansion of (sqrt (/ (- (/ 1 x) 1.0) x)) in x 0.663 * [taylor]: Taking taylor expansion of (/ (- (/ 1 x) 1.0) x) in x 0.663 * [taylor]: Taking taylor expansion of (- (/ 1 x) 1.0) in x 0.663 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.663 * [taylor]: Taking taylor expansion of x in x 0.663 * [backup-simplify]: Simplify 0 into 0 0.663 * [backup-simplify]: Simplify 1 into 1 0.663 * [backup-simplify]: Simplify (/ 1 1) into 1 0.663 * [taylor]: Taking taylor expansion of 1.0 in x 0.663 * [backup-simplify]: Simplify 1.0 into 1.0 0.663 * [taylor]: Taking taylor expansion of x in x 0.663 * [backup-simplify]: Simplify 0 into 0 0.663 * [backup-simplify]: Simplify 1 into 1 0.664 * [backup-simplify]: Simplify (+ 1 0) into 1 0.664 * [backup-simplify]: Simplify (/ 1 1) into 1 0.664 * [backup-simplify]: Simplify (sqrt 1) into 1 0.664 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.665 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.665 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.666 * [backup-simplify]: Simplify (- (/ (- 1.0) 1) (+ (* 1 (/ 0 1)))) into (- 1.0) 0.670 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 1))) into -0.5 0.670 * [taylor]: Taking taylor expansion of (sqrt (/ (- (/ 1 x) 1.0) x)) in x 0.670 * [taylor]: Taking taylor expansion of (/ (- (/ 1 x) 1.0) x) in x 0.670 * [taylor]: Taking taylor expansion of (- (/ 1 x) 1.0) in x 0.670 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.670 * [taylor]: Taking taylor expansion of x in x 0.670 * [backup-simplify]: Simplify 0 into 0 0.670 * [backup-simplify]: Simplify 1 into 1 0.671 * [backup-simplify]: Simplify (/ 1 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.671 * [backup-simplify]: Simplify (/ 1 1) into 1 0.671 * [backup-simplify]: Simplify (sqrt 1) into 1 0.672 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.672 * [backup-simplify]: Simplify (- 1.0) into (- 1.0) 0.672 * [backup-simplify]: Simplify (+ 0 (- 1.0)) into (- 1.0) 0.674 * [backup-simplify]: Simplify (- (/ (- 1.0) 1) (+ (* 1 (/ 0 1)))) into (- 1.0) 0.675 * [backup-simplify]: Simplify (/ (- 1.0) (* 2 (sqrt 1))) into -0.5 0.675 * [backup-simplify]: Simplify 1 into 1 0.675 * [backup-simplify]: Simplify -0.5 into -0.5 0.675 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.676 * [backup-simplify]: Simplify (- 0) into 0 0.676 * [backup-simplify]: Simplify (+ 0 0) into 0 0.676 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* 1 (/ 0 1)) (* (- 1.0) (/ 0 1)))) into 0 0.678 * [backup-simplify]: Simplify (/ (- 0 (pow -0.5 2) (+)) (* 2 1)) into -0.125 0.678 * [backup-simplify]: Simplify -0.125 into -0.125 0.678 * [backup-simplify]: Simplify (+ (* -0.125 (/ 1 x)) (+ -0.5 (* 1 (/ 1 (/ 1 x))))) into (- x (+ 0.5 (* 0.125 (/ 1 x)))) 0.678 * [backup-simplify]: Simplify (sqrt (* (- (/ 1 (- x)) 1.0) (/ 1 (- x)))) into (sqrt (/ (+ 1.0 (/ 1 x)) x)) 0.678 * [approximate]: Taking taylor expansion of (sqrt (/ (+ 1.0 (/ 1 x)) x)) in (x) around 0 0.678 * [taylor]: Taking taylor expansion of (sqrt (/ (+ 1.0 (/ 1 x)) x)) in x 0.678 * [taylor]: Taking taylor expansion of (/ (+ 1.0 (/ 1 x)) x) in x 0.678 * [taylor]: Taking taylor expansion of (+ 1.0 (/ 1 x)) in x 0.678 * [taylor]: Taking taylor expansion of 1.0 in x 0.678 * [backup-simplify]: Simplify 1.0 into 1.0 0.678 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.678 * [taylor]: Taking taylor expansion of x in x 0.678 * [backup-simplify]: Simplify 0 into 0 0.678 * [backup-simplify]: Simplify 1 into 1 0.679 * [backup-simplify]: Simplify (/ 1 1) into 1 0.679 * [taylor]: Taking taylor expansion of x in x 0.679 * [backup-simplify]: Simplify 0 into 0 0.679 * [backup-simplify]: Simplify 1 into 1 0.679 * [backup-simplify]: Simplify (+ 0 1) into 1 0.679 * [backup-simplify]: Simplify (/ 1 1) into 1 0.679 * [backup-simplify]: Simplify (sqrt 1) into 1 0.680 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.680 * [backup-simplify]: Simplify (+ 1.0 0) into 1.0 0.681 * [backup-simplify]: Simplify (- (/ 1.0 1) (+ (* 1 (/ 0 1)))) into 1.0 0.682 * [backup-simplify]: Simplify (/ 1.0 (* 2 (sqrt 1))) into 0.5 0.682 * [taylor]: Taking taylor expansion of (sqrt (/ (+ 1.0 (/ 1 x)) x)) in x 0.682 * [taylor]: Taking taylor expansion of (/ (+ 1.0 (/ 1 x)) x) in x 0.682 * [taylor]: Taking taylor expansion of (+ 1.0 (/ 1 x)) in x 0.682 * [taylor]: Taking taylor expansion of 1.0 in x 0.682 * [backup-simplify]: Simplify 1.0 into 1.0 0.682 * [taylor]: Taking taylor expansion of (/ 1 x) in x 0.682 * [taylor]: Taking taylor expansion of x in x 0.682 * [backup-simplify]: Simplify 0 into 0 0.682 * [backup-simplify]: Simplify 1 into 1 0.682 * [backup-simplify]: Simplify (/ 1 1) into 1 0.682 * [taylor]: Taking taylor expansion of x in x 0.682 * [backup-simplify]: Simplify 0 into 0 0.682 * [backup-simplify]: Simplify 1 into 1 0.682 * [backup-simplify]: Simplify (+ 0 1) into 1 0.683 * [backup-simplify]: Simplify (/ 1 1) into 1 0.683 * [backup-simplify]: Simplify (sqrt 1) into 1 0.683 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)))) into 0 0.684 * [backup-simplify]: Simplify (+ 1.0 0) into 1.0 0.685 * [backup-simplify]: Simplify (- (/ 1.0 1) (+ (* 1 (/ 0 1)))) into 1.0 0.685 * [backup-simplify]: Simplify (/ 1.0 (* 2 (sqrt 1))) into 0.5 0.685 * [backup-simplify]: Simplify 1 into 1 0.685 * [backup-simplify]: Simplify 0.5 into 0.5 0.686 * [backup-simplify]: Simplify (- (+ (* 1 (/ 0 1)) (* 0 (/ 0 1)))) into 0 0.686 * [backup-simplify]: Simplify (+ 0 0) into 0 0.687 * [backup-simplify]: Simplify (- (/ 0 1) (+ (* 1 (/ 0 1)) (* 1.0 (/ 0 1)))) into 0 0.688 * [backup-simplify]: Simplify (/ (- 0 (pow 0.5 2) (+)) (* 2 1)) into -0.125 0.688 * [backup-simplify]: Simplify -0.125 into -0.125 0.689 * [backup-simplify]: Simplify (+ (* -0.125 (/ 1 (- x))) (+ 0.5 (* 1 (/ 1 (/ 1 (- x)))))) into (- (+ 0.5 (* 0.125 (/ 1 x))) x) 0.689 * * * [progress]: simplifying candidates 0.689 * [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.689 * [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.691 * * [simplify]: iteration 0 : 111 enodes (cost 74 ) 0.694 * * [simplify]: iteration 1 : 281 enodes (cost 69 ) 0.699 * * [simplify]: iteration 2 : 983 enodes (cost 68 ) 0.722 * * [simplify]: iteration 3 : 3763 enodes (cost 66 ) 0.840 * * [simplify]: iteration 4 : 5001 enodes (cost 66 ) 0.842 * * * [progress]: adding candidates to table 0.870 * [progress]: [Phase 3 of 3] Extracting. 0.870 * * [regime]: Finding splitpoints for: (# # #) 0.871 * * * [regime-changes]: Trying 2 branch expressions: ((* (sqrt (- x 1.0)) (sqrt x)) x) 0.871 * * * * [regimes]: Trying to branch on (* (sqrt (- x 1.0)) (sqrt x)) from (# # #) 0.894 * * * * [regimes]: Trying to branch on x from (# # #) 0.905 * * * [regime]: Found split indices: #