Details

Time bar (total: 6.6s)

sample26.0ms

Algorithm
intervals
Results
5.0ms293×body80nan
3.0ms43×body1280valid
3.0ms141×body80valid
2.0ms37×body640valid
1.0ms19×body320valid
1.0ms16×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.3b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(sqrt (+ x 1.0))
4.3b
(- (sqrt (+ x 1.0)) (sqrt x))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
61×sqrt-prod
54×*-un-lft-identity
42×add-sqr-sqrt prod-diff
31×add-cube-cbrt
distribute-lft-out
fma-neg
add-log-exp difference-of-squares
pow1 distribute-lft-out--
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u
sub-neg rem-sqrt-square flip3-- sqrt-pow1 flip3-+ pow1/2 diff-log flip-- flip-+ hypot-def
Counts
2 → 89
Calls
2 calls:
7.0ms
(sqrt (+ x 1.0))
48.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series99.0ms

Counts
2 → 6
Calls
2 calls:
30.0ms
(sqrt (+ x 1.0))
69.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify39.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
02991161
1921822
25001744

prune139.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
78×*-un-lft-identity
33×distribute-lft-out
32×sqrt-prod
24×times-frac
21×add-sqr-sqrt
18×add-cube-cbrt
fma-def
associate-/r*
add-exp-log add-cbrt-cube add-log-exp
pow1 flip3-+ flip-+ associate-/l*
expm1-log1p-u log1p-expm1-u
sqrt-div associate-/r/ associate-/l/
cbrt-undiv +-commutative rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num sum-log hypot-def div-inv
Counts
3 → 94
Calls
3 calls:
7.0ms
(sqrt (+ x 1.0))
31.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
54.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

series235.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(sqrt (+ x 1.0))
67.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
139.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify49.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0409789
11675716
25001675

prune223.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite395.0ms

Algorithm
rewrite-expression-head
Rules
597×*-un-lft-identity
420×sqrt-prod
256×distribute-lft-out
247×times-frac
130×add-sqr-sqrt
99×add-cube-cbrt
71×swap-sqr
33×associate-*r* associate-*l*
20×pow1
14×associate-/r/
12×associate-/r*
10×add-exp-log add-cbrt-cube
sqrt-pow1 flip3-+ pow1/2 flip-+ unswap-sqr
associate-/l*
div-inv
sqrt-div pow-prod-up
expm1-log1p-u log1p-expm1-u associate-/l/ add-log-exp
pow-prod-down pow-sqr
cbrt-undiv rem-sqrt-square frac-2neg div-exp clear-num
pow2 frac-times pow-plus sqrt-unprod associate-*r/ associate-*l/ prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 324
Calls
4 calls:
47.0ms
(sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))
52.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
53.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
218.0ms
(* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))))

series795.0ms

Counts
4 → 12
Calls
4 calls:
345.0ms
(sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))
137.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
146.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
167.0ms
(* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))))

simplify134.0ms

Algorithm
egg-herbie
Counts
336 → 336
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
07233900
137333364
250023360

prune625.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ 1.0 0) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
0.1b
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
0.1b
(* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ 1 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))))
0.2b
(* (* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ 1 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))))) (sqrt (/ (+ 1.0 0) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))))

rewrite655.0ms

Algorithm
rewrite-expression-head
Rules
301×*-un-lft-identity
294×sqrt-prod
165×times-frac
132×add-sqr-sqrt
116×distribute-lft-out
84×add-cube-cbrt
81×associate-*r*
34×associate-*l*
22×sqrt-div
18×unswap-sqr
16×pow1
15×add-exp-log associate-/r* add-cbrt-cube
10×pow-prod-down associate-/r/
associate-/l*
flip3-+ flip-+
frac-times associate-*l/
sqrt-pow1 pow1/2 div-inv
expm1-log1p-u associate-*r/ prod-exp cbrt-unprod log1p-expm1-u associate-/l/ add-log-exp
sqrt-unprod
cbrt-undiv frac-2neg div-exp clear-num *-commutative
Counts
4 → 297
Calls
4 calls:
55.0ms
(/ (+ 1.0 0) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
53.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
212.0ms
(* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ 1 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))))
315.0ms
(* (* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ 1 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))))) (sqrt (/ (+ 1.0 0) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))))

series1.2s

Counts
4 → 12
Calls
4 calls:
318.0ms
(/ (+ 1.0 0) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
142.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
580.0ms
(* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ 1 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))))
168.0ms
(* (* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ 1 (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))))) (sqrt (/ (+ 1.0 0) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))))

simplify72.0ms

Algorithm
egg-herbie
Counts
309 → 309
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
011895386
150025090

prune949.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0b

regimes42.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0126
1166
2166

end0.0ms

sample706.0ms

Algorithm
intervals
Results
138.0ms7890×body80nan
137.0ms1719×body1280valid
81.0ms1221×body640valid
76.0ms4122×body80valid
30.0ms624×body320valid
10.0ms314×body160valid