Details

Time bar (total: 1.2s)

sample23.0ms

Algorithm
intervals
Results
6.0ms239×body80valid
1.0msbody640valid
1.0msbody1280valid
0.0msbody2560valid
0.0msbody320valid
0.0msbody160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
01489
11489

prune7.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 0.1b

Counts
2 → 1

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
*-un-lft-identity sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt associate-+r+ flip3-+ add-cbrt-cube flip-+ distribute-lft-out
Counts
1 → 14
Calls
1 calls:
7.0ms
(+ x (+ (* (+ x y) 2) z))

series6.0ms

Counts
1 → 3
Calls
1 calls:
6.0ms
(+ x (+ (* (+ x y) 2) z))

simplify36.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
05369207

prune24.0ms

Filtered
11 candidates to 17 candidates (-54.5%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New15217
Fresh000
Picked101
Done000
Total16218

Merged error: 0.0b

Counts
18 → 2

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite8.0ms

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

series11.0ms

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

simplify29.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
04846348
14846348

prune35.0ms

Filtered
22 candidates to 31 candidates (-40.9%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New30131
Fresh101
Picked011
Done000
Total31233

Merged error: 0.0b

Counts
33 → 2

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) (* (+ x y) -4))
0.0b
(+ x (* (+ x y) -2))
15.9b
(+ (* x x) (* (+ x y) (* (+ x y) -4)))
29.5b
(/ (+ (* x x) (* (+ x y) (* (+ x y) -4))) (+ x (* (+ x y) -2)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt add-cube-cbrt
11×add-exp-log add-cbrt-cube
10×flip3-+ flip-+
pow1 times-frac
associate-*l/ add-log-exp
frac-times associate-*l*
pow-prod-down prod-exp associate-/r* cbrt-unprod associate-/l*
+-commutative associate-*r/ sum-log associate-/r/ associate-/l/
cbrt-undiv frac-2neg div-exp associate-*r* clear-num *-commutative div-inv distribute-lft-out
Counts
4 → 80
Calls
4 calls:
9.0ms
(* (+ x y) (* (+ x y) -4))
3.0ms
(+ x (* (+ x y) -2))
4.0ms
(+ (* x x) (* (+ x y) (* (+ x y) -4)))
8.0ms
(/ (+ (* x x) (* (+ x y) (* (+ x y) -4))) (+ x (* (+ x y) -2)))

series32.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(* (+ x y) (* (+ x y) -4))
4.0ms
(+ x (* (+ x y) -2))
8.0ms
(+ (* x x) (* (+ x y) (* (+ x y) -4)))
15.0ms
(/ (+ (* x x) (* (+ x y) (* (+ x y) -4))) (+ x (* (+ x y) -2)))

simplify66.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
049021393
149021393

prune131.0ms

Filtered
70 candidates to 92 candidates (-31.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New90292
Fresh000
Picked011
Done101
Total91394

Merged error: 0.0b

Counts
94 → 3

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.0ms

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

series10.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
05388344

prune34.0ms

Filtered
23 candidates to 31 candidates (-34.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New30131
Fresh101
Picked011
Done011
Total31334

Merged error: 0.0b

Counts
34 → 3

regimes131.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0139
1139

end0.0ms

sample532.0ms

Algorithm
intervals
Results
207.0ms7428×body80valid
23.0ms166×body1280valid
19.0ms189×body640valid
9.0ms118×body320valid
6.0ms40×body2560valid
4.0ms73×body160valid

Profiling

Loading profile data...