Details

Time bar (total: 2.0s)

sample25.0ms

Algorithm
intervals
Results
12.0ms433×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0239
1239

prune7.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.0b

Counts
2 → 2

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.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-+l+ 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 (+ x 2.0))
6.0ms
(+ (* x (+ x 2.0)) (* y y))

series10.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
05015350

prune49.0ms

Filtered
27 candidates to 42 candidates (-55.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New39342
Fresh101
Picked011
Done000
Total40444

Merged error: 0b

Counts
44 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (* x (+ x 2.0))) (cbrt (* x (+ x 2.0))))
0.6b
(cbrt (* x (+ x 2.0)))
0.6b
(cbrt (* x (+ x 2.0)))
0.6b
(cbrt (* x (+ x 2.0)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
20×associate-*r/
18×cbrt-div
11×pow1
10×add-sqr-sqrt
flip3-+ pow1/3 flip-+
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
frac-times swap-sqr associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 72
Calls
4 calls:
6.0ms
(* (cbrt (* x (+ x 2.0))) (cbrt (* x (+ x 2.0))))
4.0ms
(cbrt (* x (+ x 2.0)))
4.0ms
(cbrt (* x (+ x 2.0)))
6.0ms
(cbrt (* x (+ x 2.0)))

series37.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(* (cbrt (* x (+ x 2.0))) (cbrt (* x (+ x 2.0))))
9.0ms
(cbrt (* x (+ x 2.0)))
9.0ms
(cbrt (* x (+ x 2.0)))
9.0ms
(cbrt (* x (+ x 2.0)))

simplify47.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
049481047
149481047

prune161.0ms

Filtered
67 candidates to 84 candidates (-25.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New84084
Fresh022
Picked011
Done011
Total84488

Merged error: 0b

Counts
88 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.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 (+ x 2.0))
11.0ms
(+ (* (* x (sqrt (+ x 2.0))) (sqrt (+ x 2.0))) (* y y))
7.0ms
(* x (sqrt (+ x 2.0)))
13.0ms
(* (* x (sqrt (+ x 2.0))) (sqrt (+ x 2.0)))

series20.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
05181949

prune114.0ms

Filtered
60 candidates to 94 candidates (-56.7%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New94094
Fresh011
Picked011
Done022
Total94498

Merged error: 0b

Counts
98 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(* x (* x (* (+ x 2.0) (+ x 2.0))))
0.1b
(* x (* (+ x 2.0) (+ x 2.0)))
2.7b
(- (* x (* x (* (+ x 2.0) (+ x 2.0)))) (pow y 4))
27.3b
(/ (- (* x (* x (* (+ x 2.0) (+ x 2.0)))) (pow y 4)) (- (* x (+ x 2.0)) (* y y)))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
28×distribute-rgt-in distribute-lft-in associate-*r/
20×add-exp-log add-cbrt-cube
18×pow1
15×add-sqr-sqrt
14×add-cube-cbrt *-un-lft-identity
12×flip3-+ flip-+
times-frac pow-prod-down prod-exp cbrt-unprod
frac-times associate--l+
associate-*l* add-log-exp
associate-*l/
flip3-- associate-/r* flip-- associate-/l*
associate-*r* associate-/r/ *-commutative associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num div-inv unswap-sqr
Counts
4 → 120
Calls
4 calls:
13.0ms
(* x (* x (* (+ x 2.0) (+ x 2.0))))
10.0ms
(* x (* (+ x 2.0) (+ x 2.0)))
15.0ms
(- (* x (* x (* (+ x 2.0) (+ x 2.0)))) (pow y 4))
24.0ms
(/ (- (* x (* x (* (+ x 2.0) (+ x 2.0)))) (pow y 4)) (- (* x (+ x 2.0)) (* y y)))

series34.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
049902175
149902175

prune181.0ms

Filtered
87 candidates to 132 candidates (-51.7%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1320132
Fresh000
Picked011
Done033
Total1324136

Merged error: 0b

Counts
136 → 4

regimes114.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
0109
1109

end0.0ms

sample883.0ms

Algorithm
intervals
Results
474.0ms14249×body80valid

Profiling

Loading profile data...