



Bits error versus a




Bits error versus b
| Original | 0.0 |
|---|---|
| Target | 0.0 |
| Herbie | 0.0 |
Initial program 0.0
Taylor expanded around -inf 0.0
Simplified0.0
Final simplification0.0
herbie shell --seed 2019007 +o rules:numerics
(FPCore (a b)
:name "Expression 4, p15"
:pre (and (<= 5 a 10) (<= 0 b 0.001))
:herbie-target
(+ (+ (+ (* b a) (* b b)) (* b a)) (* a a))
(* (+ a b) (+ a b)))
Time bar (total: 7.0s)Debug log
1 calls. Slowest were:
| 30.0ms | (* (+ a b) (+ a b)) |
1 alts after pruning (1 fresh and 0 done)
Merged error: 0.0b
Found 1 expressions with local error:
| 0.0b | (* (+ a b) (+ a b)) |
1 calls. Slowest were:
| 4.0ms | (* (+ a b) (+ a b)) |
1 calls. Slowest were:
| 15.0ms | (* (+ a b) (+ a b)) |
28 calls. Slowest were:
| 311.0ms | (* (- (* a a) (* b b)) (+ (pow a 3) (pow b 3))) |
| 299.0ms | (* (+ (* a a) (- (* b b) (* a b))) (+ (* a a) (- (* b b) (* a b)))) |
| 244.0ms | (* (+ (pow a 3) (pow b 3)) (+ (pow a 3) (pow b 3))) |
3 alts after pruning (3 fresh and 0 done)
Merged error: 0b
Found 1 expressions with local error:
| 0.0b | (fma (fma 2 a b) b (* a a)) |
1 calls. Slowest were:
| 0.0ms | (fma (fma 2 a b) b (* a a)) |
1 calls. Slowest were:
| 25.0ms | (fma (fma 2 a b) b (* a a)) |
3 calls. Slowest were:
| 85.0ms | (+ (pow a 2) (+ (pow b 2) (* 2 (* a b)))) |
| 51.0ms | (+ (pow a 2) (+ (pow b 2) (* 2 (* a b)))) |
| 48.0ms | (+ (pow a 2) (+ (pow b 2) (* 2 (* a b)))) |
3 alts after pruning (2 fresh and 1 done)
Merged error: 0b
Found 3 expressions with local error:
| 0.0b | (+ (* a (+ a b)) (* b (+ a b))) |
| 0.0b | (* a (+ a b)) |
| 0.0b | (* b (+ a b)) |
3 calls. Slowest were:
| 3.0ms | (+ (* a (+ a b)) (* b (+ a b))) |
| 1.0ms | (* a (+ a b)) |
| 1.0ms | (* b (+ a b)) |
3 calls. Slowest were:
| 14.0ms | (+ (* a (+ a b)) (* b (+ a b))) |
| 14.0ms | (* a (+ a b)) |
| 14.0ms | (* b (+ a b)) |
38 calls. Slowest were:
| 292.0ms | (* (+ (* a a) (- (* b b) (* a b))) (+ (* a a) (- (* b b) (* a b)))) |
| 190.0ms | (+ (* (* a (+ (pow a 3) (pow b 3))) (+ (* a a) (- (* b b) (* a b)))) (* (+ (* a a) (- (* b b) (* a b))) (* b (+ (pow a 3) (pow b 3))))) |
| 174.0ms | (* (- a b) (+ (* a a) (- (* b b) (* a b)))) |
3 alts after pruning (1 fresh and 2 done)
Merged error: 0b
Found 1 expressions with local error:
| 1.0b | (exp (+ (log (+ a b)) (log (+ a b)))) |
1 calls. Slowest were:
| 13.0ms | (exp (+ (log (+ a b)) (log (+ a b)))) |
1 calls. Slowest were:
| 11.0ms | (exp (+ (log (+ a b)) (log (+ a b)))) |
33 calls. Slowest were:
| 227.0ms | (exp (+ (log (+ a b)) (log (- (* a a) (* b b))))) |
| 109.0ms | (exp (+ (log (+ a b)) (log (+ (pow a 3) (pow b 3))))) |
| 79.0ms | (exp (log (- (* a a) (* b b)))) |
3 alts after pruning (0 fresh and 3 done)
Merged error: 0b
0% (0.0b remaining)
Error of 0.0b against oracle of 0.0b and baseline of 0.0b