Details

Time bar (total: 15.4s)

sample60.0ms

Algorithm
intervals
Results
21.0ms54×body1280valid
10.0ms44×body640valid
8.0ms132×body80valid
3.0ms19×body320valid
1.0msbody160valid

simplify2.8s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0713
11213
21613
31913
42113
52713
63913
75813
87913
918313
1053513
11174513
12408513
done500013

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.0b

localize19.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ x (+ x 1.0))
0.0b
(/ (+ x 1.0) (- x 1.0))
2.7b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite182.0ms

Algorithm
rewrite-expression-head
Rules
99×*-un-lft-identity
52×times-frac
45×add-sqr-sqrt
23×add-cube-cbrt
18×distribute-lft-out distribute-lft-out--
associate-/r* difference-of-squares
add-cbrt-cube add-exp-log associate-/l*
add-log-exp
associate-/r/
pow1
cbrt-undiv clear-num frac-2neg flip3-+ flip3-- div-exp flip-+ div-inv flip-- associate-/l/
sub-neg diff-log frac-sub
Counts
3 → 104
Calls
3 calls:
18.0ms
(/ x (+ x 1.0))
40.0ms
(/ (+ x 1.0) (- x 1.0))
115.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series279.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(/ x (+ x 1.0))
68.0ms
(/ (+ x 1.0) (- x 1.0))
172.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify900.0ms

Counts
113 → 113
Iterations

Useful iterations: 2 (313.0ms)

IterNodesCost
01761584
14081507
217941427
done50021427

prune426.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize38.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
0.0b
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
0.0b
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
2.6b
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

rewrite346.0ms

Algorithm
rewrite-expression-head
Rules
342×*-un-lft-identity
208×times-frac
152×add-sqr-sqrt
88×add-cube-cbrt
73×distribute-lft-out
72×swap-sqr
44×associate-*r* associate-*l*
36×distribute-lft-out--
28×add-cbrt-cube add-exp-log
21×difference-of-squares
18×pow1
16×associate-/r/
frac-sub
frac-times cbrt-undiv div-exp associate-*l/ prod-exp associate-*r/ cbrt-unprod div-inv add-log-exp unswap-sqr
flip3-+ flip3-- flip-+ flip--
pow2 pow-plus pow-prod-down pow-sqr *-commutative pow-prod-up
+-commutative sum-log sub-neg diff-log frac-add
Counts
4 → 259
Calls
4 calls:
97.0ms
(+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
111.0ms
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
78.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
32.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

series543.0ms

Counts
4 → 12
Calls
4 calls:
118.0ms
(+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
68.0ms
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
54.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
303.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

simplify684.0ms

Counts
271 → 271
Iterations

Useful iterations: done (675.0ms)

IterNodesCost
03616049
112575349
done50014953

prune857.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
0.0b
(cbrt (pow (- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))) 3))
0.1b
(pow (- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))) 3)
2.6b
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

rewrite182.0ms

Algorithm
rewrite-expression-head
Rules
88×*-un-lft-identity
64×times-frac
58×add-sqr-sqrt
46×add-cube-cbrt
27×frac-sub
24×swap-sqr
22×cube-div
19×frac-times associate-*l/ associate-*r/
18×associate-*r* associate-*l* distribute-lft-out
17×add-cbrt-cube add-exp-log
14×cbrt-prod
12×pow1
11×cbrt-div
unpow-prod-down cube-prod associate-/r/
add-log-exp
difference-of-squares
cbrt-undiv flip3-+ div-exp prod-exp cbrt-unprod flip-+ div-inv unswap-sqr
pow-unpow flip3-- flip--
cube-mult unpow3 sqr-pow
pow2 pow-to-exp sub-neg pow-pow pow-plus pow1/3 diff-log pow-prod-down pow-exp pow-sqr *-commutative pow-prod-up rem-cbrt-cube rem-cube-cbrt
Counts
4 → 180
Calls
4 calls:
52.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
60.0ms
(cbrt (pow (- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))) 3))
36.0ms
(pow (- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))) 3)
25.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

series979.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
295.0ms
(cbrt (pow (- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))) 3))
345.0ms
(pow (- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))) 3)
283.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

simplify601.0ms

Counts
192 → 192
Iterations

Useful iterations: done (586.0ms)

IterNodesCost
03066064
110665427
done50014635

prune791.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
0.0b
(+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
0.0b
(+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
2.7b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite892.0ms

Algorithm
rewrite-expression-head
Rules
236×*-un-lft-identity
88×times-frac
67×distribute-lft-out
38×distribute-lft-out--
32×add-sqr-sqrt
16×associate-*r*
12×associate-*l*
10×add-log-exp
frac-times
difference-of-squares
pow1 flip3-+ add-cbrt-cube frac-add add-exp-log add-cube-cbrt flip-+
flip3-- frac-sub flip--
sub-neg associate-*l/ associate-*r/
distribute-rgt-in +-commutative sum-log distribute-lft-in
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 127
Calls
4 calls:
593.0ms
(* (+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
97.0ms
(+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
85.0ms
(+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
108.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series1.0s

Counts
4 → 12
Calls
4 calls:
437.0ms
(* (+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
189.0ms
(+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
158.0ms
(+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
221.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify1.8s

Counts
139 → 139
Iterations

Useful iterations: done (1.8s)

IterNodesCost
01533757
14653645
226793421
done50013419

prune405.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

regimes75.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.1b against oracle of 0.1b and baseline of 28.7b

bsearch160.0ms

Steps
ItersRangePoint
9
2205.5689030668646
4825064884.677679
12811.273113389769
10
-185496355225.45163
-22.8286883066892
-13946.27375560417

simplify10.0ms

Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
03486
14471
done4471

end0.0ms

sample1.3s

Algorithm
intervals
Results
436.0ms1659×body1280valid
317.0ms4183×body80valid
255.0ms1242×body640valid
107.0ms629×body320valid
25.0ms287×body160valid