Details

Time bar (total: 3.1s)

sample307.0ms

Algorithm
intervals
Results
29.0ms757×body80nan
9.0ms255×body80valid
0.0msbody160valid

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

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

series80.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0181216
1610206
22471201
35002201

prune68.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 1 expressions with local error:

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

rewrite6.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
add-sqr-sqrt *-un-lft-identity
diff-log
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- sum-log add-cbrt-cube flip-- associate--r+ distribute-lft-out-- difference-of-squares
Counts
1 → 16
Calls
1 calls:
5.0ms
(- x (+ 0.5 (* 0.125 (/ 1 x))))

series20.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
19 → 19
Iterations

Useful iterations: 3 (32.0ms)

IterNodesCost
096126
1283117
21070115
35001110

prune34.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* (fabs (cbrt x)) (sqrt (- x 1.0))) (sqrt (cbrt x)))
0.4b
(* (fabs (cbrt x)) (sqrt (- x 1.0)))
0.5b
(cbrt x)
0.5b
(cbrt x)

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
17×associate-*r*
14×*-un-lft-identity
12×add-cube-cbrt sqrt-prod
11×pow1 add-exp-log add-cbrt-cube
cbrt-prod
sqrt-div associate-*r/ associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp
flip3-- pow1/3 associate-*l/ *-commutative flip-- unswap-sqr
distribute-lft-out-- difference-of-squares
Counts
4 → 74
Calls
4 calls:
20.0ms
(* (* (fabs (cbrt x)) (sqrt (- x 1.0))) (sqrt (cbrt x)))
11.0ms
(* (fabs (cbrt x)) (sqrt (- x 1.0)))
0.0ms
(cbrt x)
1.0ms
(cbrt x)

series528.0ms

Counts
4 → 12
Calls
4 calls:
115.0ms
(* (* (fabs (cbrt x)) (sqrt (- x 1.0))) (sqrt (cbrt x)))
53.0ms
(* (fabs (cbrt x)) (sqrt (- x 1.0)))
186.0ms
(cbrt x)
174.0ms
(cbrt x)

simplify54.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0496680
12068611
25002599

prune208.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes37.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.5s

Algorithm
intervals
Results
896.0ms24182×body80nan
270.0ms7989×body80valid
1.0ms11×body160valid