


Bits error versus kx



Bits error versus ky



Bits error versus th
Results
Initial program 12.4
rmApplied add-cube-cbrt12.8
Applied associate-*l*12.8
rmApplied add-cube-cbrt12.9
Final simplification12.9
herbie shell --seed 2019007
(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: 30.7s)Debug log
1 calls. Slowest were:
| 22.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: 12.5b
Found 4 expressions with local error:
| 2.8b | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 0.3b | (pow (sin ky) 2) |
| 0.2b | (pow (sin kx) 2) |
| 0.2b | (* (/ (sin ky) (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th)) |
4 calls. Slowest were:
| 13.0ms | (* (/ (sin ky) (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th)) |
| 9.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 1.0ms | (pow (sin kx) 2) |
4 calls. Slowest were:
| 129.0ms | (* (/ (sin ky) (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th)) |
| 117.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 25.0ms | (pow (sin ky) 2) |
| 25.0ms | (pow (sin kx) 2) |
68 calls. Slowest were:
| 400.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))) |
| 178.0ms | (- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3))) |
| 149.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))) |
21 alts after pruning (21 fresh and 0 done)
Merged error: 11.1b
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:
| 13.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 13.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 8.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
4 calls. Slowest were:
| 166.0ms | (cbrt (/ (sin ky) (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))))) |
| 99.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 88.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 83.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
67 calls. Slowest were:
| 196.0ms | (- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3))) |
| 182.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))))) |
| 167.0ms | (- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3))) |
24 alts after pruning (24 fresh and 0 done)
Merged error: 11.1b
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:
| 195.0ms | (cbrt (sin ky)) |
| 98.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 89.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 85.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
39 calls. Slowest were:
| 184.0ms | (- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3))) |
| 174.0ms | (- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3))) |
| 155.0ms | (sqrt (- (* (pow (sin kx) 2) (pow (sin kx) 2)) (* (pow (sin ky) 2) (pow (sin ky) 2)))) |
28 alts after pruning (28 fresh and 0 done)
Merged error: 11.1b
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:
| 7.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 7.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 7.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
4 calls. Slowest were:
| 99.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 84.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 75.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 71.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
44 calls. Slowest were:
| 190.0ms | (- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3))) |
| 168.0ms | (- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3))) |
| 155.0ms | (- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3))) |
27 alts after pruning (26 fresh and 1 done)
Merged error: 11.1b
0% (1.6b remaining)
Error of 12.9b against oracle of 11.2b and baseline of 12.9b