Details

Time bar (total: 5.2s)

sample21.0ms

Algorithm
intervals
Results
9.0ms443×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

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite116.0ms

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

series70.0ms

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

simplify94.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0182246
1872207
23289192
35001192

prune64.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))
0.3b
(* (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))) (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))))
6.3b
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
6.3b
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))

rewrite815.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
16×sqrt-div
14×add-cube-cbrt *-un-lft-identity
13×add-log-exp
10×sqrt-pow1 pow1/2
flip3-+ flip-+
swap-sqr
add-exp-log associate-*r* associate-*l* sum-log add-cbrt-cube
pow-prod-up
frac-times unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square associate-*r/ associate-*l/
+-commutative pow2 associate-+l+ pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 101
Calls
4 calls:
120.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))
468.0ms
(* (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))) (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))))
112.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
112.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))

series182.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
02211378
110031237
250011160

prune217.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* (fabs (cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))) (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))) (sqrt (cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))))
6.3b
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
6.8b
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
6.8b
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))

rewrite673.0ms

Algorithm
rewrite-expression-head
Rules
14×sqrt-div
11×add-sqr-sqrt
10×pow1 add-cube-cbrt cbrt-div *-un-lft-identity
add-exp-log cbrt-prod flip3-+ associate-*r* sqrt-prod add-cbrt-cube flip-+
associate-*r/
frac-times add-log-exp
pow-prod-down prod-exp cbrt-unprod
pow1/3 associate-*l/
rem-sqrt-square sqrt-pow1 pow1/2 associate-*l* *-commutative
Counts
4 → 73
Calls
4 calls:
441.0ms
(* (* (fabs (cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))) (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))) (sqrt (cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))))
112.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
58.0ms
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
60.0ms
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))

series414.0ms

Counts
4 → 12
Calls
4 calls:
146.0ms
(* (* (fabs (cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))) (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))) (sqrt (cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))))
55.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
105.0ms
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
107.0ms
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))

simplify60.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
03741882
115211733
250021701

prune327.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

6.3b
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
6.8b
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
6.8b
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
6.8b
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))

rewrite286.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
cbrt-div
pow1
add-exp-log flip3-+ add-cbrt-cube flip-+ add-log-exp
pow1/3 sqrt-prod
sqrt-div
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 54
Calls
4 calls:
111.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
58.0ms
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
58.0ms
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
59.0ms
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))

series375.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
107.0ms
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
105.0ms
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
108.0ms
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))

simplify64.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (56.0ms)

IterNodesCost
0155853
1439794
21894779
35003778

prune247.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0b

regimes199.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
0107
1107

end0.0ms

sample591.0ms

Algorithm
intervals
Results
298.0ms14173×body80valid