


Bits error versus F



Bits error versus l
Results
Initial program 8.5
Simplified8.1
rmApplied associate-/r*0.7
rmApplied div-inv0.8
Final simplification0.8
herbie shell --seed 2019022
(FPCore (F l)
:name "VandenBroeck and Keller, Equation (6)"
(- (* PI l) (* (/ 1 (* F F)) (tan (* PI l)))))
Time bar (total: 27.4s)Debug log
| 498.0ms | 223× | body | 10240 | exit |
| 61.0ms | 289× | body | 80 | valid |
| 4.0ms | 9× | body | 160 | valid |
| 195.0ms | (- (* PI l) (* (/ 1 (* F F)) (tan (* PI l)))) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 7.3b
Found 4 expressions with local error:
| 7.0b | (/ (tan (* PI l)) (* F F)) |
| 4.2b | (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 |
| 7.0ms | (/ (tan (* PI l)) (* F F)) |
| 3.0ms | (tan (* PI l)) |
| 0.0ms | (* PI l) |
| 0.0ms | (* PI l) |
| 130.0ms | (/ (tan (* PI l)) (* F F)) |
| 63.0ms | (tan (* PI l)) |
| 41.0ms | (* PI l) |
| 27.0ms | (* PI l) |
| 398.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))))) |
| 228.0ms | (+ (* 2/15 (* (pow PI 5) (pow l 5))) (+ (* 1/3 (* (pow PI 3) (pow l 3))) (* PI l))) |
| 178.0ms | (/ (* (* (tan (* PI l)) (tan (* PI l))) (tan (* PI l))) (* (* (* F F) (* F F)) (* F F))) |
| 20.0ms | (- (log (tan (* PI l))) (log (* F F))) |
| 9.0ms | (/ (sin (* PI l)) (* (pow F 2) (cos (* PI l)))) |
10 alts after pruning (9 fresh and 1 done)
Merged error: 0.3b
Found 4 expressions with local error:
| 4.2b | (tan (* PI l)) |
| 0.2b | (* PI l) |
| 0.2b | (* 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) |
| 74.0ms | (/ (tan (* PI l)) F) |
| 52.0ms | (tan (* PI l)) |
| 37.0ms | (* PI l) |
| 25.0ms | (* PI l) |
| 276.0ms | (+ (* 2/15 (* (pow PI 5) (pow l 5))) (+ (* 1/3 (* (pow PI 3) (pow l 3))) (* PI l))) |
| 126.0ms | (+ (* 1/3 (/ (* (pow PI 3) (pow l 3)) F)) (+ (/ (* PI l) F) (* 2/15 (/ (* (pow PI 5) (pow l 5)) F)))) |
| 4.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))) |
12 alts after pruning (11 fresh and 1 done)
Merged error: 0.3b
Found 4 expressions with local error:
| 4.2b | (tan (* PI l)) |
| 0.2b | (* PI l) |
| 0.2b | (* 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) |
| 79.0ms | (/ (tan (* PI l)) F) |
| 41.0ms | (* PI l) |
| 37.0ms | (tan (* PI l)) |
| 28.0ms | (* PI l) |
| 245.0ms | (+ (* 2/15 (* (pow PI 5) (pow l 5))) (+ (* 1/3 (* (pow PI 3) (pow l 3))) (* PI l))) |
| 137.0ms | (+ (* 1/3 (/ (* (pow PI 3) (pow l 3)) F)) (+ (/ (* PI l) F) (* 2/15 (/ (* (pow PI 5) (pow l 5)) F)))) |
| 8.0ms | (/ (sin (* PI l)) (* F (cos (* PI l)))) |
| 6.0ms | (/ (sin (* PI l)) (* F (cos (* PI l)))) |
| 4.0ms | (/ (sin (* PI l)) (cos (* PI l))) |
11 alts after pruning (10 fresh and 1 done)
Merged error: 0.3b
Found 4 expressions with local error:
| 4.2b | (tan (* PI l)) |
| 0.3b | (* (tan (* PI l)) (/ 1 F)) |
| 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× | 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 |
| 7.0ms | (* (tan (* PI l)) (/ 1 F)) |
| 2.0ms | (tan (* PI l)) |
| 0.0ms | (* PI l) |
| 0.0ms | (* PI l) |
| 92.0ms | (* (tan (* PI l)) (/ 1 F)) |
| 49.0ms | (tan (* PI l)) |
| 44.0ms | (* PI l) |
| 31.0ms | (* PI l) |
| 355.0ms | (* (* (* (tan (* PI l)) (tan (* PI l))) (tan (* PI l))) (* (* (/ 1 F) (/ 1 F)) (/ 1 F))) |
| 209.0ms | (+ (* 2/15 (* (pow PI 5) (pow l 5))) (+ (* 1/3 (* (pow PI 3) (pow l 3))) (* PI l))) |
| 179.0ms | (+ (* 1/3 (/ (* (pow PI 3) (pow l 3)) F)) (+ (/ (* PI l) F) (* 2/15 (/ (* (pow PI 5) (pow l 5)) F)))) |
| 25.0ms | (+ (log (tan (* PI l))) (log (/ 1 F))) |
| 23.0ms | (* (tan (* PI l)) (/ 1 F)) |
13 alts after pruning (11 fresh and 2 done)
Merged error: 0.3b
0% (0.2b remaining)
Error of 0.8b against oracle of 0.6b and baseline of 0.8b
| 18.1s | 7639× | body | 10240 | exit |
| 1.9s | 8943× | body | 80 | valid |
| 128.0ms | 280× | body | 160 | valid |