Details

Time bar (total: 2.2s)

sample24.0ms

Algorithm
intervals
Results
7.0ms237×body80valid
1.0msbody640valid
1.0msbody1280valid
0.0msbody320valid
0.0msbody2560valid
0.0msbody160valid

simplify304.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
0205
1644
22034
33274
43394
53454
64134
75164
85614
97004
109094
1112714
1239074
1350014

prune9.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ (+ (+ x y) y) x) z)
0.0b
(+ (+ (+ (+ (+ x y) y) x) z) x)
0.0b
(+ (+ (+ x y) y) x)
0.0b
(+ (+ x y) y)

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity add-log-exp
34×sum-log distribute-lft-out
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt associate-+l+ flip3-+ add-cbrt-cube flip-+
Counts
4 → 72
Calls
4 calls:
12.0ms
(+ (+ (+ (+ x y) y) x) z)
16.0ms
(+ (+ (+ (+ (+ x y) y) x) z) x)
8.0ms
(+ (+ (+ x y) y) x)
6.0ms
(+ (+ x y) y)

series23.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ (+ (+ (+ x y) y) x) z)
6.0ms
(+ (+ (+ (+ (+ x y) y) x) z) x)
5.0ms
(+ (+ (+ x y) y) x)
6.0ms
(+ (+ x y) y)

simplify34.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0294435
11103400
25002386

prune78.0ms

Filtered
84 candidates to 49 candidates (41.7%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New79584
Fresh101
Picked011
Done000
Total80686

Merged error: 0.0b

Counts
86 → 6

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 2 (+ x y)) x)
0.0b
(+ (+ (* 2 (+ x y)) x) z)

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
*-un-lft-identity sum-log
associate-+l+
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt flip3-+ add-cbrt-cube flip-+
distribute-rgt-in distribute-lft-in distribute-lft-out
Counts
2 → 27
Calls
2 calls:
6.0ms
(+ (* 2 (+ x y)) x)
8.0ms
(+ (+ (* 2 (+ x y)) x) z)

series13.0ms

Counts
2 → 6
Calls
2 calls:
7.0ms
(+ (* 2 (+ x y)) x)
6.0ms
(+ (+ (* 2 (+ x y)) x) z)

simplify70.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0165183
1588174
22960170
35001170

prune52.0ms

Filtered
33 candidates to 23 candidates (30.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New30333
Fresh314
Picked011
Done101
Total34539

Merged error: 0.0b

Counts
39 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ (+ (+ x y) y) x)) (cbrt (+ (+ (+ x y) y) x)))
0.6b
(cbrt (+ (+ (+ x y) y) x))
0.6b
(cbrt (+ (+ (+ x y) y) x))
0.6b
(cbrt (+ (+ (+ x y) y) x))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
138×*-un-lft-identity
78×distribute-lft-out
70×cbrt-prod
23×add-sqr-sqrt
21×swap-sqr
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 associate-*r* associate-*l* flip-+
add-exp-log
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 117
Calls
4 calls:
20.0ms
(* (cbrt (+ (+ (+ x y) y) x)) (cbrt (+ (+ (+ x y) y) x)))
7.0ms
(cbrt (+ (+ (+ x y) y) x))
7.0ms
(cbrt (+ (+ (+ x y) y) x))
7.0ms
(cbrt (+ (+ (+ x y) y) x))

series141.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(* (cbrt (+ (+ (+ x y) y) x)) (cbrt (+ (+ (+ x y) y) x)))
31.0ms
(cbrt (+ (+ (+ x y) y) x))
32.0ms
(cbrt (+ (+ (+ x y) y) x))
35.0ms
(cbrt (+ (+ (+ x y) y) x))

simplify44.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
03041356
110201291
250021100

prune124.0ms

Filtered
129 candidates to 78 candidates (39.5%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1290129
Fresh033
Picked011
Done011
Total1295134

Merged error: 0.0b

Counts
134 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ (* 2 (+ x y)) x)) (cbrt (+ (* 2 (+ x y)) x)))
0.5b
(cbrt (+ (* 2 (+ x y)) x))
0.5b
(cbrt (+ (* 2 (+ x y)) x))
0.5b
(cbrt (+ (* 2 (+ x y)) x))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-+ pow1/3 flip-+
add-exp-log swap-sqr associate-*r* associate-*l*
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 87
Calls
4 calls:
15.0ms
(* (cbrt (+ (* 2 (+ x y)) x)) (cbrt (+ (* 2 (+ x y)) x)))
7.0ms
(cbrt (+ (* 2 (+ x y)) x))
5.0ms
(cbrt (+ (* 2 (+ x y)) x))
5.0ms
(cbrt (+ (* 2 (+ x y)) x))

series139.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(* (cbrt (+ (* 2 (+ x y)) x)) (cbrt (+ (* 2 (+ x y)) x)))
34.0ms
(cbrt (+ (* 2 (+ x y)) x))
32.0ms
(cbrt (+ (* 2 (+ x y)) x))
32.0ms
(cbrt (+ (* 2 (+ x y)) x))

simplify43.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03101085
110831020
25001949

prune224.0ms

Filtered
99 candidates to 75 candidates (24.2%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New98199
Fresh022
Picked011
Done022
Total986104

Merged error: 0.0b

Counts
104 → 6

regimes174.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0174
1194
2194

end0.0ms

sample532.0ms

Algorithm
intervals
Results
190.0ms7415×body80valid
21.0ms177×body1280valid
18.0ms188×body640valid
11.0ms119×body320valid
7.0ms46×body2560valid
3.0ms64×body160valid

Profiling

Loading profile data...