Details

Time bar (total: 2.8s)

sample22.0ms

Algorithm
intervals
Results
6.0ms256×pre80true
5.0ms256×body80valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0194
1584
21784
33514
44014
54014

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

localize6.0ms

Local error

Found 3 expressions with local error:

0.2b
(+ (+ (+ e d) c) b)
0.3b
(+ (+ e d) c)
0.3b
(+ (+ (+ (+ e d) c) b) a)

rewrite379.0ms

Algorithm
rewrite-expression-head
Rules
50×*-un-lft-identity
31×add-log-exp
29×distribute-lft-out
19×sum-log
15×fma-def
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log +-commutative expm1-log1p-u associate-+l+ flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
Counts
3 → 72
Calls
3 calls:
68.0ms
(+ (+ (+ e d) c) b)
15.0ms
(+ (+ e d) c)
294.0ms
(+ (+ (+ (+ e d) c) b) a)

series93.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(+ (+ (+ e d) c) b)
14.0ms
(+ (+ e d) c)
51.0ms
(+ (+ (+ (+ e d) c) b) a)

simplify30.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0249295
11063283
25002283

prune164.0ms

Filtered
81 candidates to 54 candidates (66.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.2b
(+ d (+ e c))
0.2b
(+ (* 1 (+ d (+ e c))) b)
0.3b
(+ (+ (* 1 (+ d (+ e c))) b) a)

rewrite86.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
15×add-log-exp
fma-def distribute-lft-out
sum-log
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log +-commutative expm1-log1p-u associate-+l+ flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
distribute-rgt-in associate-+r+ distribute-lft-in
Counts
3 → 58
Calls
3 calls:
8.0ms
(+ d (+ e c))
9.0ms
(+ (* 1 (+ d (+ e c))) b)
68.0ms
(+ (+ (* 1 (+ d (+ e c))) b) a)

series94.0ms

Counts
3 → 9
Calls
3 calls:
15.0ms
(+ d (+ e c))
30.0ms
(+ (* 1 (+ d (+ e c))) b)
50.0ms
(+ (+ (* 1 (+ d (+ e c))) b) a)

simplify35.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0283295
11454270
25001270

prune164.0ms

Filtered
67 candidates to 54 candidates (80.6%)
Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.2b
(+ d (+ e c))
0.3b
(+ (* 1 (+ d (+ e c))) (+ b a))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
12×add-log-exp
11×*-un-lft-identity
flip3-+ sum-log flip-+ distribute-lft-out
fma-def associate-*r/ frac-add
add-sqr-sqrt add-cube-cbrt
pow1 add-exp-log +-commutative expm1-log1p-u associate-+l+ associate-+r+ add-cbrt-cube log1p-expm1-u
distribute-rgt-in distribute-lft-in
Counts
2 → 44
Calls
2 calls:
7.0ms
(+ d (+ e c))
15.0ms
(+ (* 1 (+ d (+ e c))) (+ b a))

series66.0ms

Counts
2 → 6
Calls
2 calls:
17.0ms
(+ d (+ e c))
48.0ms
(+ (* 1 (+ d (+ e c))) (+ b a))

simplify47.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0367307
12071277
25001277

prune129.0ms

Filtered
50 candidates to 39 candidates (78.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(- (* d d) (* (+ e c) (+ e c)))
0.3b
(/ (- (* d d) (* (+ e c) (+ e c))) (- d (+ e c)))
0.5b
(- d (+ e c))
0.5b
(* (+ e c) (+ e c))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
78×*-un-lft-identity
42×add-sqr-sqrt
28×add-cube-cbrt
24×times-frac
15×distribute-lft-out
14×difference-of-squares
13×prod-diff
12×distribute-lft-out--
11×pow1 add-log-exp
add-exp-log add-cbrt-cube
flip3-+ swap-sqr associate-/r* flip-+
expm1-log1p-u frac-times flip3-- fma-neg associate-*r* associate-*l* flip-- log1p-expm1-u associate-/l*
diff-log associate--r+
distribute-rgt-in sub-neg distribute-lft-in associate-*r/ associate-*l/ associate-/r/ associate-/l/
cbrt-undiv pow2 frac-2neg pow-plus div-sub div-exp pow-prod-down prod-exp clear-num sum-log pow-sqr *-commutative pow-prod-up cbrt-unprod div-inv unswap-sqr
Counts
4 → 148
Calls
4 calls:
3.0ms
(- (* d d) (* (+ e c) (+ e c)))
20.0ms
(/ (- (* d d) (* (+ e c) (+ e c))) (- d (+ e c)))
9.0ms
(- d (+ e c))
16.0ms
(* (+ e c) (+ e c))

series140.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(- (* d d) (* (+ e c) (+ e c)))
52.0ms
(/ (- (* d d) (* (+ e c) (+ e c))) (- d (+ e c)))
15.0ms
(- d (+ e c))
17.0ms
(* (+ e c) (+ e c))

simplify83.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
05461310
125881103
250031075

prune316.0ms

Filtered
160 candidates to 98 candidates (61.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

regimes264.0ms

Accuracy

0% (0.5b remaining)

Error of 0.5b against oracle of 0.0b and baseline of 0.5b

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12310
22310

end0.0ms

sample570.0ms

Algorithm
intervals
Results
191.0ms8000×pre80true
164.0ms8000×body80valid