Details

Time bar (total: 11.5s)

sample19.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

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

prune1.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 1 expressions with local error:

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

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

series58.0ms

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

simplify1.3s

Counts
63 → 63
Iterations

Useful iterations: 3 (441.0ms)

IterNodesCost
01141010
1284965
2745923
32060921
done5000921

prune135.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite176.0ms

Algorithm
rewrite-expression-head
Rules
292×*-un-lft-identity
258×times-frac
214×add-sqr-sqrt
100×add-cube-cbrt
83×distribute-lft-out--
57×difference-of-squares
41×associate-/r*
26×distribute-lft-out
15×add-exp-log
11×associate-/r/
add-cbrt-cube associate-/l*
div-exp
flip3-- flip-- div-inv
cbrt-undiv
pow1
expm1-log1p-u rec-exp frac-2neg 1-exp clear-num log1p-expm1-u associate-/l/ add-log-exp
pow-flip div-sub inv-pow
Counts
2 → 230
Calls
2 calls:
86.0ms
(/ (- 2.0 (+ x y)) (- x y))
67.0ms
(/ 1 (/ (- 2.0 (+ x y)) (- x y)))

series200.0ms

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

simplify2.8s

Counts
236 → 236
Iterations

Useful iterations: 3 (1.6s)

IterNodesCost
02724670
16424030
215363703
346693611
done50003611

prune288.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite235.0ms

Algorithm
rewrite-expression-head
Rules
1308×times-frac
977×*-un-lft-identity
767×add-sqr-sqrt
469×add-cube-cbrt
219×distribute-lft-out--
149×difference-of-squares
99×associate-/r/
70×distribute-lft-out
51×add-exp-log
50×div-inv
49×flip3-- flip--
36×div-exp
32×associate-/r*
30×associate-/l*
19×add-cbrt-cube
10×cbrt-undiv rec-exp 1-exp
pow1
expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
pow-flip inv-pow
associate-/l/
Counts
3 → 673
Calls
3 calls:
17.0ms
(/ 1 (- x y))
43.0ms
(/ 1 (- 2.0 (+ x y)))
86.0ms
(/ (/ 1 (- 2.0 (+ x y))) (/ 1 (- x y)))

series171.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(/ 1 (- x y))
55.0ms
(/ 1 (- 2.0 (+ x y)))
68.0ms
(/ (/ 1 (- 2.0 (+ x y))) (/ 1 (- x y)))

simplify2.0s

Counts
682 → 682
Iterations

Useful iterations: done (1.9s)

IterNodesCost
075318735
1211314146
2396612846
done500012845

prune532.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (+ x y) (+ x y))
0.1b
(* (/ (- x y) (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
28.1b
(/ (- x y) (- (* 2.0 2.0) (* (+ x y) (+ x y))))

rewrite207.0ms

Algorithm
rewrite-expression-head
Rules
66×*-un-lft-identity
54×add-sqr-sqrt
41×times-frac
30×associate-*l*
29×add-cube-cbrt
20×difference-of-squares
12×pow1 add-exp-log add-cbrt-cube
associate-*r* distribute-lft-out distribute-lft-out--
flip3-+ flip-+
frac-times swap-sqr
associate-/l*
associate-*r/ associate-/r* associate-/r/
expm1-log1p-u flip3-- associate-*l/ prod-exp flip-- cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp pow-prod-down *-commutative div-inv associate-/l/
pow2 frac-2neg pow-plus div-sub clear-num pow-sqr pow-prod-up
Counts
3 → 145
Calls
3 calls:
41.0ms
(* (+ x y) (+ x y))
128.0ms
(* (/ (- x y) (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
33.0ms
(/ (- x y) (- (* 2.0 2.0) (* (+ x y) (+ x y))))

series212.0ms

Counts
3 → 9
Calls
3 calls:
15.0ms
(* (+ x y) (+ x y))
105.0ms
(* (/ (- x y) (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
91.0ms
(/ (- x y) (- (* 2.0 2.0) (* (+ x y) (+ x y))))

simplify2.0s

Counts
154 → 154
Iterations

Useful iterations: done (2.0s)

IterNodesCost
02373174
18223023
236372782
done50022646

prune451.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes36.0ms

Accuracy

0% (0.1b 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
0911
11211
done1211

end0.0ms

sample446.0ms

Algorithm
intervals
Results
214.0ms7997×body80valid
0.0msbody1280valid
0.0msbody640valid