Details

Time bar (total: 2.0m)

sample91.0ms

Algorithm
intervals
Results
26.0ms59×body640valid
24.0ms25×body1280valid
16.0ms129×body80valid
10.0ms30×body320valid
3.0ms13×body160valid

simplify93.0ms

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

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 10.6b

localize36.0ms

Local error

Found 4 expressions with local error:

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

rewrite250.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)))
60.0ms
(- (/ 1 (+ x 1)) (/ 2 x))
17.0ms
(/ 1 (- x 1))
16.0ms
(/ 1 (+ x 1))

series209.0ms

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

simplify13.4s

Counts
199 → 153
Calls
199 calls:
Slowest
630.0ms
(* (* (- (/ 1 (+ x 1)) (/ 2 x)) (- (/ 1 (+ x 1)) (/ 2 x))) (- (/ 1 (+ x 1)) (/ 2 x)))
484.0ms
(/ (* (* 1 1) 1) (* (* (+ x 1) (+ x 1)) (+ x 1)))
407.0ms
(+ (* (- (* (/ 1 (+ x 1)) (/ 1 (+ x 1))) (* (/ 2 x) (/ 2 x))) (- x 1)) (* (+ (/ 1 (+ x 1)) (/ 2 x)) 1))
381.0ms
(* (+ (* (/ 1 (+ x 1)) (/ 1 (+ x 1))) (+ (* (/ 2 x) (/ 2 x)) (* (/ 1 (+ x 1)) (/ 2 x)))) (- x 1))
352.0ms
(- (* (/ 1 (+ x 1)) (/ 1 (+ x 1))) (* (/ 2 x) (/ 2 x)))

prune1.1s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize53.0ms

Local error

Found 4 expressions with local error:

15.5b
(+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1))
0.1b
(* (* (+ 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))

rewrite249.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
110.0ms
(/ (+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1)) (* (* (+ x 1) x) (- x 1)))
59.0ms
(* (- (* 1 x) (* (+ x 1) 2)) (- x 1))
42.0ms
(* (* (+ x 1) x) (- x 1))
33.0ms
(+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1))

series243.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
110.0ms
(* (* (+ x 1) x) (- x 1))
103.0ms
(/ (+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1)) (* (* (+ x 1) x) (- x 1)))
28.0ms
(* (- (* 1 x) (* (+ x 1) 2)) (- x 1))
2.0ms
(+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1))

simplify58.7s

Counts
200 → 164
Calls
200 calls:
Slowest
1.5s
(/ (* (* (+ (* (- (* 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))))
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.3s
(* (* (* (+ x 1) x) (- 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)))))
1.3s
(/ (* (* (+ (* (- (* 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.0s
(* (* (* (+ x 1) x) (- x 1)) (* (* (+ (* (* 1 x) (* 1 x)) (+ (* (* (+ x 1) 2) (* (+ x 1) 2)) (* (* 1 x) (* (+ x 1) 2)))) (+ (* x x) (+ (* 1 1) (* x 1)))) (- x 1)))

prune1.7s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite83.0ms

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

series218.0ms

Counts
2 → 6
Calls
2 calls:
Slowest
132.0ms
(* (* (+ x 1) x) (- x 1))
85.0ms
(/ 2 (* (* (+ x 1) x) (- x 1)))

simplify18.4s

Counts
84 → 73
Calls
84 calls:
Slowest
731.0ms
(real->posit16 (* (* (+ x 1) x) (- x 1)))
694.0ms
(* (* (+ x 1) x) (- (* x x) (* 1 1)))
480.0ms
(/ 2 (* (* (+ x 1) x) (- (pow x 3) (pow 1 3))))
457.0ms
(/ (* (* 2 2) 2) (* (* (* (* (+ x 1) x) (- x 1)) (* (* (+ x 1) x) (- x 1))) (* (* (+ x 1) x) (- x 1))))
417.0ms
(* (* (+ x 1) x) (- (pow x 3) (pow 1 3)))

prune564.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize32.0ms

Local error

Found 2 expressions with local error:

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

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
70×add-sqr-sqrt
60×*-un-lft-identity
30×add-cube-cbrt
20×associate-/r/ difference-of-squares
18×associate-*l/
16×add-cbrt-cube add-exp-log
12×associate-/l*
10×difference-of-sqr-1 div-inv distribute-lft-out--
flip3-+ flip-+
associate-/r*
cbrt-undiv div-exp
pow1 clear-num frac-2neg prod-exp cbrt-unprod insert-posit16 add-log-exp
flip3-- flip-- associate-/l/
Counts
2 → 123
Calls
2 calls:
Slowest
26.0ms
(/ (/ 2 (* (+ x 1) x)) (- x 1))
17.0ms
(/ 2 (* (+ x 1) x))

series101.0ms

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

simplify23.6s

Counts
197 → 129
Calls
197 calls:
Slowest
1.2s
(* (* (/ (/ 2 (* (+ x 1) x)) (- x 1)) (/ (/ 2 (* (+ x 1) x)) (- x 1))) (/ (/ 2 (* (+ x 1) x)) (- x 1)))
397.0ms
(* (* (/ 2 (* (+ x 1) x)) (/ 2 (* (+ x 1) x))) (/ 2 (* (+ x 1) x)))
376.0ms
(/ (/ 2 (* (+ (pow x 3) (pow 1 3)) x)) 1)
376.0ms
(/ (/ 2 (* (+ (pow x 3) (pow 1 3)) x)) (* (cbrt (- x 1)) (cbrt (- x 1))))
370.0ms
(/ (/ 2 (* (+ x 1) x)) (- (sqrt x) 1))

prune620.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

regimes25.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.8s

Algorithm
intervals
Results
883.0ms1805×body640valid
324.0ms4202×body80valid
230.0ms959×body320valid
226.0ms597×body1280valid
80.0ms440×body160valid