Details

Time bar (total: 7.4s)

sample23.0ms

Algorithm
intervals
Results
4.0ms52×body1280valid
4.0ms229×body80nan
3.0ms46×body640valid
2.0ms135×body80valid
1.0ms17×body320valid
0.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.2b

Counts
2 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite13.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:
9.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series77.0ms

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

simplify125.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (116.0ms)

IterNodesCost
02491065
1728733
24106623
35001592

prune83.0ms

Filtered
73 candidates to 27 candidates (63.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New71273
Fresh000
Picked101
Done000
Total72274

Merged error: 0.1b

Counts
74 → 2

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite23.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:
7.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
12.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

series232.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0353693
11416627
25001586

prune137.0ms

Filtered
81 candidates to 51 candidates (37.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New75681
Fresh101
Picked011
Done000
Total76783

Merged error: 0.0b

Counts
83 → 7

localize10.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.3b
(* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))))

rewrite342.0ms

Algorithm
rewrite-expression-head
Rules
960×*-un-lft-identity
552×sqrt-prod
495×sqrt-div
421×distribute-lft-out
247×times-frac
225×frac-times
210×associate-/r*
196×add-sqr-sqrt
165×add-cube-cbrt
140×associate-/l*
71×swap-sqr
70×associate-/l/
42×flip3-+ flip-+
35×frac-2neg clear-num
33×associate-*r* associate-*l*
20×pow1
15×associate-*r/ associate-*l/
14×associate-/r/
10×add-exp-log add-cbrt-cube
sqrt-pow1 pow1/2 unswap-sqr
div-inv
pow-prod-up
expm1-log1p-u log1p-expm1-u add-log-exp
pow-prod-down pow-sqr
cbrt-undiv rem-sqrt-square div-exp
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 590
Calls
4 calls:
13.0ms
(sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))
12.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
12.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
57.0ms
(* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))))

series813.0ms

Counts
4 → 12
Calls
4 calls:
345.0ms
(sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))
145.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
145.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
177.0ms
(* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))))

simplify203.0ms

Algorithm
egg-herbie
Counts
602 → 602
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
09658946
144007786
250017786

prune695.0ms

Filtered
602 candidates to 214 candidates (64.5%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New5975602
Fresh325
Picked011
Done011
Total6009609

Merged error: 0b

Counts
609 → 9

localize20.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.2b
(/ (hypot (pow 1.0 3/2) 0) (sqrt (* (+ (sqrt (+ x 1.0)) (sqrt x)) (+ (* 1.0 1.0) (- 0 (* 1.0 0))))))
0.3b
(* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (/ (hypot (pow 1.0 3/2) 0) (sqrt (* (+ (sqrt (+ x 1.0)) (sqrt x)) (+ (* 1.0 1.0) (- 0 (* 1.0 0)))))))

rewrite252.0ms

Algorithm
rewrite-expression-head
Rules
1208×*-un-lft-identity
829×sqrt-prod
606×associate-/r*
496×sqrt-div
461×distribute-lft-out
458×frac-times
350×add-sqr-sqrt
291×associate-*r*
286×associate-*l*
261×add-cube-cbrt
230×times-frac
184×associate-/l*
92×distribute-lft-out--
66×associate-/l/
51×clear-num
50×frac-2neg
48×flip3-+ flip-+
38×unswap-sqr
34×associate-*r/
24×*-commutative
22×associate-/r/
19×associate-*l/
13×add-exp-log add-cbrt-cube
pow1
div-inv
expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv div-exp
rem-sqrt-square sqrt-undiv hypot-udef prod-exp un-div-inv cbrt-unprod
sqrt-pow1 pow1/2 sqrt-unprod pow-prod-down
Counts
4 → 874
Calls
4 calls:
14.0ms
(sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))
15.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
32.0ms
(/ (hypot (pow 1.0 3/2) 0) (sqrt (* (+ (sqrt (+ x 1.0)) (sqrt x)) (+ (* 1.0 1.0) (- 0 (* 1.0 0))))))
108.0ms
(* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (/ (hypot (pow 1.0 3/2) 0) (sqrt (* (+ (sqrt (+ x 1.0)) (sqrt x)) (+ (* 1.0 1.0) (- 0 (* 1.0 0)))))))

series1.2s

Counts
4 → 12
Calls
4 calls:
345.0ms
(sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))
141.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
460.0ms
(/ (hypot (pow 1.0 3/2) 0) (sqrt (* (+ (sqrt (+ x 1.0)) (sqrt x)) (+ (* 1.0 1.0) (- 0 (* 1.0 0))))))
266.0ms
(* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (/ (hypot (pow 1.0 3/2) 0) (sqrt (* (+ (sqrt (+ x 1.0)) (sqrt x)) (+ (* 1.0 1.0) (- 0 (* 1.0 0)))))))

simplify232.0ms

Algorithm
egg-herbie
Counts
886 → 886
Iterations

Useful iterations: 1 (49.0ms)

IterNodesCost
0228820942
1500220085

prune2.1s

Filtered
886 candidates to 436 candidates (50.8%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New8842886
Fresh246
Picked101
Done022
Total8878895

Merged error: 0b

Counts
895 → 8

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

sample689.0ms

Algorithm
intervals
Results
155.0ms1679×body1280valid
137.0ms7872×body80nan
91.0ms1255×body640valid
86.0ms4148×body80valid
33.0ms625×body320valid
11.0ms293×body160valid