Details

Time bar (total: 2.3s)

sample16.0ms

Algorithm
intervals
Results
6.0ms318×body80valid
1.0ms14×body1280valid
1.0msbody640valid
0.0msbody320valid

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

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

series191.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0253437
11184374
25001369

prune154.0ms

Pruning

12 alts after pruning (12 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
(* (- 6.0 (* 9.0 x)) x)

rewrite10.0ms

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

series118.0ms

Counts
2 → 6
Calls
2 calls:
43.0ms
(- 6.0 (* 9.0 x))
74.0ms
(* (- 6.0 (* 9.0 x)) x)

simplify94.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 3 (89.0ms)

IterNodesCost
0160218
1563191
23219187
35001173

prune98.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

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

rewrite17.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:
3.0ms
(- 2.0 (* x 3.0))
5.0ms
(* (- 2.0 (* x 3.0)) x)
7.0ms
(* 3.0 (* (- 2.0 (* x 3.0)) x))

series203.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0234366
1880311
25001304

prune144.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 2.0 (* x 3.0))
0.1b
(* (- 2.0 (* x 3.0)) x)
0.4b
(* (sqrt 3.0) (* (- 2.0 (* x 3.0)) x))
0.5b
(* (sqrt 3.0) (* (sqrt 3.0) (* (- 2.0 (* x 3.0)) x)))

rewrite31.0ms

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

series469.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(- 2.0 (* x 3.0))
78.0ms
(* (- 2.0 (* x 3.0)) x)
153.0ms
(* (sqrt 3.0) (* (- 2.0 (* x 3.0)) x))
202.0ms
(* (sqrt 3.0) (* (sqrt 3.0) (* (- 2.0 (* x 3.0)) x)))

simplify56.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0328668
11388541
25001531

prune189.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0b

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

sample358.0ms

Algorithm
intervals
Results
192.0ms9895×body80valid
28.0ms323×body1280valid
21.0ms289×body640valid
6.0ms116×body320valid
3.0ms73×body160valid