


Bits error versus x
Results
Initial program 0.5
Final simplification0.5
herbie shell --seed 2019022 +o rules:numerics
(FPCore (x)
:name "sqrt times"
(* (sqrt (- x 1)) (sqrt x)))
Time bar (total: 5.4s)Debug log
| 105.0ms | 753× | body | 80 | nan |
| 16.0ms | 256× | body | 80 | valid |
| 12.0ms | (* (sqrt (- x 1)) (sqrt x)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0.5b
Found 1 expressions with local error:
| 0.5b | (* (sqrt (- x 1)) (sqrt x)) |
| 6× | associate-*l* |
| 4× | add-cube-cbrt |
| 4× | *-un-lft-identity |
| 4× | add-sqr-sqrt |
| 3× | sqrt-prod |
| 3× | add-exp-log |
| 3× | associate-*r* |
| 3× | add-cbrt-cube |
| 3× | pow1 |
| 2× | associate-*l/ |
| 2× | pow-prod-down |
| 2× | sqrt-div |
| 2× | pow1/2 |
| 1× | add-log-exp |
| 1× | flip-- |
| 1× | log1p-expm1-u |
| 1× | cbrt-unprod |
| 1× | *-commutative |
| 1× | prod-exp |
| 1× | sqrt-unprod |
| 1× | flip3-- |
| 1× | expm1-log1p-u |
| 7.0ms | (* (sqrt (- x 1)) (sqrt x)) |
| 50.0ms | (* (sqrt (- x 1)) (sqrt x)) |
| 338.0ms | (* (* (* (sqrt (- x 1)) (sqrt (- x 1))) (sqrt (- x 1))) (* (* (sqrt x) (sqrt x)) (sqrt x))) |
| 81.0ms | (- x (+ (* 1/8 (/ 1 x)) 1/2)) |
| 56.0ms | (* (sqrt (- (* x x) (* 1 1))) (sqrt x)) |
| 20.0ms | (* (sqrt (- (pow x 3) (pow 1 3))) (sqrt x)) |
| 14.0ms | (* (- x 1) x) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0b
Found 0 expressions with local error:
3 alts after pruning (1 fresh and 2 done)
Merged error: 0b
Found 1 expressions with local error:
| 29.7b | (sqrt (* (- x 1) x)) |
| 2× | associate-*l/ |
| 2× | sqrt-div |
| 1× | add-log-exp |
| 1× | flip-- |
| 1× | log1p-expm1-u |
| 1× | sqrt-prod |
| 1× | add-cube-cbrt |
| 1× | add-exp-log |
| 1× | pow1/2 |
| 1× | add-cbrt-cube |
| 1× | flip3-- |
| 1× | *-un-lft-identity |
| 1× | pow1 |
| 1× | expm1-log1p-u |
| 1× | add-sqr-sqrt |
| 3.0ms | (sqrt (* (- x 1) x)) |
| 28.0ms | (sqrt (* (- x 1) x)) |
| 111.0ms | (- x (+ (* 1/8 (/ 1 x)) 1/2)) |
| 82.0ms | (sqrt (* (- (* x x) (* 1 1)) x)) |
| 41.0ms | (- (+ (* 1/8 (/ 1 x)) 1/2) x) |
| 19.0ms | (sqrt (* (- (pow x 3) (pow 1 3)) x)) |
| 7.0ms | (sqrt (- x 1)) |
3 alts after pruning (0 fresh and 3 done)
Merged error: 0b
0% (0.5b remaining)
Error of 0.5b against oracle of 0.0b and baseline of 0.5b
| 2.4s | 24206× | body | 80 | nan |
| 996.0ms | 7994× | body | 80 | valid |
| 1.0ms | 6× | body | 160 | valid |