Details

Time bar (total: 4.1s)

sample27.0ms

Algorithm
intervals
Results
6.0ms55×body1280valid
5.0ms259×body80nan
3.0ms42×body640valid
3.0ms141×body80valid
1.0ms13×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: 27.8b

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity sqrt-prod
difference-of-squares
distribute-lft-out-- add-log-exp
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip-- distribute-lft-out
Counts
1 → 19
Calls
1 calls:
8.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series78.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
22 → 22
Iterations

Useful iterations: 3 (48.0ms)

IterNodesCost
0132175
1400159
21559153
35001149

prune46.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.1b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
48×*-un-lft-identity
20×sqrt-prod distribute-lft-out
18×times-frac
13×add-sqr-sqrt add-cube-cbrt
associate-/r*
add-exp-log add-cbrt-cube add-log-exp
associate-/l*
pow1 flip3-+ associate-/r/ flip-+
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 55
Calls
2 calls:
8.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
10.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))

series222.0ms

Counts
2 → 6
Calls
2 calls:
71.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
151.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify39.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0295535
11077482
25001453

prune134.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
82×sqrt-prod
74×*-un-lft-identity
32×distribute-lft-out
30×add-sqr-sqrt
28×sqrt-div
21×pow1
16×add-cube-cbrt
15×swap-sqr
14×flip3-+ flip-+
11×add-exp-log add-cbrt-cube
10×sqrt-pow1 pow1/2
associate-*r* associate-*l*
frac-times associate-/r/
pow-prod-up
associate-*r/ associate-*l/ add-log-exp unswap-sqr
times-frac pow-prod-down pow-sqr associate-/l*
cbrt-undiv rem-sqrt-square div-exp prod-exp cbrt-unprod
pow2 frac-2neg pow-plus sqrt-unprod clear-num associate-/r* rem-square-sqrt *-commutative div-inv
Counts
4 → 135
Calls
4 calls:
8.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
9.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
22.0ms
(/ 1.0 (* (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))))
27.0ms
(* (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

series568.0ms

Counts
4 → 12
Calls
4 calls:
173.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
166.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
155.0ms
(/ 1.0 (* (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))))
73.0ms
(* (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

simplify78.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05061612
123061409
250011358

prune330.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x))))
0.1b
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
0.1b
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
0.3b
(* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))))

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
297×*-un-lft-identity
274×sqrt-prod
157×times-frac
119×add-sqr-sqrt
116×distribute-lft-out
88×add-cube-cbrt
41×swap-sqr
27×associate-*r* associate-*l*
20×pow1
14×associate-/r/
12×associate-/r*
10×add-exp-log add-cbrt-cube
sqrt-pow1 pow1/2 unswap-sqr
flip3-+ flip-+ div-inv
associate-/l*
sqrt-div pow-prod-up
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 → 250
Calls
4 calls:
11.0ms
(sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x))))
10.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
10.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
44.0ms
(* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))))

series871.0ms

Counts
4 → 12
Calls
4 calls:
382.0ms
(sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x))))
156.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
154.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
179.0ms
(* (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))))

simplify105.0ms

Algorithm
egg-herbie
Counts
262 → 262
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
06472845
131522529
250022489

prune553.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

regimes37.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
095
195

end0.0ms

sample754.0ms

Algorithm
intervals
Results
178.0ms1723×body1280valid
150.0ms8043×body80nan
99.0ms1235×body640valid
89.0ms4063×body80valid
38.0ms639×body320valid
14.0ms340×body160valid