Details

Time bar (total: 11.4s)

sample33.0ms

Algorithm
intervals
Results
16.0ms305×body80valid

simplify1.7s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0811
11911
22811
34111
45211
56611
67811
710811
812411
913711
1014311
1124811
1253811
13142111
14395711
done500011

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 10.1b

localize13.0ms

Local error

Found 2 expressions with local error:

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

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

series81.0ms

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

simplify1.0s

Counts
56 → 56
Iterations

Useful iterations: 2 (301.0ms)

IterNodesCost
0103719
1324695
21978607
done5000607

prune116.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 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))

rewrite102.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:
47.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
44.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series144.0ms

Counts
2 → 6
Calls
2 calls:
55.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
89.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify1.6s

Counts
152 → 152
Iterations

Useful iterations: 2 (714.0ms)

IterNodesCost
02072958
15632800
231522662
done50002662

prune297.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (+ x 1.0))
0.1b
(* x (+ (/ x y) 1.0))
9.4b
(* (* x (+ (/ x y) 1.0)) (/ 1 (+ x 1.0)))

rewrite181.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
31×add-exp-log
24×add-sqr-sqrt times-frac
22×add-cube-cbrt associate-*r*
19×add-cbrt-cube
13×prod-exp
11×pow1
distribute-lft-out
associate-*r/ cbrt-unprod
div-exp
flip3-+ flip-+
associate-*l* pow-prod-down associate-/r* associate-/r/
cbrt-undiv rec-exp 1-exp associate-/l* add-log-exp
frac-times associate-*l/ *-commutative div-inv
distribute-rgt-in pow-flip frac-2neg distribute-lft-in clear-num un-div-inv inv-pow unswap-sqr
Counts
3 → 107
Calls
3 calls:
12.0ms
(/ 1 (+ x 1.0))
52.0ms
(* x (+ (/ x y) 1.0))
113.0ms
(* (* x (+ (/ x y) 1.0)) (/ 1 (+ x 1.0)))

series100.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(/ 1 (+ x 1.0))
27.0ms
(* x (+ (/ x y) 1.0))
47.0ms
(* (* x (+ (/ x y) 1.0)) (/ 1 (+ x 1.0)))

simplify3.2s

Counts
116 → 116
Iterations

Useful iterations: 2 (525.0ms)

IterNodesCost
01641520
15291358
239071141
done50001141

prune262.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* 1.0 x) (/ (pow x 2) y))
8.2b
(/ (pow x 2) y)
9.4b
(/ (+ (* 1.0 x) (/ (pow x 2) y)) (+ x 1.0))

rewrite137.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
36×times-frac
29×add-sqr-sqrt add-cube-cbrt
12×unpow-prod-down
11×associate-/l*
10×add-exp-log
associate-/r* add-cbrt-cube
add-log-exp
div-exp distribute-lft-out unpow2 sqr-pow
pow1 flip3-+ flip-+
cbrt-undiv frac-2neg clear-num associate-/r/ div-inv associate-/l/
+-commutative pow-to-exp pow-exp sum-log
Counts
3 → 95
Calls
3 calls:
27.0ms
(+ (* 1.0 x) (/ (pow x 2) y))
13.0ms
(/ (pow x 2) y)
90.0ms
(/ (+ (* 1.0 x) (/ (pow x 2) y)) (+ x 1.0))

series120.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(+ (* 1.0 x) (/ (pow x 2) y))
26.0ms
(/ (pow x 2) y)
56.0ms
(/ (+ (* 1.0 x) (/ (pow x 2) y)) (+ x 1.0))

simplify926.0ms

Counts
104 → 104
Iterations

Useful iterations: done (922.0ms)

IterNodesCost
01721537
13901447
217611308
done50011304

prune271.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

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

sample803.0ms

Algorithm
intervals
Results
503.0ms9113×body80valid