Details

Time bar (total: 1.7s)

sample20.0ms

Algorithm
intervals
Results
9.0ms256×body80valid
5.0ms256×pre80true

simplify112.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0133
1253
2393
3703
41813
56823
624633
750013

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x (* x x)) (* x x))
0.1b
(* x (* x x))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
16×pow1
add-exp-log add-cbrt-cube
pow-prod-up
add-sqr-sqrt add-log-exp
add-cube-cbrt *-un-lft-identity associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative pow2 distribute-lft1-in flip3-+ pow-plus cube-unmult associate-*r* sum-log pow-sqr *-commutative flip-+ distribute-lft-out unswap-sqr
Counts
2 → 37
Calls
2 calls:
7.0ms
(+ (* x (* x x)) (* x x))
7.0ms
(* x (* x x))

series102.0ms

Counts
2 → 6
Calls
2 calls:
67.0ms
(+ (* x (* x x)) (* x x))
35.0ms
(* x (* x x))

simplify95.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 3 (92.0ms)

IterNodesCost
0158147
1646107
22546106
35002102

prune61.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize4.0ms

Local error

Found 1 expressions with local error:

0.0b
(* x (+ (* x x) x))

rewrite12.0ms

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

series62.0ms

Counts
1 → 3
Calls
1 calls:
61.0ms
(* x (+ (* x x) x))

simplify106.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 3 (103.0ms)

IterNodesCost
0129117
1713102
23504100
3500299

prune43.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize6.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ (* x x) x))
0.0b
(sqrt (+ (* x x) x))
0.2b
(* (* x (sqrt (+ (* x x) x))) (sqrt (+ (* x x) x)))
0.2b
(* x (sqrt (+ (* x x) x)))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
21×sqrt-prod
18×sqrt-div
17×add-sqr-sqrt
16×associate-*r*
15×*-un-lft-identity
13×pow1
11×add-exp-log add-cube-cbrt add-cbrt-cube
10×associate-*r/
flip3-+ flip-+
frac-times distribute-rgt-out distribute-lft1-in associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 associate-*l/ *-commutative unswap-sqr
Counts
4 → 91
Calls
4 calls:
5.0ms
(sqrt (+ (* x x) x))
5.0ms
(sqrt (+ (* x x) x))
32.0ms
(* (* x (sqrt (+ (* x x) x))) (sqrt (+ (* x x) x)))
13.0ms
(* x (sqrt (+ (* x x) x)))

series162.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(sqrt (+ (* x x) x))
25.0ms
(sqrt (+ (* x x) x))
63.0ms
(* (* x (sqrt (+ (* x x) x))) (sqrt (+ (* x x) x)))
44.0ms
(* x (sqrt (+ (* x x) x)))

simplify47.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0313702
11427610
25001600

prune198.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes24.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
064
164

end0.0ms

sample560.0ms

Algorithm
intervals
Results
306.0ms8000×body80valid
147.0ms8000×pre80true