Details

Time bar (total: 1.8s)

sample22.0ms

Algorithm
intervals
Results
8.0ms275×body80valid
2.0ms70×body80nan

simplify21.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0134
1234
2404
3594
4744
51034
61204
71454
82264
92574
102574

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (- 1.0 x) (* y (sqrt x)))
0.2b
(* y (sqrt x))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-log-exp
associate-*r*
add-cube-cbrt *-un-lft-identity
pow1 add-exp-log sqrt-prod add-cbrt-cube
associate-*l*
associate-+l+ sum-log unswap-sqr
+-commutative associate-+l- sub-neg flip3-+ diff-log pow-prod-down prod-exp *-commutative cbrt-unprod flip-+
Counts
2 → 37
Calls
2 calls:
5.0ms
(+ (- 1.0 x) (* y (sqrt x)))
4.0ms
(* y (sqrt x))

series16.0ms

Counts
2 → 6
Calls
2 calls:
10.0ms
(+ (- 1.0 x) (* y (sqrt x)))
6.0ms
(* y (sqrt x))

simplify124.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0229223
1909209
24523202
35001202

prune67.0ms

Filtered
43 candidates to 32 candidates (25.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New36743
Fresh000
Picked011
Done000
Total36844

Merged error: 0.0b

Counts
44 → 8

localize8.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt x))
0.1b
(sqrt (sqrt x))
0.2b
(* y (sqrt (sqrt x)))
0.3b
(* (* y (sqrt (sqrt x))) (sqrt (sqrt x)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
41×sqrt-prod
25×add-sqr-sqrt
18×associate-*r*
15×pow1 add-cube-cbrt *-un-lft-identity
11×add-exp-log add-cbrt-cube
sqrt-pow1
rem-sqrt-square pow1/2 associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp
unswap-sqr
*-commutative
Counts
4 → 88
Calls
4 calls:
2.0ms
(sqrt (sqrt x))
2.0ms
(sqrt (sqrt x))
6.0ms
(* y (sqrt (sqrt x)))
8.0ms
(* (* y (sqrt (sqrt x))) (sqrt (sqrt x)))

series46.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(sqrt (sqrt x))
15.0ms
(sqrt (sqrt x))
10.0ms
(* y (sqrt (sqrt x)))
6.0ms
(* (* y (sqrt (sqrt x))) (sqrt (sqrt x)))

simplify41.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0313517
11342467
25001423

prune96.0ms

Filtered
100 candidates to 58 candidates (42.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New973100
Fresh336
Picked101
Done011
Total1017108

Merged error: 0.0b

Counts
108 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (- 1.0 x) (* (* y (sqrt (sqrt x))) (pow x 1/4)))
0.1b
(sqrt (sqrt x))
0.2b
(* y (sqrt (sqrt x)))
0.3b
(* (* y (sqrt (sqrt x))) (pow x 1/4))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
22×sqrt-prod
20×add-sqr-sqrt
19×add-exp-log
16×associate-*r*
12×add-cube-cbrt *-un-lft-identity
11×add-cbrt-cube
10×prod-exp
add-log-exp
pow1
sqrt-pow1 associate-*l* cbrt-unprod
unpow-prod-down unswap-sqr
pow-to-exp rem-sqrt-square associate-+l+ pow1/2 pow-exp sum-log *-commutative
+-commutative associate-+l- sub-neg flip3-+ diff-log pow-prod-down flip-+ sqr-pow
Counts
4 → 84
Calls
4 calls:
7.0ms
(+ (- 1.0 x) (* (* y (sqrt (sqrt x))) (pow x 1/4)))
2.0ms
(sqrt (sqrt x))
6.0ms
(* y (sqrt (sqrt x)))
7.0ms
(* (* y (sqrt (sqrt x))) (pow x 1/4))

series49.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(+ (- 1.0 x) (* (* y (sqrt (sqrt x))) (pow x 1/4)))
14.0ms
(sqrt (sqrt x))
10.0ms
(* y (sqrt (sqrt x)))
12.0ms
(* (* y (sqrt (sqrt x))) (pow x 1/4))

simplify60.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0481641
12080593
25001573

prune124.0ms

Filtered
96 candidates to 61 candidates (36.5%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New95196
Fresh055
Picked011
Done011
Total958103

Merged error: 0b

Counts
103 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* y (cbrt (pow (sqrt (sqrt x)) 3)))
0.3b
(* (* y (cbrt (pow (sqrt (sqrt x)) 3))) (sqrt (sqrt x)))
0.6b
(cbrt (pow (sqrt (sqrt x)) 3))
0.8b
(pow (sqrt (sqrt x)) 3)

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
69×sqrt-prod
56×cbrt-prod
47×add-sqr-sqrt
36×associate-*r*
30×add-cube-cbrt unpow-prod-down *-un-lft-identity cube-prod
14×pow1
12×add-exp-log
10×add-cbrt-cube
unswap-sqr
pow-pow
sqrt-pow1 associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp sqr-pow
cube-mult pow-unpow unpow3
pow1/2 *-commutative
pow-to-exp pow1/3 pow-exp sqrt-pow2 rem-cbrt-cube rem-cube-cbrt
Counts
4 → 147
Calls
4 calls:
10.0ms
(* y (cbrt (pow (sqrt (sqrt x)) 3)))
11.0ms
(* (* y (cbrt (pow (sqrt (sqrt x)) 3))) (sqrt (sqrt x)))
4.0ms
(cbrt (pow (sqrt (sqrt x)) 3))
4.0ms
(pow (sqrt (sqrt x)) 3)

series52.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(* y (cbrt (pow (sqrt (sqrt x)) 3)))
6.0ms
(* (* y (cbrt (pow (sqrt (sqrt x)) 3))) (sqrt (sqrt x)))
14.0ms
(cbrt (pow (sqrt (sqrt x)) 3))
21.0ms
(pow (sqrt (sqrt x)) 3)

simplify74.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0514932
12342779
25001737

prune125.0ms

Filtered
159 candidates to 76 candidates (52.2%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1581159
Fresh145
Picked101
Done022
Total1607167

Merged error: 0b

Counts
167 → 7

regimes150.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
094
194

end0.0ms

sample587.0ms

Algorithm
intervals
Results
249.0ms8514×body80valid
59.0ms2160×body80nan
0.0msbody160valid

Profiling

Loading profile data...