Details

Time bar (total: 2.3s)

sample21.0ms

Algorithm
intervals
Results
11.0ms469×body80valid

simplify269.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (4.0ms)

IterNodesCost
0137
1236
2354
3454
4544
5874
61564
72064
82194
93144
106444
1131974
1250014

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.0b
(+ (+ (* x x) (* y y)) (* y y))
0.1b
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
19×add-log-exp
10×sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ add-cbrt-cube flip-+
associate-+l+
Counts
3 → 38
Calls
3 calls:
4.0ms
(+ (* x x) (* y y))
5.0ms
(+ (+ (* x x) (* y y)) (* y y))
8.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

series99.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(+ (* x x) (* y y))
39.0ms
(+ (+ (* x x) (* y y)) (* y y))
34.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

simplify122.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (118.0ms)

IterNodesCost
0218352
11048312
24094291
35002280

prune107.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (pow x 2) (* y (+ y y)))
0.1b
(+ (+ (pow x 2) (* y (+ y y))) (* y y))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt associate-+r+ *-un-lft-identity flip3-+ add-cbrt-cube flip-+
distribute-rgt-in associate-+l+ distribute-lft-in
Counts
2 → 26
Calls
2 calls:
5.0ms
(+ (pow x 2) (* y (+ y y)))
7.0ms
(+ (+ (pow x 2) (* y (+ y y))) (* y y))

series72.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(+ (pow x 2) (* y (+ y y)))
39.0ms
(+ (+ (pow x 2) (* y (+ y y))) (* y y))

simplify137.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (134.0ms)

IterNodesCost
0176234
1797216
23779208
35001204

prune81.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (pow x 2) (* y (+ y y)))
0.1b
(+ (pow (+ (pow x 2) (* y (+ y y))) 1) (* y y))

rewrite12.0ms

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

series72.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(+ (pow x 2) (* y (+ y y)))
34.0ms
(+ (pow (+ (pow x 2) (* y (+ y y))) 1) (* y y))

simplify154.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0179232
1910206
24314202
35001202

prune81.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (pow x 2) (* (* 3 y) y))
0.2b
(* (* 3 y) y)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ associate-*l* sum-log *-commutative flip-+
Counts
2 → 29
Calls
2 calls:
4.0ms
(+ (pow x 2) (* (* 3 y) y))
5.0ms
(* (* 3 y) y)

series62.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(+ (pow x 2) (* (* 3 y) y))
27.0ms
(* (* 3 y) y)

simplify136.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (133.0ms)

IterNodesCost
0164157
1801141
24166138
35001137

prune62.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

regimes116.0ms

Accuracy

0% (0.1b 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
0166
1166

end0.0ms

sample578.0ms

Algorithm
intervals
Results
355.0ms14239×body80valid