Details

Time bar (total: 2.3s)

sample52.0ms

Algorithm
intervals
Results
13.0ms552×body80nan
12.0ms261×body160nan
10.0ms256×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0105
1115
2115

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.1b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
10×sqrt-prod
*-un-lft-identity
difference-of-squares
add-log-exp
pow1 add-cube-cbrt
add-exp-log sqrt-div add-cbrt-cube distribute-lft-out--
+-commutative rem-sqrt-square flip3-- sqrt-pow1 flip3-+ pow1/2 swap-sqr associate-*l* sum-log *-commutative flip-- flip-+ distribute-lft-out unswap-sqr
Counts
2 → 34
Calls
2 calls:
11.0ms
(+ x (sqrt (- (* x x) 1.0)))
9.0ms
(sqrt (- (* x x) 1.0))

series126.0ms

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

simplify87.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
0228257
1748245
22972239
35002236

prune70.0ms

Filtered
40 candidates to 30 candidates (75.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New39140
Fresh000
Picked101
Done000
Total40141

Merged error: 0b

Counts
41 → 1

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
15×sqrt-prod
14×*-un-lft-identity
12×sqrt-div
associate-*r*
associate-*l*
pow1 add-cube-cbrt
add-exp-log frac-times flip3-+ add-cbrt-cube flip-+ add-log-exp unswap-sqr
flip3-- pow-prod-down flip-- distribute-lft-out
sqrt-pow1 pow1/2 associate-*r/ associate-*l/ difference-of-squares
+-commutative sqrt-unprod prod-exp sum-log *-commutative cbrt-unprod distribute-lft-out--
Counts
2 → 55
Calls
2 calls:
15.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
13.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

series357.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0354672
11244628
25001616

prune127.0ms

Filtered
61 candidates to 44 candidates (72.1%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New61061
Fresh000
Picked011
Done000
Total61162

Merged error: 0b

Counts
62 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0139
1139

end0.0ms

sample1.3s

Algorithm
intervals
Results
371.0ms16356×body80nan
362.0ms7635×body160nan
230.0ms8000×body80valid