Details

Time bar (total: 2.3s)

sample48.0ms

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

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0115
1125
2125

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

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
10×*-un-lft-identity sqrt-prod
difference-of-squares
add-cube-cbrt add-log-exp
pow1 fma-def
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u 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 → 41
Calls
2 calls:
11.0ms
(+ x (sqrt (- (* x x) 1.0)))
11.0ms
(sqrt (- (* x x) 1.0))

series122.0ms

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

simplify88.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
0248275
1841258
23314253
35002249

prune85.0ms

Filtered
47 candidates to 37 candidates (78.7%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New46147
Fresh000
Picked101
Done000
Total47148

Merged error: 0b

Counts
48 → 1

localize12.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
19×add-sqr-sqrt
15×*-un-lft-identity sqrt-prod
12×sqrt-div
associate-*r*
associate-*l*
add-cube-cbrt
pow1
add-exp-log frac-times flip3-+ add-cbrt-cube flip-+ add-log-exp unswap-sqr
flip3-- fma-def pow-prod-down flip-- distribute-lft-out
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--
Counts
2 → 62
Calls
2 calls:
14.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
13.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

series341.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0376724
11337657
25002643

prune152.0ms

Filtered
68 candidates to 52 candidates (76.5%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New68068
Fresh000
Picked011
Done000
Total68169

Merged error: 0b

Counts
69 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0139
1139

end0.0ms

sample1.3s

Algorithm
intervals
Results
368.0ms16356×body80nan
356.0ms7635×body160nan
224.0ms8000×body80valid