Details

Time bar (total: 5.9s)

sample22.0ms

Algorithm
intervals
Results
9.0ms443×body80valid

simplify274.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))

rewrite124.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))
115.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

series60.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(+ (* x x) (* y y))
36.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

prune72.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.1b

localize12.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)))

rewrite865.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:
133.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))
494.0ms
(* (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))) (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))))
116.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
118.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))

series167.0ms

Counts
4 → 12
Calls
4 calls:
32.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))))
46.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
50.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))

simplify42.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
02211378
110031237
250011160

prune227.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)))

rewrite728.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:
470.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)))))
118.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
62.0ms
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
75.0ms
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))

series387.0ms

Counts
4 → 12
Calls
4 calls:
138.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)))))
52.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
98.0ms
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
98.0ms
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))

simplify52.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03741882
115211733
250021701

prune342.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (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)))

rewrite740.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
19×sqrt-prod
14×sqrt-div
12×add-cube-cbrt *-un-lft-identity
11×cbrt-prod
10×pow1 cbrt-div
flip3-+ associate-*r* flip-+
add-exp-log sqrt-pow1 associate-*l* add-cbrt-cube unswap-sqr
frac-times pow1/2 pow1/3 add-log-exp
pow-prod-down
associate-*r/ associate-*l/ pow-prod-up
rem-sqrt-square sqrt-unprod prod-exp *-commutative cbrt-unprod
Counts
4 → 86
Calls
4 calls:
497.0ms
(* (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))) (sqrt (cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))))
117.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
60.0ms
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
63.0ms
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))

series371.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(* (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))) (sqrt (cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))))
53.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
102.0ms
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
103.0ms
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))

simplify104.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 3 (88.0ms)

IterNodesCost
02931783
19021707
238541691
350011671

prune345.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0b

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

sample600.0ms

Algorithm
intervals
Results
297.0ms14173×body80valid