Details

Time bar (total: 2.4s)

sample25.0ms

Algorithm
intervals
Results
13.0ms306×body80valid
2.0ms16×body640valid
1.0msbody1280valid
1.0msbody320valid
0.0msbody160valid

simplify14.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

localize9.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)))
0.1b
(* (* 3.0 (- 2.0 (* x 3.0))) x)

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

series180.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0219323
11062277
25002274

prune104.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize4.0ms

Local error

Found 1 expressions with local error:

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

rewrite8.0ms

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

series70.0ms

Counts
1 → 3
Calls
1 calls:
70.0ms
(* x (- 6.0 (* 9.0 x)))

simplify87.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0122130
1534113
22894113
35001113

prune50.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.0ms

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

series197.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0207312
1816266
25001260

prune100.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(- 2.0 (* x 3.0))
0.1b
(* (- 2.0 (* x 3.0)) x)
0.3b
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* (- 2.0 (* x 3.0)) x)))
0.4b
(* (cbrt 3.0) (* (- 2.0 (* x 3.0)) x))

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
32×pow1 add-exp-log
20×add-cbrt-cube
19×pow-prod-down prod-exp cbrt-unprod
10×add-sqr-sqrt associate-*l*
add-cube-cbrt *-un-lft-identity
associate-*r/ associate-*l/ add-log-exp
associate-*r*
flip3-- flip--
cbrt-prod *-commutative
sub-neg diff-log unswap-sqr
Counts
4 → 85
Calls
4 calls:
5.0ms
(- 2.0 (* x 3.0))
7.0ms
(* (- 2.0 (* x 3.0)) x)
38.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* (- 2.0 (* x 3.0)) x)))
12.0ms
(* (cbrt 3.0) (* (- 2.0 (* x 3.0)) x))

series431.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(- 2.0 (* x 3.0))
66.0ms
(* (- 2.0 (* x 3.0)) x)
187.0ms
(* (* (cbrt 3.0) (cbrt 3.0)) (* (cbrt 3.0) (* (- 2.0 (* x 3.0)) x)))
137.0ms
(* (cbrt 3.0) (* (- 2.0 (* x 3.0)) x))

simplify50.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0328742
11360566
25002516

prune145.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0b

regimes26.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

sample672.0ms

Algorithm
intervals
Results
427.0ms9908×body80valid
56.0ms318×body1280valid
41.0ms291×body640valid
16.0ms147×body320valid
6.0ms75×body160valid