Details

Time bar (total: 5.0s)

sample44.0ms

Algorithm
intervals
Results
11.0ms251×body160nan
11.0ms513×body80nan
7.0ms256×body80valid

simplify4.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
079
1109
2119
done119

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.9b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.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:
9.0ms
(+ x (sqrt (- (* x x) 1.0)))
5.0ms
(sqrt (- (* x x) 1.0))

series122.0ms

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

simplify1.0s

Counts
34 → 34
Iterations

Useful iterations: 3 (312.0ms)

IterNodesCost
091451
1216402
2538366
31740358
done5000358

prune81.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite40.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:
6.0ms
(sqrt (+ x (sqrt 1.0)))
2.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
29.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

series405.0ms

Counts
3 → 9
Calls
3 calls:
65.0ms
(sqrt (+ x (sqrt 1.0)))
144.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
196.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

simplify1.8s

Counts
78 → 78
Iterations

Useful iterations: 3 (943.0ms)

IterNodesCost
01751395
14111176
211401125
339961091
done50001091

prune214.0ms

Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0b

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01014
11314
done1314

end0.0ms

sample1.3s

Algorithm
intervals
Results
333.0ms7559×body160nan
325.0ms16369×body80nan
224.0ms8000×body80valid