


Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t



Bits error versus a
Results
Initial program 0.3
rmApplied add-cube-cbrt0.3
Applied log-prod0.3
Applied associate-+l+0.3
Final simplification0.3
herbie shell --seed 2019010
(FPCore (x y z t a)
:name "Numeric.SpecFunctions:logGammaL from math-functions-0.1.5.2"
(+ (- (+ (log (+ x y)) (log z)) t) (* (- a 0.5) (log t))))
Time bar (total: 42.4s)Debug log
| 254.0ms | (+ (- (+ (log (+ x y)) (log z)) t) (* (- a 0.5) (log t))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0.3b
Found 4 expressions with local error:
| 0.6b | (+ (log (+ x y)) (log z)) |
| 0.1b | (+ (- (+ (log (+ x y)) (log z)) t) (* (- a 0.5) (log t))) |
| 0.1b | (* (- a 0.5) (log t)) |
| 0.0b | (- (+ (log (+ x y)) (log z)) t) |
| 10× | *-un-lft-identity |
| 7× | add-cube-cbrt |
| 7× | pow1 |
| 7× | add-sqr-sqrt |
| 6× | add-log-exp |
| 6× | flip-- |
| 6× | add-exp-log |
| 6× | associate-*l/ |
| 6× | add-cbrt-cube |
| 6× | flip3-- |
| 6× | associate-+l+ |
| 5× | associate-+l- |
| 4× | flip-+ |
| 4× | frac-add |
| 4× | flip3-+ |
| 4× | log-div |
| 3× | associate-*l* |
| 3× | associate-*r* |
| 3× | log-prod |
| 2× | distribute-lft-out |
| 2× | associate--l+ |
| 2× | sub-neg |
| 2× | sum-log |
| 2× | +-commutative |
| 2× | associate--l- |
| 1× | cbrt-unprod |
| 1× | *-commutative |
| 1× | log-pow |
| 1× | prod-exp |
| 1× | pow-prod-down |
| 92.0ms | (+ (- (+ (log (+ x y)) (log z)) t) (* (- a 0.5) (log t))) |
| 30.0ms | (- (+ (log (+ x y)) (log z)) t) |
| 9.0ms | (+ (log (+ x y)) (log z)) |
| 4.0ms | (* (- a 0.5) (log t)) |
| 198.0ms | (- (+ (log (+ x y)) (log z)) t) |
| 186.0ms | (+ (- (+ (log (+ x y)) (log z)) t) (* (- a 0.5) (log t))) |
| 74.0ms | (* (- a 0.5) (log t)) |
| 62.0ms | (+ (log (+ x y)) (log z)) |
| 353.0ms | (- (+ (* a (log t)) (+ (log z) (log y))) (+ t (* 0.5 (log t)))) |
| 322.0ms | (- (+ (* 0.5 (log (/ -1 t))) (* a (log -1))) (+ (* a (log (/ -1 t))) (* 0.5 (log -1)))) |
| 250.0ms | (- (* 0.5 (log (/ 1 t))) (+ t (+ (log (/ 1 z)) (+ (log (/ 1 x)) (* a (log (/ 1 t))))))) |
| 245.0ms | (- (* 2 (log -1)) (+ (log (/ -1 x)) (log (/ -1 z)))) |
| 193.0ms | (* (* (* (- a 0.5) (- a 0.5)) (- a 0.5)) (* (* (log t) (log t)) (log t))) |
12 alts after pruning (12 fresh and 0 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 0.6b | (cbrt (+ x y)) |
| 0.6b | (cbrt (+ x y)) |
| 0.6b | (cbrt (+ x y)) |
| 0.5b | (* (cbrt (+ x y)) (cbrt (+ x y))) |
| 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 |
| 5.0ms | (* (cbrt (+ x y)) (cbrt (+ x y))) |
| 1.0ms | (cbrt (+ x y)) |
| 1.0ms | (cbrt (+ x y)) |
| 1.0ms | (cbrt (+ x y)) |
| 175.0ms | (* (cbrt (+ x y)) (cbrt (+ x y))) |
| 151.0ms | (cbrt (+ x y)) |
| 151.0ms | (cbrt (+ x y)) |
| 149.0ms | (cbrt (+ x y)) |
| 205.0ms | (- (+ (pow y 1/3) (* 1/3 (* x (pow (/ 1 (pow y 2)) 1/3)))) (* 1/9 (* (pow x 2) (pow (/ 1 (pow y 5)) 1/3)))) |
| 192.0ms | (- (+ (pow y 1/3) (* 1/3 (* x (pow (/ 1 (pow y 2)) 1/3)))) (* 1/9 (* (pow x 2) (pow (/ 1 (pow y 5)) 1/3)))) |
| 164.0ms | (- (+ (pow y 1/3) (* 1/3 (* x (pow (/ 1 (pow y 2)) 1/3)))) (* 1/9 (* (pow x 2) (pow (/ 1 (pow y 5)) 1/3)))) |
| 118.0ms | (- (+ (* 2/3 (* x (pow (/ 1 y) 1/3))) (pow y 2/3)) (* 1/9 (* (pow x 2) (pow (/ 1 (pow y 4)) 1/3)))) |
| 78.0ms | (* (cbrt (- (* x x) (* y y))) (cbrt (- (* x x) (* y y)))) |
12 alts after pruning (11 fresh and 1 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 0.6b | (+ (log (+ x y)) (log z)) |
| 0.6b | (+ (log (+ x y)) (log z)) |
| 0.6b | (+ (log (+ x y)) (log z)) |
| 0.6b | (cbrt (+ (log (+ x y)) (log z))) |
| 20× | *-un-lft-identity |
| 9× | log-prod |
| 9× | associate-+l+ |
| 8× | distribute-lft-out |
| 8× | add-cube-cbrt |
| 8× | pow1 |
| 8× | add-sqr-sqrt |
| 7× | flip-+ |
| 7× | flip3-+ |
| 6× | associate-+l- |
| 6× | log-div |
| 5× | cbrt-prod |
| 4× | add-log-exp |
| 4× | log-pow |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 3× | sum-log |
| 3× | +-commutative |
| 2× | cbrt-div |
| 1× | pow1/3 |
| 9.0ms | (+ (log (+ x y)) (log z)) |
| 8.0ms | (+ (log (+ x y)) (log z)) |
| 8.0ms | (+ (log (+ x y)) (log z)) |
| 5.0ms | (cbrt (+ (log (+ x y)) (log z))) |
| 270.0ms | (cbrt (+ (log (+ x y)) (log z))) |
| 84.0ms | (+ (log (+ x y)) (log z)) |
| 74.0ms | (+ (log (+ x y)) (log z)) |
| 70.0ms | (+ (log (+ x y)) (log z)) |
| 253.0ms | (- (* 2 (log -1)) (+ (log (/ -1 x)) (log (/ -1 z)))) |
| 242.0ms | (pow (- (* 2 (log -1)) (+ (log (/ -1 x)) (log (/ -1 z)))) 1/3) |
| 204.0ms | (- (* 2 (log -1)) (+ (log (/ -1 x)) (log (/ -1 z)))) |
| 180.0ms | (- (* 2 (log -1)) (+ (log (/ -1 x)) (log (/ -1 z)))) |
| 51.0ms | (cbrt (- (* (log (+ x y)) (log (+ x y))) (* (log z) (log z)))) |
12 alts after pruning (10 fresh and 2 done)
Merged error: 0.0b
Found 4 expressions with local error:
| 0.7b | (* (cbrt (- a 0.5)) (cbrt (- a 0.5))) |
| 0.6b | (+ (log (+ x y)) (log z)) |
| 0.4b | (* (cbrt (- a 0.5)) (log t)) |
| 0.3b | (* (* (cbrt (- a 0.5)) (cbrt (- a 0.5))) (* (cbrt (- a 0.5)) (log t))) |
| 68× | cbrt-div |
| 36× | associate-*l/ |
| 34× | flip-- |
| 34× | flip3-- |
| 32× | frac-times |
| 24× | pow1 |
| 20× | add-exp-log |
| 15× | *-un-lft-identity |
| 13× | associate-*l* |
| 12× | add-cube-cbrt |
| 12× | add-sqr-sqrt |
| 11× | pow-prod-down |
| 11× | add-cbrt-cube |
| 10× | cbrt-unprod |
| 10× | associate-*r/ |
| 10× | prod-exp |
| 10× | associate-*r* |
| 9× | cbrt-prod |
| 4× | add-log-exp |
| 4× | pow1/3 |
| 3× | *-commutative |
| 3× | log-prod |
| 3× | associate-+l+ |
| 2× | distribute-lft-out |
| 2× | flip-+ |
| 2× | associate-+l- |
| 2× | pow-prod-up |
| 2× | flip3-+ |
| 2× | log-div |
| 1× | log-pow |
| 1× | pow-plus |
| 1× | sum-log |
| 1× | +-commutative |
| 1× | pow2 |
| 47.0ms | (* (* (cbrt (- a 0.5)) (cbrt (- a 0.5))) (* (cbrt (- a 0.5)) (log t))) |
| 10.0ms | (* (cbrt (- a 0.5)) (cbrt (- a 0.5))) |
| 9.0ms | (* (cbrt (- a 0.5)) (log t)) |
| 9.0ms | (+ (log (+ x y)) (log z)) |
| 138.0ms | (* (cbrt (- a 0.5)) (log t)) |
| 88.0ms | (* (* (cbrt (- a 0.5)) (cbrt (- a 0.5))) (* (cbrt (- a 0.5)) (log t))) |
| 67.0ms | (* (cbrt (- a 0.5)) (cbrt (- a 0.5))) |
| 61.0ms | (+ (log (+ x y)) (log z)) |
| 631.0ms | (* (* (* (* (cbrt (- a 0.5)) (cbrt (- a 0.5))) (* (cbrt (- a 0.5)) (cbrt (- a 0.5)))) (* (cbrt (- a 0.5)) (cbrt (- a 0.5)))) (* (- a 0.5) (* (* (log t) (log t)) (log t)))) |
| 438.0ms | (* (* (* (* (cbrt (- a 0.5)) (cbrt (- a 0.5))) (* (cbrt (- a 0.5)) (cbrt (- a 0.5)))) (* (cbrt (- a 0.5)) (cbrt (- a 0.5)))) (* (* (* (cbrt (- a 0.5)) (log t)) (* (cbrt (- a 0.5)) (log t))) (* (cbrt (- a 0.5)) (log t)))) |
| 366.0ms | (- (* (pow (pow a 2) 1/3) (pow (cbrt -1) 2)) (+ (* 0.027777777777777776 (* (pow (/ 1 (pow a 4)) 1/3) (pow (cbrt -1) 2))) (* 0.3333333333333333 (* (pow (/ 1 a) 1/3) (pow (cbrt -1) 2))))) |
| 308.0ms | (- (+ (* (log t) (pow -0.5 1/3)) (* 0.2222222222222222 (* (* (pow a 2) (log t)) (pow -0.5 1/3)))) (+ (* 0.6666666666666666 (* (* a (log t)) (pow -0.5 1/3))) (* 1/6 (* (* (pow a 2) (log t)) (pow -32.0 1/3))))) |
| 306.0ms | (* (* (- a 0.5) (- a 0.5)) (* (* (* (cbrt (- a 0.5)) (log t)) (* (cbrt (- a 0.5)) (log t))) (* (cbrt (- a 0.5)) (log t)))) |
13 alts after pruning (10 fresh and 3 done)
Merged error: 0.0b
0% (0.2b remaining)
Error of 0.3b against oracle of 0.0b and baseline of 0.3b