Details

Time bar (total: 2.7s)

sample29.0ms

Algorithm
intervals
Results
18.0ms318×body80valid
1.0msbody1280valid
1.0msbody640valid
1.0msbody320valid

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

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

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

series202.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0253437
11184374
25002369

prune150.0ms

Pruning

6 alts after pruning (5 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))

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

series217.0ms

Counts
3 → 9
Calls
3 calls:
45.0ms
(- 2.0 (* x 3.0))
73.0ms
(* (- 2.0 (* x 3.0)) x)
98.0ms
(* 3.0 (* (- 2.0 (* x 3.0)) x))

simplify45.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0234366
1880311
25001304

prune142.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

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

series121.0ms

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

simplify125.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (119.0ms)

IterNodesCost
0173294
1724256
23900252
35001250

prune110.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

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

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:
2.0ms
(- 6.0 (* x 9.0))
8.0ms
(* x (- 6.0 (* x 9.0)))
0.0ms
(fma (- 9.0) x (* 9.0 x))

series183.0ms

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

simplify133.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 3 (127.0ms)

IterNodesCost
0183344
1765299
24119295
35001293

prune168.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

regimes23.0ms

Accuracy

0% (0.1b 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 (1.0ms)

IterNodesCost
0148
1148

end0.0ms

sample868.0ms

Algorithm
intervals
Results
573.0ms9801×body80valid
74.0ms314×body1280valid
56.0ms282×body640valid
24.0ms142×body320valid
7.0ms70×body160valid