Details

Time bar (total: 4.9s)

sample25.0ms

Algorithm
intervals
Results
14.0ms285×body80valid

simplify179.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0811
11911
22711
34011
44911
56311
67611
710111
810711
911311
1011711
1112811
1214111
1315211
1415711
1515911
1616111
1716211
done16211

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

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

series16.0ms

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

simplify1.2s

Counts
56 → 56
Iterations

Useful iterations: 3 (497.0ms)

IterNodesCost
0102719
1304703
21049611
34119594
done5001594

prune91.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:
14.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
11.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series16.0ms

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

simplify448.0ms

Counts
152 → 152
Iterations

Useful iterations: done (443.0ms)

IterNodesCost
02062958
15002802
217712666
done50002656

prune184.0ms

Filtered
98 candidates to 152 candidates (-55.1%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1520152
Fresh033
Picked011
Done011
Total1525157

Merged error: 0b

Counts
157 → 5

localize8.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))
7.0ms
(/ 1 (/ (+ x 1.0) (* x (+ (/ x y) 1.0))))
11.0ms
(/ (+ x 1.0) (* x (+ (/ x y) 1.0)))

simplify725.0ms

Counts
127 → 127
Iterations

Useful iterations: done (722.0ms)

IterNodesCost
01842115
14941986
218601739
done50001681

prune118.0ms

Filtered
73 candidates to 127 candidates (-74.0%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1270127
Fresh022
Picked011
Done022
Total1275132

Merged error: 0b

Counts
132 → 5

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

rewrite64.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:
14.0ms
(/ (+ (/ x y) 1.0) (sqrt (+ x 1.0)))
34.0ms
(* (/ x (sqrt (+ x 1.0))) (/ (+ (/ x y) 1.0) (sqrt (+ x 1.0))))
7.0ms
(/ x (sqrt (+ x 1.0)))

series34.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))))
13.0ms
(/ x (sqrt (+ x 1.0)))

simplify626.0ms

Counts
199 → 199
Iterations

Useful iterations: done (615.0ms)

IterNodesCost
02623777
17313579
227953255
done50003179

prune301.0ms

Filtered
121 candidates to 199 candidates (-64.5%)
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1990199
Fresh011
Picked011
Done033
Total1995204

Merged error: 0b

Counts
204 → 5

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

sample596.0ms

Algorithm
intervals
Results
331.0ms9176×body80valid

Profiling

Loading profile data...