Details

Time bar (total: 1.8s)

analyze60.0ms

Algorithm
search

sample15.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

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

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

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

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

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

simplify130.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (125.0ms)

IterNodesCost
0218352
11048312
24094291
35002280

prune73.0ms

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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New40747
Fresh000
Picked101
Done000
Total41748

Merged error: 0.0b

Counts
48 → 7

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.0ms

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

series12.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0276338
11408275
25001242

prune63.0ms

Filtered
27 candidates to 36 candidates (-33.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New31536
Fresh516
Picked011
Done000
Total36743

Merged error: 0.0b

Counts
43 → 7

localize5.0ms

Local error

Found 1 expressions with local error:

0.2b
(* (* 3 y) y)

rewrite5.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:
5.0ms
(* (* 3 y) y)

series3.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
21 → 21
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
09572
146557
2224454
3500153

prune37.0ms

Filtered
11 candidates to 21 candidates (-90.9%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New18321
Fresh235
Picked011
Done011
Total20828

Merged error: 0b

Counts
28 → 8

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.5b
(sqrt (+ (+ (* x x) (* y y)) (* y (+ y y))))
8.5b
(sqrt (+ (+ (* x x) (* y y)) (* y (+ y y))))

rewrite43.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:
7.0ms
(+ (+ (* x x) (* y y)) (* y (+ y y)))
15.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* y (+ y y)))) (sqrt (+ (+ (* x x) (* y y)) (* y (+ y y)))))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y (+ y y))))
6.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y (+ y y))))

series33.0ms

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

simplify98.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
04433898
119063322
250023276

prune142.0ms

Filtered
95 candidates to 166 candidates (-74.7%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1660166
Fresh055
Picked011
Done022
Total1668174

Merged error: 0b

Counts
174 → 8

regimes194.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
0116
1116

end0.0ms

analyze61.0ms

Algorithm
search

sample335.0ms

Algorithm
intervals
Results
220.0ms8000×body80valid
0.0msbody80invalid

Profiling

Loading profile data...