Details

Time bar (total: 2.3s)

sample20.0ms

Algorithm
intervals
Results
10.0ms318×body80valid
1.0msbody1280valid
1.0ms10×body640valid
1.0msbody320valid
0.0msbody160valid

simplify18.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

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

rewrite23.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:
2.0ms
(- 2.0 (* x 3.0))
11.0ms
(* (* 3.0 (- 2.0 (* x 3.0))) x)
8.0ms
(* 3.0 (- 2.0 (* x 3.0)))

series169.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(- 2.0 (* x 3.0))
81.0ms
(* (* 3.0 (- 2.0 (* x 3.0))) x)
55.0ms
(* 3.0 (- 2.0 (* x 3.0)))

simplify44.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0253437
11184374
25001369

prune134.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 2.0 (* x 3.0))
0.1b
(* (+ (* 3.0 (- 2.0 (* x 3.0))) (* 3.0 (fma (- 3.0) x (* 3.0 x)))) x)
0.1b
(* 3.0 (- 2.0 (* x 3.0)))
40.8b
(fma (- 3.0) x (* 3.0 x))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
12×add-cube-cbrt *-un-lft-identity
prod-diff
pow1 add-exp-log add-cbrt-cube
associate-*l*
associate-*r* add-log-exp
distribute-rgt-in distribute-lft-in
expm1-log1p-u log1p-expm1-u
sub-neg fma-neg
flip3-- associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative flip-- cbrt-unprod unswap-sqr
flip3-+ diff-log flip-+ fma-udef distribute-lft-out
Counts
4 → 85
Calls
4 calls:
2.0ms
(- 2.0 (* x 3.0))
17.0ms
(* (+ (* 3.0 (- 2.0 (* x 3.0))) (* 3.0 (fma (- 3.0) x (* 3.0 x)))) x)
8.0ms
(* 3.0 (- 2.0 (* x 3.0)))
0.0ms
(fma (- 3.0) x (* 3.0 x))

series305.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(- 2.0 (* x 3.0))
164.0ms
(* (+ (* 3.0 (- 2.0 (* x 3.0))) (* 3.0 (fma (- 3.0) x (* 3.0 x)))) x)
55.0ms
(* 3.0 (- 2.0 (* x 3.0)))
49.0ms
(fma (- 3.0) x (* 3.0 x))

simplify53.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0301618
11365545
25002536

prune217.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 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)))

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

simplify116.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (111.0ms)

IterNodesCost
0173294
1705256
23896252
35002250

prune98.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize5.0ms

Local error

Found 3 expressions with local error:

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

rewrite25.0ms

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

series191.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(- 2.0 (* x 3.0))
71.0ms
(* (- 2.0 (* x 3.0)) x)
85.0ms
(* 3.0 (* (- 2.0 (* x 3.0)) x))

simplify41.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0234366
1880311
25001304

prune115.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

regimes46.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0104
1104

end0.0ms

sample523.0ms

Algorithm
intervals
Results
333.0ms9925×body80valid
36.0ms347×body1280valid
25.0ms270×body640valid
9.0ms139×body320valid
3.0ms63×body160valid