


Bits error versus i
Results
Initial program 45.3
Simplified15.8
rmApplied associate-/l*15.8
Taylor expanded around inf 0.2
Simplified0.2
Final simplification0.2
herbie shell --seed 2019022
(FPCore (i)
:name "Octave 3.8, jcobi/4, as called"
:pre (and (> i 0))
(/ (/ (* (* i i) (* i i)) (* (* 2 i) (* 2 i))) (- (* (* 2 i) (* 2 i)) 1.0)))
Time bar (total: 7.0s)Debug log
| 22.0ms | 256× | body | 80 | valid |
| 5.0ms | 256× | pre | 80 | true |
| 125.0ms | (/ (/ (* (* i i) (* i i)) (* (* 2 i) (* 2 i))) (- (* (* 2 i) (* 2 i)) 1.0)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 12.2b
Found 2 expressions with local error:
| 12.2b | (/ (* i (/ i 4)) (- (* i (* 4 i)) 1.0)) |
| 0.0b | (- (* i (* 4 i)) 1.0) |
| 4× | add-cube-cbrt |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 4× | *-un-lft-identity |
| 4× | add-sqr-sqrt |
| 3× | times-frac |
| 3× | associate-/r* |
| 2× | add-log-exp |
| 2× | flip-- |
| 2× | associate-/r/ |
| 2× | flip3-- |
| 2× | pow1 |
| 1× | associate-/l/ |
| 1× | associate-/l* |
| 1× | div-inv |
| 1× | associate-*r/ |
| 1× | div-exp |
| 1× | frac-2neg |
| 1× | sub-neg |
| 1× | clear-num |
| 1× | cbrt-undiv |
| 12.0ms | (/ (* i (/ i 4)) (- (* i (* 4 i)) 1.0)) |
| 4.0ms | (- (* i (* 4 i)) 1.0) |
| 42.0ms | (/ (* i (/ i 4)) (- (* i (* 4 i)) 1.0)) |
| 29.0ms | (- (* i (* 4 i)) 1.0) |
| 138.0ms | (+ (* (* i (* 4 i)) (* i (* 4 i))) (+ (* 1.0 1.0) (* (* i (* 4 i)) 1.0))) |
| 120.0ms | (/ (* (* (* i (/ i 4)) (* i (/ i 4))) (* i (/ i 4))) (* (* (- (* i (* 4 i)) 1.0) (- (* i (* 4 i)) 1.0)) (- (* i (* 4 i)) 1.0))) |
| 110.0ms | (- (log (* i (/ i 4))) (log (- (* i (* 4 i)) 1.0))) |
| 85.0ms | (- (+ (* 0.25 (pow i 2)) (+ (* 1.0 (pow i 4)) (* 4.0 (pow i 6))))) |
| 53.0ms | (+ (* 0.015625 (/ 1 (pow i 2))) (+ 1/16 (* 0.00390625 (/ 1 (pow i 4))))) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0b
Found 3 expressions with local error:
| 11.8b | (/ (- (* i (* 4 i)) 1.0) (/ i 4)) |
| 0.1b | (/ i (/ (- (* i (* 4 i)) 1.0) (/ i 4))) |
| 0.0b | (- (* i (* 4 i)) 1.0) |
| 24× | times-frac |
| 21× | associate-/r* |
| 20× | add-cube-cbrt |
| 20× | *-un-lft-identity |
| 20× | add-sqr-sqrt |
| 10× | div-inv |
| 5× | add-exp-log |
| 5× | add-cbrt-cube |
| 3× | add-log-exp |
| 3× | associate-/l* |
| 3× | associate-/r/ |
| 3× | pow1 |
| 2× | associate-/l/ |
| 2× | flip-- |
| 2× | flip3-- |
| 2× | frac-2neg |
| 2× | clear-num |
| 1× | div-exp |
| 1× | div-sub |
| 1× | sub-neg |
| 1× | cbrt-undiv |
| 6.0ms | (/ (- (* i (* 4 i)) 1.0) (/ i 4)) |
| 4.0ms | (/ i (/ (- (* i (* 4 i)) 1.0) (/ i 4))) |
| 2.0ms | (- (* i (* 4 i)) 1.0) |
| 52.0ms | (/ (- (* i (* 4 i)) 1.0) (/ i 4)) |
| 46.0ms | (/ i (/ (- (* i (* 4 i)) 1.0) (/ i 4))) |
| 42.0ms | (- (* i (* 4 i)) 1.0) |
| 361.0ms | (- (pow (* i (* 4 i)) 3) (pow 1.0 3)) |
| 309.0ms | (/ (* (* (- (* i (* 4 i)) 1.0) (- (* i (* 4 i)) 1.0)) (- (* i (* 4 i)) 1.0)) (* (* (/ i 4) (/ i 4)) (/ i 4))) |
| 213.0ms | (- (* (* i (* 4 i)) (* i (* 4 i))) (* 1.0 1.0)) |
| 171.0ms | (/ (- (* i (* 4 i)) 1.0) (/ i 4)) |
| 155.0ms | (/ (- (* i (* 4 i)) 1.0) (/ 1 4)) |
2 alts after pruning (1 fresh and 1 done)
Merged error: 0b
Found 2 expressions with local error:
| 0.1b | (/ i (- (* 16 i) (/ 4.0 i))) |
| 0.0b | (- (* 16 i) (/ 4.0 i)) |
| 4× | add-log-exp |
| 3× | add-cube-cbrt |
| 3× | *-un-lft-identity |
| 3× | associate-/r* |
| 3× | add-sqr-sqrt |
| 2× | flip-- |
| 2× | associate-/r/ |
| 2× | add-exp-log |
| 2× | add-cbrt-cube |
| 2× | flip3-- |
| 2× | pow1 |
| 1× | div-inv |
| 1× | diff-log |
| 1× | frac-2neg |
| 1× | sub-neg |
| 1× | clear-num |
| 3.0ms | (- (* 16 i) (/ 4.0 i)) |
| 3.0ms | (/ i (- (* 16 i) (/ 4.0 i))) |
| 43.0ms | (/ i (- (* 16 i) (/ 4.0 i))) |
| 41.0ms | (- (* 16 i) (/ 4.0 i)) |
| 144.0ms | (+ (* (* 16 i) (* 16 i)) (+ (* (/ 4.0 i) (/ 4.0 i)) (* (* 16 i) (/ 4.0 i)))) |
| 88.0ms | (- (+ (* 0.25 (pow i 2)) (+ (* 1.0 (pow i 4)) (* 4.0 (pow i 6))))) |
| 61.0ms | (- (* 16 i) (* 4.0 (/ 1 i))) |
| 38.0ms | (+ (* 0.015625 (/ 1 (pow i 2))) (+ 1/16 (* 0.00390625 (/ 1 (pow i 4))))) |
| 38.0ms | (+ (* 0.015625 (/ 1 (pow i 2))) (+ 1/16 (* 0.00390625 (/ 1 (pow i 4))))) |
2 alts after pruning (0 fresh and 2 done)
Merged error: 0b
0% (0.1b remaining)
Error of 0.2b against oracle of 0.1b and baseline of 0.2b
| 854.0ms | 8000× | body | 80 | valid |
| 159.0ms | 8000× | pre | 80 | true |