Details

Time bar (total: 2.6s)

sample19.0ms

Algorithm
intervals
Results
9.0ms441×body80valid

simplify297.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
0137
1236
2354
3454
4544
5874
61564
72064
82194
93124
106404
1131804
1250014

prune5.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite93.0ms

Algorithm
rewrite-expression-head
Rules
137×*-un-lft-identity
86×distribute-lft-out
54×associate-*l*
19×add-log-exp
10×sum-log
swap-sqr
associate-+l+
+-commutative
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt flip3-+ add-cbrt-cube flip-+
Counts
3 → 81
Calls
3 calls:
16.0ms
(+ (* x x) (* y y))
26.0ms
(+ (+ (* x x) (* y y)) (* y y))
44.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

series110.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(+ (* x x) (* y y))
37.0ms
(+ (+ (* x x) (* y y)) (* y y))
39.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

simplify133.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 3 (125.0ms)

IterNodesCost
0214564
11024474
23935448
35002441

prune104.0ms

Filtered
90 candidates to 44 candidates (48.9%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New83790
Fresh101
Picked101
Done000
Total85792

Merged error: 0.0b

Counts
92 → 7

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
14×associate-+r+
12×distribute-lft-out
add-log-exp
+-commutative
associate-*l*
distribute-rgt-in distribute-lft-in sum-log
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt flip3-+ add-cbrt-cube flip-+
Counts
2 → 41
Calls
2 calls:
17.0ms
(+ (pow x 2) (* y (+ y y)))
29.0ms
(+ (* y y) (+ (pow x 2) (* y (+ y y))))

series78.0ms

Counts
2 → 6
Calls
2 calls:
43.0ms
(+ (pow x 2) (* y (+ y y)))
36.0ms
(+ (* y y) (+ (pow x 2) (* y (+ y y))))

simplify122.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0178305
1816273
23555268
35002268

prune68.0ms

Filtered
47 candidates to 25 candidates (53.2%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New43447
Fresh516
Picked011
Done000
Total48654

Merged error: 0.0b

Counts
54 → 6

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* (* 3 y) y) (pow x 2))
0.2b
(* (* 3 y) y)

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
18×associate-*l*
13×add-sqr-sqrt
12×*-un-lft-identity
pow1 add-exp-log add-cbrt-cube
add-cube-cbrt associate-*r*
add-log-exp unswap-sqr
pow-prod-down prod-exp cbrt-unprod distribute-lft-out
*-commutative
+-commutative flip3-+ sum-log flip-+
Counts
2 → 45
Calls
2 calls:
18.0ms
(+ (* (* 3 y) y) (pow x 2))
8.0ms
(* (* 3 y) y)

series65.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(+ (* (* 3 y) y) (pow x 2))
29.0ms
(* (* 3 y) y)

simplify128.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 3 (123.0ms)

IterNodesCost
0192215
1798193
24100187
35001186

prune87.0ms

Filtered
51 candidates to 33 candidates (64.7%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New49251
Fresh134
Picked011
Done011
Total50757

Merged error: 0b

Counts
57 → 7

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (* y y) (* (sqrt (+ (pow x 2) (* y (+ y y)))) (sqrt (+ (pow x 2) (* y (+ y y))))))
0.2b
(* (sqrt (+ (pow x 2) (* y (+ y y)))) (sqrt (+ (pow x 2) (* y (+ y y)))))
5.8b
(sqrt (+ (pow x 2) (* y (+ y y))))
5.8b
(sqrt (+ (pow x 2) (* y (+ y y))))

rewrite140.0ms

Algorithm
rewrite-expression-head
Rules
70×*-un-lft-identity
48×sqrt-prod
28×add-sqr-sqrt
25×distribute-lft-out
22×associate-*l*
21×pow1
18×swap-sqr
16×sqrt-div
14×add-cube-cbrt
10×sqrt-pow1 pow1/2
flip3-+ flip-+
associate-*r*
add-exp-log 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 → 119
Calls
4 calls:
64.0ms
(+ (* y y) (* (sqrt (+ (pow x 2) (* y (+ y y)))) (sqrt (+ (pow x 2) (* y (+ y y))))))
37.0ms
(* (sqrt (+ (pow x 2) (* y (+ y y)))) (sqrt (+ (pow x 2) (* y (+ y y)))))
19.0ms
(sqrt (+ (pow x 2) (* y (+ y y))))
16.0ms
(sqrt (+ (pow x 2) (* y (+ y y))))

series197.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(+ (* y y) (* (sqrt (+ (pow x 2) (* y (+ y y)))) (sqrt (+ (pow x 2) (* y (+ y y))))))
45.0ms
(* (sqrt (+ (pow x 2) (* y (+ y y)))) (sqrt (+ (pow x 2) (* y (+ y y)))))
54.0ms
(sqrt (+ (pow x 2) (* y (+ y y))))
61.0ms
(sqrt (+ (pow x 2) (* y (+ y y))))

simplify64.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
02481124
11153994
25001963

prune179.0ms

Filtered
131 candidates to 68 candidates (51.9%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1310131
Fresh044
Picked011
Done022
Total1317138

Merged error: 0b

Counts
138 → 7

regimes105.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
0126
1126

end0.0ms

sample535.0ms

Algorithm
intervals
Results
321.0ms14005×body80valid