Details

Time bar (total: 3.6s)

sample14.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

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

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

series49.0ms

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

simplify119.0ms

Counts
61 → 61
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0275489
1853468
24118466
35002466
done5002466

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

rewrite253.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:
191.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
27.0ms
(/ y (- 2.0 (+ x y)))
29.0ms
(/ x (- 2.0 (+ x y)))

series152.0ms

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

simplify38.0ms

Counts
125 → 125
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0377899
11162864
25001858
done5001858

prune217.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

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

rewrite405.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)))
58.0ms
(log (exp (/ y (- 2.0 (+ x y)))))

series203.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(- (/ x (- 2.0 (+ x y))) (log (exp (/ y (- 2.0 (+ x y))))))
47.0ms
(/ y (- 2.0 (+ x y)))
44.0ms
(/ x (- 2.0 (+ x y)))
46.0ms
(log (exp (/ y (- 2.0 (+ x y)))))

simplify178.0ms

Counts
149 → 149
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0407981
11184916
24920907
35002907
done5002907

prune313.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

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

rewrite183.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:
55.0ms
(- (* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
28.0ms
(/ y (- 2.0 (+ x y)))
82.0ms
(* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y)))
13.0ms
(/ x (- (* 2.0 2.0) (* (+ x y) (+ x y))))

series382.0ms

Counts
4 → 12
Calls
4 calls:
173.0ms
(- (* (/ x (- (* 2.0 2.0) (* (+ x y) (+ x y)))) (+ 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))
49.0ms
(/ y (- 2.0 (+ x y)))
84.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))))

simplify96.0ms

Counts
152 → 152
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
07621605
135111478
250011476
done50011476

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

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

sample342.0ms

Algorithm
intervals
Results
171.0ms7999×body80valid
0.0msbody1280valid