Details

Time bar (total: 6.8s)

sample20.0ms

Algorithm
intervals
Results
9.0ms285×body80valid

simplify141.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0811
11911
22611
33911
44611
56011
67311
79811
810211
910811
1011211
1112011
1212311
1312511
done12511

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 11.1b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.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 div-exp prod-exp associate-/r/ cbrt-unprod 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 → 50
Calls
2 calls:
10.0ms
(* x (+ (/ x y) 1.0))
13.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series12.0ms

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

simplify2.0s

Counts
56 → 56
Iterations

Useful iterations: 3 (951.0ms)

IterNodesCost
0102719
1294689
2994593
34240591
done5001591

prune85.0ms

Filtered
40 candidates to 56 candidates (-40.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New52456
Fresh000
Picked011
Done000
Total52557

Merged error: 0b

Counts
57 → 5

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

rewrite33.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 frac-2neg clear-num associate-/l/ add-log-exp
Counts
2 → 146
Calls
2 calls:
15.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
11.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series19.0ms

Counts
2 → 6
Calls
2 calls:
10.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
9.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify859.0ms

Counts
152 → 152
Iterations

Useful iterations: done (853.0ms)

IterNodesCost
02062958
14932772
216512658
done50002654

prune175.0ms

Filtered
96 candidates to 152 candidates (-58.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1520152
Fresh033
Picked011
Done011
Total1525157

Merged error: 0b

Counts
157 → 5

localize9.0ms

Local error

Found 3 expressions with local error:

0.1b
(* x (+ (/ x y) 1.0))
0.2b
(/ 1 (/ (+ x 1.0) (* x (+ (/ x y) 1.0))))
10.3b
(/ (+ x 1.0) (* x (+ (/ x y) 1.0)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
50×times-frac
40×*-un-lft-identity
31×add-exp-log
28×add-sqr-sqrt
26×add-cube-cbrt
19×add-cbrt-cube
14×div-exp
12×associate-*r/
11×associate-/r* associate-/r/
cbrt-undiv flip3-+ flip-+ distribute-lft-out associate-/l*
pow1 div-inv
prod-exp
associate-*r*
rec-exp 1-exp associate-*l* cbrt-unprod add-log-exp
frac-2neg clear-num associate-/l/
distribute-rgt-in pow-flip distribute-lft-in pow-prod-down *-commutative inv-pow unswap-sqr
Counts
3 → 118
Calls
3 calls:
10.0ms
(* x (+ (/ x y) 1.0))
15.0ms
(/ 1 (/ (+ x 1.0) (* x (+ (/ x y) 1.0))))
13.0ms
(/ (+ x 1.0) (* x (+ (/ x y) 1.0)))

series23.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(* x (+ (/ x y) 1.0))
8.0ms
(/ 1 (/ (+ x 1.0) (* x (+ (/ x y) 1.0))))
11.0ms
(/ (+ x 1.0) (* x (+ (/ x y) 1.0)))

simplify1.1s

Counts
127 → 127
Iterations

Useful iterations: done (1.1s)

IterNodesCost
01842115
14801920
214401680
done50001658

prune107.0ms

Filtered
66 candidates to 127 candidates (-92.4%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1270127
Fresh022
Picked011
Done022
Total1275132

Merged error: 0b

Counts
132 → 5

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
129×*-un-lft-identity
110×times-frac
97×add-sqr-sqrt
70×sqrt-prod
67×add-cube-cbrt
34×associate-*r*
31×distribute-lft-out
27×associate-*l*
19×add-exp-log add-cbrt-cube
14×associate-/r*
unswap-sqr
sqrt-div associate-/r/
associate-/l*
cbrt-undiv div-exp
pow1 flip3-+ flip-+
prod-exp cbrt-unprod div-inv
add-log-exp
frac-2neg clear-num associate-/l/
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
3 → 190
Calls
3 calls:
13.0ms
(/ (+ (/ x y) 1.0) (sqrt (+ x 1.0)))
36.0ms
(* (/ x (sqrt (+ x 1.0))) (/ (+ (/ x y) 1.0) (sqrt (+ x 1.0))))
7.0ms
(/ x (sqrt (+ x 1.0)))

series30.0ms

Counts
3 → 9
Calls
3 calls:
14.0ms
(/ (+ (/ x y) 1.0) (sqrt (+ x 1.0)))
7.0ms
(* (/ x (sqrt (+ x 1.0))) (/ (+ (/ x y) 1.0) (sqrt (+ x 1.0))))
9.0ms
(/ x (sqrt (+ x 1.0)))

simplify1.1s

Counts
199 → 199
Iterations

Useful iterations: done (1.1s)

IterNodesCost
02623777
17223510
224693180
done50013138

prune294.0ms

Filtered
120 candidates to 199 candidates (-65.8%)
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1990199
Fresh011
Picked011
Done033
Total1995204

Merged error: 0b

Counts
204 → 5

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

sample574.0ms

Algorithm
intervals
Results
316.0ms9176×body80valid

Profiling

Loading profile data...