Details

Time bar (total: 3.5s)

sample281.0ms

Algorithm
intervals
Results
15.0ms854×body80nan
5.0ms256×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

localize7.0ms

Local error

Found 1 expressions with local error:

0.5b
(* (sqrt (- x 1.0)) (sqrt x))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
12×sqrt-prod
associate-*l*
*-un-lft-identity
associate-*r*
pow1 add-cube-cbrt
unswap-sqr
add-exp-log pow-prod-down add-cbrt-cube
sqrt-pow1 pow1/2 sqrt-div associate-*l/
expm1-log1p-u flip3-- sqrt-unprod prod-exp *-commutative flip-- cbrt-unprod log1p-expm1-u distribute-lft-out-- add-log-exp difference-of-squares
Counts
1 → 36
Calls
1 calls:
10.0ms
(* (sqrt (- x 1.0)) (sqrt x))

series80.0ms

Counts
1 → 3
Calls
1 calls:
80.0ms
(* (sqrt (- x 1.0)) (sqrt x))

simplify78.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0188226
1635215
22636210
35002210

prune79.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize6.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify2.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune3.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (- (sqrt x) (sqrt 1.0)))
0.1b
(sqrt (+ (sqrt x) (sqrt 1.0)))
0.2b
(* (sqrt (+ (sqrt x) (sqrt 1.0))) (* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x)))
0.4b
(* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
55×sqrt-prod
46×add-sqr-sqrt
28×*-un-lft-identity
20×associate-*l*
18×pow1 sqrt-div
12×add-cube-cbrt
11×add-exp-log add-cbrt-cube
10×pow-prod-down associate-*l/
difference-of-squares
sqrt-pow1 pow1/2 associate-*r*
flip3-- flip--
expm1-log1p-u frac-times flip3-+ prod-exp cbrt-unprod flip-+ hypot-def log1p-expm1-u distribute-lft-out distribute-lft-out-- add-log-exp unswap-sqr
sqrt-unprod
rem-sqrt-square associate-*r/ *-commutative
Counts
4 → 122
Calls
4 calls:
9.0ms
(sqrt (- (sqrt x) (sqrt 1.0)))
6.0ms
(sqrt (+ (sqrt x) (sqrt 1.0)))
18.0ms
(* (sqrt (+ (sqrt x) (sqrt 1.0))) (* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x)))
12.0ms
(* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x))

series1.4s

Counts
4 → 12
Calls
4 calls:
167.0ms
(sqrt (- (sqrt x) (sqrt 1.0)))
127.0ms
(sqrt (+ (sqrt x) (sqrt 1.0)))
854.0ms
(* (sqrt (+ (sqrt x) (sqrt 1.0))) (* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x)))
297.0ms
(* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x))

simplify99.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
010381727
139311558
250011528

prune376.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes40.0ms

Accuracy

0% (0.5b remaining)

Error of 0.5b against oracle of 0.0b and baseline of 0.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
093
193

end0.0ms

sample905.0ms

Algorithm
intervals
Results
411.0ms24039×body80nan
158.0ms7992×body80valid
0.0msbody160valid