Details

Time bar (total: 8.6s)

sample48.0ms

Algorithm
intervals
Results
13.0ms231×body160nan
12.0ms565×body80nan
8.0ms256×body80valid

simplify5.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
079
1119
2129
done129

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.1b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(log (+ x (sqrt (- (* x x) 1.0))))
0.0b
(+ x (sqrt (- (* x x) 1.0)))
29.8b
(sqrt (- (* x x) 1.0))

rewrite24.0ms

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

series322.0ms

Counts
3 → 9
Calls
3 calls:
197.0ms
(log (+ x (sqrt (- (* x x) 1.0))))
69.0ms
(+ x (sqrt (- (* x x) 1.0)))
55.0ms
(sqrt (- (* x x) 1.0))

simplify1.3s

Counts
61 → 61
Iterations

Useful iterations: 3 (671.0ms)

IterNodesCost
0146832
1337748
2948682
33628614
done5000614

prune158.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (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))))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
15×sqrt-prod
13×*-un-lft-identity
12×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 log-prod flip3-- fma-def pow-prod-down flip-- log1p-expm1-u
log-div sqrt-pow1 pow1/2 associate-*r/ associate-*l/ difference-of-squares
+-commutative sqrt-unprod rem-log-exp prod-exp sum-log log-pow *-commutative cbrt-unprod distribute-lft-out distribute-lft-out--
Counts
3 → 76
Calls
3 calls:
2.0ms
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (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))))

series642.0ms

Counts
3 → 9
Calls
3 calls:
292.0ms
(log (+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))))
151.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
198.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

simplify1.1s

Counts
85 → 85
Iterations

Useful iterations: done (1.1s)

IterNodesCost
01971683
14671428
213701310
done50001286

prune251.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite205.0ms

Algorithm
rewrite-expression-head
Rules
484×sqrt-div
144×frac-times
107×sqrt-prod
89×pow1
84×sqrt-pow1
68×add-sqr-sqrt
63×pow-prod-down
61×flip3-- flip--
60×flip3-+ flip-+
48×associate-*r/ associate-*l/
42×pow1/2
28×*-un-lft-identity
25×associate-*r*
21×associate-*l*
20×add-exp-log add-cbrt-cube
18×add-cube-cbrt unswap-sqr
12×pow-prod-up
10×prod-exp cbrt-unprod
pow-sqr
sqrt-unprod
difference-of-squares
expm1-log1p-u log1p-expm1-u add-log-exp
*-commutative distribute-lft-out--
rem-sqrt-square pow-plus distribute-lft-out
pow2 swap-sqr rem-square-sqrt
Counts
4 → 274
Calls
4 calls:
7.0ms
(sqrt (sqrt (- x (sqrt 1.0))))
99.0ms
(* (* (sqrt (sqrt (+ x (sqrt 1.0)))) (sqrt (sqrt (- x (sqrt 1.0))))) (* (sqrt (sqrt (+ x (sqrt 1.0)))) (sqrt (sqrt (- x (sqrt 1.0))))))
38.0ms
(* (sqrt (sqrt (+ x (sqrt 1.0)))) (sqrt (sqrt (- x (sqrt 1.0)))))
36.0ms
(* (sqrt (sqrt (+ x (sqrt 1.0)))) (sqrt (sqrt (- x (sqrt 1.0)))))

series1.1s

Counts
4 → 12
Calls
4 calls:
184.0ms
(sqrt (sqrt (- x (sqrt 1.0))))
195.0ms
(* (* (sqrt (sqrt (+ x (sqrt 1.0)))) (sqrt (sqrt (- x (sqrt 1.0))))) (* (sqrt (sqrt (+ x (sqrt 1.0)))) (sqrt (sqrt (- x (sqrt 1.0))))))
352.0ms
(* (sqrt (sqrt (+ x (sqrt 1.0)))) (sqrt (sqrt (- x (sqrt 1.0)))))
351.0ms
(* (sqrt (sqrt (+ x (sqrt 1.0)))) (sqrt (sqrt (- x (sqrt 1.0)))))

simplify1.2s

Counts
286 → 286
Iterations

Useful iterations: done (1.2s)

IterNodesCost
04649955
112407390
235286641
done50006632

prune877.0ms

Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0b

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01330
11630
done1630

end0.0ms

sample1.3s

Algorithm
intervals
Results
373.0ms7787×body160nan
350.0ms16432×body80nan
234.0ms8000×body80valid