Details

Time bar (total: 14.2s)

sample37.0ms

Algorithm
intervals
Results
21.0ms293×body80valid

simplify252.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: 7.6b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite134.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:
70.0ms
(* x (+ (/ x y) 1.0))
62.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series76.0ms

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

simplify2.5s

Counts
60 → 60
Iterations

Useful iterations: 3 (1.2s)

IterNodesCost
0107759
1302728
21120632
34510629
done5000629

prune169.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

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

rewrite127.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:
52.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
66.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series152.0ms

Counts
2 → 6
Calls
2 calls:
60.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
92.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify1.3s

Counts
156 → 156
Iterations

Useful iterations: done (1.3s)

IterNodesCost
02113002
14892812
217202698
done50002685

prune342.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ x y) (/ x y))
0.3b
(/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))))
3.2b
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
8.1b
(/ (/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))) (- (/ x y) 1.0))

rewrite363.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:
42.0ms
(* (/ x y) (/ x y))
52.0ms
(/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))))
43.0ms
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
130.0ms
(/ (/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))) (- (/ x y) 1.0))

series391.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* (/ x y) (/ x y))
96.0ms
(/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))))
133.0ms
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
134.0ms
(/ (/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))) (- (/ x y) 1.0))

simplify1.8s

Counts
755 → 755
Iterations

Useful iterations: done (1.8s)

IterNodesCost
0100629565
1262227946
done500027356

prune2.7s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ x y) (/ x y))
0.3b
(/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))))
3.2b
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
8.0b
(* (/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))) (/ 1 (- (/ x y) 1.0)))

rewrite329.0ms

Algorithm
rewrite-expression-head
Rules
336×times-frac
236×*-un-lft-identity
218×add-sqr-sqrt
161×add-cube-cbrt
84×associate-*l*
62×add-exp-log
44×add-cbrt-cube
39×difference-of-squares
37×associate-*r*
33×distribute-lft-out
26×div-exp associate-/r*
20×associate-/r/
17×cbrt-undiv
16×prod-exp
15×div-inv
13×pow1 swap-sqr unswap-sqr
10×cbrt-unprod
flip3-- flip--
associate-/l*
expm1-log1p-u log1p-expm1-u add-log-exp
rec-exp 1-exp distribute-lft-out--
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative associate-/l/
pow2 flip3-+ pow-plus pow-sqr un-div-inv pow-prod-up flip-+
Counts
4 → 356
Calls
4 calls:
23.0ms
(* (/ x y) (/ x y))
41.0ms
(/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))))
41.0ms
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
204.0ms
(* (/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))) (/ 1 (- (/ x y) 1.0)))

series294.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* (/ x y) (/ x y))
89.0ms
(/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))))
81.0ms
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
93.0ms
(* (/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))) (/ 1 (- (/ x y) 1.0)))

simplify1.1s

Counts
368 → 368
Iterations

Useful iterations: done (1.0s)

IterNodesCost
05049476
114408843
done50008073

prune1.2s

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

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

sample871.0ms

Algorithm
intervals
Results
552.0ms9147×body80valid