Details

Time bar (total: 8.8s)

sample13.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

simplify126.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
079
1179
2289
3409
4509
5669
6839
7949
81019
91109
101159
111179
121219
done1219

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 1 expressions with local error:

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

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

series50.0ms

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

simplify1.1s

Counts
63 → 63
Iterations

Useful iterations: done (1.1s)

IterNodesCost
01141010
1283965
2715923
32025921
done5002919

prune102.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite257.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:
16.0ms
(/ y (- 2.0 (+ x y)))
14.0ms
(/ x (- 2.0 (+ x y)))
151.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))

series157.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(/ y (- 2.0 (+ x y)))
44.0ms
(/ x (- 2.0 (+ x y)))
67.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))

simplify1.4s

Counts
731 → 731
Iterations

Useful iterations: done (1.4s)

IterNodesCost
058044551
1128539894
2308731471
done500031397

prune942.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
168×*-un-lft-identity
120×add-sqr-sqrt
91×times-frac
81×add-cube-cbrt
72×prod-diff
35×distribute-lft-out--
19×difference-of-squares
17×distribute-lft-out
12×associate-/r*
10×associate-/r/
add-exp-log add-cbrt-cube
add-log-exp
flip3-- flip-- associate-/l*
div-inv
pow1 expm1-log1p-u log1p-expm1-u
fma-neg
cbrt-undiv log1p-udef frac-2neg diff-log div-exp clear-num
sub-neg log1p-expm1
Counts
4 → 190
Calls
4 calls:
0.0ms
(log1p (expm1 (/ x (- 2.0 (+ x y)))))
14.0ms
(/ y (- 2.0 (+ x y)))
38.0ms
(- (log1p (expm1 (/ x (- 2.0 (+ x y))))) (/ y (- 2.0 (+ x y))))
14.0ms
(/ x (- 2.0 (+ x y)))

series280.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(log1p (expm1 (/ x (- 2.0 (+ x y)))))
47.0ms
(/ y (- 2.0 (+ x y)))
104.0ms
(- (log1p (expm1 (/ x (- 2.0 (+ x y))))) (/ y (- 2.0 (+ x y))))
44.0ms
(/ x (- 2.0 (+ x y)))

simplify975.0ms

Counts
202 → 202
Iterations

Useful iterations: done (963.0ms)

IterNodesCost
03097403
17316423
219585076
done50015069

prune383.0ms

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
(- (log1p (expm1 (/ x (- 2.0 (+ x y))))) (* y (/ 1 (- 2.0 (+ x y)))))
0.0b
(/ 1 (- 2.0 (+ x y)))
0.1b
(* y (/ 1 (- 2.0 (+ x y))))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
95×*-un-lft-identity
68×add-sqr-sqrt
56×times-frac
39×add-cube-cbrt
24×associate-*r*
22×distribute-lft-out--
19×add-exp-log
13×add-cbrt-cube
12×associate-/r*
11×distribute-lft-out difference-of-squares
pow1 add-log-exp
associate-/r/ associate-/l*
div-exp
expm1-log1p-u flip3-- prod-exp flip-- log1p-expm1-u
cbrt-undiv fma-neg associate-*l* prod-diff div-inv unswap-sqr
rec-exp frac-2neg diff-log 1-exp clear-num cbrt-unprod
sub-neg log1p-udef pow-flip associate-*r/ pow-prod-down un-div-inv *-commutative inv-pow
Counts
4 → 160
Calls
4 calls:
14.0ms
(/ x (- 2.0 (+ x y)))
2.0ms
(- (log1p (expm1 (/ x (- 2.0 (+ x y))))) (* y (/ 1 (- 2.0 (+ x y)))))
17.0ms
(/ 1 (- 2.0 (+ x y)))
35.0ms
(* y (/ 1 (- 2.0 (+ x y))))

series240.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(/ x (- 2.0 (+ x y)))
105.0ms
(- (log1p (expm1 (/ x (- 2.0 (+ x y))))) (* y (/ 1 (- 2.0 (+ x y)))))
39.0ms
(/ 1 (- 2.0 (+ x y)))
45.0ms
(* y (/ 1 (- 2.0 (+ x y))))

simplify1.9s

Counts
172 → 172
Iterations

Useful iterations: done (1.9s)

IterNodesCost
02242395
15042028
211751829
333221803
done50001798

prune379.0ms

Pruning

2 alts after pruning (1 fresh and 1 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

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
189
done89

end0.0ms

sample301.0ms

Algorithm
intervals
Results
176.0ms7996×body80valid
0.0msbody640valid
0.0msbody1280valid
0.0msbody320valid