Details

Time bar (total: 1.4m)

sample85.0ms

Algorithm
intervals
Results
33.0ms67×body640valid
15.0ms123×body80valid
12.0ms32×body320valid
10.0ms17×body1280valid
4.0ms17×body160valid

simplify73.0ms

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

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 10.3b

localize33.0ms

Local error

Found 4 expressions with local error:

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

rewrite263.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
168.0ms
(+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1)))
58.0ms
(- (/ 1 (+ x 1)) (/ 2 x))
17.0ms
(/ 1 (- x 1))
16.0ms
(/ 1 (+ x 1))

series201.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
109.0ms
(+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1)))
42.0ms
(- (/ 1 (+ x 1)) (/ 2 x))
26.0ms
(/ 1 (+ x 1))
24.0ms
(/ 1 (- x 1))

simplify8.6s

Counts
151 → 153
Calls
151 calls:
Slowest
674.0ms
(+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1))
523.0ms
(/ (* (* 1 1) 1) (* (* (+ x 1) (+ x 1)) (+ x 1)))
481.0ms
(* (exp (- (/ 1 (+ x 1)) (/ 2 x))) (exp (/ 1 (- x 1))))
405.0ms
(+ (* (- (* (/ 1 (+ x 1)) (/ 1 (+ x 1))) (* (/ 2 x) (/ 2 x))) (- x 1)) (* (+ (/ 1 (+ x 1)) (/ 2 x)) 1))
306.0ms
(* (+ (/ 1 (+ x 1)) (/ 2 x)) (- x 1))

prune1.3s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize41.0ms

Local error

Found 4 expressions with local error:

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

rewrite250.0ms

Algorithm
rewrite-expression-head
Rules
90×associate-*l/
36×flip3-- flip--
32×frac-add
28×frac-times
24×flip3-+ flip-+
20×add-cbrt-cube add-exp-log
19×add-sqr-sqrt
18×associate-/l/
15×*-un-lft-identity
14×associate-*r* associate-*r/
11×pow1
add-cube-cbrt
associate-/r/
prod-exp cbrt-unprod
distribute-rgt-in sub-neg distribute-lft-in add-log-exp
associate-+l+ associate-*l* pow-prod-down insert-posit16 difference-of-squares
cbrt-undiv times-frac div-exp associate-/l*
difference-of-sqr-1 *-commutative distribute-lft-out--
+-commutative clear-num associate-/r* sum-log frac-2neg div-inv unswap-sqr
Counts
4 → 152
Calls
4 calls:
Slowest
104.0ms
(/ (+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1)) (* (* (+ x 1) x) (- x 1)))
51.0ms
(* (- (* 1 x) (* (+ x 1) 2)) (- x 1))
45.0ms
(* (* (+ x 1) x) (- x 1))
45.0ms
(+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1))

series223.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
112.0ms
(* (* (+ x 1) x) (- x 1))
79.0ms
(/ (+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1)) (* (* (+ x 1) x) (- x 1)))
29.0ms
(* (- (* 1 x) (* (+ x 1) 2)) (- x 1))
3.0ms
(+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1))

simplify34.8s

Counts
150 → 164
Calls
150 calls:
Slowest
1.7s
(/ (* (* (+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1)) (+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1))) (+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1))) (* (* (* (* (+ x 1) x) (- x 1)) (* (* (+ x 1) x) (- x 1))) (* (* (+ x 1) x) (- x 1))))
1.4s
(/ (* (* (+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1)) (+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1))) (+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1))) (* (* (* (* (+ x 1) (+ x 1)) (+ x 1)) (* (* x x) x)) (* (* (- x 1) (- x 1)) (- x 1))))
1.0s
(/ (* (* (+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1)) (+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1))) (+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1))) (* (* (* (* (+ x 1) x) (* (+ x 1) x)) (* (+ x 1) x)) (* (* (- x 1) (- x 1)) (- x 1))))
756.0ms
(+ (* (* (- (pow (* 1 x) 3) (pow (* (+ x 1) 2) 3)) (- (pow x 3) (pow 1 3))) (- x 1)) (* (* (+ (* (* 1 x) (* 1 x)) (+ (* (* (+ x 1) 2) (* (+ x 1) 2)) (* (* 1 x) (* (+ x 1) 2)))) (+ (* x x) (+ (* 1 1) (* x 1)))) (* (* (- (* x x) (* 1 1)) x) 1)))
724.0ms
(* (* (+ (* (* 1 x) (* 1 x)) (+ (* (* (+ x 1) 2) (* (+ x 1) 2)) (* (* 1 x) (* (+ x 1) 2)))) (+ (* x x) (+ (* 1 1) (* x 1)))) (+ (* x x) (- (* 1 1) (* x 1))))

