Details

Time bar (total: 4.9s)

sample311.0ms

Algorithm
intervals
Results
37.0ms759×body80nan
12.0ms255×body80valid
0.0msbody160valid

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

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite27.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:
17.0ms
(* (sqrt (- x 1.0)) (sqrt x))

series73.0ms

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

simplify79.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0188226
1635215
22636210
35002210

prune82.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
12×sqrt-prod
associate-*r*
*-un-lft-identity
associate-*l*
pow1 add-cube-cbrt
unswap-sqr
add-exp-log pow-prod-down add-cbrt-cube
sqrt-pow1 pow1/2 sqrt-div associate-*r/
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:
14.0ms
(* (sqrt x) (sqrt (- x 1.0)))

series67.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0187224
1670213
22962206
35001206

prune68.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

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

rewrite108.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:
12.0ms
(sqrt (+ (sqrt x) (sqrt 1.0)))
14.0ms
(sqrt (- (sqrt x) (sqrt 1.0)))
49.0ms
(* (sqrt (+ (sqrt x) (sqrt 1.0))) (* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x)))
29.0ms
(* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x))

series1.5s

Counts
4 → 12
Calls
4 calls:
124.0ms
(sqrt (+ (sqrt x) (sqrt 1.0)))
169.0ms
(sqrt (- (sqrt x) (sqrt 1.0)))
877.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))

simplify100.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
010381727
139311558
250011528

prune357.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize5.0ms

Local error

Found 1 expressions with local error:

0.0b
(- x (fma 0.125 (/ 1 x) 0.5))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt *-un-lft-identity
prod-diff
add-cube-cbrt
fma-neg add-log-exp
pow1 add-exp-log expm1-log1p-u sub-neg flip3-- diff-log add-cbrt-cube flip-- fma-udef log1p-expm1-u associate--r+ distribute-lft-out-- difference-of-squares
Counts
1 → 29
Calls
1 calls:
3.0ms
(- x (fma 0.125 (/ 1 x) 0.5))

series27.0ms

Counts
1 → 3
Calls
1 calls:
27.0ms
(- x (fma 0.125 (/ 1 x) 0.5))

simplify75.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
0130313
1374194
22550188
35002133

prune41.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes19.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
074
174

end0.0ms

sample1.9s

Algorithm
intervals
Results
1.2s24434×body80nan
364.0ms7990×body80valid
1.0ms10×body160valid