


Bits error versus kx



Bits error versus ky



Bits error versus th
Results
Initial program 12.9
rmApplied div-inv12.9
Applied associate-*l*13.0
rmApplied associate-*r*12.9
rmApplied add-cube-cbrt13.2
rmApplied associate-*r/13.2
Applied cbrt-div13.1
Simplified13.1
Final simplification13.1
herbie shell --seed 2019005
(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.2s)Debug log
1 calls. Slowest were:
| 28.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.4b
Found 4 expressions with local error:
| 3.9b | (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:
| 16.0ms | (* (/ (sin ky) (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th)) |
| 10.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 1.0ms | (pow (sin ky) 2) |
4 calls. Slowest were:
| 157.0ms | (* (/ (sin ky) (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th)) |
| 116.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 27.0ms | (pow (sin kx) 2) |
| 17.0ms | (pow (sin ky) 2) |
68 calls. Slowest were:
| 540.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))) |
| 206.0ms | (- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3))) |
| 203.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))) |
20 alts after pruning (20 fresh and 0 done)
Merged error: 11.4b
Found 4 expressions with local error:
| 3.9b | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 0.3b | (* (/ 1 (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th)) |
| 0.3b | (pow (sin ky) 2) |
| 0.3b | (* (sin ky) (* (/ 1 (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th))) |
4 calls. Slowest were:
| 13.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 12.0ms | (* (sin ky) (* (/ 1 (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th))) |
| 6.0ms | (* (/ 1 (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th)) |
4 calls. Slowest were:
| 215.0ms | (* (sin ky) (* (/ 1 (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th))) |
| 135.0ms | (* (/ 1 (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th)) |
| 108.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 24.0ms | (pow (sin ky) 2) |
48 calls. Slowest were:
| 461.0ms | (* (* (* (sin ky) (sin ky)) (sin ky)) (* (* (* (/ 1 (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th)) (* (/ 1 (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th))) (* (/ 1 (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (sin th)))) |
| 447.0ms | (* (* (* (/ 1 (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (/ 1 (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))))) (/ 1 (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))))) (* (* (sin th) (sin th)) (sin th))) |
| 324.0ms | (* (* (* (sin ky) (sin ky)) (sin ky)) (* (* (* (/ 1 (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (/ 1 (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))))) (/ 1 (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))))) (* (* (sin th) (sin th)) (sin th)))) |
24 alts after pruning (24 fresh and 0 done)
Merged error: 11.4b
Found 4 expressions with local error:
| 3.9b | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 0.3b | (pow (sin ky) 2) |
| 0.2b | (* (sin ky) (/ 1 (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))))) |
| 0.2b | (pow (sin kx) 2) |
4 calls. Slowest were:
| 16.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 10.0ms | (* (sin ky) (/ 1 (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))))) |
| 2.0ms | (pow (sin ky) 2) |
4 calls. Slowest were:
| 175.0ms | (* (sin ky) (/ 1 (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))))) |
| 87.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 27.0ms | (pow (sin ky) 2) |
| 25.0ms | (pow (sin kx) 2) |
44 calls. Slowest were:
| 393.0ms | (* (* (* (sin ky) (sin ky)) (sin ky)) (* (* (/ 1 (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (/ 1 (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))))) (/ 1 (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))))) |
| 184.0ms | (sqrt (- (* (pow (sin kx) 2) (pow (sin kx) 2)) (* (pow (sin ky) 2) (pow (sin ky) 2)))) |
| 175.0ms | (- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3))) |
27 alts after pruning (27 fresh and 0 done)
Merged error: 11.4b
Found 4 expressions with local error:
| 3.9b | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 3.9b | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 3.9b | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 0.4b | (cbrt (* (sin ky) (/ 1 (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))))) |
4 calls. Slowest were:
| 17.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 16.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 16.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
4 calls. Slowest were:
| 208.0ms | (cbrt (* (sin ky) (/ 1 (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))))) |
| 103.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 91.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 87.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
39 calls. Slowest were:
| 233.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))))) |
| 216.0ms | (- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3))) |
| 213.0ms | (- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3))) |
28 alts after pruning (28 fresh and 0 done)
Merged error: 11.4b
0% (1.5b remaining)
Error of 13.1b against oracle of 11.6b and baseline of 13.1b