Details

Time bar (total: 1.1m)

sample77.0ms

Algorithm
intervals
Results
35.0ms68×body640valid
14.0ms133×body80valid
8.0ms17×body1280valid
5.0ms20×body320valid
4.0ms18×body160valid

simplify84.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
84.0ms
(+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1)))

prune12.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.5b

localize38.0ms

Local error

Found 4 expressions with local error:

2.2b
(+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1)))
0.0b
(- (/ 1 (+ x 1)) (/ 2 x))
0.0b
(/ 1 (+ x 1))
0.0b
(/ 1 (- x 1))

rewrite274.0ms

Algorithm
rewrite-expression-head
Rules
98×*-un-lft-identity
58×add-sqr-sqrt
56×times-frac
25×add-cube-cbrt
18×distribute-lft-out--
17×distribute-lft-out
14×difference-of-squares
12×add-exp-log
11×associate-/r* add-log-exp
add-cbrt-cube div-inv
pow1 associate-/l*
difference-of-sqr-1 div-exp associate-/r/ insert-posit16
flip3-- frac-add flip--
cbrt-undiv rec-exp associate-+l+ clear-num sum-log sub-neg frac-2neg flip3-+ diff-log 1-exp frac-sub flip-+ pow-flip inv-pow
+-commutative associate-+l-
Counts
4 → 141
Calls
4 calls:
Slowest
213.0ms
(+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1)))
43.0ms
(- (/ 1 (+ x 1)) (/ 2 x))
8.0ms
(/ 1 (- x 1))
7.0ms
(/ 1 (+ x 1))

series214.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
152.0ms
(+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1)))
33.0ms
(- (/ 1 (+ x 1)) (/ 2 x))
15.0ms
(/ 1 (- x 1))
14.0ms
(/ 1 (+ x 1))

simplify8.6s

Counts
151 → 153
Calls
151 calls:
Slowest
462.0ms
(/ (* (* 1 1) 1) (* (* (+ x 1) (+ x 1)) (+ x 1)))
395.0ms
(+ (* (- (* (/ 1 (+ x 1)) (/ 1 (+ x 1))) (* (/ 2 x) (/ 2 x))) (- x 1)) (* (+ (/ 1 (+ x 1)) (/ 2 x)) 1))
375.0ms
(* (+ (/ 1 (+ x 1)) (/ 2 x)) (- x 1))
346.0ms
(* (* (+ x 1) x) (- x 1))
317.0ms
(+ (/ 1 (pow x 3)) (+ (/ 1 (pow x 2)) (/ 1 x)))

prune1.2s

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize32.0ms

Local error

Found 4 expressions with local error:

2.2b
(- (/ 1 (+ x 1)) (- (/ 2 x) (/ 1 (- x 1))))
0.0b
(- (/ 2 x) (/ 1 (- x 1)))
0.0b
(/ 1 (+ x 1))
0.0b
(/ 1 (- x 1))

rewrite160.0ms

Algorithm
rewrite-expression-head
Rules
99×*-un-lft-identity
65×add-sqr-sqrt
58×times-frac
29×distribute-lft-out--
25×add-cube-cbrt
17×difference-of-squares
12×add-exp-log
11×associate-/r* add-log-exp
add-cbrt-cube div-inv
pow1 distribute-lft-out associate-/l*
frac-sub
flip3-- diff-log difference-of-sqr-1 div-exp associate-/r/ insert-posit16 flip--
sub-neg
cbrt-undiv rec-exp clear-num frac-2neg 1-exp pow-flip associate--r+ inv-pow
flip3-+ flip-+ associate--r-
Counts
4 → 145
Calls
4 calls:
Slowest
107.0ms
(- (/ 1 (+ x 1)) (- (/ 2 x) (/ 1 (- x 1))))
35.0ms
(- (/ 2 x) (/ 1 (- x 1)))
8.0ms
(/ 1 (- x 1))
7.0ms
(/ 1 (+ x 1))

