Details

Time bar (total: 14.8s)

sample107.0ms

Algorithm
intervals
Results
32.0ms270×body160nan
23.0ms433×body80nan
17.0ms256×body80valid

simplify17.0ms

Counts
1 → 1
Iterations
IterNodes
done12
212
111
07

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 26.6b

localize53.0ms

Local error

Found 2 expressions with local error:

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

rewrite64.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:
35.0ms
(+ x (sqrt (- (* x x) 1.0)))
27.0ms
(sqrt (- (* x x) 1.0))

series242.0ms

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

simplify3.0s

Counts
41 → 41
Iterations
IterNodes
done5001
32141
2678
1235
095

prune328.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

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

rewrite141.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt
20×sqrt-prod
15×*-un-lft-identity
14×sqrt-div
add-cube-cbrt associate-*r*
pow1
associate-*l*
add-exp-log flip3-+ add-cbrt-cube flip-+ add-log-exp
frac-times unswap-sqr
expm1-log1p-u flip3-- fma-def sqrt-pow1 pow1/2 pow-prod-down flip-- log1p-expm1-u
associate-*r/ associate-*l/ hypot-def distribute-lft-out difference-of-squares
+-commutative rem-sqrt-square sqrt-unprod prod-exp sum-log *-commutative cbrt-unprod distribute-lft-out--
Counts
3 → 80
Calls
3 calls:
20.0ms
(sqrt (+ x (sqrt 1.0)))
12.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
104.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

series722.0ms

Counts
3 → 9
Calls
3 calls:
113.0ms
(sqrt (+ x (sqrt 1.0)))
252.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
357.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

simplify5.1s

Counts
89 → 89
Iterations
IterNodes
done5000
34244
21255
1443
0181

prune738.0ms

Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0b

simplify5.0ms

Iterations
IterNodes
done13
113
010

end0.0ms

sample4.3s

Algorithm
intervals
Results
1.7s16520×body80nan
1.1s7734×body160nan
640.0ms8000×body80valid