


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.2
rmApplied div-inv28.2
Final simplification28.2
herbie shell --seed 2018360 +o rules:numerics
(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: 48.6s)Debug log
2 alts after pruning (2 fresh and 0 done)
Merged error: 32.5b
Found 4 expressions with local error:
| 32.5b | (/ (+ (* (+ (* (+ (* (+ (* 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) 27464.7644705) y) |
| 0.1b | (* (+ (* x y) z) y) |
| 0.1b | (* (+ (* (+ (* (+ y a) y) b) y) c) y) |
4 calls. Slowest were:
| 42.0ms | (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 15.0ms | (* (+ (* (+ (* (+ y a) y) b) y) c) y) |
| 14.0ms | (* (+ (* (+ (* x y) z) y) 27464.7644705) y) |
4 calls. Slowest were:
| 306.0ms | (/ (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 67.0ms | (* (+ (* (+ (* (+ y a) y) b) y) c) y) |
| 43.0ms | (* (+ (* (+ (* x y) z) y) 27464.7644705) y) |
| 37.0ms | (* (+ (* x y) z) y) |
53 calls. Slowest were:
| 499.0ms | (+ (pow (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) 3) (pow t 3)) |
| 450.0ms | (* (+ (pow (* (+ (* (+ y a) y) b) y) 3) (pow c 3)) y) |
| 435.0ms | (* (- (* (* (+ (* (+ y a) y) b) y) (* (+ (* (+ y a) y) b) y)) (* c c)) y) |
11 alts after pruning (11 fresh and 0 done)
Merged error: 31.7b
Found 4 expressions with local error:
| 31.9b | (* (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (/ 1 (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))) |
| 0.7b | (/ 1 (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 0.1b | (* (+ (* (+ (* x y) z) y) 27464.7644705) y) |
| 0.1b | (* (+ (* x y) z) y) |
4 calls. Slowest were:
| 43.0ms | (* (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (/ 1 (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))) |
| 14.0ms | (/ 1 (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 10.0ms | (* (+ (* (+ (* x y) z) y) 27464.7644705) y) |
4 calls. Slowest were:
| 376.0ms | (* (+ (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) t) (/ 1 (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))) |
| 58.0ms | (* (+ (* (+ (* x y) z) y) 27464.7644705) y) |
| 54.0ms | (/ 1 (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 22.0ms | (* (+ (* x y) z) y) |
46 calls. Slowest were:
| 602.0ms | (* (+ (pow (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) 3) (pow t 3)) 1) |
| 517.0ms | (* (- (* (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y) (* (+ (* (+ (* (+ (* x y) z) y) 27464.7644705) y) 230661.510616) y)) (* t t)) 1) |
| 469.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))) |
11 alts after pruning (10 fresh and 1 done)
Merged error: 31.7b
Found 4 expressions with local error:
| 28.5b | (/ (+ (* (+ (* 27464.7644705 y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 0.1b | (* (+ (* 27464.7644705 y) 230661.510616) y) |
| 0.1b | (* (+ (* (+ (* (+ y a) y) b) y) c) y) |
| 0.1b | (* (+ (* (+ y a) y) b) y) |
4 calls. Slowest were:
| 27.0ms | (/ (+ (* (+ (* 27464.7644705 y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 22.0ms | (* (+ (* (+ (* (+ y a) y) b) y) c) y) |
| 9.0ms | (* (+ (* 27464.7644705 y) 230661.510616) y) |
4 calls. Slowest were:
| 144.0ms | (/ (+ (* (+ (* 27464.7644705 y) 230661.510616) y) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 57.0ms | (* (+ (* (+ (* (+ y a) y) b) y) c) y) |
| 43.0ms | (* (+ (* 27464.7644705 y) 230661.510616) y) |
| 23.0ms | (* (+ (* (+ y a) y) b) y) |
53 calls. Slowest were:
| 558.0ms | (- (* (* (+ (* 27464.7644705 y) 230661.510616) y) (* (+ (* 27464.7644705 y) 230661.510616) y)) (* t t)) |
| 467.0ms | (* (+ (pow (* (+ (* (+ y a) y) b) y) 3) (pow c 3)) y) |
| 446.0ms | (* (- (* (* (+ (* (+ y a) y) b) y) (* (+ (* (+ y a) y) b) y)) (* c c)) y) |
15 alts after pruning (14 fresh and 1 done)
Merged error: 31.4b
Found 4 expressions with local error:
| 28.5b | (/ (+ (* (* (cbrt (fma y 27464.7644705 230661.510616)) (cbrt (fma y 27464.7644705 230661.510616))) (* (cbrt (+ (* 27464.7644705 y) 230661.510616)) y)) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 1.7b | (cbrt (+ (* 27464.7644705 y) 230661.510616)) |
| 1.7b | (cbrt (fma y 27464.7644705 230661.510616)) |
| 1.7b | (cbrt (fma y 27464.7644705 230661.510616)) |
4 calls. Slowest were:
| 71.0ms | (/ (+ (* (* (cbrt (fma y 27464.7644705 230661.510616)) (cbrt (fma y 27464.7644705 230661.510616))) (* (cbrt (+ (* 27464.7644705 y) 230661.510616)) y)) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 1.0ms | (cbrt (+ (* 27464.7644705 y) 230661.510616)) |
| 0.0ms | (cbrt (fma y 27464.7644705 230661.510616)) |
4 calls. Slowest were:
| 450.0ms | (/ (+ (* (* (cbrt (fma y 27464.7644705 230661.510616)) (cbrt (fma y 27464.7644705 230661.510616))) (* (cbrt (+ (* 27464.7644705 y) 230661.510616)) y)) t) (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i)) |
| 71.0ms | (cbrt (+ (* 27464.7644705 y) 230661.510616)) |
| 61.0ms | (cbrt (fma y 27464.7644705 230661.510616)) |
| 53.0ms | (cbrt (fma y 27464.7644705 230661.510616)) |
52 calls. Slowest were:
| 479.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))) |
| 377.0ms | (- (* (* (* (cbrt (fma y 27464.7644705 230661.510616)) (cbrt (fma y 27464.7644705 230661.510616))) (* (cbrt (+ (* 27464.7644705 y) 230661.510616)) y)) (* (* (cbrt (fma y 27464.7644705 230661.510616)) (cbrt (fma y 27464.7644705 230661.510616))) (* (cbrt (+ (* 27464.7644705 y) 230661.510616)) y))) (* t t)) |
| 339.0ms | (/ (+ (* (* (cbrt (fma y 27464.7644705 230661.510616)) (cbrt (fma y 27464.7644705 230661.510616))) (* (cbrt (+ (* 27464.7644705 y) 230661.510616)) y)) t) (sqrt (+ (* (+ (* (+ (* (+ y a) y) b) y) c) y) i))) |
15 alts after pruning (14 fresh and 1 done)
Merged error: 31.4b
0% (1.0b remaining)
Error of 28.2b against oracle of 27.3b and baseline of 28.2b