Details

Time bar (total: 1.6s)

sample22.0ms

Algorithm
intervals
Results
9.0ms438×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
063
163

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize4.0ms

Local error

Found 1 expressions with local error:

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

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ sum-log add-cbrt-cube flip-+
Counts
1 → 11
Calls
1 calls:
3.0ms
(+ (* x x) (* y y))

series6.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
14 → 14
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
010177
146566
2124066
3500166

prune23.0ms

Filtered
11 candidates to 14 candidates (-27.3%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New13114
Fresh000
Picked011
Done000
Total13215

Merged error: 0.0b

Counts
15 → 2

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.0b
(* (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))))
8.2b
(sqrt (+ (* x x) (* y y)))
8.2b
(sqrt (+ (* x x) (* y y)))

rewrite23.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
10×sqrt-pow1 pow1/2
flip3-+ flip-+
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-up
frac-times unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square associate-*r/ associate-*l/
+-commutative pow2 pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 98
Calls
4 calls:
4.0ms
(+ (* x x) (* y y))
10.0ms
(* (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))))
3.0ms
(sqrt (+ (* x x) (* y y)))
3.0ms
(sqrt (+ (* x x) (* y y)))

series22.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(+ (* x x) (* y y))
5.0ms
(* (sqrt (+ (* x x) (* y y))) (sqrt (+ (* x x) (* y y))))
5.0ms
(sqrt (+ (* x x) (* y y)))
6.0ms
(sqrt (+ (* x x) (* y y)))

simplify213.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0198720
1892654
24766634
35001634

prune79.0ms

Filtered
65 candidates to 110 candidates (-69.2%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1091110
Fresh000
Picked011
Done011
Total1093112

Merged error: 0b

Counts
112 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (pow (sqrt (sqrt (+ (* x x) (* y y)))) 3) (sqrt (sqrt (+ (* x x) (* y y)))))
0.6b
(pow (sqrt (sqrt (+ (* x x) (* y y)))) 3)
8.2b
(sqrt (+ (* x x) (* y y)))
8.2b
(sqrt (+ (* x x) (* y y)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
93×sqrt-prod
70×add-sqr-sqrt
32×sqrt-div
27×unpow-prod-down cube-prod
24×associate-*l* unswap-sqr
23×add-cube-cbrt *-un-lft-identity
10×pow1 add-exp-log
flip3-+ associate-*r* flip-+
cube-div
add-cbrt-cube
sqrt-pow1
pow-pow sqr-pow
frac-times pow1/2 add-log-exp
pow-unpow prod-exp
cube-mult pow-to-exp rem-sqrt-square unpow3 associate-*r/ associate-*l/ pow-exp
pow-plus *-commutative pow-prod-up sqrt-pow2 cbrt-unprod rem-cube-cbrt
Counts
4 → 151
Calls
4 calls:
16.0ms
(* (pow (sqrt (sqrt (+ (* x x) (* y y)))) 3) (sqrt (sqrt (+ (* x x) (* y y)))))
6.0ms
(pow (sqrt (sqrt (+ (* x x) (* y y)))) 3)
4.0ms
(sqrt (+ (* x x) (* y y)))
3.0ms
(sqrt (+ (* x x) (* y y)))

series48.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(* (pow (sqrt (sqrt (+ (* x x) (* y y)))) 3) (sqrt (sqrt (+ (* x x) (* y y)))))
28.0ms
(pow (sqrt (sqrt (+ (* x x) (* y y)))) 3)
6.0ms
(sqrt (+ (* x x) (* y y)))
9.0ms
(sqrt (+ (* x x) (* y y)))

simplify73.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
04221696
119781401
250011250

prune127.0ms

Filtered
84 candidates to 163 candidates (-94.0%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1630163
Fresh000
Picked011
Done022
Total1633166

Merged error: 0b

Counts
166 → 3

regimes175.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
063
163

end0.0ms

sample636.0ms

Algorithm
intervals
Results
299.0ms14124×body80valid

Profiling

Loading profile data...