Details

Time bar (total: 2.2s)

sample277.0ms

Algorithm
intervals
Results
5.0ms70×body1280valid
4.0ms173×body80valid
3.0ms54×body640valid
1.0ms23×body320valid
0.0msbody160valid

simplify123.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0144
1374
21034
32204
43874
55274
68034
716024
828614
943404
1048034
1150014

prune5.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 36.6b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (+ x 1.0) (+ x 1.0))
2.4b
(- (* (+ x 1.0) (+ x 1.0)) 1.0)

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
pow1 add-sqr-sqrt
add-cube-cbrt flip3-+ swap-sqr flip-+ distribute-lft-out
add-exp-log frac-times associate-*r* associate-*l* add-cbrt-cube add-log-exp
distribute-rgt-in distribute-lft-in associate-*r/ associate-*l/ associate--l+
pow2 sub-neg flip3-- pow-plus diff-log pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up flip-- cbrt-unprod difference-of-squares unswap-sqr
Counts
2 → 55
Calls
2 calls:
8.0ms
(* (+ x 1.0) (+ x 1.0))
10.0ms
(- (* (+ x 1.0) (+ x 1.0)) 1.0)

series77.0ms

Counts
2 → 6
Calls
2 calls:
16.0ms
(* (+ x 1.0) (+ x 1.0))
61.0ms
(- (* (+ x 1.0) (+ x 1.0)) 1.0)

simplify42.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0234303
1999270
25001261

prune72.0ms

Filtered
61 candidates to 34 candidates (55.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New59261
Fresh000
Picked101
Done000
Total60262

Merged error: 0.0b

Counts
62 → 2

localize3.0ms

Local error

Found 1 expressions with local error:

0.0b
(* x (+ 2.0 x))

rewrite6.0ms

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

series42.0ms

Counts
1 → 3
Calls
1 calls:
42.0ms
(* x (+ 2.0 x))

simplify79.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
012385
159476
2293776
3500176

prune27.0ms

Filtered
26 candidates to 16 candidates (61.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New25126
Fresh011
Picked011
Done000
Total25328

Merged error: 0b

Counts
28 → 3

localize5.0ms

Local error

Found 1 expressions with local error:

0.0b
(+ (* x 2.0) (pow x 2))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ sum-log add-cbrt-cube flip-+ distribute-lft-out unpow2
Counts
1 → 12
Calls
1 calls:
5.0ms
(+ (* x 2.0) (pow x 2))

series55.0ms

Counts
1 → 3
Calls
1 calls:
55.0ms
(+ (* x 2.0) (pow x 2))

simplify45.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
08977
133563
2114659
3500159

prune20.0ms

Filtered
15 candidates to 10 candidates (66.7%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New15015
Fresh011
Picked011
Done011
Total15318

Merged error: 0b

Counts
18 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x 1.0) (+ x 1.0))
0.1b
(* (pow (+ x 1.0) 3) (+ x 1.0))
2.4b
(+ (neg (* 1.0 1.0)) (* (pow (+ x 1.0) 3) (+ x 1.0)))
10.2b
(/ (+ (neg (* 1.0 1.0)) (* (pow (+ x 1.0) 3) (+ x 1.0))) (+ (* (+ x 1.0) (+ x 1.0)) 1.0))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
29×add-sqr-sqrt
20×add-cube-cbrt
18×associate-*l*
15×flip3-+ flip-+
13×add-exp-log
12×pow1
10×add-cbrt-cube
times-frac distribute-lft-out
frac-times associate-*r* add-log-exp
cube-div swap-sqr
unpow-prod-down cube-prod unswap-sqr
associate-*r/ associate-*l/ prod-exp
distribute-rgt-in distribute-lft-in associate-/r* associate-/l*
neg-sub0 associate-+l- associate-+r+ pow-plus sum-log associate-/r/ *-commutative pow-prod-up cbrt-unprod associate-/l/ sqr-pow
cbrt-undiv +-commutative pow2 cube-mult pow-to-exp frac-2neg unpow3 div-sub div-exp pow-prod-down neg-log pow-exp clear-num pow-sqr div-inv
Counts
4 → 133
Calls
4 calls:
8.0ms
(* (+ x 1.0) (+ x 1.0))
13.0ms
(* (pow (+ x 1.0) 3) (+ x 1.0))
4.0ms
(+ (neg (* 1.0 1.0)) (* (pow (+ x 1.0) 3) (+ x 1.0)))
14.0ms
(/ (+ (neg (* 1.0 1.0)) (* (pow (+ x 1.0) 3) (+ x 1.0))) (+ (* (+ x 1.0) (+ x 1.0)) 1.0))

series318.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (+ x 1.0) (+ x 1.0))
28.0ms
(* (pow (+ x 1.0) 3) (+ x 1.0))
36.0ms
(+ (neg (* 1.0 1.0)) (* (pow (+ x 1.0) 3) (+ x 1.0)))
238.0ms
(/ (+ (neg (* 1.0 1.0)) (* (pow (+ x 1.0) 3) (+ x 1.0))) (+ (* (+ x 1.0) (+ x 1.0)) 1.0))

simplify133.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (119.0ms)

IterNodesCost
06301224
136911064
250011017

prune233.0ms

Filtered
145 candidates to 100 candidates (69.0%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1450145
Fresh000
Picked011
Done022
Total1453148

Merged error: 0b

Counts
148 → 3

regimes27.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
062
162

end0.0ms

sample526.0ms

Algorithm
intervals
Results
170.0ms2289×body1280valid
98.0ms1690×body640valid
97.0ms5540×body80valid
35.0ms791×body320valid
12.0ms375×body160valid

Profiling

Loading profile data...