Details

Time bar (total: 5.3s)

sample14.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

simplify31.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0174
1284
2434
3564
4724
51334
62144
72654
82974
92974
done2974

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

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

series54.0ms

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

simplify141.0ms

Counts
63 → 63
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0283498
1886475
24321474
35001474
done5001474

prune125.0ms

Pruning

3 alts after pruning (3 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)))

rewrite411.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:
266.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
29.0ms
(/ y (- 2.0 (+ x y)))
35.0ms
(/ x (- 2.0 (+ x y)))

series192.0ms

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

simplify251.0ms

Counts
731 → 731
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
0130423967
1366317833
2500117718
done500117718

prune1.3s

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

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
66×*-un-lft-identity
42×add-sqr-sqrt
36×times-frac
26×add-cube-cbrt
16×distribute-lft-out--
12×associate-/r*
add-exp-log add-cbrt-cube distribute-lft-out difference-of-squares
associate-/l*
expm1-log1p-u
pow1 associate-/r/ log1p-expm1-u add-log-exp
cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-- div-inv
log1p-udef expm1-log1p log1p-expm1 expm1-udef
Counts
4 → 108
Calls
4 calls:
0.0ms
(expm1 (log1p (- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))))
30.0ms
(/ x (- 2.0 (+ x y)))
32.0ms
(/ y (- 2.0 (+ x y)))
1.0ms
(log1p (- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y)))))

series476.0ms

Counts
4 → 12
Calls
4 calls:
211.0ms
(expm1 (log1p (- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))))
56.0ms
(/ x (- 2.0 (+ x y)))
51.0ms
(/ y (- 2.0 (+ x y)))
158.0ms
(log1p (- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y)))))

simplify59.0ms

Counts
120 → 120
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0439875
11424804
25001786
done5001786

prune328.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
0.0b
(/ y (- 2.0 (+ x y)))
8.1b
(* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
16.9b
(/ x (- (* 2.0 2.0) (* (+ x y) (+ x y))))

rewrite221.0ms

Algorithm
rewrite-expression-head
Rules
83×*-un-lft-identity
62×add-sqr-sqrt
61×times-frac
43×add-cube-cbrt
24×prod-diff
18×associate-*l*
14×distribute-lft-out-- difference-of-squares
13×add-exp-log add-cbrt-cube
10×associate-/r* distribute-lft-out
associate-/r/
pow1 flip-- associate-/l* add-log-exp
flip3-- associate-*r/ associate-*r* frac-sub flip-+
expm1-log1p-u frac-times flip3-+ log1p-expm1-u div-inv
cbrt-undiv div-exp
distribute-rgt-in frac-2neg distribute-lft-in associate-*l/ prod-exp associate--l+ clear-num cbrt-unprod unswap-sqr
sub-neg distribute-rgt-out-- fma-neg diff-log pow-prod-down *-commutative sub-div
Counts
4 → 173
Calls
4 calls:
78.0ms
(- (* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
29.0ms
(/ y (- 2.0 (+ x y)))
89.0ms
(* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
17.0ms
(/ x (- (* 2.0 2.0) (* (+ x y) (+ x y))))

series438.0ms

Counts
4 → 12
Calls
4 calls:
193.0ms
(- (* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
53.0ms
(/ y (- 2.0 (+ x y)))
101.0ms
(* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
91.0ms
(/ x (- (* 2.0 2.0) (* (+ x y) (+ x y))))

simplify161.0ms

Counts
185 → 185
Iterations

Useful iterations: 1 (39.0ms)

IterNodesCost
010722607
149122241
250012241
done50012241

prune475.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes33.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
097
197
done97

end0.0ms

sample342.0ms

Algorithm
intervals
Results
170.0ms7999×body80valid
0.0msbody1280valid