


Bits error versus F



Bits error versus l
Results
Initial program 8.4
Simplified7.9
rmApplied *-un-lft-identity7.9
Applied times-frac0.7
Final simplification0.7
herbie shell --seed 2019010
(FPCore (F l)
:name "VandenBroeck and Keller, Equation (6)"
(- (* PI l) (* (/ 1 (* F F)) (tan (* PI l)))))
Time bar (total: 27.7s)Debug log
| 135.0ms | (- (* PI l) (* (/ 1 (* F F)) (tan (* PI l)))) |
2 alts after pruning (2 fresh and 0 done)
Merged error: 7.8b
Found 4 expressions with local error:
| 7.6b | (/ (tan (* PI l)) (* F F)) |
| 2.6b | (tan (* PI l)) |
| 0.3b | (* PI l) |
| 0.3b | (* 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 |
| 7.0ms | (/ (tan (* PI l)) (* F F)) |
| 2.0ms | (tan (* PI l)) |
| 0.0ms | (* PI l) |
| 0.0ms | (* PI l) |
| 100.0ms | (/ (tan (* PI l)) (* F F)) |
| 45.0ms | (tan (* PI l)) |
| 37.0ms | (* PI l) |
| 37.0ms | (* PI l) |
| 395.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))))) |
| 279.0ms | (+ (* 2/15 (* (pow PI 5) (pow l 5))) (+ (* 1/3 (* (pow PI 3) (pow l 3))) (* PI l))) |
| 208.0ms | (/ (* (* (tan (* PI l)) (tan (* PI l))) (tan (* PI l))) (* (* (* F F) (* F F)) (* F F))) |
| 30.0ms | (- (log (tan (* PI l))) (log (* F F))) |
| 19.0ms | (/ (sin (* PI l)) (* (pow F 2) (cos (* PI l)))) |
12 alts after pruning (12 fresh and 0 done)
Merged error: 0.2b
Found 4 expressions with local error:
| 2.6b | (tan (* PI l)) |
| 0.3b | (* PI l) |
| 0.3b | (* PI l) |
| 0.2b | (/ (tan (* PI l)) F) |
| 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 |
| 5.0ms | (/ (tan (* PI l)) F) |
| 3.0ms | (tan (* PI l)) |
| 0.0ms | (* PI l) |
| 0.0ms | (* PI l) |
| 89.0ms | (/ (tan (* PI l)) F) |
| 50.0ms | (tan (* PI l)) |
| 49.0ms | (* PI l) |
| 48.0ms | (* PI l) |
| 247.0ms | (+ (* 2/15 (* (pow PI 5) (pow l 5))) (+ (* 1/3 (* (pow PI 3) (pow l 3))) (* PI l))) |
| 182.0ms | (+ (* 1/3 (/ (* (pow PI 3) (pow l 3)) F)) (+ (/ (* PI l) F) (* 2/15 (/ (* (pow PI 5) (pow l 5)) F)))) |
| 4.0ms | (* PI l) |
| 4.0ms | (/ (sin (* PI l)) (cos (* PI l))) |
| 4.0ms | (/ (sin (* PI l)) (cos (* PI l))) |
11 alts after pruning (11 fresh and 0 done)
Merged error: 0.2b
Found 4 expressions with local error:
| 2.6b | (tan (* PI l)) |
| 0.3b | (* PI l) |
| 0.3b | (* PI l) |
| 0.2b | (/ (tan (* PI l)) F) |
| 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 |
| 4.0ms | (/ (tan (* PI l)) F) |
| 2.0ms | (tan (* PI l)) |
| 0.0ms | (* PI l) |
| 0.0ms | (* PI l) |
| 94.0ms | (/ (tan (* PI l)) F) |
| 65.0ms | (tan (* PI l)) |
| 44.0ms | (* PI l) |
| 44.0ms | (* PI l) |
| 231.0ms | (+ (* 2/15 (* (pow PI 5) (pow l 5))) (+ (* 1/3 (* (pow PI 3) (pow l 3))) (* PI l))) |
| 167.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))) |
| 4.0ms | (* (cbrt (tan (* PI l))) (cbrt (tan (* PI l)))) |
| 4.0ms | (/ (sin (* PI l)) (cos (* PI l))) |
11 alts after pruning (10 fresh and 1 done)
Merged error: 0.2b
Found 4 expressions with local error:
| 2.6b | (tan (* PI l)) |
| 0.3b | (* PI l) |
| 0.3b | (* PI l) |
| 0.2b | (* (tan (* PI l)) (/ 1 F)) |
| 6× | add-cube-cbrt |
| 6× | add-exp-log |
| 6× | add-cbrt-cube |
| 6× | *-un-lft-identity |
| 6× | pow1 |
| 6× | add-sqr-sqrt |
| 4× | add-log-exp |
| 4× | associate-*r* |
| 3× | *-commutative |
| 3× | tan-quot |
| 3× | associate-*l* |
| 1× | div-inv |
| 1× | cbrt-unprod |
| 1× | un-div-inv |
| 1× | associate-*r/ |
| 1× | prod-exp |
| 1× | associate-*l/ |
| 1× | pow-prod-down |
| 1× | frac-times |
| 6.0ms | (* (tan (* PI l)) (/ 1 F)) |
| 2.0ms | (tan (* PI l)) |
| 0.0ms | (* PI l) |
| 0.0ms | (* PI l) |
| 106.0ms | (* (tan (* PI l)) (/ 1 F)) |
| 52.0ms | (tan (* PI l)) |
| 32.0ms | (* PI l) |
| 29.0ms | (* PI l) |
| 376.0ms | (* (* (* (tan (* PI l)) (tan (* PI l))) (tan (* PI l))) (* (* (/ 1 F) (/ 1 F)) (/ 1 F))) |
| 296.0ms | (+ (* 2/15 (* (pow PI 5) (pow l 5))) (+ (* 1/3 (* (pow PI 3) (pow l 3))) (* PI l))) |
| 144.0ms | (+ (* 1/3 (/ (* (pow PI 3) (pow l 3)) F)) (+ (/ (* PI l) F) (* 2/15 (/ (* (pow PI 5) (pow l 5)) F)))) |
| 24.0ms | (* (tan (* PI l)) (/ 1 F)) |
| 23.0ms | (+ (log (tan (* PI l))) (log (/ 1 F))) |
12 alts after pruning (10 fresh and 2 done)
Merged error: 0.2b
0% (0.2b remaining)
Error of 0.7b against oracle of 0.5b and baseline of 0.7b