series175.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
108.0ms
(- (/ 1 (+ x 1)) (- (/ 2 x) (/ 1 (- x 1))))
25.0ms
(- (/ 2 x) (/ 1 (- x 1)))
23.0ms
(/ 1 (+ x 1))
18.0ms
(/ 1 (- x 1))

simplify9.2s

Counts
157 → 157
Calls
157 calls:
Slowest
524.0ms
(- (* 1 (* x (- x 1))) (* (+ x 1) (- (* 2 (- x 1)) (* x 1))))
510.0ms
(- (* 1 (+ (/ 2 x) (/ 1 (- x 1)))) (* (+ x 1) (- (* (/ 2 x) (/ 2 x)) (* (/ 1 (- x 1)) (/ 1 (- x 1))))))
448.0ms
(/ (* (* 1 1) 1) (* (* (+ x 1) (+ x 1)) (+ x 1)))
402.0ms
(- (/ 1 x) (+ (/ 1 (pow x 3)) (/ 1 (pow x 2))))
376.0ms
(* (+ x 1) (+ (* (/ 2 x) (/ 2 x)) (+ (* (/ 1 (- x 1)) (/ 1 (- x 1))) (* (/ 2 x) (/ 1 (- x 1))))))

prune1.3s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

localize47.0ms

Local error

Found 4 expressions with local error:

6.9b
(/ (- (* x (- (- x 1) (+ -2 x))) (+ -2 x)) (* (+ x 1) (* x (- x 1))))
1.0b
(- (- x 1) (+ -2 x))
1.0b
(- (* x (- (- x 1) (+ -2 x))) (+ -2 x))
0.0b
(* (+ x 1) (* x (- x 1)))

rewrite290.0ms

Algorithm
rewrite-expression-head
Rules
44×frac-sub
40×associate-*r/
28×flip3-+ flip-+
23×flip3-- flip--
21×*-un-lft-identity add-log-exp
18×add-cbrt-cube add-exp-log
14×associate--l+ associate-/l/
12×distribute-rgt-in distribute-lft-in
11×sub-neg
add-sqr-sqrt pow1
frac-times diff-log associate-/r/
add-cube-cbrt
prod-exp cbrt-unprod distribute-lft-out--
associate-*l* associate-*l/ insert-posit16
cbrt-undiv sum-log times-frac div-exp pow-prod-down distribute-lft-out associate-/l*
associate--r+
associate--l- clear-num associate-/r* frac-2neg div-sub associate-*r* *-commutative div-inv difference-of-squares
Counts
4 → 147
Calls
4 calls:
Slowest
147.0ms
(/ (- (* x (- (- x 1) (+ -2 x))) (+ -2 x)) (* (+ x 1) (* x (- x 1))))
48.0ms
(- (* x (- (- x 1) (+ -2 x))) (+ -2 x))
47.0ms
(* (+ x 1) (* x (- x 1)))
44.0ms
(- (- x 1) (+ -2 x))

series197.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
116.0ms
(* (+ x 1) (* x (- x 1)))
78.0ms
(/ (- (* x (- (- x 1) (+ -2 x))) (+ -2 x)) (* (+ x 1) (* x (- x 1))))
1.0ms
(- (* x (- (- x 1) (+ -2 x))) (+ -2 x))
1.0ms
(- (- x 1) (+ -2 x))

simplify27.3s

