Details

Time bar (total: 10.8s)

sample19.0ms

Algorithm
intervals
Results
9.0ms282×body80valid

simplify2.4s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
11911
23011
34511
46011
57411
68611
711911
814611
917111
1018711
1129411
1261211
13157811
14451711
done500011

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.1b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite94.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:
49.0ms
(* x (+ (/ x y) 1.0))
41.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series86.0ms

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

simplify1.3s

Counts
60 → 60
Iterations

Useful iterations: 2 (349.0ms)

IterNodesCost
0107759
1334731
22019643
done5000643

prune183.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite129.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:
57.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
60.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series123.0ms

Counts
2 → 6
Calls
2 calls:
44.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
79.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify1.6s

Counts
156 → 156
Iterations

Useful iterations: 2 (441.0ms)

IterNodesCost
02113002
15752840
232692706
done50012706

prune292.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

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

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

series106.0ms

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

simplify1.1s

Counts
91 → 91
Iterations

Useful iterations: done (1.1s)

IterNodesCost
01291342
13641282
218461170
done50011166

prune211.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x 1.0) (- (/ x y) 1.0))
0.3b
(* (/ x y) (/ x y))
0.3b
(* x (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
17.2b
(/ (* x (- (* (/ x y) (/ x y)) (* 1.0 1.0))) (* (+ x 1.0) (- (/ x y) 1.0)))

rewrite223.0ms

Algorithm
rewrite-expression-head
Rules
125×add-sqr-sqrt
108×*-un-lft-identity
104×add-cube-cbrt
96×times-frac
80×prod-diff
44×distribute-rgt-in distribute-lft-in
32×add-exp-log add-cbrt-cube
23×associate-*r*
20×associate-*l*
15×pow1
13×swap-sqr
11×div-inv
10×prod-exp cbrt-unprod
frac-times associate-*r/
cbrt-undiv flip3-- div-exp associate-/r/ flip--
flip3-+ flip-+ unswap-sqr
associate-*l/
expm1-log1p-u sub-neg log1p-expm1-u add-log-exp
pow-prod-down *-commutative difference-of-squares
associate-/l/
pow2 frac-2neg pow-plus clear-num associate-/r* pow-sqr pow-prod-up distribute-lft-out associate-/l* distribute-lft-out--
Counts
4 → 245
Calls
4 calls:
72.0ms
(* (+ x 1.0) (- (/ x y) 1.0))
23.0ms
(* (/ x y) (/ x y))
55.0ms
(* x (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
58.0ms
(/ (* x (- (* (/ x y) (/ x y)) (* 1.0 1.0))) (* (+ x 1.0) (- (/ x y) 1.0)))

series208.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(* (+ x 1.0) (- (/ x y) 1.0))
29.0ms
(* (/ x y) (/ x y))
63.0ms
(* x (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
85.0ms
(/ (* x (- (* (/ x y) (/ x y)) (* 1.0 1.0))) (* (+ x 1.0) (- (/ x y) 1.0)))

simplify1.2s

Counts
257 → 257
Iterations

Useful iterations: done (1.2s)

IterNodesCost
04195977
115525058
done50024331

prune526.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes46.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
0811
11011
done1011

end0.0ms

sample833.0ms

Algorithm
intervals
Results
512.0ms9161×body80valid