Details

Time bar (total: 17.6s)

sample15.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify189.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
079
1179
2289
3419
4549
5659
6779
7899
8969
91049
101059
111079
121089
done1089

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 1 expressions with local error:

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

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

series72.0ms

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

simplify1.6s

Counts
63 → 63
Iterations

Useful iterations: 3 (557.0ms)

IterNodesCost
01141010
1284965
2745923
32060921
done5000921

prune143.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite472.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:
333.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
34.0ms
(/ y (- 2.0 (+ x y)))
30.0ms
(/ x (- 2.0 (+ x y)))

series184.0ms

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

simplify2.3s

Counts
731 → 731
Iterations

Useful iterations: done (2.3s)

IterNodesCost
058044551
1129639894
2283530752
done500122997

prune814.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite1.0s

Algorithm
rewrite-expression-head
Rules
4475×times-frac
4436×*-un-lft-identity
3073×add-sqr-sqrt
2124×add-cube-cbrt
1704×prod-diff
923×distribute-lft-out--
468×difference-of-squares
459×distribute-lft-out
179×div-inv
170×associate-/r/
74×flip3-- flip--
71×fma-neg
31×associate-/r*
19×add-exp-log
13×add-cbrt-cube
12×associate-/l*
div-exp
add-log-exp
pow1 cbrt-undiv
expm1-log1p-u log1p-expm1-u
frac-2neg clear-num
rec-exp 1-exp associate-/l/
sub-neg pow-flip diff-log div-sub frac-sub inv-pow
Counts
4 → 2006
Calls
4 calls:
521.0ms
(- (/ 1 (/ (- 2.0 (+ x y)) x)) (/ y (- 2.0 (+ x y))))
39.0ms
(/ y (- 2.0 (+ x y)))
79.0ms
(/ (- 2.0 (+ x y)) x)
45.0ms
(/ 1 (/ (- 2.0 (+ x y)) x))

series238.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(- (/ 1 (/ (- 2.0 (+ x y)) x)) (/ y (- 2.0 (+ x y))))
53.0ms
(/ y (- 2.0 (+ x y)))
28.0ms
(/ (- 2.0 (+ x y)) x)
73.0ms
(/ 1 (/ (- 2.0 (+ x y)) x))

simplify2.8s

Counts
2018 → 2018
Iterations

Useful iterations: done (2.7s)

IterNodesCost
01322139257
12860119770
2475888539
done500088326

prune1.8s

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite1.1s

Algorithm
rewrite-expression-head
Rules
1580×*-un-lft-identity
1239×add-sqr-sqrt
1236×times-frac
748×prod-diff
640×add-cube-cbrt
365×distribute-lft-out--
257×difference-of-squares
190×distribute-lft-out
164×associate-/r/
62×div-inv
58×flip3-- flip--
55×frac-sub
42×fma-neg
27×flip3-+ flip-+
13×associate-/r*
11×add-log-exp
10×add-exp-log
add-cbrt-cube
associate-/l*
pow1
expm1-log1p-u log1p-expm1-u
diff-log div-exp
cbrt-undiv sub-neg frac-2neg clear-num
rec-exp pow-flip 1-exp sum-log associate--r+ inv-pow
Counts
4 → 940
Calls
4 calls:
752.0ms
(- (/ 1 (- (/ 2.0 x) (+ 1 (/ y x)))) (/ y (- 2.0 (+ x y))))
60.0ms
(- (/ 2.0 x) (+ 1 (/ y x)))
32.0ms
(/ y (- 2.0 (+ x y)))
113.0ms
(/ 1 (- (/ 2.0 x) (+ 1 (/ y x))))

series190.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(- (/ 1 (- (/ 2.0 x) (+ 1 (/ y x)))) (/ y (- 2.0 (+ x y))))
23.0ms
(- (/ 2.0 x) (+ 1 (/ y x)))
48.0ms
(/ y (- 2.0 (+ x y)))
50.0ms
(/ 1 (- (/ 2.0 x) (+ 1 (/ y x))))

simplify2.2s

Counts
952 → 952
Iterations

Useful iterations: done (2.2s)

IterNodesCost
079163327
1177255201
2370242664
done500042638

prune1.6s

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

regimes42.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01319
11719
done1719

end0.0ms

sample643.0ms

Algorithm
intervals
Results
440.0ms8000×body80valid