



Bits error versus a1




Bits error versus a2




Bits error versus b1




Bits error versus b2
Results
| Original | 11.1 |
|---|---|
| Target | 10.7 |
| Herbie | 4.5 |
if (/ (* a1 a2) (* b1 b2)) < -8.8931816251424e-323Initial program 6.8
rmApplied associate-/l*9.4
if -8.8931816251424e-323 < (/ (* a1 a2) (* b1 b2)) < 0.0 or 2.0721738123330987e+287 < (/ (* a1 a2) (* b1 b2)) Initial program 22.4
rmApplied times-frac3.3
if 0.0 < (/ (* a1 a2) (* b1 b2)) < 2.0721738123330987e+287Initial program 0.8
Final simplification4.5
herbie shell --seed 2019007
(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:
| 37.0ms | (/ (* a1 a2) (* b1 b2)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 11.0b
Found 1 expressions with local error:
| 11.0b | (/ (* a1 a2) (* b1 b2)) |
1 calls. Slowest were:
| 5.0ms | (/ (* a1 a2) (* b1 b2)) |
1 calls. Slowest were:
| 34.0ms | (/ (* a1 a2) (* b1 b2)) |
7 calls. Slowest were:
| 164.0ms | (/ (* (* (* a1 a2) (* a1 a2)) (* a1 a2)) (* (* (* b1 b2) (* b1 b2)) (* b1 b2))) |
| 67.0ms | (- (log (* a1 a2)) (log (* b1 b2))) |
| 37.0ms | (/ (* a1 a2) (* b2 b1)) |
6 alts after pruning (5 fresh and 1 done)
Merged error: 0.1b
Found 1 expressions with local error:
| 9.8b | (* (/ a1 b1) (/ a2 b2)) |
1 calls. Slowest were:
| 6.0ms | (* (/ a1 b1) (/ a2 b2)) |
1 calls. Slowest were:
| 32.0ms | (* (/ a1 b1) (/ a2 b2)) |
15 calls. Slowest were:
| 392.0ms | (* (* (* (/ a1 b1) (/ a1 b1)) (/ a1 b1)) (* (* (/ a2 b2) (/ a2 b2)) (/ a2 b2))) |
| 62.0ms | (+ (log (/ a1 b1)) (log (/ a2 b2))) |
| 39.0ms | (/ (* a1 a2) (* b2 b1)) |
9 alts after pruning (7 fresh and 2 done)
Merged error: 0.0b
Found 2 expressions with local error:
| 5.0b | (* a1 (* (/ 1 b1) (/ a2 b2))) |
| 4.7b | (* (/ 1 b1) (/ a2 b2)) |
2 calls. Slowest were:
| 6.0ms | (* (/ 1 b1) (/ a2 b2)) |
| 6.0ms | (* a1 (* (/ 1 b1) (/ a2 b2))) |
2 calls. Slowest were:
| 25.0ms | (* a1 (* (/ 1 b1) (/ a2 b2))) |
| 12.0ms | (* (/ 1 b1) (/ a2 b2)) |
20 calls. Slowest were:
| 719.0ms | (* (* (* (/ 1 b1) (/ 1 b1)) (/ 1 b1)) (* (* (/ a2 b2) (/ a2 b2)) (/ a2 b2))) |
| 65.0ms | (+ (log (/ 1 b1)) (log (/ a2 b2))) |
| 38.0ms | (/ (* a1 a2) (* b2 b1)) |
8 alts after pruning (5 fresh and 3 done)
Merged error: 0b
Found 2 expressions with local error:
| 7.6b | (/ (* a1 (/ a2 b2)) b1) |
| 3.6b | (* a1 (/ a2 b2)) |
2 calls. Slowest were:
| 3.0ms | (/ (* a1 (/ a2 b2)) b1) |
| 1.0ms | (* a1 (/ a2 b2)) |
2 calls. Slowest were:
| 21.0ms | (* a1 (/ a2 b2)) |
| 20.0ms | (/ (* a1 (/ a2 b2)) b1) |
11 calls. Slowest were:
| 34.0ms | (/ (* a1 a2) (* b2 b1)) |
| 32.0ms | (/ (* a1 a2) (* b2 b1)) |
| 19.0ms | (/ (* a1 a2) (* b2 b1)) |
8 alts after pruning (4 fresh and 4 done)
Merged error: 0b
56.6% (4.5b remaining)
Error of 4.5b against oracle of 0.0b and baseline of 10.4b