Details

Time bar (total: 3.8s)

sample13.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

simplify16.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.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

localize5.0ms

Local error

Found 1 expressions with local error:

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

rewrite40.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 frac-2neg div-sub div-exp clear-num div-inv add-log-exp
Counts
1 → 58
Calls
1 calls:
37.0ms
(/ (- x y) (- 2.0 (+ x y)))

series50.0ms

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

simplify111.0ms

Counts
61 → 61
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0275489
1853468
24118466
35002466
done5002466

prune94.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))) (/ y (- 2.0 (+ x y))))
0.0b
(/ y (- 2.0 (+ x y)))
0.0b
(/ x (- 2.0 (+ x y)))

rewrite254.0ms

Algorithm
rewrite-expression-head
Rules
127×*-un-lft-identity
64×times-frac
59×add-sqr-sqrt
41×distribute-lft-out--
27×add-cube-cbrt
14×distribute-lft-out difference-of-squares
12×associate-/r*
associate-/r/
add-exp-log add-cbrt-cube
associate-/l*
flip3-- flip-- add-log-exp
div-inv
pow1 distribute-rgt-out--
cbrt-undiv frac-2neg div-exp clear-num
sub-neg diff-log frac-sub sub-div
Counts
3 → 116
Calls
3 calls:
192.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
30.0ms
(/ y (- 2.0 (+ x y)))
27.0ms
(/ x (- 2.0 (+ x y)))

series161.0ms

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

simplify37.0ms

Counts
125 → 125
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0377899
11162864
25001858
done5001858

prune225.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ x (- 2.0 (+ x y))) (log (exp (/ y (- 2.0 (+ x y))))))
0.0b
(/ y (- 2.0 (+ x y)))
0.0b
(/ x (- 2.0 (+ x y)))
2.4b
(log (exp (/ y (- 2.0 (+ x y)))))

rewrite423.0ms

Algorithm
rewrite-expression-head
Rules
96×*-un-lft-identity
65×add-sqr-sqrt
55×times-frac
38×add-cube-cbrt
26×log-pow
24×exp-prod distribute-lft-out--
13×difference-of-squares
12×associate-/r*
11×distribute-lft-out
add-exp-log add-cbrt-cube
pow1 log-prod associate-/r/ associate-/l*
add-log-exp
flip3-- flip--
div-inv associate--r+
cbrt-undiv frac-2neg div-exp clear-num
sub-neg diff-log rem-log-exp
Counts
4 → 137
Calls
4 calls:
287.0ms
(- (/ x (- 2.0 (+ x y))) (log (exp (/ y (- 2.0 (+ x y))))))
28.0ms
(/ y (- 2.0 (+ x y)))
27.0ms
(/ x (- 2.0 (+ x y)))
75.0ms
(log (exp (/ y (- 2.0 (+ x y)))))

series211.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(- (/ x (- 2.0 (+ x y))) (log (exp (/ y (- 2.0 (+ x y))))))
44.0ms
(/ y (- 2.0 (+ x y)))
52.0ms
(/ x (- 2.0 (+ x y)))
45.0ms
(log (exp (/ y (- 2.0 (+ x y)))))

simplify172.0ms

Counts
149 → 149
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0407981
11184916
24920907
35002907
done5002907

prune315.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

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

rewrite385.0ms

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity
46×add-sqr-sqrt
43×times-frac
33×add-cube-cbrt
18×associate-*l*
13×add-exp-log add-cbrt-cube
11×difference-of-squares
10×associate-/r*
distribute-lft-out--
associate-/r/ distribute-lft-out
pow1 associate-/l* add-log-exp
associate-*r/ associate-*r* frac-sub flip-- flip-+
frac-times flip3-- flip3-+
cbrt-undiv div-exp div-inv
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-- diff-log pow-prod-down *-commutative sub-div
Counts
4 → 140
Calls
4 calls:
58.0ms
(- (* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
26.0ms
(/ y (- 2.0 (+ x y)))
283.0ms
(* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
12.0ms
(/ x (- (* 2.0 2.0) (* (+ x y) (+ x y))))

series370.0ms

Counts
4 → 12
Calls
4 calls:
160.0ms
(- (* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
47.0ms
(/ y (- 2.0 (+ x y)))
86.0ms
(* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
76.0ms
(/ x (- (* 2.0 2.0) (* (+ x y) (+ x y))))

simplify90.0ms

Counts
152 → 152
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
07621605
135111478
250011476
done50011476

prune325.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes43.0ms

Accuracy

96.2% (0.3b remaining)

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

bsearch65.0ms

Steps
ItersRangePoint
8
5.719603679413103e-102
3.6156796252614476e-97
2.234979756987889e-98
9
-1418669.5161722333
-0.15939393977811658
-26.315544170367072

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02922
12922
done2922

end0.0ms

sample319.0ms

Algorithm
intervals
Results
157.0ms7999×body80valid
0.0msbody1280valid