Details

Time bar (total: 2.5s)

sample23.0ms

Algorithm
intervals
Results
12.0ms478×body80valid

simplify308.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
0137
1236
2354
3454
4544
5874
61564
72064
82194
93144
106444
1131974
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.2b

Counts
2 → 2

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-log-exp
add-cube-cbrt *-un-lft-identity associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ associate-*r* sum-log *-commutative flip-+ unswap-sqr
Counts
2 → 30
Calls
2 calls:
5.0ms
(+ (* 3 (* y y)) (* x x))
6.0ms
(* 3 (* y y))

series71.0ms

Counts
2 → 6
Calls
2 calls:
42.0ms
(+ (* 3 (* y y)) (* x x))
28.0ms
(* 3 (* y y))

simplify89.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0164163
1658146
22429139
35003139

prune70.0ms

Filtered
36 candidates to 23 candidates (63.9%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New32436
Fresh011
Picked101
Done000
Total33538

Merged error: 0.0b

Counts
38 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ associate-*l* sum-log *-commutative flip-+
Counts
2 → 29
Calls
2 calls:
6.0ms
(+ (* (* 3 y) y) (* x x))
10.0ms
(* (* 3 y) y)

series73.0ms

Counts
2 → 6
Calls
2 calls:
42.0ms
(+ (* (* 3 y) y) (* x x))
30.0ms
(* (* 3 y) y)

simplify146.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (141.0ms)

IterNodesCost
0173161
1854144
24082139
35001138

prune70.0ms

Filtered
35 candidates to 22 candidates (62.9%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New33235
Fresh044
Picked011
Done000
Total33740

Merged error: 0.0b

Counts
40 → 7

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

rewrite21.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:
4.0ms
(+ (* x x) (* y y))
6.0ms
(+ (+ (* x x) (* y y)) (* y y))
10.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

series119.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(+ (* x x) (* y y))
39.0ms
(+ (+ (* x x) (* y y)) (* y y))
45.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

simplify142.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (136.0ms)

IterNodesCost
0218352
11048312
24094291
35002280

prune95.0ms

Filtered
47 candidates to 35 candidates (74.5%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New44347
Fresh235
Picked011
Done011
Total46854

Merged error: 0b

Counts
54 → 8

localize10.0ms

Local error

Found 4 expressions with local error:

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

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

series203.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(+ (* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y)))) (* y y))
40.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y))))
61.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
55.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))

simplify57.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
02441203
111651041
25001979

prune183.0ms

Filtered
110 candidates to 67 candidates (60.9%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1100110
Fresh055
Picked011
Done022
Total1108118

Merged error: 0b

Counts
118 → 8

regimes155.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
0104
1104

end0.0ms

sample571.0ms

Algorithm
intervals
Results
350.0ms14068×body80valid