Details

Time bar (total: 1.1m)

sample62.0ms

Algorithm
intervals
Results
19.0ms56×body640valid
13.0ms133×body80valid
10.0ms32×body320valid
8.0ms19×body1280valid
3.0ms16×body160valid

simplify93.0ms

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.7b

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

rewrite244.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-
Calls
4 calls:
Slowest
179.0ms
(+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1)))
47.0ms
(- (/ 1 (+ x 1)) (/ 2 x))
8.0ms
(/ 1 (- x 1))
8.0ms
(/ 1 (+ x 1))

series195.0ms

Calls
4 calls:
Slowest
104.0ms
(+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1)))
43.0ms
(- (/ 1 (+ x 1)) (/ 2 x))
25.0ms
(/ 1 (- x 1))
23.0ms
(/ 1 (+ x 1))

simplify8.4s

Calls
151 calls:
Slowest
682.0ms
(+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1))
441.0ms
(/ (* (* 1 1) 1) (* (* (+ x 1) (+ x 1)) (+ x 1)))
396.0ms
(+ (* (- (* (/ 1 (+ x 1)) (/ 1 (+ x 1))) (* (/ 2 x) (/ 2 x))) (- x 1)) (* (+ (/ 1 (+ x 1)) (/ 2 x)) 1))
380.0ms
(* (* (+ x 1) x) (- x 1))
339.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.1b

localize36.0ms

Local error

Found 4 expressions with local error:

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

rewrite180.0ms

Algorithm
rewrite-expression-head
Rules
88×associate-*l/
32×frac-add
31×flip3-- flip--
24×frac-times flip3-+ flip-+
18×add-cbrt-cube add-exp-log associate-/l/
12×associate-*r/
11×add-sqr-sqrt
10×*-un-lft-identity
pow1
associate-/r/ add-log-exp
associate-*r* add-cube-cbrt
prod-exp cbrt-unprod
sub-neg
distribute-rgt-in associate-+l+ distribute-lft-in insert-posit16
cbrt-undiv times-frac div-exp pow-prod-down associate-/l*
difference-of-squares
+-commutative clear-num associate-/r* sum-log frac-2neg diff-log difference-of-sqr-1 associate-*l* *-commutative div-inv distribute-lft-out--
Calls
4 calls:
Slowest
91.0ms
(/ (+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1)) (* (* (+ x 1) x) (- x 1)))
48.0ms
(* (* (+ x 1) x) (- x 1))
31.0ms
(+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1))
7.0ms
(- (* 1 x) (* (+ x 1) 2))

series273.0ms

Calls
4 calls:
Slowest
151.0ms
(* (* (+ x 1) x) (- x 1))
86.0ms
(/ (+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1)) (* (* (+ x 1) x) (- x 1)))
34.0ms
(- (* 1 x) (* (+ x 1) 2))
2.0ms
(+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1))

simplify30.0s

Calls
121 calls:
Slowest
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.2s
(/ (* (* (+ (* (- (* 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))))
877.0ms
(/ (* (* (+ (* (- (* 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))))
722.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)))
698.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)))

prune1.6s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize26.0ms

Local error

Found 2 expressions with local error:

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

rewrite78.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--
Calls
2 calls:
Slowest
52.0ms
(* (* (+ x 1) x) (- x 1))
24.0ms
(/ 2 (* (* (+ x 1) x) (- x 1)))

series235.0ms

Calls
2 calls:
Slowest
135.0ms
(* (* (+ x 1) x) (- x 1))
100.0ms
(/ 2 (* (* (+ x 1) x) (- x 1)))

simplify7.9s

Calls
59 calls:
Slowest
522.0ms
(* (- x 1) (+ (* x x) (+ (* 1 1) (* x 1))))
490.0ms
(* (- x 1) (+ (* x x) (+ (* 1 1) (* x 1))))
462.0ms
(/ (* (* 2 2) 2) (* (* (* (* (+ x 1) x) (- x 1)) (* (* (+ x 1) x) (- x 1))) (* (* (+ x 1) x) (- x 1))))
460.0ms
(/ (* (* 2 2) 2) (* (* (* (* (+ x 1) (+ x 1)) (+ x 1)) (* (* x x) x)) (* (* (- x 1) (- x 1)) (- x 1))))
408.0ms
(/ (* (* 2 2) 2) (* (* (* (* (+ x 1) x) (* (+ x 1) x)) (* (+ x 1) x)) (* (* (- x 1) (- x 1)) (- x 1))))

prune553.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 3 expressions with local error:

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

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
63×add-sqr-sqrt
61×add-exp-log
51×*-un-lft-identity
49×times-frac
31×add-cbrt-cube
30×add-cube-cbrt
27×associate-*r*
23×prod-exp
20×div-exp
14×difference-of-squares
10×cbrt-undiv
associate-*l* cbrt-unprod
pow1 associate-/r* associate-/r/
difference-of-sqr-1 distribute-lft-out--
rec-exp 1-exp associate-/l*
associate-*l/
div-inv
insert-posit16 add-log-exp
clear-num frac-2neg flip3-+ flip3-- pow-prod-down flip-+ pow-flip flip-- unswap-sqr
frac-times associate-*r/ *-commutative inv-pow
Calls
3 calls:
Slowest
77.0ms
(* (/ 1 (* (+ x 1) x)) (/ 2 (- x 1)))
13.0ms
(/ 1 (* (+ x 1) x))
9.0ms
(/ 2 (- x 1))

series124.0ms

Calls
3 calls:
Slowest
66.0ms
(* (/ 1 (* (+ x 1) x)) (/ 2 (- x 1)))
30.0ms
(/ 1 (* (+ x 1) x))
28.0ms
(/ 2 (- x 1))

simplify13.5s

Calls
145 calls:
Slowest
633.0ms
(* (/ (* (* 1 1) 1) (* (* (* (+ x 1) (+ x 1)) (+ x 1)) (* (* x x) x))) (/ (* (* 2 2) 2) (* (* (- x 1) (- x 1)) (- x 1))))
565.0ms
(+ (- (+ (log (+ x 1)) (log x))) (log (/ 2 (- x 1))))
551.0ms
(* (/ (* (* 1 1) 1) (* (* (* (+ x 1) x) (* (+ x 1) x)) (* (+ x 1) x))) (/ (* (* 2 2) 2) (* (* (- x 1) (- x 1)) (- x 1))))
502.0ms
(+ (log (/ 1 (* (+ x 1) x))) (log (/ 2 (- x 1))))
445.0ms
(/ (* (* 1 1) 1) (* (* (* (+ x 1) (+ x 1)) (+ x 1)) (* (* x x) x)))

prune1.3s

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes29.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.7s

Algorithm
intervals
Results
1.3s1913×body640valid
576.0ms4144×body80valid
306.0ms612×body1280valid
298.0ms877×body320valid
90.0ms456×body160valid