Details

Time bar (total: 2.7s)

sample20.0ms

Algorithm
intervals
Results
10.0ms453×body80valid

simplify284.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
0137
1236
2354
3454
4544
5874
61564
72064
82194
93144
106444
1131974
1250014

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize10.0ms

Local error

Found 3 expressions with local error:

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

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

series100.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(+ (+ (* x x) (* y y)) (* y y))
26.0ms
(+ (* x x) (* y y))
35.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

simplify135.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (130.0ms)

IterNodesCost
0218352
11048312
24094291
35002280

prune110.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y)))) (* y y))
0.3b
(* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y))))
5.1b
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
5.1b
(sqrt (+ (+ (* x x) (* y y)) (* y y)))

rewrite43.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))
14.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)))

series181.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(+ (* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y)))) (* y y))
35.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y))))
52.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
53.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))

simplify52.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
02441203
111651041
25001979

prune230.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 1 expressions with local error:

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

rewrite11.0ms

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

series34.0ms

Counts
1 → 3
Calls
1 calls:
34.0ms
(+ (+ (* y (+ y y)) (pow x 2)) (* y y))

simplify76.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0114144
1525131
22265122
35001122

prune54.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

5.1b
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
5.1b
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
5.2b
(sqrt (+ (* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y)))) (* y y)))
5.2b
(sqrt (+ (* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y)))) (* y y)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 add-cbrt-cube flip-+ add-log-exp
Counts
4 → 60
Calls
4 calls:
6.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
14.0ms
(sqrt (+ (* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y)))) (* y y)))
18.0ms
(sqrt (+ (* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y)))) (* y y)))

series209.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
53.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
55.0ms
(sqrt (+ (* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y)))) (* y y)))
51.0ms
(sqrt (+ (* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y)))) (* y y)))

simplify70.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (61.0ms)

IterNodesCost
0149996
1437956
21864956
35001938

prune231.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

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

sample540.0ms

Algorithm
intervals
Results
327.0ms14258×body80valid