Details

Time bar (total: 2.3s)

sample15.0ms

Algorithm
intervals
Results
6.0ms306×body80valid
1.0ms12×body640valid
1.0msbody1280valid
0.0msbody320valid
0.0msbody160valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0144
1324
2814
31664
42254
52274
62274

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

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

rewrite53.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:
6.0ms
(- 2.0 (* x 3.0))
17.0ms
(* 3.0 (- 2.0 (* x 3.0)))
28.0ms
(* (* 3.0 (- 2.0 (* x 3.0))) x)

series183.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0253437
11184374
25002369

prune131.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize4.0ms

Local error

Found 1 expressions with local error:

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

rewrite21.0ms

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

series66.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0117122
1473108
22840104
35002104

prune50.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.0b

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

rewrite56.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:
6.0ms
(- 2.0 (* x 3.0))
27.0ms
(* 3.0 (* (- 2.0 (* x 3.0)) x))
21.0ms
(* (- 2.0 (* x 3.0)) x)

series195.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0234366
1880311
25001304

prune115.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize9.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.3b
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* (- 2.0 (* x 3.0)) x)))
0.4b
(* (cbrt 3.0) (* (- 2.0 (* x 3.0)) x))

rewrite146.0ms

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

series420.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- 2.0 (* x 3.0))
72.0ms
(* (- 2.0 (* x 3.0)) x)
176.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* (- 2.0 (* x 3.0)) x)))
137.0ms
(* (cbrt 3.0) (* (- 2.0 (* x 3.0)) x))

simplify52.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0358818
11431632
25001574

prune179.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

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

sample403.0ms

Algorithm
intervals
Results
186.0ms9841×body80valid
26.0ms325×body1280valid
21.0ms292×body640valid
8.0ms157×body320valid
3.0ms71×body160valid