Details

Time bar (total: 2.9s)

sample51.0ms

Algorithm
intervals
Results
14.0ms249×body160nan
12.0ms500×body80nan
9.0ms256×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0115
1125
2125

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.1b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ x (sqrt (- (* x x) 1.0)))
29.1b
(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
add-exp-log expm1-log1p-u sqrt-div add-cbrt-cube log1p-expm1-u
+-commutative rem-sqrt-square flip3-- sqrt-pow1 flip3-+ pow1/2 sum-log flip-- flip-+ distribute-lft-out difference-of-squares
Counts
2 → 35
Calls
2 calls:
20.0ms
(+ x (sqrt (- (* x x) 1.0)))
13.0ms
(sqrt (- (* x x) 1.0))

series111.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 3 (76.0ms)

IterNodesCost
0235239
1739223
22858218
35001216

prune140.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(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))))

rewrite69.0ms

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

series377.0ms

Counts
3 → 9
Calls
3 calls:
54.0ms
(sqrt (+ x (sqrt 1.0)))
138.0ms
(+ x (* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0)))))
185.0ms
(* (sqrt (+ x (sqrt 1.0))) (sqrt (- x (sqrt 1.0))))

simplify45.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0439856
11551780
25001760

prune318.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes49.0ms

Accuracy

0% (0.0b remaining)

Error of 0.1b against oracle of 0.1b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0139
1139

end0.0ms

sample1.5s

Algorithm
intervals
Results
447.0ms7744×body160nan
426.0ms16366×body80nan
275.0ms8000×body80valid