Details

Time bar (total: 2.2s)

analyze66.0ms

Algorithm
search

sample19.0ms

Algorithm
intervals
Results
12.0ms256×body80valid

simplify277.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
1131834
1250014

prune6.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.1b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (+ (* x x) (* y y)) (* y y))
0.0b
(+ (* x x) (* 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:
5.0ms
(+ (+ (* x x) (* y y)) (* y y))
3.0ms
(+ (* x x) (* y y))
8.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

series19.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(+ (+ (* x x) (* y y)) (* y y))
5.0ms
(+ (* x x) (* y y))
7.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

simplify126.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (120.0ms)

IterNodesCost
0218352
11048312
24094291
35002280

prune61.0ms

Filtered
35 candidates to 47 candidates (-34.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New44347
Fresh000
Picked011
Done000
Total44448

Merged error: 0.1b

Counts
48 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.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:
8.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))
17.0ms
(* (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))) (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))))
6.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
6.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))

series30.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))
8.0ms
(* (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))) (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))))
8.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
8.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))

simplify47.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
02211378
110031237
250011160

prune111.0ms

Filtered
68 candidates to 113 candidates (-66.2%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1094113
Fresh022
Picked011
Done011
Total1098117

Merged error: 0.0b

Counts
117 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))) (sqrt (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))))
4.9b
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
4.9b
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
4.9b
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
75×sqrt-prod
52×add-sqr-sqrt
35×sqrt-pow1
30×pow1 sqrt-div
19×add-cube-cbrt *-un-lft-identity pow1/2
15×swap-sqr
flip3-+ associate-*r* associate-*l* pow-prod-up flip-+ unswap-sqr
add-exp-log add-cbrt-cube
pow-prod-down pow-sqr
frac-times add-log-exp
rem-sqrt-square
associate-*r/ associate-*l/
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 128
Calls
4 calls:
21.0ms
(* (sqrt (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))) (sqrt (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))))
6.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
6.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
7.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))

series32.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(* (sqrt (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))) (sqrt (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))))
8.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
8.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
8.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))

simplify56.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
02131782
18701660
250011613

prune120.0ms

Filtered
78 candidates to 140 candidates (-79.5%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1391140
Fresh055
Picked011
Done022
Total1399148

Merged error: 0.0b

Counts
148 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.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:
24.0ms
(* (pow (sqrt (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))) 3) (sqrt (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))))
9.0ms
(pow (sqrt (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))) 3)
7.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
6.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))

series61.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(* (pow (sqrt (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))) 3) (sqrt (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))))
35.0ms
(pow (sqrt (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))) 3)
8.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
11.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))

simplify91.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
04522795
121772411
250022189

prune142.0ms

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

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1603163
Fresh235
Picked101
Done033
Total1639172

Merged error: 0.0b

Counts
172 → 9

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

analyze67.0ms

Algorithm
search

sample363.0ms

Algorithm
intervals
Results
249.0ms8000×body80valid
0.0msbody80invalid

Profiling

Loading profile data...