



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 2018360
(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: 7.5s)Debug log
2 alts after pruning (2 fresh and 0 done)
Merged error: 0.3b
Found 3 expressions with local error:
| 0.3b | (+ (+ (+ (+ e d) c) b) a) |
| 0.2b | (+ (+ (+ e d) c) b) |
| 0.2b | (+ (+ e d) c) |
3 calls. Slowest were:
| 56.0ms | (+ (+ (+ (+ e d) c) b) a) |
| 21.0ms | (+ (+ (+ e d) c) b) |
| 2.0ms | (+ (+ e d) c) |
3 calls. Slowest were:
| 38.0ms | (+ (+ (+ (+ e d) c) b) a) |
| 30.0ms | (+ (+ (+ e d) c) b) |
| 16.0ms | (+ (+ e d) c) |
11 calls. Slowest were:
| 13.0ms | (+ e (+ c d)) |
| 13.0ms | (+ e (+ c d)) |
| 12.0ms | (+ b (+ c d)) |
10 alts after pruning (10 fresh and 0 done)
Merged error: 0b
Found 2 expressions with local error:
| 0.3b | (+ (+ (+ e d) (+ c b)) a) |
| 0.3b | (+ (+ e d) (+ c b)) |
2 calls. Slowest were:
| 28.0ms | (+ (+ (+ e d) (+ c b)) a) |
| 7.0ms | (+ (+ e d) (+ c b)) |
2 calls. Slowest were:
| 44.0ms | (+ (+ (+ e d) (+ c b)) a) |
| 26.0ms | (+ (+ e d) (+ c b)) |
17 calls. Slowest were:
| 436.0ms | (* (+ (* e e) (- (* d d) (* e d))) (+ (* c c) (- (* b b) (* c b)))) |
| 412.0ms | (* (+ (* e e) (- (* d d) (* e d))) (- c b)) |
| 412.0ms | (+ (* (+ (pow e 3) (pow d 3)) (- c b)) (* (+ (* e e) (- (* d d) (* e d))) (- (* c c) (* b b)))) |
8 alts after pruning (8 fresh and 0 done)
Merged error: 0b
Found 2 expressions with local error:
| 0.4b | (+ (+ e d) (+ (+ c b) a)) |
| 0.2b | (+ (+ c b) a) |
2 calls. Slowest were:
| 16.0ms | (+ (+ e d) (+ (+ c b) a)) |
| 5.0ms | (+ (+ c b) a) |
2 calls. Slowest were:
| 64.0ms | (+ (+ e d) (+ (+ c b) a)) |
| 19.0ms | (+ (+ c b) a) |
16 calls. Slowest were:
| 299.0ms | (* (- e d) (- (+ c b) a)) |
| 262.0ms | (+ (* (- (* e e) (* d d)) (+ (* (+ c b) (+ c b)) (- (* a a) (* (+ c b) a)))) (* (- e d) (+ (pow (+ c b) 3) (pow a 3)))) |
| 213.0ms | (* (exp (+ e d)) (exp (+ (+ c b) a))) |
7 alts after pruning (6 fresh and 1 done)
Merged error: 0b
Found 3 expressions with local error:
| 0.3b | (+ e (+ d (+ (+ c b) a))) |
| 0.2b | (+ (+ c b) a) |
| 0.2b | (+ d (+ (+ c b) a)) |
3 calls. Slowest were:
| 6.0ms | (+ e (+ d (+ (+ c b) a))) |
| 5.0ms | (+ d (+ (+ c b) a)) |
| 5.0ms | (+ (+ c b) a) |
3 calls. Slowest were:
| 62.0ms | (+ e (+ d (+ (+ c b) a))) |
| 21.0ms | (+ d (+ (+ c b) a)) |
| 14.0ms | (+ (+ c b) a) |
10 calls. Slowest were:
| 14.0ms | (+ a (+ b c)) |
| 13.0ms | (+ b (+ c d)) |
| 12.0ms | (+ a (+ b c)) |
7 alts after pruning (5 fresh and 2 done)
Merged error: 0b
0% (0.2b remaining)
Error of 0.2b against oracle of 0.0b and baseline of 0.2b