prune1.8s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize19.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 1) x)

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
19×add-cbrt-cube add-exp-log
18×associate-*l/
14×add-sqr-sqrt
13×*-un-lft-identity
10×pow1 associate-*r*
frac-times associate-/r/ add-cube-cbrt
flip3-+ prod-exp cbrt-unprod flip-+
flip3-- flip--
associate-*l*
pow-prod-down associate-*r/
cbrt-undiv times-frac div-exp insert-posit16 associate-/l* add-log-exp
distribute-rgt-in sub-neg distribute-lft-in *-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 → 89
Calls
3 calls:
Slowest
57.0ms
(* (* (+ x 1) x) (- x 1))
33.0ms
(/ 2 (* (* (+ x 1) x) (- x 1)))
15.0ms
(* (+ x 1) x)

series249.0ms

Counts
3 → 9
Calls
3 calls:
Slowest
139.0ms
(* (* (+ x 1) x) (- x 1))
60.0ms
(/ 2 (* (* (+ x 1) x) (- x 1)))
51.0ms
(* (+ x 1) x)

simplify8.1s

Counts
73 → 98
Calls
73 calls:
Slowest
456.0ms
(* (- x 1) (+ (* x x) (+ (* 1 1) (* x 1))))
450.0ms
(* (- x 1) (+ (* x x) (+ (* 1 1) (* x 1))))
404.0ms
(* (- (* x x) (* 1 1)) x)
389.0ms
(/ (* (* 2 2) 2) (* (* (* (* (+ x 1) x) (- x 1)) (* (* (+ x 1) x) (- x 1))) (* (* (+ x 1) x) (- x 1))))
372.0ms
(/ (* (* 2 2) 2) (* (* (* (* (+ x 1) (+ x 1)) (+ x 1)) (* (* x x) x)) (* (* (- x 1) (- x 1)) (- x 1))))

prune619.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite180.0ms

Algorithm
rewrite-expression-head
Rules
108×times-frac
60×add-sqr-sqrt sqrt-prod
59×*-un-lft-identity
54×add-cube-cbrt
34×add-cbrt-cube add-exp-log
18×associate-*l/
16×associate-/r*
11×pow1
10×cbrt-undiv div-exp associate-*r* prod-exp cbrt-unprod
div-inv
frac-times associate-/l/
flip3-+ flip-+ associate-/l*
flip3-- flip--
associate-*l*
pow-prod-down associate-*r/ insert-posit16 add-log-exp
distribute-rgt-in clear-num sub-neg frac-2neg distribute-lft-in *-commutative difference-of-squares
difference-of-sqr-1 associate-/r/ distribute-lft-out distribute-lft-out-- unswap-sqr
Counts
4 → 191
Calls
4 calls:
Slowest
66.0ms
(* (* (+ x 1) x) (- x 1))
47.0ms
(/ (* (* (+ x 1) x) (- x 1)) (sqrt 2))
35.0ms
(/ (sqrt 2) (/ (* (* (+ x 1) x) (- x 1)) (sqrt 2)))
28.0ms
(* (+ x 1) x)

series563.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
217.0ms
(/ (* (* (+ x 1) x) (- x 1)) (sqrt 2))
161.0ms
(/ (sqrt 2) (/ (* (* (+ x 1) x) (- x 1)) (sqrt 2)))
137.0ms
(* (* (+ x 1) x) (- x 1))
48.0ms
(* (+ x 1) x)

simplify22.9s

Counts
230 → 203
Calls
230 calls:
Slowest
723.0ms
(/ (* (* (sqrt 2) (sqrt 2)) (sqrt 2)) (/ (* (* (* (* (+ x 1) x) (- x 1)) (* (* (+ x 1) x) (- x 1))) (* (* (+ x 1) x) (- x 1))) (* (* (sqrt 2) (sqrt 2)) (sqrt 2))))
705.0ms
(/ (* (* (sqrt 2) (sqrt 2)) (sqrt 2)) (/ (* (* (* (* (+ x 1) (+ x 1)) (+ x 1)) (* (* x x) x)) (* (* (- x 1) (- x 1)) (- x 1))) (* (* (sqrt 2) (sqrt 2)) (sqrt 2))))
656.0ms
(/ (* (* (sqrt 2) (sqrt 2)) (sqrt 2)) (/ (* (* (* (* (+ x 1) x) (* (+ x 1) x)) (* (+ x 1) x)) (* (* (- x 1) (- x 1)) (- x 1))) (* (* (sqrt 2) (sqrt 2)) (sqrt 2))))
429.0ms
(* (* (+ x 1) x) (- x 1))
428.0ms
(* (* (+ x 1) x) (- (* x x) (* 1 1)))

prune1.1s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

regimes21.0ms

Accuracy

0% (0.1b remaining)

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

bsearch1.0ms

end0.0ms

sample1.5s

Algorithm
intervals
Results
627.0ms1912×body640valid
332.0ms4134×body80valid
206.0ms534×body1280valid
204.0ms963×body320valid
59.0ms460×body160valid