Details

Time bar (total: 6.8s)

sample33.0ms

Algorithm
intervals
Results
6.0ms49×body1280valid
5.0ms269×body80nan
4.0ms43×body640valid
4.0ms143×body80valid
1.0ms11×body320valid
1.0ms10×body160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0116
1146
2146

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.7b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.1b
(/ 1.0 (sqrt (+ x 1.0)))
0.3b
(/ 1.0 (sqrt x))
2.4b
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

rewrite182.0ms

Algorithm
rewrite-expression-head
Rules
1035×times-frac
879×*-un-lft-identity
747×add-sqr-sqrt
714×add-cube-cbrt
594×prod-diff
566×sqrt-prod
74×distribute-lft-out
54×div-inv
48×sqrt-div
46×associate-/r/
24×flip3-+ flip-+
22×fma-neg
13×associate-/r*
11×distribute-lft-out--
difference-of-squares
add-exp-log add-cbrt-cube
associate-/l* add-log-exp
pow1
expm1-log1p-u log1p-expm1-u
cbrt-undiv frac-2neg div-exp clear-num
sub-neg rem-sqrt-square flip3-- sqrt-pow1 pow1/2 diff-log frac-sub flip-- hypot-def
Counts
4 → 758
Calls
4 calls:
7.0ms
(sqrt (+ x 1.0))
12.0ms
(/ 1.0 (sqrt (+ x 1.0)))
6.0ms
(/ 1.0 (sqrt x))
88.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

series277.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(sqrt (+ x 1.0))
75.0ms
(/ 1.0 (sqrt (+ x 1.0)))
37.0ms
(/ 1.0 (sqrt x))
136.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

simplify242.0ms

Algorithm
egg-herbie
Counts
770 → 770
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
0153825021
1427818390
2500118355

prune1.3s

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 14.3b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.2b
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
0.2b
(* (sqrt x) (sqrt (+ x 1.0)))
2.4b
(- (sqrt (+ x 1.0)) (sqrt x))

rewrite175.0ms

Algorithm
rewrite-expression-head
Rules
72×sqrt-prod
62×*-un-lft-identity
56×add-sqr-sqrt
42×prod-diff
37×add-cube-cbrt
18×add-exp-log add-cbrt-cube
10×distribute-lft-out
pow1
fma-neg associate-*r*
sqrt-div associate-*r/ associate-*l* add-log-exp
prod-exp cbrt-unprod
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u difference-of-squares unswap-sqr
sqrt-pow1 flip3-+ pow1/2 pow-prod-down flip-+ distribute-lft-out--
flip3-- associate-/r/ flip-- associate-/l/
sub-neg rem-sqrt-square frac-2neg times-frac sqrt-unprod diff-log clear-num associate-/r* *-commutative hypot-def div-inv associate-/l*
Counts
4 → 151
Calls
4 calls:
7.0ms
(sqrt (+ x 1.0))
88.0ms
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
24.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
51.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series421.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(sqrt (+ x 1.0))
268.0ms
(/ (* 1.0 (- (sqrt (+ x 1.0)) (sqrt x))) (* (sqrt x) (sqrt (+ x 1.0))))
60.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
65.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify96.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
06361811
129501369
250011271

prune371.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 13.4b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (sqrt (+ x 1.0)) (sqrt x))
0.2b
(/ (* 1.0 (/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
0.2b
(* (sqrt x) (sqrt (+ x 1.0)))
1.5b
(+ x (- 1.0 x))

rewrite136.0ms

Algorithm
rewrite-expression-head
Rules
33×*-un-lft-identity
27×add-exp-log add-cbrt-cube
25×add-sqr-sqrt
19×sqrt-prod
17×add-cube-cbrt
11×associate-+r+ add-log-exp
10×fma-def
prod-diff
pow1 cbrt-undiv div-exp prod-exp cbrt-unprod distribute-lft-out
associate-*r*
associate-*l*
associate-*r/
expm1-log1p-u flip3-+ sqrt-div flip-+ log1p-expm1-u unswap-sqr
pow-prod-down sum-log
+-commutative sqrt-pow1 pow1/2 associate-/r/
associate-+r- sub-neg frac-2neg times-frac sqrt-unprod diff-log clear-num associate-/r* *-commutative div-inv associate-/l/ associate-/l* distribute-lft-out--
Counts
4 → 119
Calls
4 calls:
34.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
54.0ms
(/ (* 1.0 (/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
28.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
16.0ms
(+ x (- 1.0 x))

series632.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
503.0ms
(/ (* 1.0 (/ (+ x (- 1.0 x)) (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))
60.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
1.0ms
(+ x (- 1.0 x))

simplify96.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
07311115
13902887
25001873

prune369.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite152.0ms

Algorithm
rewrite-expression-head
Rules
60×*-un-lft-identity
35×sqrt-prod
29×add-exp-log add-sqr-sqrt add-cbrt-cube
22×distribute-lft-out
21×add-cube-cbrt
19×times-frac
cbrt-undiv div-exp
pow1 prod-exp cbrt-unprod
fma-def associate-*r* associate-/r*
associate-*l* add-log-exp
associate-*r/
expm1-log1p-u flip3-+ sqrt-div associate-/r/ flip-+ log1p-expm1-u associate-/l* unswap-sqr
pow-prod-down
frac-2neg sqrt-pow1 pow1/2 clear-num div-inv
+-commutative sqrt-unprod sum-log *-commutative associate-/l/
Counts
4 → 131
Calls
4 calls:
34.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
42.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
25.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
46.0ms
(/ (* 1.0 (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))

series979.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
354.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))
54.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
506.0ms
(/ (* 1.0 (/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))) (* (sqrt x) (sqrt (+ x 1.0))))

simplify92.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
07041320
136471120
250011050

prune313.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

regimes61.0ms

Accuracy

0% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 0.3b

bsearch0.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0119
1119

end0.0ms

sample880.0ms

Algorithm
intervals
Results
168.0ms1779×body640valid
167.0ms7894×body80nan
138.0ms1149×body1280valid
107.0ms4119×body80valid
45.0ms612×body320valid
16.0ms341×body160valid