Details

Time bar (total: 2.0s)

sample26.0ms

Algorithm
intervals
Results
12.0ms313×body80valid
4.0msbody1280valid
2.0ms12×body640valid
1.0msbody320valid
0.0msbody160valid

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0144
1324
2814
31664
42254
52274
62274

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

rewrite25.0ms

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

series186.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(- 2.0 (* x 3.0))
60.0ms
(* 3.0 (- 2.0 (* x 3.0)))
89.0ms
(* (* 3.0 (- 2.0 (* x 3.0))) x)

simplify47.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0253437
11184374
25002369

prune150.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.1b

localize4.0ms

Local error

Found 1 expressions with local error:

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

rewrite9.0ms

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

series73.0ms

Counts
1 → 3
Calls
1 calls:
73.0ms
(* x (- 6.0 (* 9.0 x)))

simplify113.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (109.0ms)

IterNodesCost
0151198
1642173
23595170
35001162

prune63.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.1b
(* x (- 6.0 (* 9.0 x)))
53.7b
(fma (- x) 9.0 (* x 9.0))

rewrite9.0ms

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

series120.0ms

Counts
2 → 6
Calls
2 calls:
73.0ms
(* x (- 6.0 (* 9.0 x)))
47.0ms
(fma (- x) 9.0 (* x 9.0))

simplify122.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0161248
1675216
23770213
35001213

prune112.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.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
expm1-log1p-u log1p-expm1-u
+-commutative distribute-lft-neg-in neg-mul-1 fma-def 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 → 41
Calls
2 calls:
3.0ms
(+ (* x 6.0) (* x (- (* 9.0 x))))
5.0ms
(* x (- (* 9.0 x)))

series105.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0190227
1949199
25002196

prune87.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

regimes24.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0154
1204
2214
3214

end0.0ms

sample618.0ms

Algorithm
intervals
Results
379.0ms9853×body80valid
63.0ms345×body1280valid
36.0ms268×body640valid
17.0ms159×body320valid
5.0ms66×body160valid