Details

Time bar (total: 7.5s)

sample28.0ms

Algorithm
intervals
Results
5.0ms141×body80valid
5.0ms293×body80nan
3.0ms43×body1280valid
2.0ms37×body640valid
1.0ms19×body320valid
0.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))

rewrite68.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:
8.0ms
(sqrt (+ x 1.0))
55.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series99.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
02991161
1921822
25001744

prune140.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

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

rewrite112.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:
8.0ms
(sqrt (+ x 1.0))
39.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
61.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

series239.0ms

Counts
3 → 9
Calls
3 calls:
31.0ms
(sqrt (+ x 1.0))
66.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
142.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify48.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0409789
11675716
25001675

prune232.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

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

rewrite462.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:
54.0ms
(sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))
59.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
60.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
262.0ms
(* (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))) (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))))

series786.0ms

Counts
4 → 12
Calls
4 calls:
343.0ms
(sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))
135.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
141.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)))))

simplify131.0ms

Algorithm
egg-herbie
Counts
336 → 336
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
07233900
137333364
250023360

prune655.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite785.0ms

Algorithm
rewrite-expression-head
Rules
283×sqrt-prod
247×*-un-lft-identity
147×times-frac
124×add-sqr-sqrt
98×distribute-lft-out
90×associate-*l*
70×add-cube-cbrt
42×cbrt-prod
34×associate-*r*
22×sqrt-div
18×add-exp-log unswap-sqr
16×pow1 add-cbrt-cube
15×associate-/r*
12×cbrt-div flip3-+ flip-+
10×frac-times pow-prod-down associate-/r/ associate-/l/
associate-*r/
associate-*l/
sqrt-pow1 pow1/2 prod-exp cbrt-unprod div-inv associate-/l*
expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv sqrt-unprod div-exp
frac-2neg clear-num *-commutative
Counts
4 → 284
Calls
4 calls:
64.0ms
(/ (* (cbrt (+ 1.0 0)) (cbrt (+ 1.0 0))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
61.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
280.0ms
(* (sqrt (/ (cbrt (+ 1.0 0)) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))) (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))))
362.0ms
(* (sqrt (/ (* (cbrt (+ 1.0 0)) (cbrt (+ 1.0 0))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))) (* (sqrt (/ (cbrt (+ 1.0 0)) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))) (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))))

series1.5s

Counts
4 → 12
Calls
4 calls:
426.0ms
(/ (* (cbrt (+ 1.0 0)) (cbrt (+ 1.0 0))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))
139.0ms
(/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))
648.0ms
(* (sqrt (/ (cbrt (+ 1.0 0)) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))) (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x)))))
262.0ms
(* (sqrt (/ (* (cbrt (+ 1.0 0)) (cbrt (+ 1.0 0))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))) (* (sqrt (/ (cbrt (+ 1.0 0)) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))) (sqrt (/ (+ 1.0 0) (+ (sqrt (+ x 1.0)) (sqrt x))))))

simplify68.0ms

Algorithm
egg-herbie
Counts
296 → 296
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
011795651
150015294

prune1.3s

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

sample688.0ms

Algorithm
intervals
Results
139.0ms1719×body1280valid
133.0ms7890×body80nan
77.0ms1221×body640valid
74.0ms4122×body80valid
29.0ms624×body320valid
10.0ms314×body160valid