Details

Time bar (total: 3.5s)

sample22.0ms

Algorithm
intervals
Results
11.0ms496×body80valid

simplify270.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
1131974
1250014

prune4.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

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

rewrite59.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:
2.0ms
(+ (* x x) (* y y))
11.0ms
(+ (+ (* x x) (* y y)) (* y y))
45.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

series96.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(+ (* x x) (* y y))
34.0ms
(+ (+ (* x x) (* y y)) (* y y))
36.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

simplify123.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (116.0ms)

IterNodesCost
0218352
11048312
24094291
35002280

prune89.0ms

Filtered
47 candidates to 35 candidates (74.5%)
Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

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

rewrite108.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:
21.0ms
(+ (* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y)))) (* y y))
60.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y))))
12.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
12.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))

series174.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
02441203
111651041
25001979

prune201.0ms

Filtered
110 candidates to 68 candidates (61.8%)
Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

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

rewrite351.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
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
frac-times unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square associate-*r/ associate-*l/
+-commutative pow2 associate-+l+ pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 101
Calls
4 calls:
45.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))
205.0ms
(* (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))) (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))))
48.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
50.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))

series166.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))
34.0ms
(* (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))) (sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))))
50.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
47.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))

simplify42.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
02211378
110031237
250011160

prune211.0ms

Filtered
113 candidates to 69 candidates (61.1%)
Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite129.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
cbrt-div
pow1
add-exp-log flip3-+ add-cbrt-cube flip-+ add-log-exp
pow1/3 sqrt-prod
sqrt-div
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 54
Calls
4 calls:
50.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
25.0ms
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
25.0ms
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
28.0ms
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))

series350.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(sqrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
99.0ms
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
99.0ms
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))
100.0ms
(cbrt (+ (+ (+ (* x x) (* y y)) (* y y)) (* y y)))

simplify62.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0155852
1439794
21894779
35003778

prune246.0ms

Filtered
66 candidates to 63 candidates (95.5%)
Pruning

7 alts after pruning (3 fresh and 4 done)

Merged error: 0.0b

regimes126.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
0107
1107

end0.0ms

sample568.0ms

Algorithm
intervals
Results
334.0ms14218×body80valid