Details

Time bar (total: 2.4s)

sample47.0ms

Algorithm
intervals
Results
12.0ms504×body80nan
10.0ms231×body160nan
7.0ms256×body80valid

simplify4.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0105
1115
2115
done115

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.1b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite27.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:
16.0ms
(+ x (sqrt (- (* x x) 1.0)))
10.0ms
(sqrt (- (* x x) 1.0))

series117.0ms

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

simplify73.0ms

Counts
34 → 34
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0217221
1657211
22555205
35001204
done5001204

prune85.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize11.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.4b
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

rewrite65.0ms

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

series383.0ms

Counts
3 → 9
Calls
3 calls:
141.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
55.0ms
(sqrt (+ x (sqrt 1.0)))
187.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

simplify41.0ms

Counts
78 → 78
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0411797
11417742
25001724
done5001724

prune205.0ms

Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0b

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0139
1139
done139

end0.0ms

sample1.3s

Algorithm
intervals
Results
324.0ms7463×body160nan
313.0ms15967×body80nan
218.0ms8000×body80valid