Details

Time bar (total: 1.2m)

sample71.0ms

Algorithm
intervals
Results
19.0ms44×body640valid
16.0ms144×body80valid
12.0ms23×body1280valid
11.0ms34×body320valid
2.0ms11×body160valid

simplify107.0ms

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

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.1b

localize43.0ms

Local error

Found 4 expressions with local error:

2.5b
(+ (- (/ 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))

rewrite208.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
153.0ms
(+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1)))
37.0ms
(- (/ 1 (+ x 1)) (/ 2 x))
8.0ms
(/ 1 (- x 1))
8.0ms
(/ 1 (+ x 1))

series197.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
132.0ms
(+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1)))
34.0ms
(- (/ 1 (+ x 1)) (/ 2 x))
18.0ms
(/ 1 (- x 1))
14.0ms
(/ 1 (+ x 1))

simplify9.0s

Counts
151 → 153
Calls
151 calls:
Slowest
1.1s
(+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1))
498.0ms
(/ (* (* 1 1) 1) (* (* (+ x 1) (+ x 1)) (+ x 1)))
413.0ms
(+ (* (- (* (/ 1 (+ x 1)) (/ 1 (+ x 1))) (* (/ 2 x) (/ 2 x))) (- x 1)) (* (+ (/ 1 (+ x 1)) (/ 2 x)) 1))
340.0ms
(/ (* (* 1 1) 1) (* (* (- x 1) (- x 1)) (- x 1)))
310.0ms
(* (+ (* (/ 1 (+ x 1)) (/ 1 (+ x 1))) (+ (* (/ 2 x) (/ 2 x)) (* (/ 1 (+ x 1)) (/ 2 x)))) (- x 1))

prune1.2s

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize47.0ms

Local error

Found 4 expressions with local error:

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

rewrite202.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-+r+ clear-num sum-log sub-neg frac-2neg flip3-+ diff-log 1-exp frac-sub flip-+ pow-flip inv-pow
+-commutative associate-+r-
Counts
4 → 141
Calls
4 calls:
Slowest
120.0ms
(+ (/ 1 (- x 1)) (- (/ 1 (+ x 1)) (/ 2 x)))
51.0ms
(- (/ 1 (+ x 1)) (/ 2 x))
15.0ms
(/ 1 (- x 1))
14.0ms
(/ 1 (+ x 1))

series160.0ms

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

simplify8.2s

Counts
151 → 153
Calls
151 calls:
Slowest
514.0ms
(/ (* (* 1 1) 1) (* (* (+ x 1) (+ x 1)) (+ x 1)))
406.0ms
(* (- x 1) (+ (* (/ 1 (+ x 1)) (/ 1 (+ x 1))) (+ (* (/ 2 x) (/ 2 x)) (* (/ 1 (+ x 1)) (/ 2 x)))))
395.0ms
(* (- x 1) (+ (/ 1 (+ x 1)) (/ 2 x)))
385.0ms
(+ (* 1 (+ (/ 1 (+ x 1)) (/ 2 x))) (* (- x 1) (- (* (/ 1 (+ x 1)) (/ 1 (+ x 1))) (* (/ 2 x) (/ 2 x)))))
364.0ms
(* (- x 1) (* (+ x 1) x))

prune1.2s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize28.0ms

Local error

Found 4 expressions with local error:

15.3b
(- (* x (+ (+ x 1) (- x 1))) (* (* (- x 1) (+ x 1)) 2))
2.6b
(+ (+ x 1) (- x 1))
0.1b
(* (- x 1) (* (+ x 1) x))
0.0b
(* (+ x 1) x)

rewrite122.0ms

Algorithm
rewrite-expression-head
Rules
70×associate-*l/
62×associate-*r/
49×flip3-+ flip-+
48×frac-sub
40×flip3-- flip--
36×frac-add
28×frac-times
24×*-un-lft-identity
18×add-log-exp
13×add-sqr-sqrt
11×pow1 add-cbrt-cube associate-*l* add-exp-log
add-cube-cbrt distribute-lft-out
sum-log
associate-*r* pow-prod-down prod-exp cbrt-unprod insert-posit16
diff-log distribute-lft-out--
associate-+r+ sub-neg associate--l+ *-commutative difference-of-squares
distribute-rgt-in +-commutative associate-+l+ associate-+r- distribute-lft-in difference-of-sqr-1 unswap-sqr
Counts
4 → 143
Calls
4 calls:
Slowest
42.0ms
(- (* x (+ (+ x 1) (- x 1))) (* (* (- x 1) (+ x 1)) 2))
40.0ms
(* (- x 1) (* (+ x 1) x))
23.0ms
(+ (+ x 1) (- x 1))
13.0ms
(* (+ x 1) x)

