Details

Time bar (total: 3.9s)

sample21.0ms

Algorithm
intervals
Results
10.0ms496×body80valid

simplify290.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0146
1294
2504
3703
4823
51253
62293
73213
83363
94363
107903
1134923
1250013

prune5.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

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

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
19×add-log-exp
10×sum-log
fma-def
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log +-commutative expm1-log1p-u flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
associate-+l+
Counts
3 → 51
Calls
3 calls:
3.0ms
(+ (* x x) (* y y))
13.0ms
(+ (+ (* x x) (* y y)) (* y y))
55.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

series102.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(+ (* x x) (* y y))
38.0ms
(+ (+ (* x x) (* y y)) (* y y))
37.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

simplify143.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (137.0ms)

IterNodesCost
0237373
11141313
24748287
35001286

prune133.0ms

Filtered
60 candidates to 47 candidates (78.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ (* x x) (* y y)) (* y y))
0.1b
(fma (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y))) (* y y))
5.0b
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
5.0b
(sqrt (+ (+ (* x x) (* y y)) (* y y)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
add-log-exp
add-cube-cbrt *-un-lft-identity
pow1 sqrt-prod
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u
fma-def flip3-+ sum-log flip-+
rem-sqrt-square sqrt-pow1 pow1/2 hypot-def
+-commutative associate-+l+ fma-udef
Counts
4 → 64
Calls
4 calls:
13.0ms
(+ (+ (* x x) (* y y)) (* y y))
0.0ms
(fma (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)))
14.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))

series275.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(+ (+ (* x x) (* y y)) (* y y))
134.0ms
(fma (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y))) (* y y))
51.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
54.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))

simplify98.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 3 (91.0ms)

IterNodesCost
0175645
1742534
23044495
35001493

prune228.0ms

Filtered
76 candidates to 66 candidates (86.8%)
Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

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

rewrite385.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
24×sqrt-prod
21×pow1
16×sqrt-div
15×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
expm1-log1p-u frac-times log1p-expm1-u unswap-sqr
fma-def pow-prod-down pow-sqr
rem-sqrt-square associate-*r/ associate-*l/ hypot-def
+-commutative pow2 associate-+l+ pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 114
Calls
4 calls:
52.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))
214.0ms
(* (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))) (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))))
58.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
56.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))

series182.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))
37.0ms
(* (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))) (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))))
54.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
55.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))

simplify54.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
02321440
110921249
250011189

prune262.0ms

Filtered
126 candidates to 83 candidates (65.9%)
Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

5.0b
(sqrt (* (* (cbrt (+ (+ (* x x) (* y y)) (* y y))) (cbrt (+ (+ (* x x) (* y y)) (* y y)))) (cbrt (+ (+ (* x x) (* y y)) (* y y)))))
5.5b
(cbrt (+ (+ (* x x) (* y y)) (* y y)))
5.5b
(cbrt (+ (+ (* x x) (* y y)) (* y y)))
5.5b
(cbrt (+ (+ (* x x) (* y y)) (* y y)))

rewrite105.0ms

Algorithm
rewrite-expression-head
Rules
60×cbrt-div
30×flip3-+ flip-+
28×frac-times
26×sqrt-div
24×pow1
15×sqrt-pow1
14×associate-*l/
12×pow1/3
cbrt-prod pow-prod-up
associate-*r/
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-plus
pow-prod-down
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-sqr
pow2
pow1/2 pow3 sqrt-prod
Counts
4 → 97
Calls
4 calls:
79.0ms
(sqrt (* (* (cbrt (+ (+ (* x x) (* y y)) (* y y))) (cbrt (+ (+ (* x x) (* y y)) (* y y)))) (cbrt (+ (+ (* x x) (* y y)) (* y y)))))
7.0ms
(cbrt (+ (+ (* x x) (* y y)) (* y y)))
7.0ms
(cbrt (+ (+ (* x x) (* y y)) (* y y)))
7.0ms
(cbrt (+ (+ (* x x) (* y y)) (* y y)))

series381.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(sqrt (* (* (cbrt (+ (+ (* x x) (* y y)) (* y y))) (cbrt (+ (+ (* x x) (* y y)) (* y y)))) (cbrt (+ (+ (* x x) (* y y)) (* y y)))))
113.0ms
(cbrt (+ (+ (* x x) (* y y)) (* y y)))
107.0ms
(cbrt (+ (+ (* x x) (* y y)) (* y y)))
109.0ms
(cbrt (+ (+ (* x x) (* y y)) (* y y)))

simplify158.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 3 (134.0ms)

IterNodesCost
03082220
17122152
230932122
350012094

prune324.0ms

Filtered
109 candidates to 80 candidates (73.4%)
Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes124.0ms

Accuracy

0% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01014
11014

end0.0ms

sample522.0ms

Algorithm
intervals
Results
305.0ms14218×body80valid