Details

Time bar (total: 2.1s)

sample23.0ms

Algorithm
intervals
Results
15.0ms382×body80valid

simplify194.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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)))

rewrite12.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:
11.0ms
(* (* x x) (- 3.0 (* x 2.0)))

series72.0ms

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

simplify146.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0171170
1807140
24462140
35001140

prune44.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

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

rewrite26.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
pow-prod-down
sum-log *-commutative sqr-pow
+-commutative neg-sub0 cube-mult pow-to-exp associate-+r- flip3-+ unpow3 unsub-neg neg-log pow-exp flip-+
Counts
3 → 65
Calls
3 calls:
6.0ms
(* 2.0 (pow x 3))
8.0ms
(+ (* (* x x) 3.0) (- (* 2.0 (pow x 3))))
10.0ms
(* (* x x) 3.0)

series159.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0292325
11517282
25001277

prune123.0ms

Pruning

7 alts after pruning (7 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.3b
(* x (* x 3.0))

rewrite22.0ms

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

series157.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0279321
11424280
25001274

prune126.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite12.0ms

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

series74.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0139147
1563122
22569119
35001119

prune32.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

regimes24.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
094
194

end0.0ms

sample626.0ms

Algorithm
intervals
Results
485.0ms11999×body80valid