


Bits error versus t
Results
Initial program 0.0
rmApplied add-log-exp0.0
Final simplification0.0
herbie shell --seed 2019022
(FPCore (t)
:name "Kahan p13 Example 1"
(/ (+ 1 (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t)))) (+ 2 (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))))))
Time bar (total: 1.4m)Debug log
| 18.0ms | 256× | body | 80 | valid |
| 524.0ms | (/ (+ 1 (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t)))) (+ 2 (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 0.0b | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
| 0.0b | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
| 0.0b | (/ (+ 1 (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t)))) (+ 2 (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))))) |
| 0.0b | (/ (* 2 t) (+ 1 t)) |
| 32× | add-exp-log |
| 32× | add-cbrt-cube |
| 24× | times-frac |
| 22× | add-cube-cbrt |
| 22× | *-un-lft-identity |
| 22× | add-sqr-sqrt |
| 18× | associate-*l* |
| 18× | associate-*r* |
| 14× | pow1 |
| 12× | associate-/r/ |
| 10× | div-exp |
| 10× | cbrt-undiv |
| 8× | cbrt-unprod |
| 8× | prod-exp |
| 7× | flip-+ |
| 7× | flip3-+ |
| 6× | div-inv |
| 6× | associate-/r* |
| 4× | add-log-exp |
| 4× | associate-/l* |
| 2× | associate-/l/ |
| 2× | pow-prod-up |
| 2× | *-commutative |
| 2× | associate-*r/ |
| 2× | associate-*l/ |
| 2× | pow-prod-down |
| 2× | pow-plus |
| 2× | frac-2neg |
| 2× | clear-num |
| 2× | frac-times |
| 2× | pow2 |
| 23.0ms | (/ (+ 1 (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t)))) (+ 2 (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))))) |
| 20.0ms | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
| 14.0ms | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
| 6.0ms | (/ (* 2 t) (+ 1 t)) |
| 35.0ms | (/ (+ 1 (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t)))) (+ 2 (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))))) |
| 20.0ms | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
| 20.0ms | (/ (* 2 t) (+ 1 t)) |
| 13.0ms | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
| 960.0ms | (sqrt (+ 2 (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))))) |
| 731.0ms | (* (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (/ (* 2 t) (+ 1 t))) (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (/ (* 2 t) (+ 1 t)))) |
| 654.0ms | (* (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (/ (* 2 t) (+ 1 t))) (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (/ (* 2 t) (+ 1 t)))) |
| 556.0ms | (+ (* 2 2) (- (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t)))) (* 2 (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t)))))) |
| 544.0ms | (/ (+ 1 (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t)))) (cbrt (+ 2 (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t)))))) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 0b
Found 4 expressions with local error:
| 0.6b | (log (exp (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))))) |
| 0.0b | (exp (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t)))) |
| 0.0b | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
| 0.0b | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
| 28× | add-exp-log |
| 28× | add-cbrt-cube |
| 18× | associate-*l* |
| 18× | associate-*r* |
| 15× | pow1 |
| 13× | add-cube-cbrt |
| 13× | *-un-lft-identity |
| 13× | add-sqr-sqrt |
| 12× | times-frac |
| 8× | cbrt-unprod |
| 8× | associate-/r/ |
| 8× | prod-exp |
| 8× | div-exp |
| 8× | cbrt-undiv |
| 7× | add-log-exp |
| 4× | div-inv |
| 4× | flip-+ |
| 4× | flip3-+ |
| 3× | log-pow |
| 3× | log-prod |
| 2× | pow-prod-up |
| 2× | *-commutative |
| 2× | associate-*r/ |
| 2× | associate-*l/ |
| 2× | pow-prod-down |
| 2× | exp-to-pow |
| 2× | pow-plus |
| 2× | exp-prod |
| 2× | frac-times |
| 2× | pow2 |
| 1× | rem-exp-log |
| 1× | rem-log-exp |
| 10.0ms | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
| 7.0ms | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
| 3.0ms | (log (exp (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))))) |
| 3.0ms | (exp (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t)))) |
| 32.0ms | (exp (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t)))) |
| 13.0ms | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
| 12.0ms | (log (exp (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))))) |
| 12.0ms | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
| 673.0ms | (* (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (/ (* 2 t) (+ 1 t))) (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (/ (* 2 t) (+ 1 t)))) |
| 639.0ms | (* (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (/ (* 2 t) (+ 1 t))) (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (/ (* 2 t) (+ 1 t)))) |
| 468.0ms | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
| 461.0ms | (log (* (cbrt (exp (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))))) (cbrt (exp (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))))))) |
| 453.0ms | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0b
Found 4 expressions with local error:
| 0.1b | (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t)))) |
| 0.0b | (- 2 (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t)))) |
| 0.0b | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
| 0.0b | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
| 158× | add-exp-log |
| 158× | add-cbrt-cube |
| 73× | cbrt-unprod |
| 73× | prod-exp |
| 71× | pow1 |
| 48× | div-exp |
| 48× | cbrt-undiv |
| 25× | pow-prod-up |
| 20× | pow-prod-down |
| 19× | associate-*l* |
| 19× | associate-*r* |
| 19× | frac-times |
| 14× | pow-plus |
| 13× | associate-*r/ |
| 13× | associate-*l/ |
| 12× | add-cube-cbrt |
| 12× | times-frac |
| 12× | *-un-lft-identity |
| 12× | add-sqr-sqrt |
| 11× | pow2 |
| 8× | associate-/r/ |
| 4× | add-log-exp |
| 4× | div-inv |
| 4× | flip-+ |
| 4× | flip3-+ |
| 3× | *-commutative |
| 1× | flip-- |
| 1× | flip3-- |
| 1× | sub-neg |
| 49.0ms | (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t)))) |
| 17.0ms | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
| 14.0ms | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
| 2.0ms | (- 2 (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t)))) |
| 20.0ms | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
| 20.0ms | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
| 16.0ms | (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t)))) |
| 15.0ms | (- 2 (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t)))) |
| 1.2s | (* (* (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (/ (* 2 t) (+ 1 t))) (/ (* (* (* 2 t) (* 2 t)) (* 2 t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t)))) (* (/ (* (* (* 2 t) (* 2 t)) (* 2 t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t))) (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (/ (* 2 t) (+ 1 t))))) |
| 1.1s | (* (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (/ (* 2 t) (+ 1 t))) (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (/ (* 2 t) (+ 1 t)))) |
| 978.0ms | (* (* (+ 1 t) (+ 1 t)) (* (+ 1 t) (+ 1 t))) |
| 867.0ms | (* (* (/ (* (* (* 2 t) (* 2 t)) (* 2 t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t))) (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (/ (* 2 t) (+ 1 t)))) (* (* (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) (/ (* 2 t) (+ 1 t))) (/ (* (* (* 2 t) (* 2 t)) (* 2 t)) (* (* (+ 1 t) (+ 1 t)) (+ 1 t))))) |
| 833.0ms | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
2 alts after pruning (0 fresh and 2 done)
Merged error: 0b
0% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 0.0b
| 853.0ms | 8000× | body | 80 | valid |