Details

Time bar (total: 6.8s)

sample20.0ms

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

simplify121.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0713
11213
21613
31913
42113
52713
63913
76013
87813
99913
1014713
1119013
1220513
done20513

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

rewrite77.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))
55.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series194.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(/ x (+ x 1.0))
39.0ms
(/ (+ x 1.0) (- x 1.0))
123.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify486.0ms

Counts
113 → 113
Iterations

Useful iterations: done (483.0ms)

IterNodesCost
01761584
13991503
212941427
done50001425

prune196.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize10.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))
6.4b
(- (/ (- 1.0) (* x x)) (+ (/ 3.0 (pow x 3)) (/ 3.0 x)))

rewrite176.0ms

Algorithm
rewrite-expression-head
Rules
61×times-frac
58×*-un-lft-identity
43×add-sqr-sqrt
39×add-cube-cbrt
14×add-exp-log
13×associate-/r* associate-/l*
12×unpow-prod-down cube-prod
11×add-cbrt-cube add-log-exp
unpow3
distribute-lft-neg-in distribute-rgt-neg-in distribute-lft-out
div-exp
pow1 cube-mult distribute-rgt-out div-inv sqr-pow
cbrt-undiv frac-sub
neg-sub0 neg-mul-1 frac-2neg flip3-+ diff-log div-sub frac-add clear-num sum-log flip-+ distribute-lft-out-- difference-of-squares
+-commutative associate--l- pow-to-exp sub-neg flip3-- distribute-lft1-in distribute-frac-neg pow-exp prod-exp flip-- cbrt-unprod associate--r+
Counts
4 → 146
Calls
4 calls:
40.0ms
(+ (/ 3.0 (pow x 3)) (/ 3.0 x))
5.0ms
(/ (- 1.0) (* x x))
4.0ms
(/ 3.0 (pow x 3))
122.0ms
(- (/ (- 1.0) (* x x)) (+ (/ 3.0 (pow x 3)) (/ 3.0 x)))

series172.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(+ (/ 3.0 (pow x 3)) (/ 3.0 x))
24.0ms
(/ (- 1.0) (* x x))
37.0ms
(/ 3.0 (pow x 3))
31.0ms
(- (/ (- 1.0) (* x x)) (+ (/ 3.0 (pow x 3)) (/ 3.0 x)))

simplify1.1s

Counts
158 → 158
Iterations

Useful iterations: 2 (226.0ms)

IterNodesCost
02362098
15821830
230911732
done50001732

prune281.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

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

rewrite227.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:
48.0ms
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
31.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
113.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))))

series645.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
41.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
350.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))))
199.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

simplify417.0ms

Counts
341 → 341
Iterations

Useful iterations: done (403.0ms)

IterNodesCost
041010805
112859795
done50009701

prune482.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (- x 1.0))
0.3b
(cbrt (- x 1.0))
0.3b
(* (cbrt (- x 1.0)) (cbrt (- x 1.0)))
21.4b
(- (/ x (+ x 1.0)) (/ (/ (+ x 1.0) (* (cbrt (- x 1.0)) (cbrt (- x 1.0)))) (cbrt (- x 1.0))))

rewrite166.0ms

Algorithm
rewrite-expression-head
Rules
67×add-sqr-sqrt
43×*-un-lft-identity
42×cbrt-prod
21×times-frac
16×cbrt-div difference-of-squares
14×add-cube-cbrt
11×pow1 distribute-lft-out--
10×swap-sqr
flip3-- flip--
pow1/3 associate-*r* associate-*l*
add-exp-log add-log-exp
frac-times add-cbrt-cube unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 sub-neg pow-plus diff-log prod-exp *-commutative frac-sub cbrt-unprod distribute-lft-out
Counts
4 → 112
Calls
4 calls:
2.0ms
(cbrt (- x 1.0))
2.0ms
(cbrt (- x 1.0))
21.0ms
(* (cbrt (- x 1.0)) (cbrt (- x 1.0)))
137.0ms
(- (/ x (+ x 1.0)) (/ (/ (+ x 1.0) (* (cbrt (- x 1.0)) (cbrt (- x 1.0)))) (cbrt (- x 1.0))))

series492.0ms

Counts
4 → 12
Calls
4 calls:
98.0ms
(cbrt (- x 1.0))
96.0ms
(cbrt (- x 1.0))
126.0ms
(* (cbrt (- x 1.0)) (cbrt (- x 1.0)))
172.0ms
(- (/ x (+ x 1.0)) (/ (/ (+ x 1.0) (* (cbrt (- x 1.0)) (cbrt (- x 1.0)))) (cbrt (- x 1.0))))

simplify602.0ms

Counts
124 → 124
Iterations

Useful iterations: 2 (172.0ms)

IterNodesCost
02382491
15452351
217811940
done50001940

prune267.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes24.0ms

Accuracy

100% (0.0b remaining)

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

bsearch87.0ms

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

simplify10.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
03197
14282
done4282

end0.0ms

sample526.0ms

Algorithm
intervals
Results
185.0ms1731×body1280valid
105.0ms1265×body640valid
92.0ms4084×body80valid
38.0ms618×body320valid
13.0ms302×body160valid