


Bits error versus t
Results
Initial program 0.0
rmApplied add-log-exp0.0
Final simplification0.0
herbie shell --seed 2019010
(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: 24.8s)Debug log
| 540.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 | (/ (* 2 t) (+ 1 t)) |
| 0.0b | (/ (* 2 t) (+ 1 t)) |
| 32× | add-exp-log |
| 32× | add-cbrt-cube |
| 18× | associate-*l* |
| 18× | associate-*r* |
| 18× | times-frac |
| 16× | add-cube-cbrt |
| 16× | *-un-lft-identity |
| 16× | add-sqr-sqrt |
| 14× | pow1 |
| 12× | associate-/r/ |
| 10× | div-exp |
| 10× | cbrt-undiv |
| 8× | cbrt-unprod |
| 8× | prod-exp |
| 6× | div-inv |
| 6× | flip-+ |
| 6× | flip3-+ |
| 6× | associate-/r* |
| 4× | add-log-exp |
| 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 |
| 19.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)) |
| 4.0ms | (/ (* 2 t) (+ 1 t)) |
| 18.0ms | (/ (* 2 t) (+ 1 t)) |
| 12.0ms | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
| 12.0ms | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
| 11.0ms | (/ (* 2 t) (+ 1 t)) |
| 830.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)))) |
| 785.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)))) |
| 486.0ms | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
| 485.0ms | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
| 453.0ms | (- (+ (* 2 t) (* 2 (pow t 3))) (* 2 (pow t 2))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0b
Found 4 expressions with local error:
| 1.5b | (log (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))) |
| 0.0b | (exp (* (/ (* 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 |
| 15.0ms | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
| 12.0ms | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
| 6.0ms | (log (exp (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))))) |
| 3.0ms | (exp (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t)))) |
| 25.0ms | (exp (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t)))) |
| 18.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))) |
| 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)))) |
| 702.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)))) |
| 547.0ms | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
| 535.0ms | (log (sqrt (exp (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t)))))) |
| 523.0ms | (* (/ (* 2 t) (+ 1 t)) (/ (* 2 t) (+ 1 t))) |
1 alts after pruning (0 fresh and 1 done)
Merged error: 0b