Details

Time bar (total: 2.6s)

sample16.0ms

Algorithm
intervals
Results
7.0ms327×body80valid
1.0ms11×body1280valid
1.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify30.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.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

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

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

series204.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(- 2.0 (* x 3.0))
96.0ms
(* (* 3.0 (- 2.0 (* x 3.0))) x)
68.0ms
(* 3.0 (- 2.0 (* x 3.0)))

simplify54.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0253437
11184374
25001369

prune172.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.0ms

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

series125.0ms

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

simplify132.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (126.0ms)

IterNodesCost
0173294
1705256
23896252
35002250

prune120.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite13.0ms

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

series173.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(- 6.0 (* 9.0 x))
81.0ms
(* x (- 6.0 (* 9.0 x)))
46.0ms
(fma (- x) 9.0 (* x 9.0))

simplify138.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (131.0ms)

IterNodesCost
0183344
1749299
24071295
35001293

prune186.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* 3.0 (/ (* (fma 3.0 x 2.0) (- 2.0 (* 3.0 x))) (fma 3.0 x 2.0))) x)
0.1b
(* 3.0 (/ (* (fma 3.0 x 2.0) (- 2.0 (* 3.0 x))) (fma 3.0 x 2.0)))
0.2b
(* (fma 3.0 x 2.0) (- 2.0 (* 3.0 x)))
0.2b
(/ (* (fma 3.0 x 2.0) (- 2.0 (* 3.0 x))) (fma 3.0 x 2.0))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
34×add-exp-log add-cbrt-cube
18×add-sqr-sqrt
14×add-cube-cbrt *-un-lft-identity prod-exp cbrt-unprod
13×pow1 associate-*r*
associate-*l*
cbrt-undiv times-frac associate-*r/ div-exp prod-diff
distribute-rgt-in distribute-lft-in pow-prod-down
expm1-log1p-u log1p-expm1-u add-log-exp
associate-/r* *-commutative
sub-neg flip3-- flip-- div-inv associate-/l/ unswap-sqr
frac-2neg associate-*l/ clear-num associate-/l*
Counts
4 → 111
Calls
4 calls:
9.0ms
(* (* 3.0 (/ (* (fma 3.0 x 2.0) (- 2.0 (* 3.0 x))) (fma 3.0 x 2.0))) x)
8.0ms
(* 3.0 (/ (* (fma 3.0 x 2.0) (- 2.0 (* 3.0 x))) (fma 3.0 x 2.0)))
6.0ms
(* (fma 3.0 x 2.0) (- 2.0 (* 3.0 x)))
8.0ms
(/ (* (fma 3.0 x 2.0) (- 2.0 (* 3.0 x))) (fma 3.0 x 2.0))

series339.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(* (* 3.0 (/ (* (fma 3.0 x 2.0) (- 2.0 (* 3.0 x))) (fma 3.0 x 2.0))) x)
69.0ms
(* 3.0 (/ (* (fma 3.0 x 2.0) (- 2.0 (* 3.0 x))) (fma 3.0 x 2.0)))
131.0ms
(* (fma 3.0 x 2.0) (- 2.0 (* 3.0 x)))
40.0ms
(/ (* (fma 3.0 x 2.0) (- 2.0 (* 3.0 x))) (fma 3.0 x 2.0))

simplify101.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
04431069
12556846
25001802

prune261.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

regimes27.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
0148
1148

end0.0ms

sample385.0ms

Algorithm
intervals
Results
209.0ms9849×body80valid
28.0ms319×body1280valid
20.0ms281×body640valid
8.0ms140×body320valid
3.0ms70×body160valid