Details

Time bar (total: 2.4s)

sample282.0ms

Algorithm
intervals
Results
14.0ms813×body80nan
5.0ms255×body80valid
0.0msbody160valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

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

series81.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0181216
1610206
22471201
35002201

prune70.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

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

series24.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
19 → 19
Iterations

Useful iterations: 3 (33.0ms)

IterNodesCost
096126
1283117
21070115
35001110

prune32.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (sqrt (- (pow x 3) (pow 1.0 3))) (sqrt x))
20.8b
(sqrt (- (pow x 3) (pow 1.0 3)))
32.4b
(sqrt (+ (* x x) (+ (* 1.0 1.0) (* x 1.0))))
32.5b
(/ (* (sqrt (- (pow x 3) (pow 1.0 3))) (sqrt x)) (sqrt (+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
72×add-sqr-sqrt
66×sqrt-prod
34×*-un-lft-identity
32×difference-of-squares
28×associate-*l*
24×unpow-prod-down cube-prod
16×sqr-pow
14×add-cube-cbrt
11×add-exp-log add-cbrt-cube
10×pow1 sqrt-div distribute-lft-out--
times-frac associate-*r* associate-/r*
sqrt-pow1 pow1/2 associate-*l/ add-log-exp unswap-sqr
flip3-- pow-prod-down flip--
difference-cubes cbrt-undiv rem-sqrt-square flip3-+ sqrt-unprod div-exp prod-exp associate-/r/ cbrt-unprod flip-+ associate-/l/
sqrt-undiv frac-2neg clear-num *-commutative div-inv associate-/l*
Counts
4 → 138
Calls
4 calls:
19.0ms
(* (sqrt (- (pow x 3) (pow 1.0 3))) (sqrt x))
12.0ms
(sqrt (- (pow x 3) (pow 1.0 3)))
5.0ms
(sqrt (+ (* x x) (+ (* 1.0 1.0) (* x 1.0))))
23.0ms
(/ (* (sqrt (- (pow x 3) (pow 1.0 3))) (sqrt x)) (sqrt (+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))))

series351.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(* (sqrt (- (pow x 3) (pow 1.0 3))) (sqrt x))
55.0ms
(sqrt (- (pow x 3) (pow 1.0 3)))
51.0ms
(sqrt (+ (* x x) (+ (* 1.0 1.0) (* x 1.0))))
159.0ms
(/ (* (sqrt (- (pow x 3) (pow 1.0 3))) (sqrt x)) (sqrt (+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))))

simplify71.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05901504
124291402
250031402

prune410.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes17.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

sample864.0ms

Algorithm
intervals
Results
384.0ms23935×body80nan
156.0ms7989×body80valid
0.0ms11×body160valid