Details

Time bar (total: 1.8s)

sample29.0ms

Algorithm
intervals
Results
12.0ms425×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0154
1254
2274
3274

prune5.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 0.0b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity
pow1 add-exp-log add-cube-cbrt associate-*r* add-cbrt-cube add-log-exp
associate-*l*
distribute-rgt-in associate-+r+ distribute-lft-in flip3-+ associate-*r/ flip-+
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
2 → 36
Calls
2 calls:
5.0ms
(* x (+ 2.0 x))
4.0ms
(+ (* y y) (* x (+ 2.0 x)))

series11.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(* x (+ 2.0 x))
6.0ms
(+ (* y y) (* x (+ 2.0 x)))

simplify31.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0206183
11038169
25001169

prune48.0ms

Filtered
42 candidates to 27 candidates (35.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New39342
Fresh000
Picked011
Done000
Total39443

Merged error: 0b

Counts
43 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ (* y y) (* x (+ 2.0 x))))
0.0b
(+ (* y y) (* x (+ 2.0 x)))
0.0b
(+ (* y y) (* x (+ 2.0 x)))
0.1b
(* (sqrt (+ (* y y) (* x (+ 2.0 x)))) (sqrt (+ (* y y) (* x (+ 2.0 x)))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
21×sqrt-prod
20×pow1
14×sqrt-div
13×add-cube-cbrt *-un-lft-identity
sqrt-pow1 flip3-+ pow1/2 flip-+
swap-sqr add-log-exp
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
frac-times associate-+r+ unswap-sqr
pow-prod-down pow-sqr
+-commutative distribute-rgt-in distribute-lft-in associate-*r/ associate-*l/ sum-log
pow2 rem-sqrt-square pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 98
Calls
4 calls:
3.0ms
(sqrt (+ (* y y) (* x (+ 2.0 x))))
4.0ms
(+ (* y y) (* x (+ 2.0 x)))
4.0ms
(+ (* y y) (* x (+ 2.0 x)))
10.0ms
(* (sqrt (+ (* y y) (* x (+ 2.0 x)))) (sqrt (+ (* y y) (* x (+ 2.0 x)))))

series33.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(sqrt (+ (* y y) (* x (+ 2.0 x))))
6.0ms
(+ (* y y) (* x (+ 2.0 x)))
6.0ms
(+ (* y y) (* x (+ 2.0 x)))
6.0ms
(* (sqrt (+ (* y y) (* x (+ 2.0 x)))) (sqrt (+ (* y y) (* x (+ 2.0 x)))))

simplify42.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0252898
11090810
25001783

prune120.0ms

Filtered
110 candidates to 61 candidates (44.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1100110
Fresh022
Picked011
Done011
Total1104114

Merged error: 0b

Counts
114 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ 2.0 x))
0.0b
(+ (* y y) (* (* x (sqrt (+ 2.0 x))) (sqrt (+ 2.0 x))))
0.3b
(* (* x (sqrt (+ 2.0 x))) (sqrt (+ 2.0 x)))
0.3b
(* x (sqrt (+ 2.0 x)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity sqrt-div
15×add-sqr-sqrt
14×associate-*r*
13×sqrt-prod
12×pow1
11×add-exp-log add-cbrt-cube
10×add-cube-cbrt associate-*r/
flip3-+ flip-+
add-log-exp
frac-times associate-*l* pow-prod-down prod-exp cbrt-unprod
distribute-lft-out
associate-*l/ *-commutative unswap-sqr
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 sum-log
Counts
4 → 82
Calls
4 calls:
3.0ms
(sqrt (+ 2.0 x))
3.0ms
(+ (* y y) (* (* x (sqrt (+ 2.0 x))) (sqrt (+ 2.0 x))))
11.0ms
(* (* x (sqrt (+ 2.0 x))) (sqrt (+ 2.0 x)))
7.0ms
(* x (sqrt (+ 2.0 x)))

series20.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(sqrt (+ 2.0 x))
6.0ms
(+ (* y y) (* (* x (sqrt (+ 2.0 x))) (sqrt (+ 2.0 x))))
4.0ms
(* (* x (sqrt (+ 2.0 x))) (sqrt (+ 2.0 x)))
6.0ms
(* x (sqrt (+ 2.0 x)))

simplify50.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0439657
11937564
25001554

prune123.0ms

Filtered
94 candidates to 62 candidates (34.0%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New94094
Fresh011
Picked011
Done022
Total94498

Merged error: 0b

Counts
98 → 4

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (+ 2.0 x))
0.1b
(* (* x (+ 2.0 x)) (* x (+ 2.0 x)))
1.6b
(+ (neg (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4))
25.6b
(/ (+ (neg (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4)) (- (* y y) (* x (+ 2.0 x))))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
45×pow1
27×*-un-lft-identity
20×add-exp-log add-cbrt-cube
18×pow-prod-down
17×add-sqr-sqrt
16×associate-*r/
15×add-cube-cbrt
12×times-frac
distribute-rgt-in distribute-lft-in flip3-+ prod-exp cbrt-unprod flip-+
add-log-exp
distribute-lft-out
associate-*r*
frac-times associate-+l+ distribute-neg-in associate-*l* pow-sqr pow-prod-up associate-/l*
associate-/r*
neg-sub0 associate-+l- pow-plus associate-*l/ sum-log associate-/r/ *-commutative associate-/l/
cbrt-undiv +-commutative pow2 flip3-- frac-2neg div-sub swap-sqr div-exp neg-log clear-num flip-- div-inv unswap-sqr
Counts
4 → 123
Calls
4 calls:
5.0ms
(* x (+ 2.0 x))
11.0ms
(* (* x (+ 2.0 x)) (* x (+ 2.0 x)))
11.0ms
(+ (neg (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4))
12.0ms
(/ (+ (neg (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4)) (- (* y y) (* x (+ 2.0 x))))

series35.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* x (+ 2.0 x))
3.0ms
(* (* x (+ 2.0 x)) (* x (+ 2.0 x)))
12.0ms
(+ (neg (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4))
16.0ms
(/ (+ (neg (* (* x (+ 2.0 x)) (* x (+ 2.0 x)))) (pow y 4)) (- (* y y) (* x (+ 2.0 x))))

simplify85.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
05251318
129651157
250011141

prune164.0ms

Filtered
135 candidates to 80 candidates (40.7%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1350135
Fresh000
Picked011
Done033
Total1354139

Merged error: 0b

Counts
139 → 4

regimes108.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0104
1104

end0.0ms

sample779.0ms

Algorithm
intervals
Results
426.0ms14272×body80valid

Profiling

Loading profile data...