


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
Results
Initial program 28.7
rmApplied div-inv28.8
Final simplification28.8
herbie shell --seed 2019016
(FPCore (x y z t a b c i)
:name "Numeric.SpecFunctions:logGamma from math-functions-0.1.5.2"
(/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)))
Time bar (total: 1.1m)Debug log
| 264× | (pre true 80) |
| 264× | (body real 80) |
| 165.0ms | (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 28.0b
Found 4 expressions with local error:
| 28.0b | (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 0.1b | (* (+ (* x y) z) y) |
| 0.1b | (* (+ (* (+ y a) y) b) y) |
| 0.1b | (* (+ (* (+ (* x y) z) y) 27464.7644705) y) |
| 15× | add-cube-cbrt |
| 15× | *-un-lft-identity |
| 15× | add-sqr-sqrt |
| 9× | associate-*l* |
| 9× | times-frac |
| 6× | add-exp-log |
| 6× | associate-*l/ |
| 6× | add-cbrt-cube |
| 5× | flip-+ |
| 5× | flip3-+ |
| 4× | add-log-exp |
| 4× | pow1 |
| 3× | associate-/l* |
| 3× | *-commutative |
| 3× | associate-/r* |
| 2× | associate-/l/ |
| 2× | associate-/r/ |
| 1× | div-inv |
| 1× | div-exp |
| 1× | frac-2neg |
| 1× | clear-num |
| 1× | cbrt-undiv |
| 64.0ms | (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 19.0ms | (* (+ (* (+ (* x y) z) y) 27464.7644705) y) |
| 15.0ms | (* (+ (* (+ y a) y) b) y) |
| 8.0ms | (* (+ (* x y) z) y) |
| 347.0ms | (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 42.0ms | (* (+ (* (+ (* x y) z) y) 27464.7644705) y) |
| 32.0ms | (* (+ (* (+ y a) y) b) y) |
| 22.0ms | (* (+ (* x y) z) y) |
| 514.0ms | (/ (sqrt (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t)) (sqrt (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))) |
| 430.0ms | (+ (pow (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) 3) (pow t 3)) |
| 389.0ms | (+ (* (* (+ (* (+ (* (+ y a) y) b) y) c) y) (* (+ (* (+ (* (+ y a) y) b) y) c) y)) (- (* i i) (* (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))) |
| 367.0ms | (* (+ (pow (* (+ (* x y) z) y) 3) (pow 27464.7644705 3)) y) |
| 349.0ms | (/ (sqrt (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t)) 1) |
10 alts after pruning (10 fresh and 0 done)
Merged error: 27.5b
Found 4 expressions with local error:
| 27.6b | (* (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (/ 1 (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))) |
| 0.4b | (/ 1 (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 0.1b | (* (+ (* x y) z) y) |
| 0.1b | (* (+ (* (+ y a) y) b) y) |
| 9× | add-cube-cbrt |
| 9× | add-exp-log |
| 9× | associate-*l* |
| 9× | *-un-lft-identity |
| 9× | add-sqr-sqrt |
| 7× | pow1 |
| 6× | flip-+ |
| 6× | associate-*l/ |
| 6× | associate-*r* |
| 6× | add-cbrt-cube |
| 6× | flip3-+ |
| 4× | add-log-exp |
| 4× | associate-/r/ |
| 3× | *-commutative |
| 3× | associate-/r* |
| 2× | div-inv |
| 2× | prod-exp |
| 2× | rec-exp |
| 2× | frac-times |
| 1× | inv-pow |
| 1× | pow-flip |
| 1× | cbrt-unprod |
| 1× | un-div-inv |
| 1× | associate-*r/ |
| 1× | pow-prod-down |
| 1× | frac-2neg |
| 1× | clear-num |
| 88.0ms | (* (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (/ 1 (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))) |
| 27.0ms | (/ 1 (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 15.0ms | (* (+ (* (+ y a) y) b) y) |
| 8.0ms | (* (+ (* x y) z) y) |
| 321.0ms | (* (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (/ 1 (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))) |
| 43.0ms | (/ 1 (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 37.0ms | (* (+ (* (+ y a) y) b) y) |
| 21.0ms | (* (+ (* x y) z) y) |
| 613.0ms | (* (+ (pow (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) 3) (pow t 3)) 1) |
| 444.0ms | (+ (* (* (+ (* (+ (* (+ y a) y) b) y) c) y) (* (+ (* (+ (* (+ y a) y) b) y) c) y)) (- (* i i) (* (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))) |
| 420.0ms | (* (cbrt (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t)) (cbrt (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t))) |
| 398.0ms | (* (- (* (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y)) (* t t)) 1) |
| 371.0ms | (+ (* (* (+ (* (+ (* (+ y a) y) b) y) c) y) (* (+ (* (+ (* (+ y a) y) b) y) c) y)) (- (* i i) (* (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))) |
10 alts after pruning (9 fresh and 1 done)
Merged error: 27.5b
Found 4 expressions with local error:
| 28.0b | (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 28.0b | (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 28.0b | (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 2.7b | (cbrt (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))) |
| 36× | times-frac |
| 35× | add-cube-cbrt |
| 35× | *-un-lft-identity |
| 35× | add-sqr-sqrt |
| 15× | cbrt-prod |
| 10× | add-exp-log |
| 10× | add-cbrt-cube |
| 9× | associate-/l* |
| 9× | associate-/r* |
| 8× | associate-/r/ |
| 7× | flip-+ |
| 7× | flip3-+ |
| 6× | associate-/l/ |
| 4× | add-log-exp |
| 4× | div-inv |
| 4× | pow1 |
| 3× | div-exp |
| 3× | frac-2neg |
| 3× | clear-num |
| 3× | cbrt-undiv |
| 1× | pow1/3 |
| 1× | cbrt-div |
| 72.0ms | (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 62.0ms | (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 36.0ms | (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 25.0ms | (cbrt (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))) |
| 684.0ms | (cbrt (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))) |
| 313.0ms | (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 311.0ms | (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 284.0ms | (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 668.0ms | (+ (* (* (+ (* (+ (* (+ y a) y) b) y) c) y) (* (+ (* (+ (* (+ y a) y) b) y) c) y)) (- (* i i) (* (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))) |
| 439.0ms | (+ (pow (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) 3) (pow t 3)) |
| 385.0ms | (- (* (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y)) (* t t)) |
| 380.0ms | (cbrt (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (pow (* (+ (* (+ (* (+ y a) y) b) y) c) y) 3) (pow i 3)))) |
| 369.0ms | (/ (* (cbrt (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t)) (cbrt (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t))) 1) |
10 alts after pruning (8 fresh and 2 done)
Merged error: 27.5b
Found 4 expressions with local error:
| 24.6b | (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (* (cbrt (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) (cbrt (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)))) |
| 18.5b | (cbrt (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 18.5b | (cbrt (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 18.5b | (cbrt (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 18× | cbrt-div |
| 10× | flip-+ |
| 10× | flip3-+ |
| 9× | add-cube-cbrt |
| 9× | add-exp-log |
| 9× | *-un-lft-identity |
| 9× | add-sqr-sqrt |
| 9× | cbrt-prod |
| 8× | associate-/r/ |
| 7× | add-cbrt-cube |
| 4× | add-log-exp |
| 4× | pow1 |
| 4× | frac-times |
| 3× | associate-/l* |
| 3× | pow1/3 |
| 3× | times-frac |
| 2× | associate-/l/ |
| 2× | associate-*r/ |
| 2× | associate-*l/ |
| 2× | div-exp |
| 2× | cbrt-undiv |
| 1× | div-inv |
| 1× | cbrt-unprod |
| 1× | prod-exp |
| 1× | frac-2neg |
| 1× | associate-/r* |
| 1× | clear-num |
| 108.0ms | (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (* (cbrt (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) (cbrt (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)))) |
| 17.0ms | (cbrt (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 17.0ms | (cbrt (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 16.0ms | (cbrt (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 502.0ms | (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (* (cbrt (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) (cbrt (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)))) |
| 123.0ms | (cbrt (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 112.0ms | (cbrt (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 110.0ms | (cbrt (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 609.0ms | (/ 1 (cbrt (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))) |
| 430.0ms | (* (cbrt (+ (* (* (+ (* (+ (* (+ y a) y) b) y) c) y) (* (+ (* (+ (* (+ y a) y) b) y) c) y)) (- (* i i) (* (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)))) (cbrt (+ (* (* (+ (* (+ (* (+ y a) y) b) y) c) y) (* (+ (* (+ (* (+ y a) y) b) y) c) y)) (- (* i i) (* (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))))) |
| 426.0ms | (cbrt (+ (* (* (+ (* (+ (* (+ y a) y) b) y) c) y) (* (+ (* (+ (* (+ y a) y) b) y) c) y)) (- (* i i) (* (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)))) |
| 406.0ms | (cbrt (+ (pow (* (+ (* (+ (* (+ y a) y) b) y) c) y) 3) (pow i 3))) |
| 403.0ms | (* (cbrt (+ (* (* (+ (* (+ (* (+ y a) y) b) y) c) y) (* (+ (* (+ (* (+ y a) y) b) y) c) y)) (- (* i i) (* (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)))) (cbrt (- (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))) |
11 alts after pruning (8 fresh and 3 done)
Merged error: 27.0b
0% (1.2b remaining)
Error of 28.8b against oracle of 27.6b and baseline of 28.8b
| 8252× | (pre true 80) |
| 8251× | (body real 80) |
| 1× | (body real 160) |