Details

Time bar (total: 4.3s)

sample12.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

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

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite12.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 frac-2neg div-sub div-exp clear-num div-inv add-log-exp
Counts
1 → 58
Calls
1 calls:
10.0ms
(/ (- x y) (- 2.0 (+ x y)))

series50.0ms

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

simplify124.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0275489
1853468
24118466
35002466

prune100.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

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

rewrite126.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 div-exp add-log-exp
div-sub associate-/l/
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num
Counts
4 → 649
Calls
4 calls:
6.0ms
(sqrt (- 2.0 (+ x y)))
5.0ms
(sqrt (- 2.0 (+ x y)))
35.0ms
(/ (/ (- x y) (sqrt (- 2.0 (+ x y)))) (sqrt (- 2.0 (+ x y))))
11.0ms
(/ (- x y) (sqrt (- 2.0 (+ x y))))

series225.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(sqrt (- 2.0 (+ x y)))
39.0ms
(sqrt (- 2.0 (+ x y)))
48.0ms
(/ (/ (- x y) (sqrt (- 2.0 (+ x y)))) (sqrt (- 2.0 (+ x y))))
102.0ms
(/ (- x y) (sqrt (- 2.0 (+ x y))))

simplify172.0ms

Algorithm
egg-herbie
Counts
661 → 661
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
0118111219
1449910046
2500210039

prune676.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

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

rewrite54.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
frac-times sqrt-pow1 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 → 190
Calls
4 calls:
6.0ms
(cbrt (sqrt (- 2.0 (+ x y))))
6.0ms
(cbrt (sqrt (- 2.0 (+ x y))))
18.0ms
(* (cbrt (sqrt (- 2.0 (+ x y)))) (cbrt (sqrt (- 2.0 (+ x y)))))
10.0ms
(/ 1 (sqrt (sqrt (- 2.0 (+ x y)))))

series393.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(cbrt (sqrt (- 2.0 (+ x y))))
98.0ms
(cbrt (sqrt (- 2.0 (+ x y))))
100.0ms
(* (cbrt (sqrt (- 2.0 (+ x y)))) (cbrt (sqrt (- 2.0 (+ x y)))))
102.0ms
(/ 1 (sqrt (sqrt (- 2.0 (+ x y)))))

simplify66.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05682241
118752061
250021869

prune459.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

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

rewrite132.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*
associate-/r/
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 frac-2neg unpow3 div-sub pow-prod-down pow-exp clear-num sum-log *-commutative rem-cube-cbrt
Counts
4 → 431
Calls
4 calls:
10.0ms
(+ (* (+ x y) (+ x y)) (* 2.0 (+ x y)))
5.0ms
(pow (+ x y) 3)
25.0ms
(/ (- x y) (- (pow 2.0 3) (pow (+ x y) 3)))
52.0ms
(* (/ (- x y) (- (pow 2.0 3) (pow (+ x y) 3))) (+ (* 2.0 2.0) (+ (* (+ x y) (+ x y)) (* 2.0 (+ x y)))))

series312.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(+ (* (+ x y) (+ x y)) (* 2.0 (+ x y)))
31.0ms
(pow (+ x y) 3)
110.0ms
(/ (- x y) (- (pow 2.0 3) (pow (+ x y) 3)))
136.0ms
(* (/ (- x y) (- (pow 2.0 3) (pow (+ x y) 3))) (+ (* 2.0 2.0) (+ (* (+ x y) (+ x y)) (* 2.0 (+ x y)))))

simplify99.0ms

Algorithm
egg-herbie
Counts
443 → 443
Iterations

Useful iterations: 1 (39.0ms)

IterNodesCost
017605908
150035789

prune856.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

regimes53.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
084
184

end0.0ms

sample299.0ms

Algorithm
intervals
Results
172.0ms7999×body80valid
0.0msbody1280valid