Details

Time bar (total: 3.9s)

sample33.0ms

Algorithm
intervals
Results
8.0ms263×body80nan
6.0ms62×body1280valid
4.0ms128×body80valid
3.0ms40×body640valid
1.0ms19×body320valid
0.0msbody160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.9b

localize5.0ms

Local error

Found 1 expressions with local error:

2.7b
(- (sqrt (+ x 1.0)) (sqrt x))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
57×sqrt-prod
50×*-un-lft-identity
42×prod-diff
37×add-sqr-sqrt
29×add-cube-cbrt
distribute-lft-out
fma-neg
difference-of-squares
distribute-lft-out-- add-log-exp
pow1 add-exp-log expm1-log1p-u sub-neg flip3-- diff-log add-cbrt-cube flip-- log1p-expm1-u
Counts
1 → 70
Calls
1 calls:
39.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series66.0ms

Counts
1 → 3
Calls
1 calls:
65.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify130.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (122.0ms)

IterNodesCost
02521065
1759733
24363623
35001593

prune91.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (sqrt (+ x 1.0)) (sqrt x))
0.2b
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
74×*-un-lft-identity
32×distribute-lft-out
28×sqrt-prod
24×times-frac
16×add-sqr-sqrt add-cube-cbrt
fma-def
associate-/r*
add-exp-log add-cbrt-cube associate-/l* add-log-exp
flip3-+ flip-+
pow1 expm1-log1p-u associate-/r/ log1p-expm1-u associate-/l/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 75
Calls
2 calls:
17.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
30.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

series204.0ms

Counts
2 → 6
Calls
2 calls:
61.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
143.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify44.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0356693
11446627
25001586

prune162.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt (+ x 1.0)))
0.1b
(sqrt (sqrt (+ x 1.0)))
0.1b
(fma (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0))) (sqrt x))
0.2b
(/ (+ 1.0 0) (fma (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0))) (sqrt x)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
29×*-un-lft-identity
24×sqrt-prod
21×add-sqr-sqrt
17×add-cube-cbrt
12×times-frac
pow1 sqrt-pow1 sqrt-div
add-exp-log add-cbrt-cube distribute-lft-out
expm1-log1p-u rem-sqrt-square pow1/2 log1p-expm1-u associate-/l* add-log-exp
flip3-+ associate-/r* flip-+
associate-/l/
cbrt-undiv frac-2neg div-exp clear-num fma-udef div-inv
Counts
4 → 93
Calls
4 calls:
4.0ms
(sqrt (sqrt (+ x 1.0)))
4.0ms
(sqrt (sqrt (+ x 1.0)))
0.0ms
(fma (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0))) (sqrt x))
7.0ms
(/ (+ 1.0 0) (fma (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0))) (sqrt x)))

series702.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(sqrt (sqrt (+ x 1.0)))
92.0ms
(sqrt (sqrt (+ x 1.0)))
221.0ms
(fma (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0))) (sqrt x))
298.0ms
(/ (+ 1.0 0) (fma (sqrt (sqrt (+ x 1.0))) (sqrt (sqrt (+ x 1.0))) (sqrt x)))

simplify86.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
07431312
132301218
250031183

prune327.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))
0.3b
(cbrt (+ x 1.0))
0.3b
(cbrt (+ x 1.0))
0.3b
(cbrt (+ x 1.0))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
36×cbrt-prod
35×*-un-lft-identity
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt
11×pow1
flip3-+ pow1/3 swap-sqr flip-+ distribute-lft-out
associate-*r* associate-*l*
add-exp-log
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 103
Calls
4 calls:
18.0ms
(* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))
2.0ms
(cbrt (+ x 1.0))
2.0ms
(cbrt (+ x 1.0))
2.0ms
(cbrt (+ x 1.0))

series361.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(* (cbrt (+ x 1.0)) (cbrt (+ x 1.0)))
85.0ms
(cbrt (+ x 1.0))
85.0ms
(cbrt (+ x 1.0))
85.0ms
(cbrt (+ x 1.0))

simplify148.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 3 (139.0ms)

IterNodesCost
0321818
11064769
24750694
35001688

prune365.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.0b

regimes38.0ms

Accuracy

0% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01210
11610
21610

end0.0ms

sample917.0ms

Algorithm
intervals
Results
248.0ms7979×body80nan
189.0ms1766×body1280valid
138.0ms4115×body80valid
107.0ms1246×body640valid
40.0ms596×body320valid
14.0ms277×body160valid