Details

Time bar (total: 6.7s)

sample88.0ms

Algorithm
intervals
Results
30.0ms249×body160nan
19.0ms552×body80nan
12.0ms256×body80valid

simplify10.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1109
2119
done119

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.9b

localize17.0ms

Local error

Found 2 expressions with local error:

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

rewrite45.0ms

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

series166.0ms

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

simplify511.0ms

Counts
34 → 34
Iterations

Useful iterations: done (510.0ms)

IterNodesCost
091451
1225402
2885366
done5001358

prune109.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize19.0ms

Local error

Found 3 expressions with local error:

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

rewrite108.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
22×sqrt-prod
14×*-un-lft-identity sqrt-div
associate-*r*
pow1 add-cube-cbrt
associate-*l*
add-exp-log add-cbrt-cube add-log-exp
frac-times flip3-- flip3-+ flip-- flip-+ difference-of-squares unswap-sqr
sqrt-pow1 pow1/2 pow-prod-down
associate-*r/ associate-*l/ distribute-lft-out--
+-commutative rem-sqrt-square sqrt-unprod prod-exp sum-log *-commutative cbrt-unprod distribute-lft-out
Counts
3 → 71
Calls
3 calls:
10.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
18.0ms
(sqrt (- x (sqrt 1.0)))
75.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

series541.0ms

Counts
3 → 9
Calls
3 calls:
162.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
117.0ms
(sqrt (- x (sqrt 1.0)))
261.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

simplify1.0s

Counts
80 → 80
Iterations

Useful iterations: 2 (391.0ms)

IterNodesCost
01741422
14211220
216171152
done50011152

prune383.0ms

Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0b

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01014
11314
done1314

end0.0ms

sample3.6s

Algorithm
intervals
Results
1.4s16676×body80nan
860.0ms7760×body160nan
580.0ms8000×body80valid