Details

Time bar (total: 2.5s)

sample23.0ms

Algorithm
intervals
Results
6.0ms275×body80valid
5.0ms275×body80nan

simplify22.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0134
1253
2443
3693
41023
51713
61923
72253
83163
93513
103513

prune6.0ms

Filtered
1 candidates to 1 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 → 2

localize5.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma (sqrt x) y (- 1.0 x))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
1.0ms
(fma (sqrt x) y (- 1.0 x))

series44.0ms

Counts
1 → 3
Calls
1 calls:
44.0ms
(fma (sqrt x) y (- 1.0 x))

simplify42.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (15.0ms)

IterNodesCost
06471
116257
247655
3175554
4500154

prune30.0ms

Filtered
13 candidates to 12 candidates (92.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New11213
Fresh011
Picked101
Done000
Total12315

Merged error: 0.0b

Counts
15 → 3

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
14×*-un-lft-identity
12×add-cube-cbrt
11×associate-+l+
prod-diff
add-log-exp
associate-*r*
fma-def
pow1 add-exp-log sqrt-prod add-cbrt-cube
associate-*l*
expm1-log1p-u sum-log log1p-expm1-u unswap-sqr
+-commutative associate-+l- sub-neg flip3-+ diff-log pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ distribute-lft-out-- difference-of-squares
Counts
2 → 55
Calls
2 calls:
7.0ms
(+ (- 1.0 x) (* y (sqrt x)))
5.0ms
(* y (sqrt x))

series77.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0273339
11115252
25002244

prune118.0ms

Filtered
61 candidates to 46 candidates (75.4%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New57461
Fresh022
Picked011
Done000
Total57764

Merged error: 0.0b

Counts
64 → 7

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)))
0.3b
(* (* y (sqrt (sqrt x))) (sqrt (sqrt x)))

rewrite25.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
expm1-log1p-u rem-sqrt-square pow1/2 associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u add-log-exp
unswap-sqr
*-commutative
Counts
4 → 96
Calls
4 calls:
2.0ms
(sqrt (sqrt x))
2.0ms
(sqrt (sqrt x))
6.0ms
(* y (sqrt (sqrt x)))
12.0ms
(* (* y (sqrt (sqrt x))) (sqrt (sqrt x)))

series389.0ms

Counts
4 → 12
Calls
4 calls:
133.0ms
(sqrt (sqrt x))
137.0ms
(sqrt (sqrt x))
79.0ms
(* y (sqrt (sqrt x)))
40.0ms
(* (* y (sqrt (sqrt x))) (sqrt (sqrt x)))

simplify45.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0351549
11519488
25001461

prune186.0ms

Filtered
108 candidates to 68 candidates (63.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1053108
Fresh235
Picked101
Done011
Total1087115

Merged error: 0b

Counts
115 → 7

localize14.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))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
22×sqrt-prod
21×*-un-lft-identity
19×add-exp-log add-cube-cbrt
16×associate-*r*
11×associate-+l+ add-cbrt-cube
10×prod-exp
prod-diff add-log-exp
pow1
fma-def
expm1-log1p-u sqrt-pow1 associate-*l* cbrt-unprod log1p-expm1-u
unpow-prod-down unswap-sqr
pow-to-exp rem-sqrt-square pow1/2 pow-exp sum-log *-commutative
+-commutative associate-+l- sub-neg flip3-+ diff-log pow-prod-down flip-+ distribute-lft-out-- difference-of-squares sqr-pow
Counts
4 → 106
Calls
4 calls:
8.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))

series360.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(+ (- 1.0 x) (* (* y (sqrt (sqrt x))) (pow x 1/4)))
137.0ms
(sqrt (sqrt x))
78.0ms
(* y (sqrt (sqrt x)))
81.0ms
(* (* y (sqrt (sqrt x))) (pow x 1/4))

simplify80.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
0586817
12765696
25002690

prune232.0ms

Filtered
118 candidates to 84 candidates (71.2%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1180118
Fresh055
Picked011
Done011
Total1187125

Merged error: 0b

Counts
125 → 7

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

sample592.0ms

Algorithm
intervals
Results
176.0ms8497×body80valid
157.0ms8410×body80nan