Details

Time bar (total: 5.1s)

sample14.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify31.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0174
1284
2434
3564
4724
51334
62144
72654
82974
92974

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 1 expressions with local error:

0.0b
(/ (- x y) (- 2.0 (+ x y)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity
40×add-sqr-sqrt
30×times-frac
19×distribute-lft-out--
14×add-cube-cbrt
13×difference-of-squares
associate-/r* distribute-lft-out
associate-/l*
add-exp-log add-cbrt-cube
flip3-- associate-/r/ flip-- associate-/l/
pow1 cbrt-undiv expm1-log1p-u frac-2neg div-sub div-exp clear-num log1p-expm1-u div-inv add-log-exp
Counts
1 → 60
Calls
1 calls:
13.0ms
(/ (- x y) (- 2.0 (+ x y)))

series53.0ms

Counts
1 → 3
Calls
1 calls:
53.0ms
(/ (- x y) (- 2.0 (+ x y)))

simplify144.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0283498
1886475
24321474
35001474

prune126.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (- 2.0 (+ x y)))
0.0b
(sqrt (- 2.0 (+ x y)))
0.1b
(/ (/ (- x y) (sqrt (- 2.0 (+ x y)))) (sqrt (- 2.0 (+ x y))))
0.3b
(/ (- x y) (sqrt (- 2.0 (+ x y))))

rewrite131.0ms

Algorithm
rewrite-expression-head
Rules
1082×*-un-lft-identity
954×times-frac
754×add-sqr-sqrt
660×sqrt-prod
332×add-cube-cbrt
320×distribute-lft-out--
210×difference-of-squares
110×distribute-lft-out
56×associate-/l*
28×sqrt-div
24×associate-/r/
18×associate-/r*
15×flip3-- flip--
12×div-inv
11×add-exp-log add-cbrt-cube
pow1
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
div-sub associate-/l/
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num
Counts
4 → 657
Calls
4 calls:
7.0ms
(sqrt (- 2.0 (+ x y)))
8.0ms
(sqrt (- 2.0 (+ x y)))
33.0ms
(/ (/ (- x y) (sqrt (- 2.0 (+ x y)))) (sqrt (- 2.0 (+ x y))))
13.0ms
(/ (- x y) (sqrt (- 2.0 (+ x y))))

series266.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(sqrt (- 2.0 (+ x y)))
42.0ms
(sqrt (- 2.0 (+ x y)))
57.0ms
(/ (/ (- x y) (sqrt (- 2.0 (+ x y)))) (sqrt (- 2.0 (+ x y))))
120.0ms
(/ (- x y) (sqrt (- 2.0 (+ x y))))

simplify183.0ms

Algorithm
egg-herbie
Counts
669 → 669
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
0119911266
1456410091
2500110074

prune837.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(cbrt (sqrt (- 2.0 (+ x y))))
0.2b
(cbrt (sqrt (- 2.0 (+ x y))))
0.2b
(* (cbrt (sqrt (- 2.0 (+ x y)))) (cbrt (sqrt (- 2.0 (+ x y)))))
0.3b
(/ 1 (sqrt (sqrt (- 2.0 (+ x y)))))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
119×*-un-lft-identity
116×sqrt-prod
87×add-sqr-sqrt
82×cbrt-prod
45×add-cube-cbrt
36×times-frac
28×distribute-lft-out--
20×sqrt-div swap-sqr
16×cbrt-div
14×pow1 distribute-lft-out
12×associate-*r* associate-*l* associate-/r*
10×add-exp-log difference-of-squares
flip3-- flip-- unswap-sqr
pow1/3
add-cbrt-cube
pow-flip
expm1-log1p-u frac-times sqrt-pow1 log1p-expm1-u add-log-exp
associate-/l*
pow1/2 associate-*r/ div-exp pow-prod-down associate-*l/ associate-/r/ pow-sqr pow-prod-up
cbrt-undiv pow2 rec-exp frac-2neg pow-plus 1-exp prod-exp clear-num *-commutative cbrt-unprod div-inv inv-pow
Counts
4 → 198
Calls
4 calls:
6.0ms
(cbrt (sqrt (- 2.0 (+ x y))))
6.0ms
(cbrt (sqrt (- 2.0 (+ x y))))
20.0ms
(* (cbrt (sqrt (- 2.0 (+ x y)))) (cbrt (sqrt (- 2.0 (+ x y)))))
11.0ms
(/ 1 (sqrt (sqrt (- 2.0 (+ x y)))))

series466.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(cbrt (sqrt (- 2.0 (+ x y))))
116.0ms
(cbrt (sqrt (- 2.0 (+ x y))))
117.0ms
(* (cbrt (sqrt (- 2.0 (+ x y)))) (cbrt (sqrt (- 2.0 (+ x y)))))
117.0ms
(/ 1 (sqrt (sqrt (- 2.0 (+ x y)))))

simplify80.0ms

Algorithm
egg-herbie
Counts
210 → 210
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
05872289
119592107
250011917

prune578.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (+ x y) (+ x y)) (* 2.0 (+ x y)))
0.0b
(pow (+ x y) 3)
4.6b
(/ (- x y) (- (pow 2.0 3) (pow (+ x y) 3)))
30.2b
(* (/ (- x y) (- (pow 2.0 3) (pow (+ x y) 3))) (+ (* 2.0 2.0) (+ (* (+ x y) (+ x y)) (* 2.0 (+ x y)))))

