


Bits error versus F



Bits error versus l
Results
Initial program 8.5
Simplified8.1
rmApplied *-un-lft-identity8.1
Applied times-frac0.7
Taylor expanded around inf 0.7
Final simplification0.7
herbie shell --seed 2019016
(FPCore (F l)
:name "VandenBroeck and Keller, Equation (6)"
(- (* PI l) (* (/ 1 (* F F)) (tan (* PI l)))))
Time bar (total: 28.6s)Debug log
| 531× | (pre true 80) |
| 284× | (body real 80) |
| 241× | (body exit 10240) |
| 6× | (body real 160) |
| 172.0ms | (- (* PI l) (* (/ 1 (* F F)) (tan (* PI l)))) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 5.8b
Found 4 expressions with local error:
| 5.7b | (/ (tan (* PI l)) (* F F)) |
| 3.5b | (tan (* PI l)) |
| 0.2b | (* PI l) |
| 0.2b | (* PI l) |
| 6× | add-cube-cbrt |
| 6× | add-exp-log |
| 6× | add-cbrt-cube |
| 6× | *-un-lft-identity |
| 6× | add-sqr-sqrt |
| 4× | add-log-exp |
| 4× | pow1 |
| 3× | associate-/l* |
| 3× | times-frac |
| 2× | *-commutative |
| 2× | tan-quot |
| 1× | associate-/l/ |
| 1× | div-inv |
| 1× | div-exp |
| 1× | frac-2neg |
| 1× | associate-/r* |
| 1× | clear-num |
| 1× | cbrt-undiv |
| 6.0ms | (/ (tan (* PI l)) (* F F)) |
| 1.0ms | (tan (* PI l)) |
| 0.0ms | (* PI l) |
| 0.0ms | (* PI l) |
| 125.0ms | (/ (tan (* PI l)) (* F F)) |
| 44.0ms | (tan (* PI l)) |
| 35.0ms | (* PI l) |
| 33.0ms | (* PI l) |
| 432.0ms | (+ (/ (* PI l) (pow F 2)) (+ (* 2/15 (/ (* (pow PI 5) (pow l 5)) (pow F 2))) (* 1/3 (/ (* (pow PI 3) (pow l 3)) (pow F 2))))) |
| 225.0ms | (+ (* 2/15 (* (pow PI 5) (pow l 5))) (+ (* 1/3 (* (pow PI 3) (pow l 3))) (* PI l))) |
| 177.0ms | (/ (* (* (tan (* PI l)) (tan (* PI l))) (tan (* PI l))) (* (* (* F F) (* F F)) (* F F))) |
| 35.0ms | (- (log (tan (* PI l))) (log (* F F))) |
| 12.0ms | (/ (sin (* PI l)) (* (pow F 2) (cos (* PI l)))) |
13 alts after pruning (13 fresh and 0 done)
Merged error: 0.2b
Found 4 expressions with local error:
| 3.5b | (tan (* PI l)) |
| 0.2b | (/ (tan (* PI l)) F) |
| 0.2b | (* PI l) |
| 0.2b | (* PI l) |
| 5× | add-cube-cbrt |
| 5× | *-un-lft-identity |
| 5× | add-sqr-sqrt |
| 4× | add-log-exp |
| 4× | add-exp-log |
| 4× | add-cbrt-cube |
| 4× | pow1 |
| 3× | associate-/l* |
| 2× | *-commutative |
| 2× | tan-quot |
| 1× | associate-/l/ |
| 1× | div-inv |
| 1× | frac-2neg |
| 1× | clear-num |
| 7.0ms | (/ (tan (* PI l)) F) |
| 3.0ms | (tan (* PI l)) |
| 0.0ms | (* PI l) |
| 0.0ms | (* PI l) |
| 88.0ms | (/ (tan (* PI l)) F) |
| 63.0ms | (tan (* PI l)) |
| 46.0ms | (* PI l) |
| 45.0ms | (* PI l) |
| 266.0ms | (+ (* 2/15 (* (pow PI 5) (pow l 5))) (+ (* 1/3 (* (pow PI 3) (pow l 3))) (* PI l))) |
| 177.0ms | (+ (* 1/3 (/ (* (pow PI 3) (pow l 3)) F)) (+ (/ (* PI l) F) (* 2/15 (/ (* (pow PI 5) (pow l 5)) F)))) |
| 5.0ms | (/ (sin (* PI l)) (cos (* PI l))) |
| 5.0ms | (/ (sin (* PI l)) (cos (* PI l))) |
| 4.0ms | (* (cbrt (tan (* PI l))) (cbrt (tan (* PI l)))) |
12 alts after pruning (12 fresh and 0 done)
Merged error: 0.2b
Found 4 expressions with local error:
| 3.5b | (tan (* PI l)) |
| 1.3b | (/ 1 (/ F (tan (* PI l)))) |
| 0.2b | (* PI l) |
| 0.2b | (* PI l) |
| 5× | add-cube-cbrt |
| 5× | add-exp-log |
| 5× | *-un-lft-identity |
| 5× | associate-/r* |
| 5× | pow1 |
| 5× | add-sqr-sqrt |
| 4× | add-log-exp |
| 4× | add-cbrt-cube |
| 2× | div-inv |
| 2× | *-commutative |
| 2× | associate-/r/ |
| 2× | tan-quot |
| 1× | inv-pow |
| 1× | pow-flip |
| 1× | frac-2neg |
| 1× | clear-num |
| 1× | rec-exp |
| 2.0ms | (tan (* PI l)) |
| 1.0ms | (/ 1 (/ F (tan (* PI l)))) |
| 0.0ms | (* PI l) |
| 0.0ms | (* PI l) |
| 110.0ms | (/ 1 (/ F (tan (* PI l)))) |
| 42.0ms | (tan (* PI l)) |
| 36.0ms | (* PI l) |
| 32.0ms | (* PI l) |
| 241.0ms | (+ (* 2/15 (* (pow PI 5) (pow l 5))) (+ (* 1/3 (* (pow PI 3) (pow l 3))) (* PI l))) |
| 134.0ms | (+ (* 1/3 (/ (* (pow PI 3) (pow l 3)) F)) (/ (* PI l) F)) |
| 5.0ms | (sqrt (/ F (tan (* PI l)))) |
| 5.0ms | (cbrt (/ F (tan (* PI l)))) |
| 4.0ms | (/ 1 (tan (* PI l))) |
11 alts after pruning (11 fresh and 0 done)
Merged error: 0.2b
Found 4 expressions with local error:
| 3.5b | (tan (* PI l)) |
| 0.3b | (* (/ 1 F) (/ (tan (* PI l)) F)) |
| 0.2b | (/ (tan (* PI l)) F) |
| 0.2b | (* PI l) |
| 7× | add-cube-cbrt |
| 7× | *-un-lft-identity |
| 7× | add-sqr-sqrt |
| 6× | add-exp-log |
| 6× | add-cbrt-cube |
| 6× | pow1 |
| 4× | add-log-exp |
| 4× | associate-*l* |
| 4× | associate-*r* |
| 3× | associate-/l* |
| 3× | div-inv |
| 2× | *-commutative |
| 2× | tan-quot |
| 1× | associate-/l/ |
| 1× | cbrt-unprod |
| 1× | associate-*r/ |
| 1× | prod-exp |
| 1× | associate-*l/ |
| 1× | pow-prod-down |
| 1× | frac-2neg |
| 1× | clear-num |
| 1× | frac-times |
| 4.0ms | (* (/ 1 F) (/ (tan (* PI l)) F)) |
| 4.0ms | (/ (tan (* PI l)) F) |
| 2.0ms | (tan (* PI l)) |
| 0.0ms | (* PI l) |
| 139.0ms | (* (/ 1 F) (/ (tan (* PI l)) F)) |
| 83.0ms | (/ (tan (* PI l)) F) |
| 59.0ms | (tan (* PI l)) |
| 42.0ms | (* PI l) |
| 422.0ms | (* (* (* (/ 1 F) (/ 1 F)) (/ 1 F)) (* (* (/ (tan (* PI l)) F) (/ (tan (* PI l)) F)) (/ (tan (* PI l)) F))) |
| 315.0ms | (+ (/ (* PI l) (pow F 2)) (* 1/3 (/ (* (pow PI 3) (pow l 3)) (pow F 2)))) |
| 261.0ms | (+ (* 2/15 (* (pow PI 5) (pow l 5))) (+ (* 1/3 (* (pow PI 3) (pow l 3))) (* PI l))) |
| 149.0ms | (+ (* 1/3 (/ (* (pow PI 3) (pow l 3)) F)) (+ (/ (* PI l) F) (* 2/15 (/ (* (pow PI 5) (pow l 5)) F)))) |
| 92.0ms | (+ (log (/ 1 F)) (log (/ (tan (* PI l)) F))) |
11 alts after pruning (11 fresh and 0 done)
Merged error: 0.1b
0% (0.2b remaining)
Error of 0.7b against oracle of 0.5b and baseline of 0.7b
| 16926× | (pre true 80) |
| 8916× | (body real 80) |
| 7770× | (body exit 10240) |
| 240× | (body real 160) |