Details

Time bar (total: 3.6s)

sample34.0ms

Algorithm
intervals
Results
11.0ms274×body80valid
10.0ms302×body80nan

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (2.0ms)

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

prune4.0ms

Pruning

1 alts after pruning (1 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))

simplify41.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (14.0ms)

IterNodesCost
06471
116257
247655
3175554
4500154

prune29.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
21×sqrt-prod
20×pow1
13×add-cube-cbrt *-un-lft-identity
sqrt-pow1 pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr
fma-udef
pow2 rem-sqrt-square pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 86
Calls
4 calls:
1.0ms
(sqrt (fma (sqrt x) y (- 1.0 x)))
0.0ms
(fma (sqrt x) y (- 1.0 x))
0.0ms
(fma (sqrt x) y (- 1.0 x))
7.0ms
(* (sqrt (fma (sqrt x) y (- 1.0 x))) (sqrt (fma (sqrt x) y (- 1.0 x))))

series193.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(sqrt (fma (sqrt x) y (- 1.0 x)))
40.0ms
(fma (sqrt x) y (- 1.0 x))
37.0ms
(fma (sqrt x) y (- 1.0 x))
40.0ms
(* (sqrt (fma (sqrt x) y (- 1.0 x))) (sqrt (fma (sqrt x) y (- 1.0 x))))

simplify148.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 3 (140.0ms)

IterNodesCost
0202579
1700493
23972465
35001462

prune198.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.1b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (sqrt (sqrt (fma (sqrt x) y (- 1.0 x)))) (pow (sqrt (sqrt (fma (sqrt x) y (- 1.0 x)))) 3))
0.1b
(fma (sqrt x) y (- 1.0 x))
0.1b
(fma (sqrt x) y (- 1.0 x))
0.1b
(pow (sqrt (sqrt (fma (sqrt x) y (- 1.0 x)))) 3)

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
87×sqrt-prod
66×add-sqr-sqrt
27×unpow-prod-down cube-prod
24×associate-*r* unswap-sqr
21×add-cube-cbrt *-un-lft-identity
10×add-exp-log
associate-*l*
pow1
add-cbrt-cube
pow-pow sqr-pow
expm1-log1p-u sqrt-pow1 log1p-expm1-u add-log-exp
pow-unpow prod-exp
cube-mult pow-to-exp pow1/2 unpow3 pow-exp fma-udef
*-commutative pow-prod-up sqrt-pow2 cbrt-unprod rem-cube-cbrt
Counts
4 → 134
Calls
4 calls:
19.0ms
(* (sqrt (sqrt (fma (sqrt x) y (- 1.0 x)))) (pow (sqrt (sqrt (fma (sqrt x) y (- 1.0 x)))) 3))
0.0ms
(fma (sqrt x) y (- 1.0 x))
0.0ms
(fma (sqrt x) y (- 1.0 x))
3.0ms
(pow (sqrt (sqrt (fma (sqrt x) y (- 1.0 x)))) 3)

series361.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(* (sqrt (sqrt (fma (sqrt x) y (- 1.0 x)))) (pow (sqrt (sqrt (fma (sqrt x) y (- 1.0 x)))) 3))
42.0ms
(fma (sqrt x) y (- 1.0 x))
37.0ms
(fma (sqrt x) y (- 1.0 x))
243.0ms
(pow (sqrt (sqrt (fma (sqrt x) y (- 1.0 x)))) 3)

simplify64.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
03921805
116831256
250011051

prune271.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (sqrt (sqrt (fma (sqrt x) y (- 1.0 x)))) (/ 3 2))
0.1b
(fma (sqrt x) y (- 1.0 x))
0.1b
(fma (sqrt x) y (- 1.0 x))
0.1b
(pow (sqrt (sqrt (fma (sqrt x) y (- 1.0 x)))) 5/2)

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt add-cube-cbrt unpow-prod-down *-un-lft-identity sqrt-prod
16×pow-unpow
10×pow1 pow-pow
times-frac
sqrt-pow1
add-exp-log
expm1-log1p-u pow1/2 add-cbrt-cube log1p-expm1-u add-log-exp
pow-to-exp pow-exp sqrt-pow2 fma-udef sqr-pow
div-inv
Counts
4 → 90
Calls
4 calls:
6.0ms
(pow (sqrt (sqrt (fma (sqrt x) y (- 1.0 x)))) (/ 3 2))
0.0ms
(fma (sqrt x) y (- 1.0 x))
0.0ms
(fma (sqrt x) y (- 1.0 x))
3.0ms
(pow (sqrt (sqrt (fma (sqrt x) y (- 1.0 x)))) 5/2)

series505.0ms

Counts
4 → 12
Calls
4 calls:
217.0ms
(pow (sqrt (sqrt (fma (sqrt x) y (- 1.0 x)))) (/ 3 2))
38.0ms
(fma (sqrt x) y (- 1.0 x))
41.0ms
(fma (sqrt x) y (- 1.0 x))
209.0ms
(pow (sqrt (sqrt (fma (sqrt x) y (- 1.0 x)))) 5/2)

simplify54.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0557843
11857779
25001771

prune447.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0.0b

regimes45.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
063

end0.0ms

sample1.0s

Algorithm
intervals
Results
378.0ms8529×body80valid
321.0ms8642×body80nan
0.0msbody1280valid
0.0msbody640valid