rewrite143.0ms

Algorithm
rewrite-expression-head
Rules
466×add-sqr-sqrt
443×*-un-lft-identity
291×times-frac
235×difference-of-squares
180×unpow-prod-down cube-prod
158×distribute-lft-out--
151×associate-*l*
89×sqr-pow
79×add-cube-cbrt
46×distribute-lft-out
29×associate-/r*
24×flip3-+ flip-+
22×associate-*r/
16×frac-add
12×add-exp-log add-cbrt-cube
11×difference-cubes
10×frac-times
pow1
add-log-exp
associate-*l/ associate-/l*
expm1-log1p-u associate-/r/ log1p-expm1-u
distribute-rgt-in pow-unpow flip3-- distribute-lft-in associate-*r* flip--
cbrt-undiv cube-div associate-+l+ associate-+r+ div-exp prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
+-commutative cube-mult pow-to-exp distribute-rgt-out pow-pow fma-def frac-2neg unpow3 div-sub pow-prod-down pow-exp clear-num sum-log *-commutative rem-cube-cbrt
Counts
4 → 440
Calls
4 calls:
11.0ms
(+ (* (+ x y) (+ x y)) (* 2.0 (+ x y)))
5.0ms
(pow (+ x y) 3)
30.0ms
(/ (- x y) (- (pow 2.0 3) (pow (+ x y) 3)))
58.0ms
(* (/ (- x y) (- (pow 2.0 3) (pow (+ x y) 3))) (+ (* 2.0 2.0) (+ (* (+ x y) (+ x y)) (* 2.0 (+ x y)))))

series349.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(+ (* (+ x y) (+ x y)) (* 2.0 (+ x y)))
32.0ms
(pow (+ x y) 3)
117.0ms
(/ (- x y) (- (pow 2.0 3) (pow (+ x y) 3)))
156.0ms
(* (/ (- x y) (- (pow 2.0 3) (pow (+ x y) 3))) (+ (* 2.0 2.0) (+ (* (+ x y) (+ x y)) (* 2.0 (+ x y)))))

simplify108.0ms

Algorithm
egg-herbie
Counts
452 → 452
Iterations

Useful iterations: 1 (43.0ms)

IterNodesCost
018155913
150015770

prune1.1s

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

regimes68.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
084
184

end0.0ms

sample317.0ms

Algorithm
intervals
Results
188.0ms7999×body80valid
0.0msbody1280valid