series213.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
122.0ms
(* (- x 1) (* (+ x 1) x))
54.0ms
(* (+ x 1) x)
36.0ms
(+ (+ x 1) (- x 1))
2.0ms
(- (* x (+ (+ x 1) (- x 1))) (* (* (- x 1) (+ x 1)) 2))

simplify44.0s

Counts
163 → 155
Calls
163 calls:
Slowest
991.0ms
(- (* (* x (+ (* (+ (pow x 3) (pow 1 3)) (+ (* x x) (+ (* 1 1) (* x 1)))) (* (+ (* x x) (- (* 1 1) (* x 1))) (- (pow x 3) (pow 1 3))))) (* (+ (* x x) (+ (* 1 1) (* x 1))) (- x 1))) (* (* (+ (* x x) (- (* 1 1) (* x 1))) (+ (* x x) (+ (* 1 1) (* x 1)))) (* (* (- (pow x 3) (pow 1 3)) (- (* x x) (* 1 1))) 2)))
933.0ms
(* (+ (* (+ x 1) (+ x 1)) (- (* (- x 1) (- x 1)) (* (+ x 1) (- x 1)))) (* (+ x 1) (- x 1)))
912.0ms
(- (* (* x (+ (* (+ (pow x 3) (pow 1 3)) (+ x 1)) (* (+ (* x x) (- (* 1 1) (* x 1))) (- (* x x) (* 1 1))))) (- x 1)) (* (* (+ (* x x) (- (* 1 1) (* x 1))) (+ x 1)) (* (* (- x 1) (- (* x x) (* 1 1))) 2)))
898.0ms
(- (* (* x (- (* (+ x 1) (+ x 1)) (* (- x 1) (- x 1)))) (* (+ x 1) (+ (* x x) (- (* 1 1) (* x 1))))) (* (- (+ x 1) (- x 1)) (* (* (- (* x x) (* 1 1)) (+ (pow x 3) (pow 1 3))) 2)))
847.0ms
(* (- (+ x 1) (- x 1)) (* (+ (* x x) (+ (* 1 1) (* x 1))) (+ (* x x) (- (* 1 1) (* x 1)))))

prune1.2s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 3 expressions with local error:

0.3b
(/ 2 (* (- x 1) (* (+ x 1) x)))
0.1b
(* (- x 1) (* (+ x 1) x))
0.0b
(* (+ x 1) x)

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
19×add-cbrt-cube add-exp-log
18×associate-*l/
14×add-sqr-sqrt
13×*-un-lft-identity
11×associate-*l*
10×pow1
frac-times associate-/r/ add-cube-cbrt
flip3-+ prod-exp cbrt-unprod flip-+
flip3-- flip--
associate-*r* pow-prod-down associate-*r/
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 → 85
Calls
3 calls:
Slowest
34.0ms
(* (- x 1) (* (+ x 1) x))
23.0ms
(/ 2 (* (- x 1) (* (+ x 1) x)))
13.0ms
(* (+ x 1) x)

series202.0ms

Counts
3 → 9
Calls
3 calls:
Slowest
95.0ms
(* (- x 1) (* (+ x 1) x))
64.0ms
(/ 2 (* (- x 1) (* (+ x 1) x)))
42.0ms
(* (+ x 1) x)

simplify5.6s

Counts
66 → 94
Calls
66 calls:
Slowest
364.0ms
(* (- (pow x 3) (pow 1 3)) (* (+ x 1) x))
290.0ms
(/ (* (* 2 2) 2) (* (* (* (- x 1) (* (+ x 1) x)) (* (- x 1) (* (+ x 1) x))) (* (- x 1) (* (+ x 1) x))))
273.0ms
(* (- x 1) (* (+ x 1) x))
270.0ms
(/ (* (* 2 2) 2) (* (* (* (- x 1) (- x 1)) (- x 1)) (* (* (* (+ x 1) x) (* (+ x 1) x)) (* (+ x 1) x))))
270.0ms
(* (- x 1) (* (+ x 1) x))

prune511.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

regimes23.0ms

Accuracy

0% (0.1b remaining)

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

bsearch1.0ms

end0.0ms

sample2.0s

Algorithm
intervals
Results
638.0ms1799×body640valid
521.0ms582×body1280valid
335.0ms4195×body80valid
293.0ms970×body320valid
87.0ms458×body160valid