Details

Time bar (total: 2.2s)

sample14.0ms

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

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0144
1324
2754
31414
41704
51704

prune1.0ms

Filtered
1 candidates to 0 candidates (0.0%)
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)))

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

series179.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(- 2.0 (* x 3.0))
84.0ms
(* (* 3.0 (- 2.0 (* x 3.0))) x)
57.0ms
(* 3.0 (- 2.0 (* x 3.0)))

simplify37.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0219323
11062277
25002274

prune105.0ms

Filtered
65 candidates to 42 candidates (64.6%)
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
(* (- 6.0 (* 9.0 x)) x)

rewrite10.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
associate-*r* associate-*l*
flip3-- associate-*l/ flip--
sub-neg diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
2 → 32
Calls
2 calls:
2.0ms
(- 6.0 (* 9.0 x))
7.0ms
(* (- 6.0 (* 9.0 x)) x)

series103.0ms

Counts
2 → 6
Calls
2 calls:
35.0ms
(- 6.0 (* 9.0 x))
68.0ms
(* (- 6.0 (* 9.0 x)) x)

simplify71.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0135174
1502155
22854152
35003152

prune67.0ms

Filtered
38 candidates to 25 candidates (65.8%)
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))

rewrite68.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:
22.0ms
(* (* 3.0 (/ (- (* 2.0 2.0) (* (* x 3.0) (* x 3.0))) (+ 2.0 (* x 3.0)))) x)
18.0ms
(* 3.0 (/ (- (* 2.0 2.0) (* (* x 3.0) (* x 3.0))) (+ 2.0 (* x 3.0))))
10.0ms
(/ (- (* 2.0 2.0) (* (* x 3.0) (* x 3.0))) (+ 2.0 (* x 3.0)))
10.0ms
(* (* x 3.0) (* x 3.0))

series454.0ms

Counts
4 → 12
Calls
4 calls:
178.0ms
(* (* 3.0 (/ (- (* 2.0 2.0) (* (* x 3.0) (* x 3.0))) (+ 2.0 (* x 3.0)))) x)
135.0ms
(* 3.0 (/ (- (* 2.0 2.0) (* (* x 3.0) (* x 3.0))) (+ 2.0 (* x 3.0))))
115.0ms
(/ (- (* 2.0 2.0) (* (* x 3.0) (* x 3.0))) (+ 2.0 (* x 3.0)))
25.0ms
(* (* x 3.0) (* x 3.0))

simplify97.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
04951322
129181118
250011118

prune223.0ms

Filtered
140 candidates to 85 candidates (60.7%)
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))

rewrite9.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:
2.0ms
(- (* 6.0 x) (* 9.0 (pow x 2)))
6.0ms
(* 9.0 (pow x 2))

series99.0ms

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

simplify153.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 3 (149.0ms)

IterNodesCost
0174200
1676179
23696173
35002170

prune72.0ms

Filtered
45 candidates to 29 candidates (64.4%)
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

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083
183

end0.0ms

sample342.0ms

Algorithm
intervals
Results
182.0ms9849×body80valid
26.0ms319×body1280valid
18.0ms281×body640valid
7.0ms140×body320valid
2.0ms70×body160valid