Details

Time bar (total: 2.9s)

analyze1.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%0%50%2

sample29.0ms (1%)

Algorithm
intervals
Results
10.0ms73×body640valid
6.0ms31×body1280valid
5.0ms125×body80valid
2.0ms15×body320valid
1.0ms12×body160valid

simplify11.0ms (0.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (10.0ms)

IterNodesCost
026511
126511

prune5.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 21.4b

Counts
2 → 1

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.1b
(/ 1.0 (sqrt (+ x 1.0)))
0.2b
(/ 1.0 (sqrt x))
2.8b
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))

rewrite51.0ms (1.7%)

Algorithm
rewrite-expression-head
Rules
71×*-un-lft-identity
70×add-sqr-sqrt
69×times-frac
46×sqrt-prod
40×add-cube-cbrt
13×associate-/r*
11×distribute-lft-out--
difference-of-squares
add-exp-log add-cbrt-cube distribute-lft-out
associate-/l*
add-log-exp
div-inv
pow1
cbrt-undiv frac-2neg sqrt-div div-exp clear-num associate-/r/
sub-neg flip3-- flip3-+ diff-log frac-sub flip-- flip-+
Counts
3 → 116
Calls

3 calls:

36.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))
6.0ms
(/ 1.0 (sqrt (+ x 1.0)))
4.0ms
(/ 1.0 (sqrt x))

series26.0ms (0.9%)

Counts
3 → 9
Calls

3 calls:

13.0ms
(- (/ 1.0 (sqrt x)) (/ 1.0 (sqrt (+ x 1.0))))
7.0ms
(/ 1.0 (sqrt x))
6.0ms
(/ 1.0 (sqrt (+ x 1.0)))

simplify33.0ms (1.1%)

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 0 (19.0ms)

IterNodesCost
050821654

