Details

Time bar (total: 2.9s)

sample26.0ms

Algorithm
intervals
Results
6.0ms276×body80valid
5.0ms289×body80nan

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

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

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:
0.0ms
(fma (sqrt x) y (- 1.0 x))

series41.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (16.0ms)

IterNodesCost
06471
116257
247655
3175554
4500154

prune34.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite42.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:
31.0ms
(+ (- 1.0 x) (* y (sqrt x)))
9.0ms
(* y (sqrt x))

series73.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0273339
11115252
25002244

prune140.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

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

rewrite55.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))
12.0ms
(* y (sqrt (sqrt x)))
36.0ms
(* (* y (sqrt (sqrt x))) (sqrt (sqrt x)))

series376.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(sqrt (sqrt x))
135.0ms
(sqrt (sqrt x))
76.0ms
(* y (sqrt (sqrt x)))
37.0ms
(* (* y (sqrt (sqrt x))) (sqrt (sqrt x)))

simplify50.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0351549
11519488
25001461

prune217.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
41×add-exp-log
34×add-sqr-sqrt
26×add-cube-cbrt unpow-prod-down *-un-lft-identity associate-*r*
22×sqrt-prod
19×prod-exp
18×times-frac
12×pow-exp
11×add-cbrt-cube
10×pow1
div-exp
expm1-log1p-u sqrt-pow1 associate-*l* cbrt-unprod log1p-expm1-u add-log-exp
pow-to-exp rec-exp pow-unpow pow-pow 1-exp unswap-sqr
rem-sqrt-square pow1/2 *-commutative div-inv sqr-pow
pow-flip pow-prod-down inv-pow
Counts
4 → 125
Calls
4 calls:
6.0ms
(pow (/ 1 x) -1/4)
2.0ms
(sqrt (sqrt x))
12.0ms
(* y (sqrt (sqrt x)))
44.0ms
(* (* y (sqrt (sqrt x))) (pow (/ 1 x) -1/4))

series469.0ms

Counts
4 → 12
Calls
4 calls:
183.0ms
(pow (/ 1 x) -1/4)
128.0ms
(sqrt (sqrt x))
77.0ms
(* y (sqrt (sqrt x)))
81.0ms
(* (* y (sqrt (sqrt x))) (pow (/ 1 x) -1/4))

simplify74.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
0641800
12914727
25001710

prune301.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

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

sample690.0ms

Algorithm
intervals
Results
181.0ms8569×body80valid
157.0ms8548×body80nan
0.0msbody640valid