


Bits error versus x
Results
Initial program 39.3
Initial simplification0.0
Final simplification0.0
herbie shell --seed 2018360
(FPCore (x)
:name "Expanding a square"
(- (* (+ x 1) (+ x 1)) 1))
Time bar (total: 6.8s)Debug log
2 alts after pruning (2 fresh and 0 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 0.0b | (* (+ x 2) x) |
1 calls. Slowest were:
| 4.0ms | (* (+ x 2) x) |
1 calls. Slowest were:
| 25.0ms | (* (+ x 2) x) |
7 calls. Slowest were:
| 96.0ms | (* (- (* x x) (* 2 2)) x) |
| 12.0ms | (* (+ (pow x 3) (pow 2 3)) x) |
| 5.0ms | (+ (* 2 x) (pow x 2)) |
4 alts after pruning (3 fresh and 1 done)
Merged error: 0b
Found 4 expressions with local error:
| 0.6b | (cbrt (* (+ x 2) x)) |
| 0.6b | (cbrt (* (+ x 2) x)) |
| 0.6b | (cbrt (* (+ x 2) x)) |
| 0.5b | (* (cbrt (* (+ x 2) x)) (cbrt (* (+ x 2) x))) |
4 calls. Slowest were:
| 8.0ms | (* (cbrt (* (+ x 2) x)) (cbrt (* (+ x 2) x))) |
| 1.0ms | (cbrt (* (+ x 2) x)) |
| 1.0ms | (cbrt (* (+ x 2) x)) |
4 calls. Slowest were:
| 48.0ms | (* (cbrt (* (+ x 2) x)) (cbrt (* (+ x 2) x))) |
| 46.0ms | (cbrt (* (+ x 2) x)) |
| 41.0ms | (cbrt (* (+ x 2) x)) |
| 41.0ms | (cbrt (* (+ x 2) x)) |
49 calls. Slowest were:
| 241.0ms | (- (+ (* 1/6 (* x (exp (* 1/3 (+ (log 2) (log x)))))) (exp (* 1/3 (+ (log 2) (log x))))) (* 1/36 (* (pow x 2) (exp (* 1/3 (+ (log 2) (log x))))))) |
| 238.0ms | (- (+ (* 1/6 (* x (exp (* 1/3 (+ (log 2) (log x)))))) (exp (* 1/3 (+ (log 2) (log x))))) (* 1/36 (* (pow x 2) (exp (* 1/3 (+ (log 2) (log x))))))) |
| 235.0ms | (- (+ (* 1/6 (* x (exp (* 1/3 (+ (log 2) (log x)))))) (exp (* 1/3 (+ (log 2) (log x))))) (* 1/36 (* (pow x 2) (exp (* 1/3 (+ (log 2) (log x))))))) |
4 alts after pruning (2 fresh and 2 done)
Merged error: 0b
Found 2 expressions with local error:
| 5.8b | (/ (+ (pow x 3) (* -4 x)) (- x 2)) |
| 0.0b | (+ (pow x 3) (* -4 x)) |
2 calls. Slowest were:
| 10.0ms | (/ (+ (pow x 3) (* -4 x)) (- x 2)) |
| 3.0ms | (+ (pow x 3) (* -4 x)) |
2 calls. Slowest were:
| 47.0ms | (/ (+ (pow x 3) (* -4 x)) (- x 2)) |
| 31.0ms | (+ (pow x 3) (* -4 x)) |
43 calls. Slowest were:
| 131.0ms | (- (* (pow x 3) (pow x 3)) (* (* -4 x) (* -4 x))) |
| 77.0ms | (/ (* (* (+ (pow x 3) (* -4 x)) (+ (pow x 3) (* -4 x))) (+ (pow x 3) (* -4 x))) (* (* (- x 2) (- x 2)) (- x 2))) |
| 69.0ms | (+ (pow (pow x 3) 3) (pow (* -4 x) 3)) |
4 alts after pruning (1 fresh and 3 done)
Merged error: 0b
Found 2 expressions with local error:
| 0.1b | (/ x (/ (- x 2) (+ (* x x) -4))) |
| 0.1b | (/ (- x 2) (+ (* x x) -4)) |
2 calls. Slowest were:
| 4.0ms | (/ (- x 2) (+ (* x x) -4)) |
| 1.0ms | (/ x (/ (- x 2) (+ (* x x) -4))) |
2 calls. Slowest were:
| 39.0ms | (/ x (/ (- x 2) (+ (* x x) -4))) |
| 12.0ms | (/ (- x 2) (+ (* x x) -4)) |
52 calls. Slowest were:
| 173.0ms | (/ (* (* (- x 2) (- x 2)) (- x 2)) (* (* (+ (* x x) -4) (+ (* x x) -4)) (+ (* x x) -4))) |
| 60.0ms | (+ (* (* x x) (* x x)) (- (* -4 -4) (* (* x x) -4))) |
| 60.0ms | (- (+ (* 4 (/ 1 (pow x 3))) (/ 1 x)) (* 2 (/ 1 (pow x 2)))) |
4 alts after pruning (0 fresh and 4 done)
Merged error: 0b
0% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 0.0b