Details

Time bar (total: 4.3s)

sample305.0ms

Algorithm
intervals
Results
20.0ms761×body80nan
5.0ms256×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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))

rewrite37.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/
flip3-- sqrt-unprod prod-exp *-commutative flip-- cbrt-unprod distribute-lft-out-- add-log-exp difference-of-squares
Counts
1 → 34
Calls
1 calls:
27.0ms
(* (sqrt (- x 1.0)) (sqrt x))

series63.0ms

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

simplify74.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0181216
1610206
22471201
35002201

prune75.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(+ 0.5 (* 0.125 (/ 1 x)))

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt *-un-lft-identity flip3-+ sum-log add-cbrt-cube flip-+
Counts
1 → 11
Calls
1 calls:
6.0ms
(+ 0.5 (* 0.125 (/ 1 x)))

series26.0ms

Counts
1 → 3
Calls
1 calls:
26.0ms
(+ 0.5 (* 0.125 (/ 1 x)))

simplify100.0ms

Algorithm
egg-herbie
Counts
14 → 14
Iterations

Useful iterations: 4 (97.0ms)

IterNodesCost
08676
130169
2115269
3393466
4500261

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

rewrite157.0ms

Algorithm
rewrite-expression-head
Rules
51×sqrt-prod
38×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--
frac-times flip3-+ prod-exp cbrt-unprod flip-+ distribute-lft-out distribute-lft-out-- add-log-exp unswap-sqr
sqrt-unprod
rem-sqrt-square associate-*r/ *-commutative
Counts
4 → 110
Calls
4 calls:
14.0ms
(sqrt (- (sqrt x) (sqrt 1.0)))
13.0ms
(sqrt (+ (sqrt x) (sqrt 1.0)))
82.0ms
(* (sqrt (+ (sqrt x) (sqrt 1.0))) (* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x)))
42.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)))
118.0ms
(sqrt (+ (sqrt x) (sqrt 1.0)))
826.0ms
(* (sqrt (+ (sqrt x) (sqrt 1.0))) (* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x)))
270.0ms
(* (sqrt (- (sqrt x) (sqrt 1.0))) (sqrt x))

simplify95.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
09701669
137521504
250021494

prune306.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 1 expressions with local error:

29.4b
(pow (* x (- x 1.0)) (/ 1 2))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
13×pow-unpow
times-frac
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log
pow-pow pow-exp
pow-to-exp unpow-prod-down pow-prod-down prod-exp add-cbrt-cube div-inv add-log-exp sqr-pow
Counts
1 → 27
Calls
1 calls:
11.0ms
(pow (* x (- x 1.0)) (/ 1 2))

series87.0ms

Counts
1 → 3
Calls
1 calls:
87.0ms
(pow (* x (- x 1.0)) (/ 1 2))

simplify139.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0223178
1765161
24284140
35003140

prune58.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
0124
1124

end0.0ms

sample1.2s

Algorithm
intervals
Results
595.0ms24017×body80nan
162.0ms8000×body80valid