Details

Time bar (total: 10.7s)

sample90.0ms

Algorithm
intervals
Results
32.0ms544×body80nan
17.0ms223×body160nan
12.0ms256×body80valid

simplify11.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1119
2129
done129

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.9b

localize23.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ x (sqrt (- (* x x) 1.0)))
31.5b
(sqrt (- (* x x) 1.0))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity
add-cube-cbrt sqrt-prod add-log-exp
pow1 fma-def
expm1-log1p-u add-cbrt-cube sqrt-div add-exp-log log1p-expm1-u
+-commutative rem-sqrt-square sum-log sqrt-pow1 flip3-+ flip3-- pow1/2 flip-+ flip-- distribute-lft-out difference-of-squares
Counts
2 → 35
Calls
2 calls:
25.0ms
(+ x (sqrt (- (* x x) 1.0)))
20.0ms
(sqrt (- (* x x) 1.0))

series198.0ms

Counts
2 → 6
Calls
2 calls:
109.0ms
(+ x (sqrt (- (* x x) 1.0)))
89.0ms
(sqrt (- (* x x) 1.0))

simplify679.0ms

Counts
41 → 41
Iterations

Useful iterations: done (677.0ms)

IterNodesCost
094483
1240427
2970392
done5001356

prune250.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize33.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
0.4b
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
15×sqrt-prod
12×sqrt-div
11×*-un-lft-identity
associate-*r*
associate-*l* add-cube-cbrt
pow1
frac-times flip3-+ add-cbrt-cube add-exp-log flip-+ add-log-exp unswap-sqr
fma-def flip3-- pow-prod-down flip--
expm1-log1p-u sqrt-pow1 pow1/2 associate-*l/ associate-*r/ log1p-expm1-u difference-of-squares
+-commutative sum-log sqrt-unprod prod-exp *-commutative cbrt-unprod distribute-lft-out distribute-lft-out--
Counts
2 → 60
Calls
2 calls:
9.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
71.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

series501.0ms

Counts
2 → 6
Calls
2 calls:
209.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
291.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

simplify1.0s

Counts
66 → 66
Iterations

Useful iterations: done (1.0s)

IterNodesCost
01561202
13891026
21580950
done5000944

prune373.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize41.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt (+ x (sqrt 1.0))))
0.1b
(sqrt (sqrt (+ x (sqrt 1.0))))
0.2b
(* (sqrt (sqrt (+ x (sqrt 1.0)))) (* (sqrt (sqrt (+ x (sqrt 1.0)))) (sqrt (- x (sqrt 1.0)))))
0.3b
(* (sqrt (sqrt (+ x (sqrt 1.0)))) (sqrt (- x (sqrt 1.0))))

rewrite221.0ms

Algorithm
rewrite-expression-head
Rules
116×sqrt-div
62×sqrt-prod
36×add-sqr-sqrt
32×frac-times
26×*-un-lft-identity
23×flip3-+ flip-+
20×pow1 associate-*l*
16×associate-*r/ add-cube-cbrt
13×sqrt-pow1
12×flip3-- flip--
11×add-cbrt-cube add-exp-log
10×associate-*r* pow-prod-down associate-*l/
pow1/2
unswap-sqr
expm1-log1p-u rem-sqrt-square prod-exp cbrt-unprod log1p-expm1-u distribute-lft-out add-log-exp
sqrt-unprod
*-commutative difference-of-squares
distribute-lft-out--
Counts
4 → 153
Calls
4 calls:
10.0ms
(sqrt (sqrt (+ x (sqrt 1.0))))
9.0ms
(sqrt (sqrt (+ x (sqrt 1.0))))
113.0ms
(* (sqrt (sqrt (+ x (sqrt 1.0)))) (* (sqrt (sqrt (+ x (sqrt 1.0)))) (sqrt (- x (sqrt 1.0)))))
78.0ms
(* (sqrt (sqrt (+ x (sqrt 1.0)))) (sqrt (- x (sqrt 1.0))))

series1.2s

Counts
4 → 12
Calls
4 calls:
229.0ms
(sqrt (sqrt (+ x (sqrt 1.0))))
174.0ms
(sqrt (sqrt (+ x (sqrt 1.0))))
360.0ms
(* (sqrt (sqrt (+ x (sqrt 1.0)))) (* (sqrt (sqrt (+ x (sqrt 1.0)))) (sqrt (- x (sqrt 1.0)))))
480.0ms
(* (sqrt (sqrt (+ x (sqrt 1.0)))) (sqrt (- x (sqrt 1.0))))

simplify1.6s

Counts
165 → 165
Iterations

Useful iterations: done (1.6s)

IterNodesCost
03113869
18383337
234702910
done50022833

prune970.0ms

Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0b

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01222
11622
done1622

end0.0ms

sample3.3s

Algorithm
intervals
Results
1.3s7736×body160nan
923.0ms16578×body80nan
414.0ms8000×body80valid