


Bits error versus t



Bits error versus l



Bits error versus k
Initial program 32.2
rmApplied cube-mult32.2
Applied times-frac25.5
Applied associate-*l*23.6
rmApplied pow123.6
Applied pow123.6
Applied pow123.6
Applied pow123.6
Applied pow-prod-down23.6
Applied pow-prod-down23.6
Applied pow-prod-down23.6
Simplified17.4
rmApplied *-un-lft-identity17.4
Applied associate-/r*17.4
Simplified12.8
rmApplied associate-*r*12.3
Final simplification12.3
herbie shell --seed 2019010 +o rules:numerics
(FPCore (t l k)
:name "Toniolo and Linder, Equation (10+)"
(/ 2 (* (* (* (/ (pow t 3) (* l l)) (sin k)) (tan k)) (+ (+ 1 (pow (/ k t) 2)) 1))))
Time bar (total: 1.5m)Debug log
| 472.0ms | (/ 2 (* (* (* (/ (pow t 3) (* l l)) (sin k)) (tan k)) (+ (+ 1 (pow (/ k t) 2)) 1))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 29.2b
Found 4 expressions with local error:
| 15.1b | (/ (pow t 3) (* l l)) |
| 10.1b | (* (* (* (/ (pow t 3) (* l l)) (sin k)) (tan k)) (+ (+ 1 (pow (/ k t) 2)) 1)) |
| 4.3b | (* (/ (pow t 3) (* l l)) (sin k)) |
| 3.4b | (* (* (/ (pow t 3) (* l l)) (sin k)) (tan k)) |
| 44× | add-exp-log |
| 34× | add-cbrt-cube |
| 22× | prod-exp |
| 20× | pow1 |
| 16× | cbrt-unprod |
| 16× | associate-*l/ |
| 11× | add-cube-cbrt |
| 11× | associate-*l* |
| 11× | *-un-lft-identity |
| 11× | add-sqr-sqrt |
| 10× | pow-prod-down |
| 10× | times-frac |
| 10× | frac-times |
| 9× | associate-*r* |
| 8× | tan-quot |
| 8× | div-exp |
| 6× | associate-*r/ |
| 5× | associate-/l* |
| 4× | add-log-exp |
| 4× | log1p-expm1-u |
| 4× | flip-+ |
| 4× | flip3-+ |
| 4× | cbrt-undiv |
| 4× | pow-to-exp |
| 4× | expm1-log1p-u |
| 3× | *-commutative |
| 3× | unpow3 |
| 3× | cube-mult |
| 2× | div-inv |
| 1× | distribute-lft-in |
| 1× | frac-2neg |
| 1× | associate-/r* |
| 1× | clear-num |
| 1× | distribute-rgt-in |
| 81.0ms | (* (* (* (/ (pow t 3) (* l l)) (sin k)) (tan k)) (+ (+ 1 (pow (/ k t) 2)) 1)) |
| 25.0ms | (* (* (/ (pow t 3) (* l l)) (sin k)) (tan k)) |
| 11.0ms | (* (/ (pow t 3) (* l l)) (sin k)) |
| 6.0ms | (/ (pow t 3) (* l l)) |
| 364.0ms | (* (* (* (/ (pow t 3) (* l l)) (sin k)) (tan k)) (+ (+ 1 (pow (/ k t) 2)) 1)) |
| 167.0ms | (* (* (/ (pow t 3) (* l l)) (sin k)) (tan k)) |
| 80.0ms | (* (/ (pow t 3) (* l l)) (sin k)) |
| 29.0ms | (/ (pow t 3) (* l l)) |
| 1.3s | (* (* l l) (- (+ 1 (pow (/ k t) 2)) 1)) |
| 840.0ms | (- (+ 1 (pow (/ k t) 2)) 1) |
| 656.0ms | (* (* (* l l) (cos k)) (- (+ 1 (pow (/ k t) 2)) 1)) |
| 638.0ms | (* (* l l) (+ (* (+ 1 (pow (/ k t) 2)) (+ 1 (pow (/ k t) 2))) (- (* 1 1) (* (+ 1 (pow (/ k t) 2)) 1)))) |
| 614.0ms | (* (cos k) (+ (* (+ 1 (pow (/ k t) 2)) (+ 1 (pow (/ k t) 2))) (- (* 1 1) (* (+ 1 (pow (/ k t) 2)) 1)))) |
12 alts after pruning (12 fresh and 0 done)
Merged error: 13.9b
Found 4 expressions with local error:
| 10.1b | (* (* (* (/ t l) (* (/ (* t t) l) (sin k))) (tan k)) (+ (+ 1 (pow (/ k t) 2)) 1)) |
| 8.6b | (/ (* t t) l) |
| 5.6b | (* (/ (* t t) l) (sin k)) |
| 3.4b | (* (* (/ t l) (* (/ (* t t) l) (sin k))) (tan k)) |
| 44× | associate-*l/ |
| 34× | frac-times |
| 29× | add-exp-log |
| 29× | add-cbrt-cube |
| 29× | pow1 |
| 17× | cbrt-unprod |
| 17× | prod-exp |
| 17× | pow-prod-down |
| 16× | tan-quot |
| 14× | associate-*r/ |
| 9× | associate-*r* |
| 8× | flip-+ |
| 8× | add-cube-cbrt |
| 8× | flip3-+ |
| 8× | *-un-lft-identity |
| 8× | add-sqr-sqrt |
| 6× | associate-*l* |
| 4× | add-log-exp |
| 4× | log1p-expm1-u |
| 4× | expm1-log1p-u |
| 3× | *-commutative |
| 2× | div-inv |
| 1× | associate-/l* |
| 1× | distribute-lft-in |
| 1× | frac-2neg |
| 1× | clear-num |
| 1× | distribute-rgt-in |
| 111.0ms | (* (* (* (/ t l) (* (/ (* t t) l) (sin k))) (tan k)) (+ (+ 1 (pow (/ k t) 2)) 1)) |
| 43.0ms | (* (* (/ t l) (* (/ (* t t) l) (sin k))) (tan k)) |
| 5.0ms | (* (/ (* t t) l) (sin k)) |
| 2.0ms | (/ (* t t) l) |
| 388.0ms | (* (* (* (/ t l) (* (/ (* t t) l) (sin k))) (tan k)) (+ (+ 1 (pow (/ k t) 2)) 1)) |
| 222.0ms | (* (* (/ t l) (* (/ (* t t) l) (sin k))) (tan k)) |
| 62.0ms | (* (/ (* t t) l) (sin k)) |
| 9.0ms | (/ (* t t) l) |
| 1.3s | (* (* l l) (- (+ 1 (pow (/ k t) 2)) 1)) |
| 847.0ms | (* (* (* l l) (cos k)) (- (+ 1 (pow (/ k t) 2)) 1)) |
| 808.0ms | (- (+ 1 (pow (/ k t) 2)) 1) |
| 714.0ms | (* (* (* (* (* (/ t l) (/ t l)) (/ t l)) (* (* (* (/ (* t t) l) (sin k)) (* (/ (* t t) l) (sin k))) (* (/ (* t t) l) (sin k)))) (* (* (tan k) (tan k)) (tan k))) (* (* (+ (+ 1 (pow (/ k t) 2)) 1) (+ (+ 1 (pow (/ k t) 2)) 1)) (+ (+ 1 (pow (/ k t) 2)) 1))) |
| 663.0ms | (* (cos k) (+ (* (+ 1 (pow (/ k t) 2)) (+ 1 (pow (/ k t) 2))) (- (* 1 1) (* (+ 1 (pow (/ k t) 2)) 1)))) |
11 alts after pruning (11 fresh and 0 done)
Merged error: 5.7b
Found 4 expressions with local error:
| 13.0b | (* (* (* (tan k) (/ t l)) (* (/ t l) t)) (* (sin k) (fma (/ k t) (/ k t) 2))) |
| 3.3b | (* (tan k) (/ t l)) |
| 1.3b | (* (* (tan k) (/ t l)) (* (/ t l) t)) |
| 0.5b | (/ 2 (pow (* (* (* (tan k) (/ t l)) (* (/ t l) t)) (* (sin k) (fma (/ k t) (/ k t) 2))) 1)) |
| 32× | add-exp-log |
| 32× | add-cbrt-cube |
| 32× | pow1 |
| 26× | associate-*l/ |
| 19× | cbrt-unprod |
| 19× | prod-exp |
| 19× | pow-prod-down |
| 11× | frac-times |
| 10× | tan-quot |
| 7× | add-cube-cbrt |
| 7× | associate-*r/ |
| 7× | *-un-lft-identity |
| 7× | add-sqr-sqrt |
| 6× | associate-*r* |
| 5× | associate-*l* |
| 4× | add-log-exp |
| 4× | log1p-expm1-u |
| 4× | fma-udef |
| 4× | distribute-lft-in |
| 4× | associate-/r* |
| 4× | expm1-log1p-u |
| 4× | distribute-rgt-in |
| 3× | *-commutative |
| 2× | div-inv |
| 1× | frac-2neg |
| 1× | unpow-prod-down |
| 1× | clear-num |
| 60.0ms | (* (* (* (tan k) (/ t l)) (* (/ t l) t)) (* (sin k) (fma (/ k t) (/ k t) 2))) |
| 23.0ms | (* (* (tan k) (/ t l)) (* (/ t l) t)) |
| 21.0ms | (/ 2 (pow (* (* (* (tan k) (/ t l)) (* (/ t l) t)) (* (sin k) (fma (/ k t) (/ k t) 2))) 1)) |
| 4.0ms | (* (tan k) (/ t l)) |
| 788.0ms | (/ 2 (pow (* (* (* (tan k) (/ t l)) (* (/ t l) t)) (* (sin k) (fma (/ k t) (/ k t) 2))) 1)) |
| 241.0ms | (* (* (* (tan k) (/ t l)) (* (/ t l) t)) (* (sin k) (fma (/ k t) (/ k t) 2))) |
| 160.0ms | (* (* (tan k) (/ t l)) (* (/ t l) t)) |
| 134.0ms | (* (tan k) (/ t l)) |
| 809.0ms | (+ (+ (+ (log (tan k)) (log (/ t l))) (log (* (/ t l) t))) (+ (log (sin k)) (log (fma (/ k t) (/ k t) 2)))) |
| 603.0ms | (* (* (* (tan k) (/ t l)) (* t t)) (* (sin k) (fma (/ k t) (/ k t) 2))) |
| 596.0ms | (* (* (* (sin k) (/ t l)) (* t t)) (* (sin k) (fma (/ k t) (/ k t) 2))) |
| 556.0ms | (* (* (* (sin k) t) (* (/ t l) t)) (* (sin k) (fma (/ k t) (/ k t) 2))) |
| 492.0ms | (+ (* 1/3 (/ (* t (pow k 3)) l)) (/ (* t k) l)) |
14 alts after pruning (14 fresh and 0 done)
Merged error: 3.8b
Found 4 expressions with local error:
| 7.1b | (* (* (* (/ t l) (sin k)) (fma (/ k t) (/ k t) 2)) (* (* t (tan k)) (/ t l))) |
| 3.3b | (* (/ t l) (sin k)) |
| 3.0b | (* (* (/ t l) (sin k)) (fma (/ k t) (/ k t) 2)) |
| 1.1b | (* (* t (tan k)) (/ t l)) |
| 34× | add-exp-log |
| 34× | add-cbrt-cube |
| 34× | pow1 |
| 20× | cbrt-unprod |
| 20× | prod-exp |
| 20× | pow-prod-down |
| 15× | associate-*l/ |
| 12× | associate-*r/ |
| 11× | associate-*r* |
| 8× | add-cube-cbrt |
| 8× | *-un-lft-identity |
| 8× | add-sqr-sqrt |
| 7× | associate-*l* |
| 6× | tan-quot |
| 6× | frac-times |
| 4× | add-log-exp |
| 4× | log1p-expm1-u |
| 4× | *-commutative |
| 4× | expm1-log1p-u |
| 2× | div-inv |
| 2× | fma-udef |
| 1× | distribute-lft-in |
| 1× | distribute-rgt-in |
| 64.0ms | (* (* (* (/ t l) (sin k)) (fma (/ k t) (/ k t) 2)) (* (* t (tan k)) (/ t l))) |
| 25.0ms | (* (* (/ t l) (sin k)) (fma (/ k t) (/ k t) 2)) |
| 10.0ms | (* (* t (tan k)) (/ t l)) |
| 8.0ms | (* (/ t l) (sin k)) |
| 396.0ms | (* (* (* (/ t l) (sin k)) (fma (/ k t) (/ k t) 2)) (* (* t (tan k)) (/ t l))) |
| 178.0ms | (* (* (/ t l) (sin k)) (fma (/ k t) (/ k t) 2)) |
| 126.0ms | (* (* t (tan k)) (/ t l)) |
| 71.0ms | (* (/ t l) (sin k)) |
| 940.0ms | (* (* (* (* t (tan k)) (* t (tan k))) (* t (tan k))) (* (* (/ t l) (/ t l)) (/ t l))) |
| 514.0ms | (* (* (* t (sin k)) (fma (/ k t) (/ k t) 2)) (* (* t (sin k)) (/ t l))) |
| 465.0ms | (+ (+ (+ (log (/ t l)) (log (sin k))) (log (fma (/ k t) (/ k t) 2))) (+ (log (* t (tan k))) (log (/ t l)))) |
| 455.0ms | (* (* (* (* (* (/ t l) (/ t l)) (/ t l)) (* (* (sin k) (sin k)) (sin k))) (* (* (fma (/ k t) (/ k t) 2) (fma (/ k t) (/ k t) 2)) (fma (/ k t) (/ k t) 2))) (* (* (* (* t (tan k)) (* t (tan k))) (* t (tan k))) (* (* (/ t l) (/ t l)) (/ t l)))) |
| 442.0ms | (* (* (* (* (* (/ t l) (sin k)) (fma (/ k t) (/ k t) 2)) (* (* (/ t l) (sin k)) (fma (/ k t) (/ k t) 2))) (* (* (/ t l) (sin k)) (fma (/ k t) (/ k t) 2))) (* (* (* (* t (tan k)) (* t (tan k))) (* t (tan k))) (* (* (/ t l) (/ t l)) (/ t l)))) |
14 alts after pruning (13 fresh and 1 done)
Merged error: 3.8b
0% (5.5b remaining)
Error of 12.3b against oracle of 6.8b and baseline of 12.3b