



Bits error versus a1




Bits error versus a2




Bits error versus b1




Bits error versus b2
Results
| Original | 10.4 |
|---|---|
| Target | 10.9 |
| Herbie | 7.6 |
if (* a1 a2) < -4.329455158949287e-189Initial program 9.0
rmApplied associate-/r*9.5
if -4.329455158949287e-189 < (* a1 a2) < 1.0265589641605737e-245Initial program 14.2
rmApplied associate-/r*15.3
rmApplied clear-num15.6
rmApplied associate-/r*8.5
if 1.0265589641605737e-245 < (* a1 a2) < 6.654002524214254e+203Initial program 4.6
rmApplied associate-/r*4.6
rmApplied clear-num4.8
rmApplied associate-/r/4.6
Applied associate-/l*4.5
if 6.654002524214254e+203 < (* a1 a2) Initial program 34.0
rmApplied associate-/r*33.6
rmApplied clear-num33.7
rmApplied associate-/r*17.6
rmApplied associate-/r/17.7
Applied associate-/l*9.5
Simplified9.3
Final simplification7.6
herbie shell --seed 2019002
(FPCore (a1 a2 b1 b2)
:name "Quotient of products"
:herbie-target
(* (/ a1 b1) (/ a2 b2))
(/ (* a1 a2) (* b1 b2)))
Time bar (total: 5.4s)Debug log
1 calls. Slowest were:
| 24.0ms | (/ (* a1 a2) (* b1 b2)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 10.7b
Found 1 expressions with local error:
| 10.7b | (/ (* a1 a2) (* b1 b2)) |
1 calls. Slowest were:
| 5.0ms | (/ (* a1 a2) (* b1 b2)) |
1 calls. Slowest were:
| 26.0ms | (/ (* a1 a2) (* b1 b2)) |
7 calls. Slowest were:
| 148.0ms | (/ (* (* (* a1 a2) (* a1 a2)) (* a1 a2)) (* (* (* b1 b2) (* b1 b2)) (* b1 b2))) |
| 49.0ms | (- (log (* a1 a2)) (log (* b1 b2))) |
| 30.0ms | (/ (* a1 a2) (* b2 b1)) |
6 alts after pruning (6 fresh and 0 done)
Merged error: 0.1b
Found 2 expressions with local error:
| 5.2b | (/ (* a1 a2) b1) |
| 4.9b | (/ (/ (* a1 a2) b1) b2) |
2 calls. Slowest were:
| 9.0ms | (/ (/ (* a1 a2) b1) b2) |
| 4.0ms | (/ (* a1 a2) b1) |
2 calls. Slowest were:
| 28.0ms | (/ (/ (* a1 a2) b1) b2) |
| 22.0ms | (/ (* a1 a2) b1) |
10 calls. Slowest were:
| 34.0ms | (/ (* a1 a2) (* b2 b1)) |
| 30.0ms | (/ (* a1 a2) (* b2 b1)) |
| 18.0ms | (/ (* a1 a2) (* b2 b1)) |
9 alts after pruning (8 fresh and 1 done)
Merged error: 0.0b
Found 3 expressions with local error:
| 5.3b | (/ b1 (* a1 a2)) |
| 4.9b | (/ (/ 1 (/ b1 (* a1 a2))) b2) |
| 0.4b | (/ 1 (/ b1 (* a1 a2))) |
3 calls. Slowest were:
| 5.0ms | (/ (/ 1 (/ b1 (* a1 a2))) b2) |
| 1.0ms | (/ 1 (/ b1 (* a1 a2))) |
| 1.0ms | (/ b1 (* a1 a2)) |
3 calls. Slowest were:
| 22.0ms | (/ (/ 1 (/ b1 (* a1 a2))) b2) |
| 22.0ms | (/ b1 (* a1 a2)) |
| 16.0ms | (/ 1 (/ b1 (* a1 a2))) |
18 calls. Slowest were:
| 50.0ms | (* (cbrt (/ 1 (/ b1 (* a1 a2)))) (cbrt (/ 1 (/ b1 (* a1 a2))))) |
| 45.0ms | (sqrt (/ 1 (/ b1 (* a1 a2)))) |
| 25.0ms | (/ (* a1 a2) (* b2 b1)) |
8 alts after pruning (6 fresh and 2 done)
Merged error: 0.0b
Found 3 expressions with local error:
| 5.5b | (/ (/ b1 a1) a2) |
| 4.9b | (/ (/ 1 (/ (/ b1 a1) a2)) b2) |
| 0.4b | (/ 1 (/ (/ b1 a1) a2)) |
3 calls. Slowest were:
| 4.0ms | (/ (/ b1 a1) a2) |
| 3.0ms | (/ (/ 1 (/ (/ b1 a1) a2)) b2) |
| 1.0ms | (/ 1 (/ (/ b1 a1) a2)) |
3 calls. Slowest were:
| 19.0ms | (/ (/ 1 (/ (/ b1 a1) a2)) b2) |
| 17.0ms | (/ 1 (/ (/ b1 a1) a2)) |
| 16.0ms | (/ (/ b1 a1) a2) |
19 calls. Slowest were:
| 49.0ms | (* (cbrt (/ 1 (/ (/ b1 a1) a2))) (cbrt (/ 1 (/ (/ b1 a1) a2)))) |
| 48.0ms | (sqrt (/ 1 (/ (/ b1 a1) a2))) |
| 18.0ms | (/ (* a1 a2) (* b2 b1)) |
10 alts after pruning (7 fresh and 3 done)
Merged error: 0.0b
30.4% (7.5b remaining)
Error of 7.6b against oracle of 0.0b and baseline of 10.9b