Details

Time bar (total: 3.5s)

sample32.0ms

Algorithm
intervals
Results
11.0ms276×body80valid
9.0ms288×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

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

series43.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (14.0ms)

IterNodesCost
06471
116257
247655
3175554
4500154

prune34.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite19.0ms

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

series91.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0317314
11113255
25001238

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
41×sqrt-prod
25×add-sqr-sqrt
18×associate-*l*
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-*r* 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))
10.0ms
(* (sqrt (sqrt x)) y)
17.0ms
(* (sqrt (sqrt x)) (* (sqrt (sqrt x)) y))

series434.0ms

Counts
4 → 12
Calls
4 calls:
135.0ms
(sqrt (sqrt x))
130.0ms
(sqrt (sqrt x))
120.0ms
(* (sqrt (sqrt x)) y)
49.0ms
(* (sqrt (sqrt x)) (* (sqrt (sqrt x)) y))

simplify39.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0333534
11205473
25001456

prune247.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt x) (cbrt x))
0.5b
(cbrt x)
0.5b
(cbrt x)
0.5b
(cbrt x)

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
6.0ms
(* (cbrt x) (cbrt x))
1.0ms
(cbrt x)
1.0ms
(cbrt x)
1.0ms
(cbrt x)

series872.0ms

Counts
4 → 12
Calls
4 calls:
328.0ms
(* (cbrt x) (cbrt x))
177.0ms
(cbrt x)
180.0ms
(cbrt x)
187.0ms
(cbrt x)

simplify90.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 3 (85.0ms)

IterNodesCost
0119308
1477281
22972258
35001255

prune350.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

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

sample879.0ms

Algorithm
intervals
Results
341.0ms8552×body80valid
270.0ms8509×body80nan
0.0msbody320valid