Details

Time bar (total: 1.8s)

sample15.0ms

Algorithm
intervals
Results
6.0ms344×body80valid
1.0msbody1280valid
0.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify21.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0144
1324
2814
31664
42254
52274
62274

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

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))) x)
0.1b
(* 3.0 (- 2.0 (* x 3.0)))

rewrite18.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))
6.0ms
(* (* 3.0 (- 2.0 (* x 3.0))) x)
6.0ms
(* 3.0 (- 2.0 (* x 3.0)))

series177.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(- 2.0 (* x 3.0))
84.0ms
(* (* 3.0 (- 2.0 (* x 3.0))) x)
58.0ms
(* 3.0 (- 2.0 (* x 3.0)))

simplify48.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0253437
11184374
25001369

prune150.0ms

Filtered
83 candidates to 54 candidates (65.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize4.0ms

Local error

Found 1 expressions with local error:

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

rewrite7.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:
6.0ms
(* x (- 6.0 (* 9.0 x)))

series71.0ms

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

simplify110.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (106.0ms)

IterNodesCost
0151198
1642173
23595170
35001162

prune62.0ms

Filtered
35 candidates to 19 candidates (54.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite8.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:
6.0ms
(* x (- 6.0 (* 9.0 x)))
1.0ms
(fma (- x) 9.0 (* x 9.0))

series119.0ms

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

simplify118.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0161248
1675216
23770213
35001213

prune112.0ms

Filtered
48 candidates to 31 candidates (64.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x 6.0) (* x (- (* 9.0 x))))
0.1b
(* x (- (* 9.0 x)))
53.1b
(fma (- x) 9.0 (* x 9.0))

rewrite10.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
expm1-log1p-u associate-*l* distribute-rgt-neg-out 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-+ fma-udef distribute-lft-out unswap-sqr
Counts
3 → 51
Calls
3 calls:
4.0ms
(+ (* x 6.0) (* x (- (* 9.0 x))))
5.0ms
(* x (- (* 9.0 x)))
1.0ms
(fma (- x) 9.0 (* x 9.0))

series151.0ms

Counts
3 → 9
Calls
3 calls:
78.0ms
(+ (* x 6.0) (* x (- (* 9.0 x))))
25.0ms
(* x (- (* 9.0 x)))
48.0ms
(fma (- x) 9.0 (* x 9.0))

simplify50.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0203277
11054242
25001238

prune150.0ms

Filtered
60 candidates to 47 candidates (78.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

regimes25.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083
183

end0.0ms

sample367.0ms

Algorithm
intervals
Results
187.0ms9878×body80valid
29.0ms323×body1280valid
20.0ms305×body640valid
9.0ms138×body320valid
2.0ms62×body160valid