


Bits error versus kx



Bits error versus ky



Bits error versus th
Results
Initial program 12.6
rmApplied *-un-lft-identity12.6
Applied associate-/l*12.7
rmApplied div-inv12.8
Applied associate-/r*12.7
Final simplification12.7
herbie shell --seed 2019022
(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: 29.4s)Debug log
| 232.0ms | 92× | body | 1280 | valid |
| 63.0ms | 48× | body | 640 | valid |
| 23.0ms | 79× | body | 80 | valid |
| 20.0ms | 28× | body | 320 | valid |
| 4.0ms | 9× | body | 160 | valid |
| 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: 11.1b
Found 4 expressions with local error:
| 3.7b | (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)))) |
| 44× | *-un-lft-identity |
| 25× | sqrt-prod |
| 25× | add-sqr-sqrt |
| 24× | add-cube-cbrt |
| 24× | times-frac |
| 16× | unpow-prod-down |
| 10× | distribute-lft-out |
| 8× | add-exp-log |
| 8× | associate-/r* |
| 6× | add-cbrt-cube |
| 6× | pow1 |
| 4× | add-log-exp |
| 4× | sqrt-div |
| 3× | associate-/l* |
| 2× | unpow2 |
| 2× | flip-+ |
| 2× | associate-/r/ |
| 2× | pow-exp |
| 2× | flip3-+ |
| 2× | pow-pow |
| 2× | pow-to-exp |
| 1× | div-inv |
| 1× | div-exp |
| 1× | pow1/2 |
| 1× | frac-2neg |
| 1× | clear-num |
| 1× | rem-sqrt-square |
| 1× | cbrt-undiv |
| 20.0ms | (/ (sin ky) (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) |
| 16.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 2.0ms | (pow (sin ky) 2) |
| 2.0ms | (pow (sin kx) 2) |
| 132.0ms | (/ (sin ky) (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) |
| 125.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 26.0ms | (pow (sin ky) 2) |
| 25.0ms | (pow (sin kx) 2) |
| 170.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))))) |
| 158.0ms | (- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3))) |
| 142.0ms | (sqrt (+ (* (pow (sin kx) 2) (pow (sin kx) 2)) (- (* (pow (sin ky) 2) (pow (sin ky) 2)) (* (pow (sin kx) 2) (pow (sin ky) 2))))) |
| 120.0ms | (sqrt (- (* (pow (sin kx) 2) (pow (sin kx) 2)) (* (pow (sin ky) 2) (pow (sin ky) 2)))) |
| 46.0ms | (- (+ (pow kx 2) (* 2/45 (pow kx 6))) (* 1/3 (pow kx 4))) |
16 alts after pruning (16 fresh and 0 done)
Merged error: 10.4b
Found 4 expressions with local error:
| 3.7b | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 0.3b | (pow (sin ky) 2) |
| 0.2b | (pow (sin kx) 2) |
| 0.2b | (/ 1 (/ (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) (sin ky))) |
| 38× | *-un-lft-identity |
| 28× | associate-/r* |
| 24× | times-frac |
| 23× | add-sqr-sqrt |
| 22× | add-cube-cbrt |
| 20× | sqrt-prod |
| 14× | unpow-prod-down |
| 9× | add-exp-log |
| 8× | distribute-lft-out |
| 7× | pow1 |
| 4× | add-log-exp |
| 4× | add-cbrt-cube |
| 2× | unpow2 |
| 2× | div-inv |
| 2× | pow-exp |
| 2× | sqrt-div |
| 2× | pow-pow |
| 2× | rec-exp |
| 2× | pow-to-exp |
| 1× | inv-pow |
| 1× | pow-flip |
| 1× | flip-+ |
| 1× | associate-/r/ |
| 1× | div-exp |
| 1× | pow1/2 |
| 1× | flip3-+ |
| 1× | frac-2neg |
| 1× | clear-num |
| 1× | rem-sqrt-square |
| 14.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 9.0ms | (/ 1 (/ (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) (sin ky))) |
| 2.0ms | (pow (sin kx) 2) |
| 2.0ms | (pow (sin ky) 2) |
| 146.0ms | (/ 1 (/ (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) (sin ky))) |
| 89.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 16.0ms | (pow (sin ky) 2) |
| 15.0ms | (pow (sin kx) 2) |
| 168.0ms | (sqrt (- (* (pow (sin kx) 2) (pow (sin kx) 2)) (* (pow (sin ky) 2) (pow (sin ky) 2)))) |
| 156.0ms | (- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3))) |
| 48.0ms | (- (+ (pow kx 2) (* 2/45 (pow kx 6))) (* 1/3 (pow kx 4))) |
| 40.0ms | (- (+ (* 2/45 (pow ky 6)) (pow ky 2)) (* 1/3 (pow ky 4))) |
| 36.0ms | (sqrt (+ (pow (pow (sin kx) 2) 3) (pow (pow (sin ky) 2) 3))) |
19 alts after pruning (19 fresh and 0 done)
Merged error: 10.4b
Found 4 expressions with local error:
| 3.7b | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 0.3b | (pow (sin ky) 2) |
| 0.2b | (pow (sin kx) 2) |
| 0.2b | (/ (/ 1 (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (/ 1 (sin ky))) |
| 24× | times-frac |
| 23× | *-un-lft-identity |
| 20× | add-sqr-sqrt |
| 19× | add-cube-cbrt |
| 14× | add-exp-log |
| 13× | div-inv |
| 12× | sqrt-div |
| 11× | associate-/r/ |
| 8× | unpow-prod-down |
| 6× | associate-/l* |
| 6× | flip-+ |
| 6× | add-cbrt-cube |
| 6× | flip3-+ |
| 6× | pow1 |
| 5× | sqrt-prod |
| 4× | add-log-exp |
| 4× | div-exp |
| 4× | associate-/r* |
| 4× | rec-exp |
| 2× | unpow2 |
| 2× | distribute-lft-out |
| 2× | pow-exp |
| 2× | pow-pow |
| 2× | pow-to-exp |
| 1× | associate-/l/ |
| 1× | pow1/2 |
| 1× | frac-2neg |
| 1× | clear-num |
| 1× | rem-sqrt-square |
| 1× | cbrt-undiv |
| 8.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 5.0ms | (/ (/ 1 (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (/ 1 (sin ky))) |
| 1.0ms | (pow (sin ky) 2) |
| 1.0ms | (pow (sin kx) 2) |
| 151.0ms | (/ (/ 1 (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2)))) (/ 1 (sin ky))) |
| 85.0ms | (sqrt (+ (pow (sin kx) 2) (pow (sin ky) 2))) |
| 19.0ms | (pow (sin kx) 2) |
| 16.0ms | (pow (sin ky) 2) |
| 1.2s | (/ (* (* (/ 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))))) (* (* (/ 1 (sin ky)) (/ 1 (sin ky))) (/ 1 (sin ky)))) |
| 197.0ms | (/ (sqrt (+ (* (pow (sin kx) 2) (pow (sin kx) 2)) (- (* (pow (sin ky) 2) (pow (sin ky) 2)) (* (pow (sin kx) 2) (pow (sin ky) 2))))) (/ 1 (sin ky))) |
| 175.0ms | (/ (sqrt (+ (* (pow (sin kx) 2) (pow (sin kx) 2)) (- (* (pow (sin ky) 2) (pow (sin ky) 2)) (* (pow (sin kx) 2) (pow (sin ky) 2))))) (cbrt (/ 1 (sin ky)))) |
| 167.0ms | (/ (/ 1 (sqrt (- (* (pow (sin kx) 2) (pow (sin kx) 2)) (* (pow (sin ky) 2) (pow (sin ky) 2))))) (* (cbrt (/ 1 (sin ky))) (cbrt (/ 1 (sin ky))))) |
| 153.0ms | (/ (/ 1 (sqrt (- (* (pow (sin kx) 2) (pow (sin kx) 2)) (* (pow (sin ky) 2) (pow (sin ky) 2))))) 1) |
21 alts after pruning (20 fresh and 1 done)
Merged error: 10.4b
Found 4 expressions with local error:
| 16.3b | (cbrt (pow (sin kx) 2)) |
| 16.3b | (cbrt (pow (sin kx) 2)) |
| 16.3b | (cbrt (pow (sin kx) 2)) |
| 3.7b | (sqrt (+ (* (* (cbrt (pow (sin kx) 2)) (cbrt (pow (sin kx) 2))) (cbrt (pow (sin kx) 2))) (pow (sin ky) 2))) |
| 21× | cbrt-prod |
| 12× | add-sqr-sqrt |
| 11× | add-cube-cbrt |
| 11× | *-un-lft-identity |
| 9× | unpow-prod-down |
| 4× | add-log-exp |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 4× | pow1 |
| 3× | unpow2 |
| 3× | sqrt-prod |
| 3× | pow1/3 |
| 2× | sqrt-div |
| 1× | flip-+ |
| 1× | pow1/2 |
| 1× | flip3-+ |
| 1× | rem-sqrt-square |
| 43.0ms | (sqrt (+ (* (* (cbrt (pow (sin kx) 2)) (cbrt (pow (sin kx) 2))) (cbrt (pow (sin kx) 2))) (pow (sin ky) 2))) |
| 2.0ms | (cbrt (pow (sin kx) 2)) |
| 1.0ms | (cbrt (pow (sin kx) 2)) |
| 1.0ms | (cbrt (pow (sin kx) 2)) |
| 191.0ms | (cbrt (pow (sin kx) 2)) |
| 169.0ms | (cbrt (pow (sin kx) 2)) |
| 150.0ms | (cbrt (pow (sin kx) 2)) |
| 78.0ms | (sqrt (+ (* (* (cbrt (pow (sin kx) 2)) (cbrt (pow (sin kx) 2))) (cbrt (pow (sin kx) 2))) (pow (sin ky) 2))) |
| 220.0ms | (sqrt (- (* (* (* (cbrt (pow (sin kx) 2)) (cbrt (pow (sin kx) 2))) (cbrt (pow (sin kx) 2))) (* (* (cbrt (pow (sin kx) 2)) (cbrt (pow (sin kx) 2))) (cbrt (pow (sin kx) 2)))) (* (pow (sin ky) 2) (pow (sin ky) 2)))) |
| 162.0ms | (- (+ (* 1/12 (* (pow kx 2) ky)) ky) (* 1/6 (pow ky 3))) |
| 70.0ms | (sqrt (+ (pow (* (* (cbrt (pow (sin kx) 2)) (cbrt (pow (sin kx) 2))) (cbrt (pow (sin kx) 2))) 3) (pow (pow (sin ky) 2) 3))) |
| 63.0ms | (- (+ (* 1/405 (pow (pow kx 14) 1/3)) (pow kx 2/3)) (* 1/9 (pow (pow kx 8) 1/3))) |
| 57.0ms | (- (+ (* 1/405 (pow (pow kx 14) 1/3)) (pow kx 2/3)) (* 1/9 (pow (pow kx 8) 1/3))) |
20 alts after pruning (18 fresh and 2 done)
Merged error: 10.4b
0% (1.2b remaining)
Error of 12.7b against oracle of 11.5b and baseline of 12.7b
| 7.2s | 2733× | body | 1280 | valid |
| 2.5s | 1845× | body | 640 | valid |
| 1.2s | 778× | body | 320 | valid |
| 874.0ms | 2323× | body | 80 | valid |
| 209.0ms | 321× | body | 160 | valid |