Details

Time bar (total: 1.6s)

sample15.0ms

Algorithm
intervals
Results
6.0ms335×body80valid
1.0ms16×body640valid
1.0msbody1280valid
0.0msbody320valid
0.0msbody160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0144
1324
2754
31414
41704
51704

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

localize5.0ms

Local error

Found 3 expressions with local error:

0.0b
(- 2.0 (* x 3.0))
0.1b
(* 3.0 (- 2.0 (* x 3.0)))
0.1b
(* (* 3.0 (- 2.0 (* x 3.0))) x)

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity associate-*r*
add-log-exp
associate-*r/ associate-*l* pow-prod-down prod-exp cbrt-unprod
sub-neg flip3-- flip--
distribute-rgt-in distribute-lft-in associate-*l/ *-commutative
diff-log unswap-sqr
Counts
3 → 56
Calls
3 calls:
2.0ms
(- 2.0 (* x 3.0))
7.0ms
(* 3.0 (- 2.0 (* x 3.0)))
11.0ms
(* (* 3.0 (- 2.0 (* x 3.0))) x)

series173.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(- 2.0 (* x 3.0))
54.0ms
(* 3.0 (- 2.0 (* x 3.0)))
82.0ms
(* (* 3.0 (- 2.0 (* x 3.0))) x)

simplify38.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0219323
11062277
25002274

prune100.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize4.0ms

Local error

Found 2 expressions with local error:

0.0b
(- 6.0 (* 9.0 x))
0.1b
(* x (- 6.0 (* 9.0 x)))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
sub-neg associate-*r* associate-*l*
distribute-rgt-in flip3-- distribute-lft-in associate-*r/ flip--
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 36
Calls
2 calls:
2.0ms
(- 6.0 (* 9.0 x))
7.0ms
(* x (- 6.0 (* 9.0 x)))

series105.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(- 6.0 (* 9.0 x))
71.0ms
(* x (- 6.0 (* 9.0 x)))

simplify92.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0140190
1583168
23082168
35002168

prune67.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 6.0) (* x (- (* 9.0 x))))
0.2b
(* x (- (* 9.0 x)))

rewrite8.0ms

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

series99.0ms

Counts
2 → 6
Calls
2 calls:
75.0ms
(+ (* x 6.0) (* x (- (* 9.0 x))))
24.0ms
(* x (- (* 9.0 x)))

simplify40.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0180207
1897179
25001176

prune72.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 6.0) (* -9.0 (pow x 2)))
0.3b
(* -9.0 (pow x 2))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
associate-*r*
add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube add-log-exp unswap-sqr
associate-*l* prod-exp
pow1 unpow2 sqr-pow
+-commutative pow-to-exp flip3-+ pow-exp sum-log *-commutative cbrt-unprod flip-+
Counts
2 → 38
Calls
2 calls:
2.0ms
(+ (* x 6.0) (* -9.0 (pow x 2)))
10.0ms
(* -9.0 (pow x 2))

series100.0ms

Counts
2 → 6
Calls
2 calls:
75.0ms
(+ (* x 6.0) (* -9.0 (pow x 2)))
25.0ms
(* -9.0 (pow x 2))

simplify174.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 3 (170.0ms)

IterNodesCost
0190194
1740174
23885167
35001164

prune71.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

regimes24.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0185
1235
2245
3245

end0.0ms

sample370.0ms

Algorithm
intervals
Results
201.0ms9961×body80valid
27.0ms315×body1280valid
20.0ms291×body640valid
7.0ms136×body320valid
2.0ms59×body160valid