


Bits error versus kx



Bits error versus ky



Bits error versus th
Results
Initial program 12.2
Initial simplification11.2
rmApplied associate-/l*8.8
Taylor expanded around inf 12.3
Simplified8.8
Final simplification8.8
herbie shell --seed 2018360 +o rules:numerics
(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: 20.3s)Debug log
2 alts after pruning (2 fresh and 0 done)
Merged error: 9.0b
Found 3 expressions with local error:
| 2.2b | (/ (* (sin th) (sin ky)) (hypot (sin kx) (sin ky))) |
| 0.2b | (* (sin th) (sin ky)) |
| 0.1b | (hypot (sin kx) (sin ky)) |
3 calls. Slowest were:
| 8.0ms | (/ (* (sin th) (sin ky)) (hypot (sin kx) (sin ky))) |
| 4.0ms | (* (sin th) (sin ky)) |
| 0.0ms | (hypot (sin kx) (sin ky)) |
3 calls. Slowest were:
| 310.0ms | (/ (* (sin th) (sin ky)) (hypot (sin kx) (sin ky))) |
| 131.0ms | (hypot (sin kx) (sin ky)) |
| 77.0ms | (* (sin th) (sin ky)) |
33 calls. Slowest were:
| 599.0ms | (/ (* (* (* (sin th) (sin ky)) (* (sin th) (sin ky))) (* (sin th) (sin ky))) (* (* (hypot (sin kx) (sin ky)) (hypot (sin kx) (sin ky))) (hypot (sin kx) (sin ky)))) |
| 485.0ms | (/ (* (* (* (sin th) (sin th)) (sin th)) (* (* (sin ky) (sin ky)) (sin ky))) (* (* (hypot (sin kx) (sin ky)) (hypot (sin kx) (sin ky))) (hypot (sin kx) (sin ky)))) |
| 328.0ms | (- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3))) |
14 alts after pruning (14 fresh and 0 done)
Merged error: 7.5b
Found 3 expressions with local error:
| 0.2b | (* (sin th) (/ (sin ky) (hypot (sin kx) (sin ky)))) |
| 0.1b | (/ (sin ky) (hypot (sin kx) (sin ky))) |
| 0.1b | (hypot (sin kx) (sin ky)) |
3 calls. Slowest were:
| 6.0ms | (* (sin th) (/ (sin ky) (hypot (sin kx) (sin ky)))) |
| 3.0ms | (/ (sin ky) (hypot (sin kx) (sin ky))) |
| 0.0ms | (hypot (sin kx) (sin ky)) |
3 calls. Slowest were:
| 261.0ms | (* (sin th) (/ (sin ky) (hypot (sin kx) (sin ky)))) |
| 209.0ms | (/ (sin ky) (hypot (sin kx) (sin ky))) |
| 122.0ms | (hypot (sin kx) (sin ky)) |
55 calls. Slowest were:
| 509.0ms | (* (* (* (sin th) (sin th)) (sin th)) (/ (* (* (sin ky) (sin ky)) (sin ky)) (* (* (hypot (sin kx) (sin ky)) (hypot (sin kx) (sin ky))) (hypot (sin kx) (sin ky))))) |
| 362.0ms | (- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3))) |
| 210.0ms | (- (+ (* 1/6 (* kx ky)) (* 7/360 (* (pow kx 3) ky))) (* 71/720 (* kx (pow ky 3)))) |
17 alts after pruning (17 fresh and 0 done)
Merged error: 7.5b
Found 3 expressions with local error:
| 0.2b | (/ (sin th) (/ (hypot (sin kx) (sin ky)) (sin ky))) |
| 0.1b | (/ (hypot (sin kx) (sin ky)) (sin ky)) |
| 0.1b | (hypot (sin kx) (sin ky)) |
3 calls. Slowest were:
| 5.0ms | (/ (sin th) (/ (hypot (sin kx) (sin ky)) (sin ky))) |
| 3.0ms | (/ (hypot (sin kx) (sin ky)) (sin ky)) |
| 0.0ms | (hypot (sin kx) (sin ky)) |
3 calls. Slowest were:
| 228.0ms | (/ (sin th) (/ (hypot (sin kx) (sin ky)) (sin ky))) |
| 190.0ms | (/ (hypot (sin kx) (sin ky)) (sin ky)) |
| 134.0ms | (hypot (sin kx) (sin ky)) |
132 calls. Slowest were:
| 452.0ms | (/ (* (* (sin th) (sin th)) (sin th)) (/ (* (* (hypot (sin kx) (sin ky)) (hypot (sin kx) (sin ky))) (hypot (sin kx) (sin ky))) (* (* (sin ky) (sin ky)) (sin ky)))) |
| 452.0ms | (/ (* (cbrt (sin th)) (cbrt (sin th))) (/ (* (cbrt (hypot (sin kx) (sin ky))) (cbrt (hypot (sin kx) (sin ky)))) (* (cbrt (sin ky)) (cbrt (sin ky))))) |
| 340.0ms | (- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3))) |
19 alts after pruning (19 fresh and 0 done)
Merged error: 7.5b
Found 3 expressions with local error:
| 0.2b | (/ (sin th) (/ (hypot (sin kx) (sin ky)) (sin ky))) |
| 0.1b | (/ (hypot (sin kx) (sin ky)) (sin ky)) |
| 0.1b | (hypot (sin kx) (sin ky)) |
3 calls. Slowest were:
| 6.0ms | (/ (sin th) (/ (hypot (sin kx) (sin ky)) (sin ky))) |
| 4.0ms | (/ (hypot (sin kx) (sin ky)) (sin ky)) |
| 0.0ms | (hypot (sin kx) (sin ky)) |
3 calls. Slowest were:
| 266.0ms | (/ (sin th) (/ (hypot (sin kx) (sin ky)) (sin ky))) |
| 190.0ms | (/ (hypot (sin kx) (sin ky)) (sin ky)) |
| 148.0ms | (hypot (sin kx) (sin ky)) |
132 calls. Slowest were:
| 499.0ms | (/ (* (cbrt (sin th)) (cbrt (sin th))) (/ (* (cbrt (hypot (sin kx) (sin ky))) (cbrt (hypot (sin kx) (sin ky)))) (* (cbrt (sin ky)) (cbrt (sin ky))))) |
| 443.0ms | (/ (* (* (sin th) (sin th)) (sin th)) (/ (* (* (hypot (sin kx) (sin ky)) (hypot (sin kx) (sin ky))) (hypot (sin kx) (sin ky))) (* (* (sin ky) (sin ky)) (sin ky)))) |
| 358.0ms | (- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3))) |
19 alts after pruning (18 fresh and 1 done)
Merged error: 7.5b
0% (0.1b remaining)
Error of 8.8b against oracle of 8.6b and baseline of 8.8b