


Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t



Bits error versus a



Bits error versus b



Bits error versus c



Bits error versus i
Initial program 0.0
Simplified0.0
rmApplied add-cube-cbrt0.7
Final simplification0.7
herbie shell --seed 2019010 +o rules:numerics
(FPCore (x y z t a b c i)
:name "Linear.V4:$cdot from linear-1.19.1.3"
(+ (+ (+ (* x y) (* z t)) (* a b)) (* c i)))
Time bar (total: 18.7s)Debug log
| 120.0ms | (+ (+ (+ (* x y) (* z t)) (* a b)) (* c i)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0.0b
Found 3 expressions with local error:
| 0.0b | (+ (fma b a (* z t)) (fma i c (* x y))) |
| 0.0b | (fma i c (* x y)) |
| 0.0b | (fma b a (* z t)) |
| 6× | *-un-lft-identity |
| 5× | add-log-exp |
| 4× | fma-udef |
| 4× | add-cube-cbrt |
| 4× | add-sqr-sqrt |
| 3× | log1p-expm1-u |
| 3× | add-exp-log |
| 3× | add-cbrt-cube |
| 3× | fma-def |
| 3× | pow1 |
| 3× | expm1-log1p-u |
| 1× | distribute-lft-out |
| 1× | flip-+ |
| 1× | flip3-+ |
| 1× | sum-log |
| 1× | associate-+r+ |
| 1× | associate-+l+ |
| 1× | +-commutative |
| 4.0ms | (+ (fma b a (* z t)) (fma i c (* x y))) |
| 0.0ms | (fma i c (* x y)) |
| 0.0ms | (fma b a (* z t)) |
| 275.0ms | (+ (fma b a (* z t)) (fma i c (* x y))) |
| 45.0ms | (fma i c (* x y)) |
| 29.0ms | (fma b a (* z t)) |
| 153.0ms | (* (exp (fma b a (* z t))) (exp (fma i c (* x y)))) |
| 73.0ms | (+ (fma b a (* z t)) (fma i c (* x y))) |
| 30.0ms | (+ (* i c) (+ (* t z) (* x y))) |
| 30.0ms | (+ (* i c) (+ (* t z) (* x y))) |
| 10.0ms | (+ (* i c) (* x y)) |
5 alts after pruning (5 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 1.5b | (cbrt (fma b a (* z t))) |
| 1.5b | (cbrt (fma b a (* z t))) |
| 1.5b | (cbrt (fma b a (* z t))) |
| 0.5b | (* (cbrt (fma b a (* z t))) (cbrt (fma b a (* z t)))) |
| 15× | cbrt-prod |
| 11× | add-cube-cbrt |
| 11× | *-un-lft-identity |
| 11× | add-sqr-sqrt |
| 9× | pow1 |
| 7× | pow1/3 |
| 6× | add-exp-log |
| 6× | associate-*l* |
| 6× | associate-*r* |
| 4× | add-log-exp |
| 4× | log1p-expm1-u |
| 4× | add-cbrt-cube |
| 4× | expm1-log1p-u |
| 2× | pow-prod-up |
| 2× | pow-prod-down |
| 1× | cbrt-unprod |
| 1× | *-commutative |
| 1× | prod-exp |
| 1× | pow-plus |
| 1× | pow2 |
| 10.0ms | (* (cbrt (fma b a (* z t))) (cbrt (fma b a (* z t)))) |
| 1.0ms | (cbrt (fma b a (* z t))) |
| 1.0ms | (cbrt (fma b a (* z t))) |
| 1.0ms | (cbrt (fma b a (* z t))) |
| 163.0ms | (* (cbrt (fma b a (* z t))) (cbrt (fma b a (* z t)))) |
| 154.0ms | (cbrt (fma b a (* z t))) |
| 127.0ms | (cbrt (fma b a (* z t))) |
| 114.0ms | (cbrt (fma b a (* z t))) |
| 430.0ms | (exp (* -1/3 (+ (log (/ 1 b)) (log (/ 1 a))))) |
| 402.0ms | (exp (* -1/3 (+ (log (/ 1 b)) (log (/ 1 a))))) |
| 375.0ms | (exp (* -1/3 (+ (log (/ 1 b)) (log (/ 1 a))))) |
| 373.0ms | (exp (* -1/3 (+ (* 2 (log (/ -1 a))) (* 2 (log (/ -1 b)))))) |
| 316.0ms | (+ (* 1/3 (* a (* (exp (* -1/3 (+ (* 2 (log t)) (* 2 (log z))))) b))) (exp (* 1/3 (+ (log z) (log t))))) |
5 alts after pruning (5 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 1.3b | (cbrt (fma i c (* x y))) |
| 1.3b | (cbrt (fma i c (* x y))) |
| 1.3b | (cbrt (fma i c (* x y))) |
| 0.5b | (* (cbrt (fma i c (* x y))) (cbrt (fma i c (* x y)))) |
| 15× | cbrt-prod |
| 11× | add-cube-cbrt |
| 11× | *-un-lft-identity |
| 11× | add-sqr-sqrt |
| 9× | pow1 |
| 7× | pow1/3 |
| 6× | add-exp-log |
| 6× | associate-*l* |
| 6× | associate-*r* |
| 4× | add-log-exp |
| 4× | log1p-expm1-u |
| 4× | add-cbrt-cube |
| 4× | expm1-log1p-u |
| 2× | pow-prod-up |
| 2× | pow-prod-down |
| 1× | cbrt-unprod |
| 1× | *-commutative |
| 1× | prod-exp |
| 1× | pow-plus |
| 1× | pow2 |
| 10.0ms | (* (cbrt (fma i c (* x y))) (cbrt (fma i c (* x y)))) |
| 1.0ms | (cbrt (fma i c (* x y))) |
| 1.0ms | (cbrt (fma i c (* x y))) |
| 1.0ms | (cbrt (fma i c (* x y))) |
| 187.0ms | (* (cbrt (fma i c (* x y))) (cbrt (fma i c (* x y)))) |
| 123.0ms | (cbrt (fma i c (* x y))) |
| 123.0ms | (cbrt (fma i c (* x y))) |
| 105.0ms | (cbrt (fma i c (* x y))) |
| 346.0ms | (exp (* -1/3 (+ (* 2 (log (/ -1 i))) (* 2 (log (/ -1 c)))))) |
| 328.0ms | (exp (* -1/3 (+ (log (/ 1 c)) (log (/ 1 i))))) |
| 318.0ms | (exp (* -1/3 (+ (log (/ 1 c)) (log (/ 1 i))))) |
| 276.0ms | (exp (* -1/3 (+ (log (/ 1 c)) (log (/ 1 i))))) |
| 255.0ms | (+ (exp (* 1/3 (+ (log y) (log x)))) (* 1/3 (* i (* c (exp (* -1/3 (+ (* 2 (log y)) (* 2 (log x))))))))) |
5 alts after pruning (4 fresh and 1 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 1.5b | (cbrt (fma b a (* z t))) |
| 1.5b | (cbrt (fma b a (* z t))) |
| 1.5b | (cbrt (fma b a (* z t))) |
| 1.5b | (cbrt (fma b a (* z t))) |
| 12× | cbrt-prod |
| 8× | add-cube-cbrt |
| 8× | *-un-lft-identity |
| 8× | add-sqr-sqrt |
| 4× | add-log-exp |
| 4× | log1p-expm1-u |
| 4× | add-exp-log |
| 4× | pow1/3 |
| 4× | add-cbrt-cube |
| 4× | pow1 |
| 4× | expm1-log1p-u |
| 1.0ms | (cbrt (fma b a (* z t))) |
| 1.0ms | (cbrt (fma b a (* z t))) |
| 1.0ms | (cbrt (fma b a (* z t))) |
| 1.0ms | (cbrt (fma b a (* z t))) |
| 152.0ms | (cbrt (fma b a (* z t))) |
| 147.0ms | (cbrt (fma b a (* z t))) |
| 109.0ms | (cbrt (fma b a (* z t))) |
| 98.0ms | (cbrt (fma b a (* z t))) |
| 258.0ms | (exp (* -1/3 (+ (log (/ 1 b)) (log (/ 1 a))))) |
| 245.0ms | (exp (* -1/3 (+ (log (/ 1 b)) (log (/ 1 a))))) |
| 242.0ms | (exp (* -1/3 (+ (log (/ 1 b)) (log (/ 1 a))))) |
| 242.0ms | (exp (* -1/3 (+ (log (/ 1 b)) (log (/ 1 a))))) |
| 165.0ms | (+ (* 1/3 (* a (* (exp (* -1/3 (+ (* 2 (log t)) (* 2 (log z))))) b))) (exp (* 1/3 (+ (log z) (log t))))) |
5 alts after pruning (3 fresh and 2 done)
Merged error: 0.0b
0% (0.6b remaining)
Error of 0.7b against oracle of 0.0b and baseline of 0.7b