Details

Time bar (total: 2.7s)

sample67.0ms

Algorithm
intervals
Results
23.0ms502×body80nan
17.0ms203×body160nan
12.0ms256×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0105
1115
2115

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.4b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.0ms

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

series121.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0217221
1657211
22555205
35002204

prune86.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0b

localize12.0ms

Local error

Found 2 expressions with local error:

0.0b
(* 0.5 (/ 1 x))
0.7b
(/ 1 (pow x 3))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
47×times-frac
42×add-sqr-sqrt
36×*-un-lft-identity
35×add-cube-cbrt
20×add-exp-log
13×associate-*r*
12×unpow-prod-down cube-prod associate-/r*
add-cbrt-cube
div-exp
pow1 cube-mult rec-exp 1-exp unpow3 prod-exp sqr-pow
pow-to-exp associate-*l* pow-exp associate-/l* unswap-sqr
cbrt-undiv cbrt-unprod div-inv add-log-exp
pow-flip frac-2neg associate-*r/ pow-prod-down clear-num un-div-inv *-commutative inv-pow
Counts
2 → 109
Calls
2 calls:
10.0ms
(* 0.5 (/ 1 x))
5.0ms
(/ 1 (pow x 3))

series47.0ms

Counts
2 → 6
Calls
2 calls:
16.0ms
(* 0.5 (/ 1 x))
31.0ms
(/ 1 (pow x 3))

simplify39.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0318439
11615322
25001315

prune173.0ms

Pruning

1 alts after pruning (0 fresh and 1 done)

Merged error: 0b

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0219
1219

end0.0ms

sample2.0s

Algorithm
intervals
Results
663.0ms16160×body80nan
597.0ms7429×body160nan
391.0ms8000×body80valid