Details

Time bar (total: 1.0m)

sample14.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

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

rewrite27.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:
24.0ms
(/ (- x y) (- 2.0 (+ x y)))

series57.0ms

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

simplify144.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0283498
1886475
24321474
35001474

prune118.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite285.0ms

Algorithm
rewrite-expression-head
Rules
1352×*-un-lft-identity
946×times-frac
843×add-sqr-sqrt
576×prod-diff
517×add-cube-cbrt
335×distribute-lft-out--
161×distribute-lft-out difference-of-squares
106×associate-/r/
54×flip3-- flip--
53×div-inv
24×fma-neg
12×associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
add-log-exp
pow1 expm1-log1p-u distribute-rgt-out-- log1p-expm1-u
cbrt-undiv frac-2neg div-exp clear-num
sub-neg diff-log frac-sub sub-div
Counts
3 → 722
Calls
3 calls:
15.0ms
(/ x (- 2.0 (+ x y)))
19.0ms
(/ y (- 2.0 (+ x y)))
166.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))

series179.0ms

Counts
3 → 9
Calls
3 calls:
52.0ms
(/ x (- 2.0 (+ x y)))
48.0ms
(/ y (- 2.0 (+ x y)))
78.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))

simplify284.0ms

Algorithm
egg-herbie
Counts
731 → 731
Iterations

Useful iterations: 2 (98.0ms)

IterNodesCost
0130423967
1366517833
2500117718

prune1.1s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite153.0ms

Algorithm
rewrite-expression-head
Rules
192×*-un-lft-identity
135×add-sqr-sqrt
109×times-frac
90×add-cube-cbrt
72×prod-diff
41×distribute-lft-out--
24×fma-neg
22×difference-of-squares
20×distribute-lft-out
12×associate-/r* associate-/r/
add-exp-log add-cbrt-cube
flip3-- flip-- add-log-exp
div-inv associate-/l*
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv log1p-udef frac-2neg diff-log div-exp clear-num
sub-neg log1p-expm1
Counts
4 → 211
Calls
4 calls:
16.0ms
(/ x (- 2.0 (+ x y)))
105.0ms
(- (/ x (- 2.0 (+ x y))) (log1p (expm1 (/ y (- 2.0 (+ x y))))))
19.0ms
(/ y (- 2.0 (+ x y)))
0.0ms
(log1p (expm1 (/ y (- 2.0 (+ x y)))))

series310.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(/ x (- 2.0 (+ x y)))
102.0ms
(- (/ x (- 2.0 (+ x y))) (log1p (expm1 (/ y (- 2.0 (+ x y))))))
55.0ms
(/ y (- 2.0 (+ x y)))
104.0ms
(log1p (expm1 (/ y (- 2.0 (+ x y)))))

simplify96.0ms

Algorithm
egg-herbie
Counts
223 → 223
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
05604138
118012264
250012224

prune440.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize26.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x y) (+ x y))
3.2b
(/ x (- (pow 2.0 3) (pow (+ x y) 3)))
5.8b
(/ y (- (pow 2.0 3) (pow (+ x y) 3)))
25.2b
(* (+ (* 2.0 2.0) (+ (* (+ x y) (+ x y)) (* 2.0 (+ x y)))) (- (/ x (- (pow 2.0 3) (pow (+ x y) 3))) (/ y (- (pow 2.0 3) (pow (+ x y) 3)))))

rewrite8.7s

Algorithm
rewrite-expression-head
Rules
39468×add-sqr-sqrt
37644×*-un-lft-identity
32756×times-frac
18160×unpow-prod-down cube-prod
18060×difference-of-squares
17298×prod-diff
12356×add-cube-cbrt
10356×distribute-lft-out--
9016×sqr-pow
8652×distribute-rgt-in distribute-lft-in
4566×distribute-lft-out
1126×difference-cubes
752×associate-/r/
379×flip3-- flip--
376×div-inv
122×associate-*r*
58×associate-/r*
13×pow1
12×add-exp-log frac-times add-cbrt-cube
11×flip3-+ flip-+
associate-*l*
associate-*r/ swap-sqr associate-/l*
expm1-log1p-u associate-*l/ log1p-expm1-u add-log-exp
distribute-rgt-out-- frac-sub sub-div
cbrt-undiv sub-neg frac-2neg div-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod unswap-sqr
pow2 pow-plus pow-sqr pow-prod-up
Counts
4 → 17763
Calls
4 calls:
17.0ms
(* (+ x y) (+ x y))
55.0ms
(/ x (- (pow 2.0 3) (pow (+ x y) 3)))
51.0ms
(/ y (- (pow 2.0 3) (pow (+ x y) 3)))
4.0s
(* (+ (* 2.0 2.0) (+ (* (+ x y) (+ x y)) (* 2.0 (+ x y)))) (- (/ x (- (pow 2.0 3) (pow (+ x y) 3))) (/ y (- (pow 2.0 3) (pow (+ x y) 3)))))

series452.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (+ x y) (+ x y))
114.0ms
(/ x (- (pow 2.0 3) (pow (+ x y) 3)))
118.0ms
(/ y (- (pow 2.0 3) (pow (+ x y) 3)))
202.0ms
(* (+ (* 2.0 2.0) (+ (* (+ x y) (+ x y)) (* 2.0 (+ x y)))) (- (/ x (- (pow 2.0 3) (pow (+ x y) 3))) (/ y (- (pow 2.0 3) (pow (+ x y) 3)))))

simplify12.7s

Algorithm
egg-herbie
Counts
17775 → 17775
Iterations

Useful iterations: 0 (101.0ms)

IterNodesCost
076661352665

prune36.4s

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes40.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
097
197

end0.0ms

sample313.0ms

Algorithm
intervals
Results
179.0ms7996×body80valid
0.0msbody640valid
0.0msbody320valid