



Bits error versus a




Bits error versus b




Bits error versus c




Bits error versus d




Bits error versus e
Results
| Original | 0.4 |
|---|---|
| Target | 0.2 |
| Herbie | 0.2 |
Initial program 0.4
rmApplied associate-+l+0.3
rmApplied associate-+l+0.3
rmApplied associate-+l+0.2
Final simplification0.2
herbie shell --seed 2019002 +o rules:numerics
(FPCore (a b c d e)
:name "Expression 1, p15"
:pre (<= 1 a 2 b 4 c 8 d 16 e 32)
:herbie-target
(+ (+ d (+ c (+ a b))) e)
(+ (+ (+ (+ e d) c) b) a))
Time bar (total: 8.9s)Debug log
1 calls. Slowest were:
| 173.0ms | (+ (+ (+ (+ e d) c) b) a) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0.4b
Found 3 expressions with local error:
| 0.3b | (+ (+ (+ e d) c) b) |
| 0.3b | (+ (+ (+ (+ e d) c) b) a) |
| 0.2b | (+ (+ e d) c) |
3 calls. Slowest were:
| 82.0ms | (+ (+ (+ (+ e d) c) b) a) |
| 21.0ms | (+ (+ (+ e d) c) b) |
| 5.0ms | (+ (+ e d) c) |
3 calls. Slowest were:
| 45.0ms | (+ (+ (+ (+ e d) c) b) a) |
| 28.0ms | (+ (+ (+ e d) c) b) |
| 11.0ms | (+ (+ e d) c) |
17 calls. Slowest were:
| 35.0ms | (sqrt (+ (+ (+ e d) c) b)) |
| 27.0ms | (* (cbrt (+ (+ (+ e d) c) b)) (cbrt (+ (+ (+ e d) c) b))) |
| 12.0ms | (+ (+ e d) c) |
9 alts after pruning (9 fresh and 0 done)
Merged error: 0b
Found 2 expressions with local error:
| 0.3b | (+ (+ (+ e d) (+ c b)) a) |
| 0.2b | (+ (+ e d) (+ c b)) |
2 calls. Slowest were:
| 31.0ms | (+ (+ (+ e d) (+ c b)) a) |
| 6.0ms | (+ (+ e d) (+ c b)) |
2 calls. Slowest were:
| 37.0ms | (+ (+ (+ e d) (+ c b)) a) |
| 20.0ms | (+ (+ e d) (+ c b)) |
21 calls. Slowest were:
| 498.0ms | (+ (* (- (* e e) (* d d)) (- c b)) (* (- e d) (- (* c c) (* b b)))) |
| 451.0ms | (+ (* (+ (pow e 3) (pow d 3)) (- c b)) (* (+ (* e e) (- (* d d) (* e d))) (- (* c c) (* b b)))) |
| 392.0ms | (* (+ (* e e) (- (* d d) (* e d))) (+ (* c c) (- (* b b) (* c b)))) |
7 alts after pruning (7 fresh and 0 done)
Merged error: 0b
Found 2 expressions with local error:
| 0.2b | (+ (+ c b) a) |
| 0.2b | (+ (+ e d) (+ (+ c b) a)) |
2 calls. Slowest were:
| 9.0ms | (+ (+ e d) (+ (+ c b) a)) |
| 3.0ms | (+ (+ c b) a) |
2 calls. Slowest were:
| 48.0ms | (+ (+ e d) (+ (+ c b) a)) |
| 10.0ms | (+ (+ c b) a) |
20 calls. Slowest were:
| 312.0ms | (* (+ (* e e) (- (* d d) (* e d))) (- (+ c b) a)) |
| 278.0ms | (+ (* (+ (pow e 3) (pow d 3)) (+ (* (+ c b) (+ c b)) (- (* a a) (* (+ c b) a)))) (* (+ (* e e) (- (* d d) (* e d))) (+ (pow (+ c b) 3) (pow a 3)))) |
| 275.0ms | (+ (* (- (* e e) (* d d)) (+ (* (+ c b) (+ c b)) (- (* a a) (* (+ c b) a)))) (* (- e d) (+ (pow (+ c b) 3) (pow a 3)))) |
5 alts after pruning (5 fresh and 0 done)
Merged error: 0b
Found 3 expressions with local error:
| 0.2b | (+ (+ c b) a) |
| 0.2b | (+ e (+ d (+ (+ c b) a))) |
| 0.2b | (+ d (+ (+ c b) a)) |
3 calls. Slowest were:
| 3.0ms | (+ e (+ d (+ (+ c b) a))) |
| 3.0ms | (+ d (+ (+ c b) a)) |
| 3.0ms | (+ (+ c b) a) |
3 calls. Slowest were:
| 57.0ms | (+ e (+ d (+ (+ c b) a))) |
| 33.0ms | (+ d (+ (+ c b) a)) |
| 11.0ms | (+ (+ c b) a) |
12 calls. Slowest were:
| 15.0ms | (+ a (+ b c)) |
| 13.0ms | (+ a (+ b c)) |
| 13.0ms | (+ a (+ b c)) |
5 alts after pruning (4 fresh and 1 done)
Merged error: 0b
0% (0.2b remaining)
Error of 0.2b against oracle of 0.0b and baseline of 0.2b