Details

Time bar (total: 8.5s)

sample19.0ms

Algorithm
intervals
Results
5.0ms48×body1280valid
4.0ms52×body640valid
3.0ms134×body80valid
1.0ms14×body320valid
0.0msbody160valid

simplify99.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0713
11213
21613
31913
42113
52713
63913
75813
87613
99713
1012713
1113713
1214113
1314313
done14313

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.6b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
81×*-un-lft-identity
40×times-frac
35×add-sqr-sqrt
18×distribute-lft-out--
14×distribute-lft-out
13×add-cube-cbrt
difference-of-squares
associate-/r*
add-exp-log add-cbrt-cube associate-/l* add-log-exp
pow1 flip3-- associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-exp clear-num frac-sub flip-+ div-inv
Counts
2 → 71
Calls
2 calls:
11.0ms
(/ (+ x 1.0) (- x 1.0))
61.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series162.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(/ (+ x 1.0) (- x 1.0))
124.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify1.1s

Counts
77 → 77
Iterations

Useful iterations: 3 (484.0ms)

IterNodesCost
01351218
13171168
28051110
321441097
done50001097

prune135.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite165.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-exp-log add-cbrt-cube
21×difference-of-squares
18×pow1
16×associate-/r/
frac-sub
cbrt-undiv frac-times associate-*r/ div-exp associate-*l/ prod-exp 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 sub-neg diff-log frac-add sum-log
Counts
4 → 259
Calls
4 calls:
53.0ms
(+ (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
31.0ms
(* (/ x (+ x 1.0)) (/ x (+ x 1.0)))
54.0ms
(* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0)))
11.0ms
(- (* (/ x (+ x 1.0)) (/ x (+ x 1.0))) (* (/ (+ x 1.0) (- x 1.0)) (/ (+ x 1.0) (- x 1.0))))

series402.0ms

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

simplify2.3s

Counts
271 → 271
Iterations

Useful iterations: 2 (1.4s)

IterNodesCost
03606049
111245295
244964757
done50004757

prune415.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ 3.0 x) (/ 1.0 (* x x)))
0.5b
(/ 1.0 (* x x))
0.9b
(/ 3.0 (pow x 3))
9.0b
(+ (+ (/ 3.0 x) (/ 1.0 (* x x))) (/ 3.0 (pow x 3)))

rewrite116.0ms

Algorithm
rewrite-expression-head
Rules
39×times-frac
38×*-un-lft-identity
31×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
associate-/l*
div-exp frac-add
pow1 cube-mult unpow3 sum-log distribute-lft-out sqr-pow
cbrt-undiv flip3-+ flip-+
+-commutative frac-2neg clear-num div-inv
pow-to-exp associate-+l+ pow-exp prod-exp cbrt-unprod
Counts
4 → 117
Calls
4 calls:
14.0ms
(+ (/ 3.0 x) (/ 1.0 (* x x)))
3.0ms
(/ 1.0 (* x x))
4.0ms
(/ 3.0 (pow x 3))
90.0ms
(+ (+ (/ 3.0 x) (/ 1.0 (* x x))) (/ 3.0 (pow x 3)))

series151.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(+ (/ 3.0 x) (/ 1.0 (* x x)))
28.0ms
(/ 1.0 (* x x))
34.0ms
(/ 3.0 (pow x 3))
27.0ms
(+ (+ (/ 3.0 x) (/ 1.0 (* x x))) (/ 3.0 (pow x 3)))

simplify843.0ms

Counts
129 → 129
Iterations

Useful iterations: 2 (284.0ms)

IterNodesCost
01951727
14521482
216201402
done50001402

prune216.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (* x (+ (* 3.0 x) 1.0)) (pow x 3))
0.1b
(* x (+ (* 3.0 x) 1.0))
0.1b
(* (pow x 3) 3.0)
51.6b
(/ (+ (* (pow x 3) 3.0) (* (* x (+ (* 3.0 x) 1.0)) (pow x 3))) (pow x 6))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
29×add-exp-log add-cube-cbrt *-un-lft-identity
21×times-frac
19×unpow-prod-down
18×associate-*r*
16×associate-*l*
15×add-cbrt-cube
13×prod-exp
cube-prod associate-/r* sqr-pow
pow1
cbrt-unprod unswap-sqr
pow-to-exp associate-*r/ pow-exp add-log-exp
flip3-+ div-exp *-commutative flip-+ associate-/l*
cube-mult unpow3 associate-*l/ associate-/l/
cbrt-undiv distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num div-inv
Counts
4 → 131
Calls
4 calls:
18.0ms
(* (* x (+ (* 3.0 x) 1.0)) (pow x 3))
13.0ms
(* x (+ (* 3.0 x) 1.0))
7.0ms
(* (pow x 3) 3.0)
15.0ms
(/ (+ (* (pow x 3) 3.0) (* (* x (+ (* 3.0 x) 1.0)) (pow x 3))) (pow x 6))

series236.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(* (* x (+ (* 3.0 x) 1.0)) (pow x 3))
62.0ms
(* x (+ (* 3.0 x) 1.0))
34.0ms
(* (pow x 3) 3.0)
60.0ms
(/ (+ (* (pow x 3) 3.0) (* (* x (+ (* 3.0 x) 1.0)) (pow x 3))) (pow x 6))

simplify1.1s

Counts
143 → 143
Iterations

Useful iterations: 2 (396.0ms)

IterNodesCost
02242754
15552580
221302077
done50012077

prune296.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes22.0ms

Accuracy

100% (0.0b remaining)

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

bsearch82.0ms

Steps
ItersRangePoint
10
5.968040026638966e-05
117627206.70733242
14618.947191620917
10
-64880754058.88788
-2.651420353119469e-05
-11755.062723959316

simplify6.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
02781
13766
24466
34766
done4766

end0.0ms

sample519.0ms

Algorithm
intervals
Results
181.0ms1719×body1280valid
104.0ms1224×body640valid
90.0ms4124×body80valid
37.0ms618×body320valid
14.0ms315×body160valid