Details

Time bar (total: 2.3s)

sample38.0ms

Algorithm
intervals
Results
13.0ms275×body80valid
8.0ms278×body80nan

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

localize6.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:
6.0ms
(+ (- 1.0 x) (* y (sqrt x)))
5.0ms
(* y (sqrt x))

series13.0ms

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

simplify132.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0229223
1909209
24523202
35001202

prune65.0ms

Filtered
43 candidates to 32 candidates (25.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New38543
Fresh000
Picked011
Done000
Total38644

Merged error: 0.0b

Counts
44 → 6

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.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))
8.0ms
(* (* y (sqrt (sqrt x))) (sqrt (sqrt x)))
6.0ms
(* y (sqrt (sqrt x)))

series46.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0313517
11343467
25001423

prune106.0ms

Filtered
100 candidates to 58 candidates (42.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New964100
Fresh224
Picked101
Done011
Total997106

Merged error: 0.0b

Counts
106 → 7

localize15.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.3b
(* y (sqrt (sqrt x)))
0.3b
(* (* y (sqrt (sqrt x))) (pow x 1/4))

rewrite25.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)))
8.0ms
(* (* y (sqrt (sqrt x))) (pow x 1/4))

series51.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0481644
12063594
25001574

prune135.0ms

Filtered
96 candidates to 61 candidates (36.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New95196
Fresh145
Picked101
Done011
Total976103

Merged error: 0b

Counts
103 → 6

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt x))
0.3b
(* y (sqrt (sqrt x)))
0.3b
(* (* y (sqrt (sqrt x))) (sqrt (pow x 1/4)))
0.3b
(* (* (* y (sqrt (sqrt x))) (sqrt (pow x 1/4))) (sqrt (pow x 1/4)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
36×sqrt-prod
29×associate-*r*
24×add-sqr-sqrt
22×pow1
20×add-exp-log add-cbrt-cube
16×add-cube-cbrt *-un-lft-identity
10×pow-prod-down prod-exp cbrt-unprod
unpow-prod-down
associate-*l*
sqrt-pow1 add-log-exp
*-commutative unswap-sqr
rem-sqrt-square pow1/2 sqr-pow
Counts
4 → 98
Calls
4 calls:
2.0ms
(sqrt (sqrt x))
6.0ms
(* y (sqrt (sqrt x)))
9.0ms
(* (* y (sqrt (sqrt x))) (sqrt (pow x 1/4)))
12.0ms
(* (* (* y (sqrt (sqrt x))) (sqrt (pow x 1/4))) (sqrt (pow x 1/4)))

series56.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(sqrt (sqrt x))
10.0ms
(* y (sqrt (sqrt x)))
18.0ms
(* (* y (sqrt (sqrt x))) (sqrt (pow x 1/4)))
13.0ms
(* (* (* y (sqrt (sqrt x))) (sqrt (pow x 1/4))) (sqrt (pow x 1/4)))

simplify73.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
0545809
12609710
25001685

prune175.0ms

Filtered
110 candidates to 65 candidates (40.9%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1100110
Fresh044
Picked011
Done011
Total1106116

Merged error: 0b

Counts
116 → 6

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

sample955.0ms

Algorithm
intervals
Results
260.0ms8567×body80valid
246.0ms8663×body80nan
0.0msbody320valid

Profiling

Loading profile data...