Details

Time bar (total: 12.4s)

sample60.0ms

Algorithm
intervals
Results
19.0ms63×body640valid
10.0ms130×body80valid
7.0ms19×body1280valid
7.0ms32×body320valid
2.0ms12×body160valid

simplify1.0s

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01015
11815
23115
34115
48815
513515
616215
721115
844115
9120815
done500015

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.8b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite320.0ms

Algorithm
rewrite-expression-head
Rules
83×*-un-lft-identity
48×add-sqr-sqrt times-frac
23×add-cube-cbrt
20×distribute-lft-out--
11×add-log-exp
10×difference-of-squares
associate-/r*
add-exp-log add-cbrt-cube
distribute-lft-out
associate-/l*
frac-sub
pow1 flip3-- diff-log associate-/r/ flip--
sub-neg
cbrt-undiv frac-2neg div-exp clear-num div-inv associate--r+
flip3-+ flip-+ associate--r-
Counts
4 → 117
Calls
4 calls:
14.0ms
(/ 1.0 (- x 1.0))
54.0ms
(- (/ 2.0 x) (/ 1.0 (+ x 1.0)))
19.0ms
(/ 1.0 (+ x 1.0))
229.0ms
(- (/ 1.0 (- x 1.0)) (- (/ 2.0 x) (/ 1.0 (+ x 1.0))))

series520.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(/ 1.0 (- x 1.0))
77.0ms
(- (/ 2.0 x) (/ 1.0 (+ x 1.0)))
47.0ms
(/ 1.0 (+ x 1.0))
343.0ms
(- (/ 1.0 (- x 1.0)) (- (/ 2.0 x) (/ 1.0 (+ x 1.0))))

simplify1.4s

Counts
129 → 129
Iterations

Useful iterations: 2 (454.0ms)

IterNodesCost
02181924
15471798
221661714
done50001714

prune460.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize32.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- x 1.0) (- (* 2.0 (+ x 1.0)) (* x 1.0)))
0.0b
(- (* 2.0 (+ x 1.0)) (* x 1.0))
0.0b
(* (- x 1.0) (* x (+ x 1.0)))
16.3b
(- (* 1.0 (* x (+ x 1.0))) (* (- x 1.0) (- (* 2.0 (+ x 1.0)) (* x 1.0))))

rewrite354.0ms

Algorithm
rewrite-expression-head
Rules
46×associate-*r/
23×flip3-- flip--
21×distribute-rgt-in distribute-lft-in
16×frac-times frac-sub
14×associate--l+
13×add-sqr-sqrt
11×pow1 add-exp-log *-un-lft-identity flip3-+ add-cbrt-cube flip-+
10×associate-*l*
associate-*l/ associate--r+ add-log-exp
add-cube-cbrt
sub-neg
associate-*r* pow-prod-down prod-exp cbrt-unprod
diff-log *-commutative distribute-lft-out-- difference-of-squares
unswap-sqr
Counts
4 → 122
Calls
4 calls:
99.0ms
(* (- x 1.0) (- (* 2.0 (+ x 1.0)) (* x 1.0)))
30.0ms
(- (* 2.0 (+ x 1.0)) (* x 1.0))
68.0ms
(* (- x 1.0) (* x (+ x 1.0)))
152.0ms
(- (* 1.0 (* x (+ x 1.0))) (* (- x 1.0) (- (* 2.0 (+ x 1.0)) (* x 1.0))))

series257.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(* (- x 1.0) (- (* 2.0 (+ x 1.0)) (* x 1.0)))
54.0ms
(- (* 2.0 (+ x 1.0)) (* x 1.0))
151.0ms
(* (- x 1.0) (* x (+ x 1.0)))
2.0ms
(- (* 1.0 (* x (+ x 1.0))) (* (- x 1.0) (- (* 2.0 (+ x 1.0)) (* x 1.0))))

simplify541.0ms

Counts
134 → 134
Iterations

Useful iterations: done (535.0ms)

IterNodesCost
02533607
18893411
done50003263

prune603.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize17.0ms

Local error

Found 3 expressions with local error:

0.0b
(* x (+ x 1.0))
0.0b
(* (- x 1.0) (* x (+ x 1.0)))
0.2b
(/ 2.0 (* (- x 1.0) (* x (+ x 1.0))))

rewrite182.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log add-cbrt-cube
18×associate-*r/
12×add-sqr-sqrt *-un-lft-identity
10×pow1
frac-times add-cube-cbrt associate-*l* associate-/r/
flip3-+ prod-exp cbrt-unprod flip-+
flip3-- flip--
distribute-rgt-in distribute-lft-in associate-*r*
pow-prod-down associate-*l/
cbrt-undiv times-frac div-exp associate-/l* add-log-exp
*-commutative
frac-2neg clear-num associate-/r* div-inv distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 86
Calls
3 calls:
41.0ms
(* x (+ x 1.0))
76.0ms
(* (- x 1.0) (* x (+ x 1.0)))
59.0ms
(/ 2.0 (* (- x 1.0) (* x (+ x 1.0))))

series366.0ms

Counts
3 → 9
Calls
3 calls:
67.0ms
(* x (+ x 1.0))
173.0ms
(* (- x 1.0) (* x (+ x 1.0)))
125.0ms
(/ 2.0 (* (- x 1.0) (* x (+ x 1.0))))

simplify1.6s

Counts
95 → 95
Iterations

Useful iterations: 2 (486.0ms)

IterNodesCost
01531286
14551252
227611092
done50001092

prune264.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 2.0 (- x 1.0))
0.0b
(* x (+ x 1.0))
0.1b
(/ (/ 2.0 (- x 1.0)) (* x (+ x 1.0)))

rewrite116.0ms

Algorithm
rewrite-expression-head
Rules
66×times-frac
55×add-sqr-sqrt *-un-lft-identity
33×add-cube-cbrt
24×associate-/l*
19×add-exp-log add-cbrt-cube
10×distribute-lft-out-- difference-of-squares
associate-/r/
cbrt-undiv div-exp
associate-/r*
pow1
associate-*r/ associate-*r* div-inv
flip3-- associate-*l* prod-exp flip-- cbrt-unprod add-log-exp
frac-2neg flip3-+ clear-num flip-+
distribute-rgt-in distribute-lft-in pow-prod-down *-commutative associate-/l/ distribute-lft-out unswap-sqr
Counts
3 → 124
Calls
3 calls:
26.0ms
(/ 2.0 (- x 1.0))
23.0ms
(* x (+ x 1.0))
61.0ms
(/ (/ 2.0 (- x 1.0)) (* x (+ x 1.0)))

series204.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(/ 2.0 (- x 1.0))
51.0ms
(* x (+ x 1.0))
119.0ms
(/ (/ 2.0 (- x 1.0)) (* x (+ x 1.0)))

simplify1.7s

Counts
133 → 133
Iterations

Useful iterations: done (1.7s)

IterNodesCost
02081751
15651677
227531523
done50001515

prune412.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

regimes28.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify5.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01013
11311
21411
done1411

end0.0ms

sample2.0s

Algorithm
intervals
Results
589.0ms972×body320valid
486.0ms1824×body640valid
347.0ms4149×body80valid
265.0ms592×body1280valid
102.0ms465×body160valid