Details

Time bar (total: 2.5s)

sample24.0ms

Algorithm
intervals
Results
11.0ms432×body80valid

simplify294.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (3.0ms)

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

prune8.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 2

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

rewrite18.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:
5.0ms
(+ (+ (* x x) (* y y)) (* y y))
3.0ms
(+ (* x x) (* y y))
8.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

series19.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(+ (+ (* x x) (* y y)) (* y y))
5.0ms
(+ (* x x) (* y y))
7.0ms
(+ (+ (+ (* x x) (* y y)) (* y y)) (* y y))

simplify129.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (124.0ms)

IterNodesCost
0218352
11048312
24094291
35002280

prune77.0ms

Filtered
47 candidates to 35 candidates (25.5%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New39847
Fresh101
Picked011
Done000
Total40949

Merged error: 0.1b

Counts
49 → 9

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

rewrite40.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:
13.0ms
(+ (* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y)))) (* y y))
13.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)))

series29.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ (* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y)))) (* y y))
7.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y))))
7.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
7.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))

simplify51.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
02441203
111651041
25001979

prune122.0ms

Filtered
110 candidates to 67 candidates (39.1%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1046110
Fresh347
Picked101
Done011
Total10811119

Merged error: 0.0b

Counts
119 → 11

localize13.0ms

Local error

Found 4 expressions with local error:

6.9b
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
6.9b
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
6.9b
(sqrt (+ (* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y)))) (* y y)))
6.9b
(sqrt (+ (* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y)))) (* y y)))

rewrite39.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:
5.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)))
14.0ms
(sqrt (+ (* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y)))) (* y y)))

series33.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
8.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
10.0ms
(sqrt (+ (* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y)))) (* y y)))
8.0ms
(sqrt (+ (* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y)))) (* y y)))

simplify73.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (63.0ms)

IterNodesCost
0149996
1437956
21864956
35001938

prune126.0ms

Filtered
72 candidates to 64 candidates (11.1%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New67572
Fresh459
Picked101
Done011
Total721183

Merged error: 0.0b

Counts
83 → 11

localize19.0ms

Local error

Found 4 expressions with local error:

6.9b
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
6.9b
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
6.9b
(sqrt (+ (* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y)))) (* y y)))
6.9b
(sqrt (+ (* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (* (sqrt (sqrt (+ (+ (* x x) (* y y)) (* y y)))) (sqrt (sqrt (+ (+ (* x x) (* y y)) (* y y)))))) (* y y)))

rewrite57.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:
5.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)))
31.0ms
(sqrt (+ (* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (* (sqrt (sqrt (+ (+ (* x x) (* y y)) (* y y)))) (sqrt (sqrt (+ (+ (* x x) (* y y)) (* y y)))))) (* y y)))

series31.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
7.0ms
(sqrt (+ (+ (* x x) (* y y)) (* y y)))
8.0ms
(sqrt (+ (* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (sqrt (+ (+ (* x x) (* y y)) (* y y)))) (* y y)))
9.0ms
(sqrt (+ (* (sqrt (+ (+ (* x x) (* y y)) (* y y))) (* (sqrt (sqrt (+ (+ (* x x) (* y y)) (* y y)))) (sqrt (sqrt (+ (+ (* x x) (* y y)) (* y y)))))) (* y y)))

simplify85.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
0210996
1561956
22436956
35001938

prune89.0ms

Filtered
72 candidates to 62 candidates (13.9%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New72072
Fresh099
Picked011
Done011
Total721183

Merged error: 0.0b

Counts
83 → 11

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

sample767.0ms

Algorithm
intervals
Results
406.0ms14148×body80valid

Profiling

Loading profile data...