prune297.0ms (10.2%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New11312125
Fresh000
Picked101
Done000
Total11412126

Merged error: 20.8b

Counts
126 → 12

localize8.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

rewrite38.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
19×sqrt-prod
17×add-exp-log add-cbrt-cube
16×*-un-lft-identity
pow1 add-cube-cbrt associate-*r*
associate-*r/ associate-*l*
prod-exp cbrt-unprod add-log-exp
cbrt-undiv sqrt-div div-exp difference-of-squares unswap-sqr
pow-prod-down distribute-lft-out--
flip3-- sqrt-pow1 flip3-+ pow1/2 associate-/r/ flip-- flip-+ associate-/l/ distribute-lft-out
sub-neg frac-2neg times-frac sqrt-unprod diff-log clear-num associate-/r* *-commutative div-inv associate-/l*
Counts
3 → 76
Calls

3 calls:

19.0ms
(/ (* 1.0 (- (sqrt (+ 1.0 x)) (sqrt x))) (* (sqrt x) (sqrt (+ 1.0 x))))
8.0ms
(- (sqrt (+ 1.0 x)) (sqrt x))
8.0ms
(* (sqrt x) (sqrt (+ 1.0 x)))

series46.0ms (1.6%)

Counts
3 → 9
Calls

3 calls:

30.0ms
(/ (* 1.0 (- (sqrt (+ 1.0 x)) (sqrt x))) (* (sqrt x) (sqrt (+ 1.0 x))))
10.0ms
(- (sqrt (+ 1.0 x)) (sqrt x))
6.0ms
(* (sqrt x) (sqrt (+ 1.0 x)))

simplify33.0ms (1.2%)

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
049871388
149871388

prune210.0ms (7.2%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New83285
Fresh5611
Picked101
Done000
Total89897

Merged error: 0.3b

Counts
97 → 8

localize11.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(+ (sqrt (+ 1.0 x)) (sqrt x))
0.2b
(/ (+ 1.0 0) (+ (sqrt (+ 1.0 x)) (sqrt x)))
0.2b
(/ (* 1.0 (/ (+ 1.0 0) (+ (sqrt (+ 1.0 x)) (sqrt x)))) (* (sqrt x) (sqrt (+ 1.0 x))))
0.3b
(* (sqrt x) (sqrt (+ 1.0 x)))

rewrite56.0ms (1.9%)

Algorithm
rewrite-expression-head
Rules
78×*-un-lft-identity
35×sqrt-prod
32×distribute-lft-out
29×add-exp-log add-cbrt-cube
28×add-sqr-sqrt
25×times-frac
20×add-cube-cbrt
cbrt-undiv div-exp
pow1 prod-exp cbrt-unprod
associate-*r* associate-/r*
associate-*l* add-log-exp
flip3-+ associate-*r/ flip-+ associate-/l*
sqrt-div associate-/r/ unswap-sqr
pow-prod-down associate-/l/
frac-2neg sqrt-pow1 pow1/2 clear-num div-inv
+-commutative sqrt-unprod sum-log *-commutative
Counts
4 → 125
Calls

4 calls:

23.0ms
(/ (* 1.0 (/ (+ 1.0 0) (+ (sqrt (+ 1.0 x)) (sqrt x)))) (* (sqrt x) (sqrt (+ 1.0 x))))
12.0ms
(/ (+ 1.0 0) (+ (sqrt (+ 1.0 x)) (sqrt x)))
8.0ms
(* (sqrt x) (sqrt (+ 1.0 x)))
8.0ms
(+ (sqrt (+ 1.0 x)) (sqrt x))

series59.0ms (2%)

Counts
4 → 12
Calls

4 calls:

38.0ms
(/ (* 1.0 (/ (+ 1.0 0) (+ (sqrt (+ 1.0 x)) (sqrt x)))) (* (sqrt x) (sqrt (+ 1.0 x))))
9.0ms
(/ (+ 1.0 0) (+ (sqrt (+ 1.0 x)) (sqrt x)))
6.0ms
(* (sqrt x) (sqrt (+ 1.0 x)))
5.0ms
(+ (sqrt (+ 1.0 x)) (sqrt x))

simplify59.0ms (2%)

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
055232087

prune355.0ms (12.2%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1307137
Fresh347
Picked101
Done000
Total13411145

Merged error: 0.0b

Counts
145 → 11

localize14.0ms (0.5%)

Local error

Found 4 expressions with local error:

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

rewrite35.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
106×times-frac
72×*-un-lft-identity
67×add-sqr-sqrt
55×sqrt-prod
48×add-cube-cbrt
23×distribute-lft-out
20×add-exp-log associate-/r/ add-cbrt-cube
12×flip3-+ flip-+
11×associate-/r* associate-/l*
10×div-inv
pow1
cbrt-undiv div-exp associate-*r*
associate-*l* add-log-exp
sqrt-div unswap-sqr
pow-prod-down prod-exp cbrt-unprod
frac-2neg sqrt-pow1 pow1/2 associate-*r/ clear-num
+-commutative sqrt-unprod sum-log *-commutative associate-/l/
Counts
4 → 176
Calls

4 calls:

12.0ms
(/ (/ (* 1.0 1.0) (+ x (* (sqrt x) (sqrt (+ x 1.0))))) (sqrt (+ 1.0 x)))
8.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
6.0ms
(/ (* 1.0 1.0) (+ x (* (sqrt x) (sqrt (+ x 1.0)))))
3.0ms
(+ x (* (sqrt x) (sqrt (+ x 1.0))))

series50.0ms (1.7%)

Counts
4 → 12
Calls

4 calls:

29.0ms
(/ (/ (* 1.0 1.0) (+ x (* (sqrt x) (sqrt (+ x 1.0))))) (sqrt (+ 1.0 x)))
10.0ms
(/ (* 1.0 1.0) (+ x (* (sqrt x) (sqrt (+ x 1.0)))))
6.0ms
(* (sqrt x) (sqrt (+ x 1.0)))
5.0ms
(+ x (* (sqrt x) (sqrt (+ x 1.0))))

simplify83.0ms (2.8%)

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
049754295
149754295

prune495.0ms (17%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1862188
Fresh4610
Picked011
Done000
Total1909199

Merged error: 0b

Counts
199 → 9

regimes54.0ms (1.9%)

Accuracy

Total 0.3b remaining (85.1%)

Threshold costs 0.3b (85.1%)

bsearch0.0ms (0%)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01318
11318

end0.0ms (0%)

sample832.0ms (28.7%)

Algorithm
intervals
Results
279.0ms1889×body640valid
213.0ms1140×body1280valid
150.0ms3991×body80valid
70.0ms639×body320valid
24.0ms341×body160valid

Profiling

Loading profile data...