Details

Time bar (total: 8.9s)

sample119.0ms

Algorithm
intervals
Results
48.0ms256×body160nan
23.0ms530×body80nan
14.0ms256×body80valid

simplify14.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1119
2129
done129

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.6b

localize12.0ms

Local error

Found 2 expressions with local error:

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

rewrite43.0ms

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

series205.0ms

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

simplify1.7s

Counts
41 → 41
Iterations

Useful iterations: done (1.7s)

IterNodesCost
095483
1233424
2608392
31718355
done5001351

prune148.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize18.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))))

rewrite87.0ms

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

series505.0ms

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

simplify2.7s

Counts
66 → 66
Iterations

Useful iterations: done (2.7s)

IterNodesCost
01561202
13801007
21090951
33746932
done5000925

prune228.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.2s

Algorithm
intervals
Results
1.2s7613×body160nan
765.0ms16341×body80nan
443.0ms8000×body80valid