Details

Time bar (total: 2.2s)

sample17.0ms

Algorithm
intervals
Results
9.0ms385×body80valid

simplify186.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0134
1354
2814
31274
41334
51494
62054
73964
813284
946624
1050014

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite28.0ms

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

series65.0ms

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

simplify139.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0171170
1807140
24462140
35001140

prune39.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity associate-*r* pow-prod-down prod-exp cbrt-unprod
sum-log
+-commutative neg-sub0 associate-+r- flip3-+ associate-*l* unsub-neg neg-log *-commutative flip-+ unswap-sqr
Counts
2 → 34
Calls
2 calls:
20.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
18.0ms
(* (* x x) 3.0)

series109.0ms

Counts
2 → 6
Calls
2 calls:
86.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
23.0ms
(* (* x x) 3.0)

simplify38.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0193210
1975184
25002177

prune67.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

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

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
10×distribute-rgt-in distribute-lft-in
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
sub-neg associate-*r/ associate-*l*
add-cube-cbrt *-un-lft-identity
associate-*r* pow-prod-down prod-exp cbrt-unprod
flip3-- *-commutative flip-- add-log-exp
unswap-sqr
Counts
2 → 52
Calls
2 calls:
16.0ms
(* x (- 3.0 (* x 2.0)))
26.0ms
(* x (* x (- 3.0 (* x 2.0))))

series127.0ms

Counts
2 → 6
Calls
2 calls:
61.0ms
(* x (- 3.0 (* x 2.0)))
65.0ms
(* x (* x (- 3.0 (* x 2.0))))

simplify35.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0192313
1954262
25002262

prune68.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log add-cbrt-cube
15×add-sqr-sqrt
13×associate-*r*
11×add-cube-cbrt *-un-lft-identity
pow1
times-frac associate-*l* prod-exp cbrt-unprod add-log-exp
associate-*r/
cbrt-undiv div-exp associate-/r/
sub-neg flip3-- associate-/r* flip--
distribute-rgt-in distribute-lft-in flip3-+ pow-prod-down *-commutative flip-+ div-inv associate-/l/ difference-of-squares unswap-sqr
frac-2neg diff-log clear-num associate-/l*
Counts
4 → 92
Calls
4 calls:
9.0ms
(- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))
27.0ms
(* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))
37.0ms
(* x (/ (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0))))
25.0ms
(/ (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0)))

series431.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))
86.0ms
(* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0))))
139.0ms
(* x (/ (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0))))
154.0ms
(/ (* x (- (* 3.0 3.0) (* (* x 2.0) (* x 2.0)))) (+ 3.0 (* x 2.0)))

simplify77.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04051074
12260875
25001875

prune174.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes15.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0176
1196
2196

end0.0ms

sample398.0ms

Algorithm
intervals
Results
228.0ms12033×body80valid