Details

Time bar (total: 13.7s)

sample24.0ms

Algorithm
intervals
Results
12.0ms287×body80valid

simplify276.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
11911
22911
34411
45511
56911
68111
711411
812911
913511
1013911
1114911
1215311
1315511
done15511

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.6b

localize9.0ms

Local error

Found 2 expressions with local error:

0.1b
(* x (+ (/ x y) 1.0))
9.0b
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
pow1 times-frac associate-*r/ associate-*r* associate-/r*
flip3-+ associate-*l* flip-+ distribute-lft-out
cbrt-undiv expm1-log1p-u div-exp prod-exp associate-/r/ cbrt-unprod log1p-expm1-u associate-/l/ add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative div-inv associate-/l* unswap-sqr
Counts
2 → 54
Calls
2 calls:
56.0ms
(* x (+ (/ x y) 1.0))
33.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series75.0ms

Counts
2 → 6
Calls
2 calls:
27.0ms
(* x (+ (/ x y) 1.0))
48.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

simplify2.6s

Counts
60 → 60
Iterations

Useful iterations: 3 (1.4s)

IterNodesCost
0107759
1302728
21120632
34510629
done5000629

prune152.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize16.0ms

Local error

Found 2 expressions with local error:

0.1b
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
0.1b
(/ (+ x 1.0) (+ (/ x y) 1.0))

rewrite143.0ms

Algorithm
rewrite-expression-head
Rules
155×*-un-lft-identity
146×times-frac
71×add-sqr-sqrt add-cube-cbrt
42×distribute-lft-out
26×associate-/r*
11×associate-/r/
add-exp-log add-cbrt-cube
associate-/l*
flip3-+ flip-+ div-inv
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u associate-/l/ add-log-exp
Counts
2 → 150
Calls
2 calls:
63.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
67.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series163.0ms

Counts
2 → 6
Calls
2 calls:
51.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
111.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify1.4s

Counts
156 → 156
Iterations

Useful iterations: done (1.4s)

IterNodesCost
02113002
14892812
217202698
done50002685

prune381.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.1b
(/ (+ (/ x y) 1.0) (+ x 1.0))
0.1b
(* x (/ (+ (/ x y) 1.0) (+ x 1.0)))

rewrite148.0ms

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity
33×times-frac
27×add-sqr-sqrt
22×add-cube-cbrt associate-*r*
18×distribute-lft-out
add-exp-log add-cbrt-cube
pow1 associate-/r* associate-/r/ associate-/l*
flip3-+ associate-*l* flip-+
cbrt-undiv expm1-log1p-u div-exp prod-exp cbrt-unprod log1p-expm1-u div-inv associate-/l/ add-log-exp unswap-sqr
frac-2neg associate-*r/ pow-prod-down clear-num *-commutative
Counts
2 → 85
Calls
2 calls:
64.0ms
(/ (+ (/ x y) 1.0) (+ x 1.0))
78.0ms
(* x (/ (+ (/ x y) 1.0) (+ x 1.0)))

series101.0ms

Counts
2 → 6
Calls
2 calls:
37.0ms
(/ (+ (/ x y) 1.0) (+ x 1.0))
64.0ms
(* x (/ (+ (/ x y) 1.0) (+ x 1.0)))

simplify2.0s

Counts
91 → 91
Iterations

Useful iterations: done (2.0s)

IterNodesCost
01291342
13321274
210391162
330321158
done50001155

prune259.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ x y) (/ x y))
0.8b
(/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))))
4.2b
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
9.5b
(/ (/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))) (- (/ x y) 1.0))

rewrite415.0ms

Algorithm
rewrite-expression-head
Rules
1482×times-frac
895×add-sqr-sqrt
877×*-un-lft-identity
523×add-cube-cbrt
249×difference-of-squares
105×distribute-lft-out
78×associate-/l*
72×distribute-lft-out--
62×associate-/r/
39×div-inv
32×add-exp-log associate-/r* add-cbrt-cube
27×flip3-- flip--
14×cbrt-undiv div-exp
13×swap-sqr associate-*r* associate-*l*
11×pow1
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
frac-2neg clear-num associate-/l/
pow2 frac-times flip3-+ pow-plus associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up flip-+
Counts
4 → 743
Calls
4 calls:
44.0ms
(* (/ x y) (/ x y))
69.0ms
(/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))))
68.0ms
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
121.0ms
(/ (/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))) (- (/ x y) 1.0))

series375.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* (/ x y) (/ x y))
103.0ms
(/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))))
121.0ms
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
109.0ms
(/ (/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))) (- (/ x y) 1.0))

simplify1.7s

Counts
755 → 755
Iterations

Useful iterations: done (1.6s)

IterNodesCost
0100629565
1262227946
done500027356

prune2.4s

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes41.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
11011
done1011

end0.0ms

sample978.0ms

Algorithm
intervals
Results
726.0ms9136×body80valid