Details

Time bar (total: 3.1s)

sample25.0ms

Algorithm
intervals
Results
6.0ms272×body80valid
6.0ms303×body80nan

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

series44.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (14.0ms)

IterNodesCost
06471
116257
247655
3175554
4500154

prune42.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.1b

localize5.0ms

Local error

Found 2 expressions with local error:

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

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

series82.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0273339
11115252
25002244

prune148.0ms

Pruning

7 alts after pruning (6 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.2b
(* y (sqrt (sqrt x)))
0.4b
(* (* y (sqrt (sqrt x))) (sqrt (sqrt x)))

rewrite28.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:
1.0ms
(sqrt (sqrt x))
1.0ms
(sqrt (sqrt x))
6.0ms
(* y (sqrt (sqrt x)))
16.0ms
(* (* y (sqrt (sqrt x))) (sqrt (sqrt x)))

series543.0ms

Counts
4 → 12
Calls
4 calls:
277.0ms
(sqrt (sqrt x))
137.0ms
(sqrt (sqrt x))
83.0ms
(* y (sqrt (sqrt x)))
46.0ms
(* (* y (sqrt (sqrt x))) (sqrt (sqrt x)))

simplify48.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0351549
11519488
25001461

prune250.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite198.0ms

Algorithm
rewrite-expression-head
Rules
175×sqrt-prod
85×add-sqr-sqrt
76×sqrt-pow1
51×pow1
26×add-cube-cbrt *-un-lft-identity pow1/2
24×swap-sqr
22×associate-*r*
20×add-exp-log add-cbrt-cube
17×unswap-sqr
16×associate-*l* pow-prod-down
13×pow-prod-up
10×prod-exp cbrt-unprod
pow-sqr
expm1-log1p-u log1p-expm1-u add-log-exp
*-commutative
rem-sqrt-square
pow2 pow-plus sqrt-unprod rem-square-sqrt
Counts
4 → 178
Calls
4 calls:
2.0ms
(sqrt (sqrt x))
35.0ms
(* y (* (sqrt (sqrt (sqrt x))) (sqrt (sqrt (sqrt x)))))
134.0ms
(* (* y (* (sqrt (sqrt (sqrt x))) (sqrt (sqrt (sqrt x))))) (sqrt (sqrt x)))
19.0ms
(* (sqrt (sqrt (sqrt x))) (sqrt (sqrt (sqrt x))))

series407.0ms

Counts
4 → 12
Calls
4 calls:
140.0ms
(sqrt (sqrt x))
83.0ms
(* y (* (sqrt (sqrt (sqrt x))) (sqrt (sqrt (sqrt x)))))
41.0ms
(* (* y (* (sqrt (sqrt (sqrt x))) (sqrt (sqrt (sqrt x))))) (sqrt (sqrt x)))
142.0ms
(* (sqrt (sqrt (sqrt x))) (sqrt (sqrt (sqrt x))))

simplify78.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
04881130
12306874
25002859

prune315.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

regimes59.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
063

end0.0ms

sample660.0ms

Algorithm
intervals
Results
192.0ms8564×body80valid
180.0ms8727×body80nan
0.0msbody1280valid
0.0msbody160valid