Details

Time bar (total: 9.8s)

sample98.0ms

Algorithm
intervals
Results
30.0ms256×body80valid
20.0ms544×body80nan
18.0ms223×body160nan

simplify9.0ms

Counts
1 → 1
Iterations
IterNodes
done12
212
111
07

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.9b

localize23.0ms

Local error

Found 2 expressions with local error:

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

rewrite34.0ms

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

series196.0ms

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

simplify725.0ms

Counts
41 → 41
Iterations
IterNodes
done5001
2970
1240
094

prune283.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize26.0ms

Local error

Found 2 expressions with local error:

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

rewrite51.0ms

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

series437.0ms

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

simplify1.2s

Counts
66 → 66
Iterations
IterNodes
done5000
21604
1402
0163

prune394.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize42.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma (sqrt (- x (sqrt 1.0))) (sqrt (+ x (sqrt 1.0))) x)
5.8b
(exp (log (fma (sqrt (- x (sqrt 1.0))) (sqrt (+ x (sqrt 1.0))) x)))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt exp-prod *-un-lft-identity add-cube-cbrt
pow1 log-prod exp-sum
expm1-log1p-u add-cbrt-cube add-exp-log log1p-expm1-u add-log-exp
log-pow fma-udef rem-exp-log
Counts
2 → 27
Calls
2 calls:
0.0ms
(fma (sqrt (- x (sqrt 1.0))) (sqrt (+ x (sqrt 1.0))) x)
5.0ms
(exp (log (fma (sqrt (- x (sqrt 1.0))) (sqrt (+ x (sqrt 1.0))) x)))

series637.0ms

Counts
2 → 6
Calls
2 calls:
306.0ms
(fma (sqrt (- x (sqrt 1.0))) (sqrt (+ x (sqrt 1.0))) x)
331.0ms
(exp (log (fma (sqrt (- x (sqrt 1.0))) (sqrt (+ x (sqrt 1.0))) x)))

simplify1.6s

Counts
33 → 33
Iterations
IterNodes
done5000
33325
2666
1206
090

prune189.0ms

Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0b

simplify2.0ms

Iterations
IterNodes
done12
112
011

end0.0ms

sample3.8s

Algorithm
intervals
Results
1.3s16578×body80nan
1.0s7736×body160nan
605.0ms8000×body80valid