


Bits error versus kx



Bits error versus ky



Bits error versus th
Results
Initial program 12.3
rmApplied add-cube-cbrt12.6
Applied associate-*l*12.6
rmApplied add-cbrt-cube12.6
rmApplied add-cube-cbrt12.7
Final simplification12.7
herbie shell --seed 2019004
(FPCore (kx ky th)
:name "Toniolo and Linder, Equation (3b), real"
(* (/ (sin ky) (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th)))
Time bar (total: 31.3s)Debug log
1 calls. Slowest were:
| 14.0ms | (* (/ (sin ky) (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 13.2b
Found 4 expressions with local error:
| 2.8b | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 0.3b | (pow (sin kx) 2) |
| 0.2b | (pow (sin ky) 2) |
| 0.2b | (* (/ (sin ky) (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th)) |
4 calls. Slowest were:
| 17.0ms | (* (/ (sin ky) (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th)) |
| 16.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 2.0ms | (pow (sin ky) 2) |
4 calls. Slowest were:
| 174.0ms | (* (/ (sin ky) (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th)) |
| 131.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 26.0ms | (pow (sin ky) 2) |
| 26.0ms | (pow (sin kx) 2) |
68 calls. Slowest were:
| 565.0ms | (* (/ (* (* (sin ky) (sin ky)) (sin ky)) (* (* (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))))) (* (* (sin th) (sin th)) (sin th))) |
| 192.0ms | (* (* (* (/ (sin ky) (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (/ (sin ky) (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))))) (/ (sin ky) (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))))) (* (* (sin th) (sin th)) (sin th))) |
| 185.0ms | (- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3))) |
19 alts after pruning (19 fresh and 0 done)
Merged error: 12.4b
Found 4 expressions with local error:
| 2.8b | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 2.8b | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 2.8b | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 0.4b | (cbrt (/ (sin ky) (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))))) |
4 calls. Slowest were:
| 15.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 14.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 14.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
4 calls. Slowest were:
| 195.0ms | (cbrt (/ (sin ky) (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))))) |
| 110.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 97.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 67.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
67 calls. Slowest were:
| 188.0ms | (- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3))) |
| 182.0ms | (sqrt (- (* (pow (sin kx) 2) (pow (sin kx) 2)) (* (pow (sin ky) 2) (pow (sin ky) 2)))) |
| 179.0ms | (- (+ (exp (* 1/3 (- (log ky) (log kx)))) (* 1/18 (* (pow kx 2) (exp (* 1/3 (- (log ky) (log kx))))))) (+ (* 1/18 (* (pow ky 2) (exp (* 1/3 (- (log ky) (log kx)))))) (* 1/6 (* (exp (* 1/3 (- (log ky) (* 7 (log kx))))) (pow ky 2))))) |
24 alts after pruning (24 fresh and 0 done)
Merged error: 12.4b
Found 4 expressions with local error:
| 2.8b | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 2.8b | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 2.8b | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 0.6b | (cbrt (sin ky)) |
4 calls. Slowest were:
| 15.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 14.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 14.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
4 calls. Slowest were:
| 188.0ms | (cbrt (sin ky)) |
| 112.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 112.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 89.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
39 calls. Slowest were:
| 203.0ms | (- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3))) |
| 191.0ms | (- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3))) |
| 190.0ms | (- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3))) |
27 alts after pruning (27 fresh and 0 done)
Merged error: 12.4b
Found 4 expressions with local error:
| 2.8b | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 2.8b | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 2.8b | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 2.8b | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
4 calls. Slowest were:
| 15.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 15.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 14.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
4 calls. Slowest were:
| 109.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 106.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 94.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 77.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
44 calls. Slowest were:
| 191.0ms | (- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3))) |
| 176.0ms | (sqrt (- (* (pow (sin kx) 2) (pow (sin kx) 2)) (* (pow (sin ky) 2) (pow (sin ky) 2)))) |
| 174.0ms | (- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3))) |
27 alts after pruning (27 fresh and 0 done)
Merged error: 12.4b
0% (1.5b remaining)
Error of 12.7b against oracle of 11.1b and baseline of 12.7b