



Bits error versus a1




Bits error versus a2




Bits error versus b1




Bits error versus b2
Results
| Original | 11.1 |
|---|---|
| Target | 11.2 |
| Herbie | 5.7 |
if (* b1 b2) < -3.06922008117946e+92 or -2.656558819306604e-164 < (* b1 b2) < 4.452037822227978e-180Initial program 18.4
rmApplied times-frac8.8
if -3.06922008117946e+92 < (* b1 b2) < -2.656558819306604e-164Initial program 3.3
rmApplied times-frac16.6
rmApplied associate-*l/15.8
rmApplied div-inv15.9
rmApplied associate-*r/12.1
Applied frac-times3.3
Simplified3.3
if 4.452037822227978e-180 < (* b1 b2) < 1.625112373520668e+281Initial program 4.8
rmApplied associate-/l*4.2
if 1.625112373520668e+281 < (* b1 b2) Initial program 21.2
rmApplied times-frac2.8
rmApplied associate-*l/3.5
Final simplification5.7
herbie shell --seed 2019004 +o rules:numerics
(FPCore (a1 a2 b1 b2)
:name "Quotient of products"
:herbie-target
(* (/ a1 b1) (/ a2 b2))
(/ (* a1 a2) (* b1 b2)))
Time bar (total: 5.3s)Debug log
1 calls. Slowest were:
| 31.0ms | (/ (* a1 a2) (* b1 b2)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 14.8b
Found 1 expressions with local error:
| 14.8b | (/ (* a1 a2) (* b1 b2)) |
1 calls. Slowest were:
| 3.0ms | (/ (* a1 a2) (* b1 b2)) |
1 calls. Slowest were:
| 24.0ms | (/ (* a1 a2) (* b1 b2)) |
7 calls. Slowest were:
| 166.0ms | (/ (* (* (* a1 a2) (* a1 a2)) (* a1 a2)) (* (* (* b1 b2) (* b1 b2)) (* b1 b2))) |
| 55.0ms | (- (log (* a1 a2)) (log (* b1 b2))) |
| 39.0ms | (/ (* a1 a2) (* b2 b1)) |
7 alts after pruning (7 fresh and 0 done)
Merged error: 0.1b
Found 1 expressions with local error:
| 9.6b | (* (/ a1 b1) (/ a2 b2)) |
1 calls. Slowest were:
| 3.0ms | (* (/ a1 b1) (/ a2 b2)) |
1 calls. Slowest were:
| 19.0ms | (* (/ a1 b1) (/ a2 b2)) |
15 calls. Slowest were:
| 417.0ms | (* (* (* (/ a1 b1) (/ a1 b1)) (/ a1 b1)) (* (* (/ a2 b2) (/ a2 b2)) (/ a2 b2))) |
| 58.0ms | (+ (log (/ a1 b1)) (log (/ a2 b2))) |
| 34.0ms | (/ (* a1 a2) (* b2 b1)) |
9 alts after pruning (8 fresh and 1 done)
Merged error: 0.0b
Found 2 expressions with local error:
| 7.7b | (/ (* a1 (/ a2 b2)) b1) |
| 4.0b | (* a1 (/ a2 b2)) |
2 calls. Slowest were:
| 3.0ms | (/ (* a1 (/ a2 b2)) b1) |
| 1.0ms | (* a1 (/ a2 b2)) |
2 calls. Slowest were:
| 20.0ms | (/ (* a1 (/ a2 b2)) b1) |
| 14.0ms | (* a1 (/ a2 b2)) |
11 calls. Slowest were:
| 24.0ms | (/ (* a1 a2) (* b2 b1)) |
| 17.0ms | (/ (* a1 a2) (* b2 b1)) |
| 17.0ms | (/ (* a1 a2) (* b2 b1)) |
10 alts after pruning (8 fresh and 2 done)
Merged error: 0b
Found 2 expressions with local error:
| 7.7b | (* (* a1 (/ a2 b2)) (/ 1 b1)) |
| 4.0b | (* a1 (/ a2 b2)) |
2 calls. Slowest were:
| 8.0ms | (* (* a1 (/ a2 b2)) (/ 1 b1)) |
| 2.0ms | (* a1 (/ a2 b2)) |
2 calls. Slowest were:
| 23.0ms | (* (* a1 (/ a2 b2)) (/ 1 b1)) |
| 12.0ms | (* a1 (/ a2 b2)) |
20 calls. Slowest were:
| 218.0ms | (* (* a1 (/ a2 b2)) (/ 1 b1)) |
| 116.0ms | (+ (log (* a1 (/ a2 b2))) (log (/ 1 b1))) |
| 115.0ms | (* (* (* (* a1 (/ a2 b2)) (* a1 (/ a2 b2))) (* a1 (/ a2 b2))) (* (* (/ 1 b1) (/ 1 b1)) (/ 1 b1))) |
10 alts after pruning (7 fresh and 3 done)
Merged error: 0b
49.5% (5.6b remaining)
Error of 5.7b against oracle of 0.0b and baseline of 11.2b