Details

Time bar (total: 4.1s)

sample287.0ms

Algorithm
intervals
Results
19.0ms761×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))

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

series65.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0188226
1635215
22636210
35002210

prune79.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.0b
(fma 0.125 (/ 1 x) 0.5)

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
0.0ms
(fma 0.125 (/ 1 x) 0.5)

series32.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
02444
15639
218638
361738
4288038
5500138

prune30.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize9.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.3b
(* (sqrt (+ (sqrt x) (sqrt 1.0))) (* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x)))
0.3b
(* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x))

rewrite170.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:
22.0ms
(sqrt (- (sqrt x) (sqrt 1.0)))
15.0ms
(sqrt (+ (sqrt x) (sqrt 1.0)))
85.0ms
(* (sqrt (+ (sqrt x) (sqrt 1.0))) (* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x)))
43.0ms
(* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x))

series1.4s

Counts
4 → 12
Calls
4 calls:
155.0ms
(sqrt (- (sqrt x) (sqrt 1.0)))
112.0ms
(sqrt (+ (sqrt x) (sqrt 1.0)))
827.0ms
(* (sqrt (+ (sqrt x) (sqrt 1.0))) (* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x)))
279.0ms
(* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x))

simplify97.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
010381727
139311558
250011528

prune348.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize4.0ms

Local error

Found 1 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
pow1
sqrt-pow1 sqrt-div associate-*r/
add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt flip3-- *-un-lft-identity pow1/2 pow-prod-down sqrt-prod add-cbrt-cube flip-- log1p-expm1-u add-log-exp
Counts
1 → 15
Calls
1 calls:
16.0ms
(sqrt (* x (- x 1.0)))

series39.0ms

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

simplify158.0ms

Algorithm
egg-herbie
Counts
18 → 18
Iterations

Useful iterations: 3 (34.0ms)

IterNodesCost
011882
130677
2111574
3440973
4500173

prune31.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes18.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
093
193

end0.0ms

sample1.2s

Algorithm
intervals
Results
554.0ms24017×body80nan
147.0ms8000×body80valid