Counts
131 → 159
Calls
131 calls:
Slowest
1.2s
(- (* (* x (- (* (- (pow x 3) (pow 1 3)) (- -2 x)) (* (+ (* x x) (+ (* 1 1) (* x 1))) (- (* -2 -2) (* x x))))) (+ (* -2 -2) (- (* x x) (* -2 x)))) (* (* (+ (* x x) (+ (* 1 1) (* x 1))) (- -2 x)) (+ (pow -2 3) (pow x 3))))
947.0ms
(/ (* (* (- (* x (- (- x 1) (+ -2 x))) (+ -2 x)) (- (* x (- (- x 1) (+ -2 x))) (+ -2 x))) (- (* x (- (- x 1) (+ -2 x))) (+ -2 x))) (* (* (* (+ x 1) (* x (- x 1))) (* (+ x 1) (* x (- x 1)))) (* (+ x 1) (* x (- x 1)))))
894.0ms
(/ (* (* (- (* x (- (- x 1) (+ -2 x))) (+ -2 x)) (- (* x (- (- x 1) (+ -2 x))) (+ -2 x))) (- (* x (- (- x 1) (+ -2 x))) (+ -2 x))) (* (* (* (+ x 1) (+ x 1)) (+ x 1)) (* (* (* x (- x 1)) (* x (- x 1))) (* x (- x 1)))))
834.0ms
(/ (* (* (- (* x (- (- x 1) (+ -2 x))) (+ -2 x)) (- (* x (- (- x 1) (+ -2 x))) (+ -2 x))) (- (* x (- (- x 1) (+ -2 x))) (+ -2 x))) (* (* (* (+ x 1) (+ x 1)) (+ x 1)) (* (* (* x x) x) (* (* (- x 1) (- x 1)) (- x 1)))))
695.0ms
(- (* (* x (- (* (- (pow x 3) (pow 1 3)) (- -2 x)) (* (+ (* x x) (+ (* 1 1) (* x 1))) (- (* -2 -2) (* x x))))) (+ (* -2 -2) (- (* x x) (* -2 x)))) (* (* (+ (* x x) (+ (* 1 1) (* x 1))) (- -2 x)) (+ (pow -2 3) (pow x 3))))

prune1.6s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 3 expressions with local error:

0.2b
(/ 2 (* (+ x 1) (* x (- x 1))))
0.0b
(* (+ x 1) (* x (- x 1)))
0.0b
(* x (- x 1))

rewrite130.0ms

Algorithm
rewrite-expression-head
Rules
19×add-cbrt-cube add-exp-log
18×associate-*r/
14×add-sqr-sqrt
13×*-un-lft-identity
10×distribute-rgt-in pow1 distribute-lft-in
frac-times associate-*r* associate-/r/ add-cube-cbrt
flip3-- associate-*l* prod-exp cbrt-unprod flip--
sub-neg flip3-+ flip-+
pow-prod-down associate-*l/
cbrt-undiv times-frac div-exp insert-posit16 associate-/l* add-log-exp
*-commutative difference-of-squares
clear-num associate-/r* frac-2neg difference-of-sqr-1 div-inv distribute-lft-out distribute-lft-out-- unswap-sqr
Counts
3 → 97
Calls
3 calls:
Slowest
68.0ms
(* (+ x 1) (* x (- x 1)))
30.0ms
(/ 2 (* (+ x 1) (* x (- x 1))))
29.0ms
(* x (- x 1))

series281.0ms

Counts
3 → 9
Calls
3 calls:
Slowest
122.0ms
(* (+ x 1) (* x (- x 1)))
102.0ms
(/ 2 (* (+ x 1) (* x (- x 1))))
57.0ms
(* x (- x 1))

simplify10.9s

Counts
81 → 106
Calls
81 calls:
Slowest
874.0ms
(/ (* (* 2 2) 2) (* (* (* (+ x 1) (+ x 1)) (+ x 1)) (* (* (* x (- x 1)) (* x (- x 1))) (* x (- x 1)))))
545.0ms
(* (+ (pow x 3) (pow 1 3)) (* x (- x 1)))
523.0ms
(* (+ x 1) (* x (- x 1)))
520.0ms
(/ (* (* 2 2) 2) (* (* (* (+ x 1) (* x (- x 1))) (* (+ x 1) (* x (- x 1)))) (* (+ x 1) (* x (- x 1)))))
503.0ms
(* (+ x 1) (* x (- x 1)))

prune875.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

regimes45.0ms

Accuracy

0% (0.1b remaining)

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

bsearch2.0ms

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.5s1885×body640valid
525.0ms4153×body80valid
322.0ms912×body320valid
320.0ms584×body1280valid
100.0ms469×body160valid