Details

Time bar (total: 9.4s)

sample22.0ms

Algorithm
intervals
Results
8.0ms54×body1280valid
4.0ms49×body640valid
3.0ms123×body80valid
2.0ms27×body320valid
0.0msbody160valid

simplify83.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0713
11213
21613
31913
42113
52713
63913
75813
87613
99713
1012713
1114313
1215113
done15113

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.5b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite78.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-exp-log add-cbrt-cube associate-/l*
add-log-exp
associate-/r/
pow1
cbrt-undiv flip3-- frac-2neg flip3-+ div-exp clear-num flip-- flip-+ div-inv associate-/l/
sub-neg diff-log frac-sub
Counts
3 → 104
Calls
3 calls:
7.0ms
(/ x (+ x 1.0))
11.0ms
(/ (+ x 1.0) (- x 1.0))
57.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series204.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(/ x (+ x 1.0))
40.0ms
(/ (+ x 1.0) (- x 1.0))
129.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify2.5s

Counts
113 → 113
Iterations

Useful iterations: 3 (1.1s)

IterNodesCost
01761584
13901503
211121427
348471416
done50001416

prune211.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ 3.0 (pow x 3)) (/ 3.0 x))
0.2b
(/ 1.0 (* x x))
0.3b
(/ 3.0 (pow x 3))
8.0b
(+ (/ 1.0 (* x x)) (+ (/ 3.0 (pow x 3)) (/ 3.0 x)))

rewrite175.0ms

Algorithm
rewrite-expression-head
Rules
54×*-un-lft-identity
53×times-frac
35×add-sqr-sqrt add-cube-cbrt
14×add-exp-log
13×associate-/r*
12×unpow-prod-down cube-prod
11×add-cbrt-cube add-log-exp
unpow3
distribute-lft-out
associate-/l*
div-exp frac-add
pow1 cube-mult distribute-rgt-out sum-log div-inv sqr-pow
cbrt-undiv flip3-+ flip-+
+-commutative frac-2neg clear-num
pow-to-exp associate-+r+ distribute-lft1-in pow-exp prod-exp cbrt-unprod
Counts
4 → 126
Calls
4 calls:
40.0ms
(+ (/ 3.0 (pow x 3)) (/ 3.0 x))
4.0ms
(/ 1.0 (* x x))
4.0ms
(/ 3.0 (pow x 3))
121.0ms
(+ (/ 1.0 (* x x)) (+ (/ 3.0 (pow x 3)) (/ 3.0 x)))

series174.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(+ (/ 3.0 (pow x 3)) (/ 3.0 x))
26.0ms
(/ 1.0 (* x x))
36.0ms
(/ 3.0 (pow x 3))
31.0ms
(+ (/ 1.0 (* x x)) (+ (/ 3.0 (pow x 3)) (/ 3.0 x)))

simplify1.1s

Counts
138 → 138
Iterations

Useful iterations: 2 (248.0ms)

IterNodesCost
02011818
15061563
224041473
done50011473

prune247.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite231.0ms

Algorithm
rewrite-expression-head
Rules
544×*-un-lft-identity
320×times-frac
170×add-sqr-sqrt
141×distribute-lft-out
106×add-cube-cbrt
72×swap-sqr
52×distribute-lft-out--
44×associate-*r* associate-*l*
34×difference-of-squares
30×add-exp-log add-cbrt-cube
19×associate-/r/
18×pow1 frac-sub
14×frac-times associate-*r/ associate-*l/
12×associate-/r*
11×associate-/l/
cbrt-undiv div-exp div-inv
prod-exp cbrt-unprod unswap-sqr
flip3-- flip-- add-log-exp
flip3-+ flip-+
associate-/l*
pow2 pow-plus pow-prod-down pow-sqr *-commutative pow-prod-up
sub-neg frac-2neg diff-log div-sub frac-add clear-num
Counts
4 → 329
Calls
4 calls:
52.0ms
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
31.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
117.0ms
(/ (- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
10.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

series659.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
45.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
349.0ms
(/ (- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))) (+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
210.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

simplify475.0ms

Counts
341 → 341
Iterations

Useful iterations: done (461.0ms)

IterNodesCost
041010805
112699795
done50019689

prune488.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize19.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))))
1.3b
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))
1.3b
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))
1.3b
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

rewrite408.0ms

Algorithm
rewrite-expression-head
Rules
814×*-un-lft-identity
294×distribute-lft-out
288×times-frac
72×distribute-lft-out--
70×swap-sqr
27×frac-times frac-sub
21×associate-*r/ associate-*l/
12×associate-*r* associate-*l*
11×pow1
10×add-sqr-sqrt add-log-exp
add-cube-cbrt flip3-+ frac-add flip-+
add-exp-log add-cbrt-cube
sub-neg flip3-- diff-log flip-- difference-of-squares
pow2 distribute-rgt-in distribute-lft-in pow-plus pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod unswap-sqr
Counts
4 → 193
Calls
4 calls:
351.0ms
(* (+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) (+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
12.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))
10.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))
10.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

series735.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(* (+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))) (+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))
207.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))
208.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))
206.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

simplify654.0ms

Counts
205 → 205
Iterations

Useful iterations: 2 (169.0ms)

IterNodesCost
01617383
14936541
220995947
done50005947

prune290.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes31.0ms

Accuracy

100% (0.0b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 31.7b

bsearch98.0ms

Steps
ItersRangePoint
11
0.08347146558812443
3.320253512051989e+22
12679.85899306799
8
-14583263.309321204
-1162.6651869185068
-11931.41196902016

simplify6.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
03197
14482
25182
35482
done5482

end0.0ms

sample518.0ms

Algorithm
intervals
Results
178.0ms1731×body1280valid
108.0ms1265×body640valid
91.0ms4084×body80valid
37.0ms618×body320valid
12.0ms302×body160valid