Details

Time bar (total: 2.3s)

sample14.0ms

Algorithm
intervals
Results
6.0ms327×body80valid
1.0ms11×body1280valid
1.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0144
1324
2754
31414
41704
51704

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.3b

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

rewrite15.0ms

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

series180.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(- 2.0 (* x 3.0))
86.0ms
(* (* 3.0 (- 2.0 (* x 3.0))) x)
59.0ms
(* 3.0 (- 2.0 (* x 3.0)))

simplify47.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0219323
11062277
25002274

prune110.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize4.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.0ms

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

series112.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(- 6.0 (* 9.0 x))
71.0ms
(* x (- 6.0 (* 9.0 x)))

simplify108.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0140190
1583168
23082168
35002168

prune71.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
50×pow1
32×add-exp-log add-cbrt-cube
28×add-sqr-sqrt
25×times-frac
23×add-cube-cbrt *-un-lft-identity
22×associate-*r*
21×pow-prod-down
15×prod-exp cbrt-unprod
difference-of-squares
associate-*l*
associate-/r/ pow-sqr pow-prod-up associate-/l* add-log-exp
cbrt-undiv div-exp associate-/r* *-commutative
flip3-+ pow-plus associate-*r/ flip-+ div-inv associate-/l/ unswap-sqr
pow2 flip3-- frac-2neg div-sub swap-sqr associate-*l/ clear-num flip--
Counts
4 → 128
Calls
4 calls:
14.0ms
(* (* 3.0 (/ (- (* 2.0 2.0) (* (* x 3.0) (* x 3.0))) (+ 2.0 (* x 3.0)))) x)
10.0ms
(* 3.0 (/ (- (* 2.0 2.0) (* (* x 3.0) (* x 3.0))) (+ 2.0 (* x 3.0))))
7.0ms
(/ (- (* 2.0 2.0) (* (* x 3.0) (* x 3.0))) (+ 2.0 (* x 3.0)))
7.0ms
(* (* x 3.0) (* x 3.0))

series468.0ms

Counts
4 → 12
Calls
4 calls:
187.0ms
(* (* 3.0 (/ (- (* 2.0 2.0) (* (* x 3.0) (* x 3.0))) (+ 2.0 (* x 3.0)))) x)
139.0ms
(* 3.0 (/ (- (* 2.0 2.0) (* (* x 3.0) (* x 3.0))) (+ 2.0 (* x 3.0))))
117.0ms
(/ (- (* 2.0 2.0) (* (* x 3.0) (* x 3.0))) (+ 2.0 (* x 3.0)))
25.0ms
(* (* x 3.0) (* x 3.0))

simplify109.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
04951322
129181118
250011118

prune234.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.1b
(- (* 6.0 x) (* 9.0 (pow x 2)))
0.2b
(* 9.0 (pow x 2))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
associate-*r*
add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube add-log-exp unswap-sqr
associate-*l* prod-exp
pow1 unpow2 sqr-pow
pow-to-exp sub-neg flip3-- diff-log pow-exp *-commutative flip-- cbrt-unprod
Counts
2 → 39
Calls
2 calls:
3.0ms
(- (* 6.0 x) (* 9.0 (pow x 2)))
6.0ms
(* 9.0 (pow x 2))

series103.0ms

Counts
2 → 6
Calls
2 calls:
77.0ms
(- (* 6.0 x) (* 9.0 (pow x 2)))
26.0ms
(* 9.0 (pow x 2))

simplify163.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 3 (159.0ms)

IterNodesCost
0174200
1676179
23696173
35002170

prune79.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

regimes20.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
083
183

end0.0ms

sample343.0ms

Algorithm
intervals
Results
177.0ms9849×body80valid
25.0ms319×body1280valid
17.0ms281×body640valid
7.0ms140×body320valid
2.0ms70×body160valid