



Bits error versus d1




Bits error versus d2




Bits error versus d3
Results
| Original | 0.1 |
|---|---|
| Target | 0.1 |
| Herbie | 0.1 |
Initial program 0.1
Final simplification0.1
herbie shell --seed 2019016
(FPCore (d1 d2 d3)
:name "FastMath test3"
:herbie-target
(* d1 (+ (+ 3 d2) d3))
(+ (+ (* d1 3) (* d1 d2)) (* d1 d3)))
Time bar (total: 35.0s)Debug log
| 330× | (pre true 80) |
| 317× | (body real 80) |
| 5× | (body real 320) |
| 5× | (body real 640) |
| 2× | (body real 1280) |
| 1× | (body real 160) |
| 48.0ms | (+ (+ (* d1 3) (* d1 d2)) (* d1 d3)) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 0.0b | (* d1 (+ d2 (+ 3 d3))) |
| 3× | associate-*r* |
| 2× | add-cube-cbrt |
| 2× | associate-*r/ |
| 2× | *-un-lft-identity |
| 2× | add-sqr-sqrt |
| 1× | add-log-exp |
| 1× | flip-+ |
| 1× | *-commutative |
| 1× | add-exp-log |
| 1× | add-cbrt-cube |
| 1× | flip3-+ |
| 1× | distribute-lft-in |
| 1× | pow1 |
| 1× | distribute-rgt-in |
| 1.0ms | (* d1 (+ d2 (+ 3 d3))) |
| 18.0ms | (* d1 (+ d2 (+ 3 d3))) |
| 159.0ms | (+ (* d2 d2) (- (* (+ 3 d3) (+ 3 d3)) (* d2 (+ 3 d3)))) |
| 43.0ms | (+ (* d2 d1) (+ (* d3 d1) (* 3 d1))) |
| 24.0ms | (+ (* d2 d1) (+ (* d3 d1) (* 3 d1))) |
| 23.0ms | (+ (* d2 d1) (+ (* d3 d1) (* 3 d1))) |
| 21.0ms | (- d2 (+ 3 d3)) |
4 alts after pruning (4 fresh and 0 done)
Merged error: 0.0b
Found 2 expressions with local error:
| 0.0b | (+ (* d1 3) (* d1 d2)) |
| 0.0b | (+ (+ (* d1 3) (* d1 d2)) (* d1 d3)) |
| 9× | add-log-exp |
| 4× | sum-log |
| 3× | distribute-lft-out |
| 2× | flip-+ |
| 2× | add-cube-cbrt |
| 2× | add-exp-log |
| 2× | add-cbrt-cube |
| 2× | flip3-+ |
| 2× | *-un-lft-identity |
| 2× | +-commutative |
| 2× | pow1 |
| 2× | add-sqr-sqrt |
| 1× | associate-+l+ |
| 8.0ms | (+ (+ (* d1 3) (* d1 d2)) (* d1 d3)) |
| 2.0ms | (+ (* d1 3) (* d1 d2)) |
| 24.0ms | (+ (+ (* d1 3) (* d1 d2)) (* d1 d3)) |
| 21.0ms | (+ (* d1 3) (* d1 d2)) |
| 234.0ms | (* (* (exp (* d1 3)) (exp (* d1 d2))) (exp (* d1 d3))) |
| 175.0ms | (* (exp (+ (* d1 3) (* d1 d2))) (exp (* d1 d3))) |
| 49.0ms | (+ (* d2 d1) (+ (* d3 d1) (* 3 d1))) |
| 48.0ms | (+ (* d2 d1) (+ (* d3 d1) (* 3 d1))) |
| 47.0ms | (+ (* d2 d1) (+ (* d3 d1) (* 3 d1))) |
4 alts after pruning (3 fresh and 1 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 0.4b | (cbrt (+ d2 (+ 3 d3))) |
| 0.4b | (cbrt (+ d2 (+ 3 d3))) |
| 0.4b | (cbrt (+ d2 (+ 3 d3))) |
| 0.4b | (* (cbrt (+ d2 (+ 3 d3))) (cbrt (+ d2 (+ 3 d3)))) |
| 18× | cbrt-div |
| 15× | cbrt-prod |
| 11× | add-cube-cbrt |
| 11× | *-un-lft-identity |
| 11× | add-sqr-sqrt |
| 9× | flip-+ |
| 9× | flip3-+ |
| 9× | pow1 |
| 7× | pow1/3 |
| 6× | add-exp-log |
| 6× | associate-*l* |
| 6× | associate-*r* |
| 4× | add-log-exp |
| 4× | add-cbrt-cube |
| 4× | frac-times |
| 2× | pow-prod-up |
| 2× | associate-*r/ |
| 2× | associate-*l/ |
| 2× | pow-prod-down |
| 1× | cbrt-unprod |
| 1× | *-commutative |
| 1× | prod-exp |
| 1× | pow-plus |
| 1× | pow2 |
| 11.0ms | (* (cbrt (+ d2 (+ 3 d3))) (cbrt (+ d2 (+ 3 d3)))) |
| 1.0ms | (cbrt (+ d2 (+ 3 d3))) |
| 1.0ms | (cbrt (+ d2 (+ 3 d3))) |
| 1.0ms | (cbrt (+ d2 (+ 3 d3))) |
| 103.0ms | (cbrt (+ d2 (+ 3 d3))) |
| 101.0ms | (cbrt (+ d2 (+ 3 d3))) |
| 83.0ms | (cbrt (+ d2 (+ 3 d3))) |
| 75.0ms | (* (cbrt (+ d2 (+ 3 d3))) (cbrt (+ d2 (+ 3 d3)))) |
| 454.0ms | (* (cbrt (- (* d2 d2) (* (+ 3 d3) (+ 3 d3)))) (cbrt (+ d2 (+ 3 d3)))) |
| 394.0ms | (cbrt (- (* d2 d2) (* (+ 3 d3) (+ 3 d3)))) |
| 386.0ms | (cbrt (+ (pow d2 3) (pow (+ 3 d3) 3))) |
| 380.0ms | (cbrt (+ (pow d2 3) (pow (+ 3 d3) 3))) |
| 378.0ms | (* (cbrt (+ (pow d2 3) (pow (+ 3 d3) 3))) (cbrt (+ (pow d2 3) (pow (+ 3 d3) 3)))) |
5 alts after pruning (3 fresh and 2 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 20.9b | (cbrt (- (* d2 d2) (* (+ 3 d3) (+ 3 d3)))) |
| 2.5b | (- (* d2 d2) (* (+ 3 d3) (+ 3 d3))) |
| 0.6b | (/ (cbrt (- (* d2 d2) (* (+ 3 d3) (+ 3 d3)))) (cbrt (- d2 (+ 3 d3)))) |
| 0.4b | (cbrt (- d2 (+ 3 d3))) |
| 59× | cbrt-prod |
| 42× | times-frac |
| 36× | add-cube-cbrt |
| 36× | *-un-lft-identity |
| 36× | add-sqr-sqrt |
| 9× | difference-of-squares |
| 8× | cbrt-div |
| 7× | associate-/l* |
| 6× | add-log-exp |
| 6× | add-exp-log |
| 6× | associate-/r* |
| 5× | flip-- |
| 5× | flip3-- |
| 4× | add-cbrt-cube |
| 4× | pow1 |
| 2× | associate-/l/ |
| 2× | associate--r+ |
| 2× | associate-/r/ |
| 2× | pow1/3 |
| 1× | div-inv |
| 1× | div-exp |
| 1× | diff-log |
| 1× | distribute-lft-in |
| 1× | frac-2neg |
| 1× | sub-neg |
| 1× | clear-num |
| 1× | cbrt-undiv |
| 1× | distribute-rgt-in |
| 12.0ms | (/ (cbrt (- (* d2 d2) (* (+ 3 d3) (+ 3 d3)))) (cbrt (- d2 (+ 3 d3)))) |
| 4.0ms | (- (* d2 d2) (* (+ 3 d3) (+ 3 d3))) |
| 3.0ms | (cbrt (- (* d2 d2) (* (+ 3 d3) (+ 3 d3)))) |
| 1.0ms | (cbrt (- d2 (+ 3 d3))) |
| 485.0ms | (/ (cbrt (- (* d2 d2) (* (+ 3 d3) (+ 3 d3)))) (cbrt (- d2 (+ 3 d3)))) |
| 168.0ms | (cbrt (- (* d2 d2) (* (+ 3 d3) (+ 3 d3)))) |
| 91.0ms | (cbrt (- d2 (+ 3 d3))) |
| 18.0ms | (- (* d2 d2) (* (+ 3 d3) (+ 3 d3))) |
| 799.0ms | (cbrt (- (pow d2 3) (pow (+ 3 d3) 3))) |
| 669.0ms | (cbrt (- (pow (* d2 d2) 3) (pow (* (+ 3 d3) (+ 3 d3)) 3))) |
| 619.0ms | (cbrt (- (pow (* d2 d2) 3) (pow (* (+ 3 d3) (+ 3 d3)) 3))) |
| 537.0ms | (cbrt (- (* (* d2 d2) (* d2 d2)) (* (* (+ 3 d3) (+ 3 d3)) (* (+ 3 d3) (+ 3 d3))))) |
| 530.0ms | (cbrt (- (* (* d2 d2) (* d2 d2)) (* (* (+ 3 d3) (+ 3 d3)) (* (+ 3 d3) (+ 3 d3))))) |
5 alts after pruning (2 fresh and 3 done)
Merged error: 0.0b
0% (0.1b remaining)
Error of 0.1b against oracle of 0.0b and baseline of 0.1b
| 10133× | (pre true 80) |
| 9609× | (body real 80) |
| 214× | (body real 640) |
| 145× | (body real 320) |
| 90× | (body real 1280) |
| 75× | (body real 160) |