Details

Time bar (total: 3.1s)

sample25.0ms

Algorithm
intervals
Results
17.0ms388×body80valid

simplify222.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0134
1354
2894
31574
41704
51864
62444
74424
813894
947614
1050014

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize8.0ms

Local error

Found 1 expressions with local error:

0.2b
(* (* x x) (- 3.0 (* x 2.0)))

rewrite14.0ms

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

series82.0ms

Counts
1 → 3
Calls
1 calls:
82.0ms
(* (* x x) (- 3.0 (* x 2.0)))

simplify36.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0216252
1984214
25002203

prune57.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 2.0 (pow x 3))
0.0b
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
0.2b
(* (* x x) 3.0)

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
15×associate-*r*
13×add-exp-log
10×add-cbrt-cube
pow1 add-cube-cbrt *-un-lft-identity
add-log-exp
prod-exp
unswap-sqr
unpow-prod-down cube-prod associate-*l* cbrt-unprod
expm1-log1p-u pow-prod-down log1p-expm1-u
sum-log *-commutative sqr-pow
+-commutative neg-sub0 cube-mult pow-to-exp associate-+r- fma-def flip3-+ unpow3 unsub-neg neg-log pow-exp flip-+
Counts
3 → 72
Calls
3 calls:
7.0ms
(* 2.0 (pow x 3))
8.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
8.0ms
(* (* x x) 3.0)

series170.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(* 2.0 (pow x 3))
102.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
29.0ms
(* (* x x) 3.0)

simplify60.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0305350
11570308
25001301

prune174.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
25×distribute-rgt-in distribute-lft-in
18×prod-diff
13×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube
sub-neg associate-*r/ associate-*l*
associate-*r* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u flip3-- *-commutative flip-- log1p-expm1-u add-log-exp
unswap-sqr
Counts
2 → 74
Calls
2 calls:
8.0ms
(* x (- 3.0 (* x 2.0)))
16.0ms
(* x (* x (- 3.0 (* x 2.0))))

series157.0ms

Counts
2 → 6
Calls
2 calls:
72.0ms
(* x (- 3.0 (* x 2.0)))
84.0ms
(* x (* x (- 3.0 (* x 2.0))))

simplify44.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0248535
11174460
25001440

prune110.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (- 3.0 (* x 2.0)))
0.2b
(* x (/ (* (* x (- 3.0 (* x 2.0))) (fma 2.0 x 3.0)) (+ 3.0 (* x 2.0))))
0.3b
(* (* x (- 3.0 (* x 2.0))) (fma 2.0 x 3.0))
0.3b
(/ (* (* x (- 3.0 (* x 2.0))) (fma 2.0 x 3.0)) (+ 3.0 (* x 2.0)))

rewrite76.0ms

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

series679.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(* x (- 3.0 (* x 2.0)))
209.0ms
(* x (/ (* (* x (- 3.0 (* x 2.0))) (fma 2.0 x 3.0)) (+ 3.0 (* x 2.0))))
158.0ms
(* (* x (- 3.0 (* x 2.0))) (fma 2.0 x 3.0))
232.0ms
(/ (* (* x (- 3.0 (* x 2.0))) (fma 2.0 x 3.0)) (+ 3.0 (* x 2.0)))

simplify110.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (97.0ms)

IterNodesCost
04911165
13075777
25001761

prune272.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

regimes19.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 (1.0ms)

IterNodesCost
0169
1169

end0.0ms

sample673.0ms

Algorithm
intervals
Results
540.0ms12024×body80valid