Details

Time bar (total: 1.2m)

sample87.0ms

Algorithm
intervals
Results
30.0ms58×body640valid
18.0ms134×body80valid
13.0ms34×body320valid
10.0ms15×body1280valid
4.0ms15×body160valid

simplify69.0ms

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

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.4b

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

rewrite252.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
167.0ms
(+ (- (/ 1 (+ x 1)) (/ 2 x)) (/ 1 (- x 1)))
60.0ms
(- (/ 1 (+ x 1)) (/ 2 x))
15.0ms
(/ 1 (- x 1))
8.0ms
(/ 1 (+ x 1))

series185.0ms

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

simplify8.6s

Counts
151 → 153
Calls
151 calls:
Slowest
634.0ms
(+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1))
495.0ms
(+ (* (- (* (/ 1 (+ x 1)) (/ 1 (+ x 1))) (* (/ 2 x) (/ 2 x))) (- x 1)) (* (+ (/ 1 (+ x 1)) (/ 2 x)) 1))
444.0ms
(/ (* (* 1 1) 1) (* (* (+ x 1) (+ x 1)) (+ x 1)))
324.0ms
(* (+ (* (/ 1 (+ x 1)) (/ 1 (+ x 1))) (+ (* (/ 2 x) (/ 2 x)) (* (/ 1 (+ x 1)) (/ 2 x)))) (- x 1))
319.0ms
(* (+ (/ 1 (+ x 1)) (/ 2 x)) (- x 1))

prune1.2s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize58.0ms

Local error

Found 4 expressions with local error:

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

rewrite154.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--
Counts
4 → 130
Calls
4 calls:
Slowest
76.0ms
(/ (+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1)) (* (* (+ x 1) x) (- x 1)))
36.0ms
(+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1))
32.0ms
(* (* (+ x 1) x) (- x 1))
7.0ms
(- (* 1 x) (* (+ x 1) 2))

series249.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
151.0ms
(* (* (+ x 1) x) (- x 1))
74.0ms
(/ (+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1)) (* (* (+ x 1) x) (- x 1)))
22.0ms
(- (* 1 x) (* (+ x 1) 2))
2.0ms
(+ (* (- (* 1 x) (* (+ x 1) 2)) (- x 1)) (* (* (+ x 1) x) 1))

simplify30.1s

Counts
121 → 142
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))))
917.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))))
738.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))))
701.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 (2 fresh and 1 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 3 expressions with local error:

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

rewrite109.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
51.0ms
(* (* (+ x 1) x) (- x 1))
28.0ms
(/ 2 (* (* (+ x 1) x) (- x 1)))
27.0ms
(* (+ x 1) x)

series267.0ms

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

simplify9.2s

Counts
73 → 98
Calls
73 calls:
Slowest
717.0ms
(* (* (* (+ x 1) (+ x 1)) (+ x 1)) (* (* x x) x))
581.0ms
(* (- x 1) (+ (* x x) (+ (* 1 1) (* x 1))))
570.0ms
(* (- x 1) (+ (* x x) (+ (* 1 1) (* x 1))))
506.0ms
(/ (* (* 2 2) 2) (* (* (* (* (+ x 1) x) (- x 1)) (* (* (+ x 1) x) (- x 1))) (* (* (+ x 1) x) (- x 1))))
430.0ms
(/ (* (* 2 2) 2) (* (* (* (* (+ x 1) x) (* (+ x 1) x)) (* (+ x 1) x)) (* (* (- x 1) (- x 1)) (- x 1))))

prune731.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize24.0ms

Local error

Found 3 expressions with local error:

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

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
90×times-frac
75×add-sqr-sqrt
65×*-un-lft-identity
33×add-cube-cbrt
20×associate-*l/ associate-/r/ difference-of-squares
19×add-cbrt-cube add-exp-log
12×associate-/l*
10×flip3-+ difference-of-sqr-1 flip-+ div-inv distribute-lft-out--
associate-/r*
cbrt-undiv div-exp
pow1
associate-*l*
associate-*r* prod-exp cbrt-unprod insert-posit16 add-log-exp
clear-num frac-2neg
flip3-- pow-prod-down *-commutative flip-- distribute-lft-out unswap-sqr associate-/l/
Counts
3 → 145
Calls
3 calls:
Slowest
26.0ms
(* (+ x 1) x)
22.0ms
(/ (/ 2 (* (+ x 1) x)) (- x 1))
9.0ms
(/ 2 (* (+ x 1) x))

series194.0ms

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

simplify14.0s

Counts
182 → 154
Calls
182 calls:
Slowest
328.0ms
(- (- (log 2) (+ (log (+ x 1)) (log x))) (log (- x 1)))
327.0ms
(/ (/ 2 (* (+ (pow x 3) (pow 1 3)) x)) (* (cbrt (- x 1)) (cbrt (- x 1))))
295.0ms
(/ (/ (* (* 2 2) 2) (* (* (* (+ x 1) (+ x 1)) (+ x 1)) (* (* x x) x))) (* (* (- x 1) (- x 1)) (- x 1)))
273.0ms
(/ (/ 1 (* (+ x 1) x)) (- (sqrt x) (sqrt 1)))
264.0ms
(/ (/ 2 (* (- (* x x) (* 1 1)) x)) (sqrt (- x 1)))

prune765.0ms

Pruning

6 alts after pruning (4 fresh and 2 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

bsearch2.0ms

end0.0ms

sample1.8s

Algorithm
intervals
Results
676.0ms1880×body640valid
469.0ms914×body320valid
301.0ms4155×body80valid
185.0ms575×body1280valid
107.0ms477×body160valid