Details

Time bar (total: 2.5s)

sample22.0ms

Algorithm
intervals
Results
10.0ms497×body80valid

simplify271.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

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite144.0ms

Algorithm
rewrite-expression-head
Rules
16×add-log-exp
sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt associate-+l+ *-un-lft-identity flip3-+ add-cbrt-cube flip-+
Counts
2 → 27
Calls
2 calls:
29.0ms
(+ (+ (* x x) (* y y)) (* y y))
113.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

series63.0ms

Counts
2 → 6
Calls
2 calls:
32.0ms
(+ (+ (* x x) (* y y)) (* y y))
32.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

simplify106.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 3 (102.0ms)

IterNodesCost
0166282
1781246
23541225
35001214

prune71.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 1 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
flip3-+ flip-+
associate-*r/ frac-add
sum-log
associate-+r+
pow1 add-exp-log +-commutative distribute-rgt-in add-sqr-sqrt add-cube-cbrt associate-+l+ *-un-lft-identity distribute-lft-in add-cbrt-cube
Counts
1 → 19
Calls
1 calls:
32.0ms
(+ (+ (* x x) (* y y)) (* y (+ y y)))

series35.0ms

Counts
1 → 3
Calls
1 calls:
35.0ms
(+ (+ (* x x) (* y y)) (* y (+ y y)))

simplify51.0ms

Algorithm
egg-herbie
Counts
22 → 22
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0264268
11301209
25002176

prune50.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize5.0ms

Local error

Found 1 expressions with local error:

0.1b
(* (* 3 y) y)

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
associate-*r* pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*l* *-commutative add-log-exp
Counts
1 → 18
Calls
1 calls:
18.0ms
(* (* 3 y) y)

series23.0ms

Counts
1 → 3
Calls
1 calls:
23.0ms
(* (* 3 y) y)

simplify57.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
09568
146557
2224454
3500153

prune31.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (+ (* x x) (* y y)) (* y (+ y y)))
0.2b
(* (sqrt (+ (+ (* x x) (* y y)) (* y (+ y y)))) (sqrt (+ (+ (* x x) (* y y)) (* y (+ y y)))))
8.3b
(sqrt (+ (+ (* x x) (* y y)) (* y (+ y y))))
8.3b
(sqrt (+ (+ (* x x) (* y y)) (* y (+ y y))))

rewrite257.0ms

Algorithm
rewrite-expression-head
Rules
96×sqrt-div
85×flip3-+ flip-+
74×associate-*r/
68×frac-add
36×frac-times
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
add-log-exp
swap-sqr
add-exp-log associate-*r* associate-*l* associate-*l/ add-cbrt-cube
pow-prod-up
unswap-sqr
pow-prod-down sum-log pow-sqr
rem-sqrt-square associate-+r+
+-commutative pow2 distribute-rgt-in associate-+l+ distribute-lft-in pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 154
Calls
4 calls:
31.0ms
(+ (+ (* x x) (* y y)) (* y (+ y y)))
150.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* y (+ y y)))) (sqrt (+ (+ (* x x) (* y y)) (* y (+ y y)))))
31.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y (+ y y))))
35.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y (+ y y))))

series170.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(+ (+ (* x x) (* y y)) (* y (+ y y)))
39.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* y (+ y y)))) (sqrt (+ (+ (* x x) (* y y)) (* y (+ y y)))))
46.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y (+ y y))))
51.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y (+ y y))))

simplify103.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
04433898
119063322
250023276

prune348.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes50.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
0104
1104

end0.0ms

sample586.0ms

Algorithm
intervals
Results
305.0ms14127×body80valid