Details

Time bar (total: 2.7m)

sample71.0ms

Algorithm
intervals
Results
21.0ms36×body1280valid
14.0ms59×body640valid
13.0ms261×body80nan
8.0ms131×body80valid
3.0ms18×body320valid
1.0ms12×body160valid

simplify24.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
23.0ms
(- (/ 1 (sqrt x)) (/ 1 (sqrt (+ x 1))))

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 20.1b

localize32.0ms

Local error

Found 4 expressions with local error:

2.3b
(- (/ 1 (sqrt x)) (/ 1 (sqrt (+ x 1))))
0.3b
(/ 1 (sqrt x))
0.2b
(/ 1 (sqrt (+ x 1)))
0.0b
(sqrt (+ x 1))

rewrite131.0ms

Algorithm
rewrite-expression-head
Rules
1063×times-frac
902×*-un-lft-identity
788×add-sqr-sqrt
714×add-cube-cbrt
594×prod-diff
580×sqrt-prod
74×distribute-lft-out
56×div-inv
48×sqrt-div
46×associate-/r/
25×difference-of-squares
24×flip3-+ flip-+
22×fma-neg
13×associate-/r* distribute-lft-out--
12×add-exp-log
pow1
add-cbrt-cube
pow-flip associate-/l* add-log-exp
expm1-log1p-u div-exp insert-posit16 log1p-expm1-u
sqrt-pow1 pow1/2
cbrt-undiv rec-exp clear-num frac-2neg 1-exp hypot-def inv-pow
rem-sqrt-square sub-neg flip3-- diff-log frac-sub flip--
Counts
4 → 793
Calls
4 calls:
Slowest
59.0ms
(- (/ 1 (sqrt x)) (/ 1 (sqrt (+ x 1))))
9.0ms
(/ 1 (sqrt (+ x 1)))
5.0ms
(/ 1 (sqrt x))
5.0ms
(sqrt (+ x 1))

series196.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
90.0ms
(- (/ 1 (sqrt x)) (/ 1 (sqrt (+ x 1))))
39.0ms
(/ 1 (sqrt (+ x 1)))
35.0ms
(/ 1 (sqrt x))
32.0ms
(sqrt (+ x 1))

simplify2.2m

Counts
1414 → 805
Calls
1414 calls:
Slowest
768.0ms
(fma (/ (* (cbrt 1) (cbrt 1)) (sqrt (sqrt x))) (/ (cbrt 1) (sqrt (sqrt x))) (- (* (sqrt (+ (* x x) (- (* 1 1) (* x 1)))) (/ 1 (sqrt (+ (pow x 3) (pow 1 3)))))))
483.0ms
(fma (- (/ (cbrt 1) (cbrt (sqrt (+ x 1))))) (/ (* (cbrt 1) (cbrt 1)) (* (cbrt (sqrt (+ x 1))) (cbrt (sqrt (+ x 1))))) (* (/ (cbrt 1) (cbrt (sqrt (+ x 1)))) (/ (* (cbrt 1) (cbrt 1)) (* (cbrt (sqrt (+ x 1))) (cbrt (sqrt (+ x 1)))))))
431.0ms
(fma (- (/ (cbrt 1) (cbrt (sqrt (+ x 1))))) (/ (* (cbrt 1) (cbrt 1)) (* (cbrt (sqrt (+ x 1))) (cbrt (sqrt (+ x 1))))) (* (/ (cbrt 1) (cbrt (sqrt (+ x 1)))) (/ (* (cbrt 1) (cbrt 1)) (* (cbrt (sqrt (+ x 1))) (cbrt (sqrt (+ x 1)))))))
423.0ms
(fma (/ (* (cbrt 1) (cbrt 1)) (* (cbrt (sqrt x)) (cbrt (sqrt x)))) (/ (cbrt 1) (cbrt (sqrt x))) (- (* (/ (cbrt 1) (cbrt (sqrt (+ x 1)))) (/ (* (cbrt 1) (cbrt 1)) (* (cbrt (sqrt (+ x 1))) (cbrt (sqrt (+ x 1))))))))
409.0ms
(fma (* (cbrt (/ 1 (sqrt x))) (cbrt (/ 1 (sqrt x)))) (cbrt (/ 1 (sqrt x))) (- (* (sqrt (+ (* x x) (- (* 1 1) (* x 1)))) (/ 1 (sqrt (+ (pow x 3) (pow 1 3)))))))

prune4.5s

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 19.6b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite109.0ms

Algorithm
rewrite-expression-head
Rules
88×sqrt-prod
79×*-un-lft-identity
75×add-sqr-sqrt
42×prod-diff
39×add-cube-cbrt
12×distribute-lft-out difference-of-squares
11×add-cbrt-cube add-exp-log
10×times-frac associate-/l*
pow1 distribute-lft-out--
fma-neg associate-*r*
sqrt-div associate-*l* add-log-exp
expm1-log1p-u associate-*r/ insert-posit16 log1p-expm1-u unswap-sqr
sqrt-pow1 flip3-+ pow1/2 pow-prod-down flip-+
cbrt-undiv flip3-- div-exp prod-exp associate-/r/ cbrt-unprod hypot-def flip-- associate-/l/
rem-sqrt-square clear-num associate-/r* sub-neg frac-2neg sqrt-unprod diff-log div-sub *-commutative div-inv
Counts
4 → 171
Calls
4 calls:
Slowest
57.0ms
(/ (- (sqrt (+ x 1)) (sqrt x)) (* (sqrt x) (sqrt (+ x 1))))
30.0ms
(- (sqrt (+ x 1)) (sqrt x))
15.0ms
(* (sqrt x) (sqrt (+ x 1)))
4.0ms
(sqrt (+ x 1))

series278.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
148.0ms
(/ (- (sqrt (+ x 1)) (sqrt x)) (* (sqrt x) (sqrt (+ x 1))))
57.0ms
(- (sqrt (+ x 1)) (sqrt x))
51.0ms
(* (sqrt x) (sqrt (+ x 1)))
23.0ms
(sqrt (+ x 1))

simplify5.4s

Counts
193 → 183
Calls
193 calls:
Slowest
327.0ms
(- (+ (* 1/2 x) 1) (* 1/8 (pow x 2)))
198.0ms
(* (* (* (sqrt x) (sqrt x)) (sqrt x)) (* (* (sqrt (+ x 1)) (sqrt (+ x 1))) (sqrt (+ x 1))))
174.0ms
(- (pow (sqrt (+ x 1)) 3) (pow (sqrt x) 3))
125.0ms
(/ (* (* (- (sqrt (+ x 1)) (sqrt x)) (- (sqrt (+ x 1)) (sqrt x))) (- (sqrt (+ x 1)) (sqrt x))) (* (* (* (sqrt x) (sqrt (+ x 1))) (* (sqrt x) (sqrt (+ x 1)))) (* (sqrt x) (sqrt (+ x 1)))))
125.0ms
(fma (* (cbrt (sqrt (+ x 1))) (cbrt (sqrt (+ x 1)))) (cbrt (sqrt (+ x 1))) (- (* (cbrt (sqrt x)) (* (cbrt (sqrt x)) (cbrt (sqrt x))))))

prune1.0s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.5b

localize17.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ 1 (* (* (sqrt x) (sqrt (+ x 1))) (+ (sqrt (+ x 1)) (sqrt x))))
0.3b
(* (sqrt x) (sqrt (+ x 1)))
0.1b
(* (* (sqrt x) (sqrt (+ x 1))) (+ (sqrt (+ x 1)) (sqrt x)))
0.0b
(+ (sqrt (+ x 1)) (sqrt x))

rewrite180.0ms

Algorithm
rewrite-expression-head
Rules
32×add-exp-log
31×*-un-lft-identity
23×sqrt-prod
21×add-sqr-sqrt
20×add-cbrt-cube
19×pow1
18×associate-*r/
14×flip3-+ sqrt-div flip-+
13×associate-*r* prod-exp add-cube-cbrt
10×distribute-lft-out
pow-prod-down
frac-times associate-/r/
fma-def associate-*l* cbrt-unprod
div-exp add-log-exp
expm1-log1p-u associate-*l/ insert-posit16 log1p-expm1-u unswap-sqr
cbrt-undiv rec-exp times-frac 1-exp pow-flip associate-/l*
sqrt-pow1 pow1/2 *-commutative
distribute-rgt-in +-commutative clear-num associate-/r* sum-log frac-2neg distribute-lft-in sqrt-unprod div-inv inv-pow
Counts
4 → 138
Calls
4 calls:
Slowest
81.0ms
(/ 1 (* (* (sqrt x) (sqrt (+ x 1))) (+ (sqrt (+ x 1)) (sqrt x))))
63.0ms
(* (* (sqrt x) (sqrt (+ x 1))) (+ (sqrt (+ x 1)) (sqrt x)))
19.0ms
(+ (sqrt (+ x 1)) (sqrt x))
15.0ms
(* (sqrt x) (sqrt (+ x 1)))

series462.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
191.0ms
(/ 1 (* (* (sqrt x) (sqrt (+ x 1))) (+ (sqrt (+ x 1)) (sqrt x))))
167.0ms
(* (* (sqrt x) (sqrt (+ x 1))) (+ (sqrt (+ x 1)) (sqrt x)))
52.0ms
(* (sqrt x) (sqrt (+ x 1)))
52.0ms
(+ (sqrt (+ x 1)) (sqrt x))

simplify5.6s

Counts
109 → 150
Calls
109 calls:
Slowest
288.0ms
(* (sqrt (- x 1)) (+ (* (sqrt (+ x 1)) (sqrt (+ x 1))) (- (* (sqrt x) (sqrt x)) (* (sqrt (+ x 1)) (sqrt x)))))
287.0ms
(* (sqrt (- x 1)) (+ (* (sqrt (+ x 1)) (sqrt (+ x 1))) (- (* (sqrt x) (sqrt x)) (* (sqrt (+ x 1)) (sqrt x)))))
264.0ms
(/ (* (* 1 1) 1) (* (* (* (* (sqrt x) (sqrt (+ x 1))) (+ (sqrt (+ x 1)) (sqrt x))) (* (* (sqrt x) (sqrt (+ x 1))) (+ (sqrt (+ x 1)) (sqrt x)))) (* (* (sqrt x) (sqrt (+ x 1))) (+ (sqrt (+ x 1)) (sqrt x)))))
256.0ms
(/ (* (* 1 1) 1) (* (* (* (* (sqrt x) (sqrt x)) (sqrt x)) (* (* (sqrt (+ x 1)) (sqrt (+ x 1))) (sqrt (+ x 1)))) (* (* (+ (sqrt (+ x 1)) (sqrt x)) (+ (sqrt (+ x 1)) (sqrt x))) (+ (sqrt (+ x 1)) (sqrt x)))))
248.0ms
(/ (* (* 1 1) 1) (* (* (* (* (sqrt x) (sqrt (+ x 1))) (* (sqrt x) (sqrt (+ x 1)))) (* (sqrt x) (sqrt (+ x 1)))) (* (* (+ (sqrt (+ x 1)) (sqrt x)) (+ (sqrt (+ x 1)) (sqrt x))) (+ (sqrt (+ x 1)) (sqrt x)))))

prune883.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (sqrt x) (sqrt (+ x 1)))
0.1b
(/ (/ 1 (* (sqrt x) (sqrt (+ x 1)))) (+ (sqrt (+ x 1)) (sqrt x)))
0.1b
(/ 1 (* (sqrt x) (sqrt (+ x 1))))
0.0b
(+ (sqrt (+ x 1)) (sqrt x))

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
117×*-un-lft-identity
78×times-frac
59×sqrt-prod
46×distribute-lft-out
44×add-sqr-sqrt
36×add-exp-log add-cube-cbrt
20×add-cbrt-cube
18×sqrt-div associate-*r/ associate-/r/
15×div-exp
13×pow1
12×associate-/l*
11×flip3-+ flip-+
div-inv
cbrt-undiv associate-/r* fma-def associate-*r* prod-exp
associate-*l* pow-prod-down add-log-exp
expm1-log1p-u rec-exp sqrt-pow1 pow1/2 1-exp insert-posit16 log1p-expm1-u pow-flip unswap-sqr
cbrt-unprod
clear-num frac-2neg
+-commutative sum-log sqrt-unprod *-commutative inv-pow associate-/l/
Counts
4 → 190
Calls
4 calls:
Slowest
41.0ms
(/ (/ 1 (* (sqrt x) (sqrt (+ x 1)))) (+ (sqrt (+ x 1)) (sqrt x)))
19.0ms
(+ (sqrt (+ x 1)) (sqrt x))
19.0ms
(* (sqrt x) (sqrt (+ x 1)))
18.0ms
(/ 1 (* (sqrt x) (sqrt (+ x 1))))

series355.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
188.0ms
(/ (/ 1 (* (sqrt x) (sqrt (+ x 1)))) (+ (sqrt (+ x 1)) (sqrt x)))
62.0ms
(/ 1 (* (sqrt x) (sqrt (+ x 1))))
57.0ms
(* (sqrt x) (sqrt (+ x 1)))
48.0ms
(+ (sqrt (+ x 1)) (sqrt x))

simplify7.3s

Counts
207 → 202
Calls
207 calls:
Slowest
203.0ms
(* (* (* (sqrt x) (sqrt x)) (sqrt x)) (* (* (sqrt (+ x 1)) (sqrt (+ x 1))) (sqrt (+ x 1))))
195.0ms
(/ (/ 1 (* (sqrt x) (sqrt (+ (pow x 3) (pow 1 3))))) (* (cbrt (+ (sqrt (+ x 1)) (sqrt x))) (cbrt (+ (sqrt (+ x 1)) (sqrt x)))))
184.0ms
(/ (* (* 1 1) 1) (* (* (* (sqrt x) (sqrt x)) (sqrt x)) (* (* (sqrt (+ x 1)) (sqrt (+ x 1))) (sqrt (+ x 1)))))
176.0ms
(/ (* (* 1 1) 1) (* (* (* (sqrt x) (sqrt (+ x 1))) (* (sqrt x) (sqrt (+ x 1)))) (* (sqrt x) (sqrt (+ x 1)))))
170.0ms
(/ (/ 1 (* (sqrt x) (sqrt (+ (pow x 3) (pow 1 3))))) (sqrt (+ (sqrt (+ x 1)) (sqrt x))))

prune1.2s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0b

regimes43.0ms

Accuracy

0% (0.4b remaining)

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

bsearch2.0ms

end0.0ms

sample2.3s

Algorithm
intervals
Results
859.0ms8167×body80nan
441.0ms1831×body640valid
399.0ms1133×body1280valid
280.0ms4078×body80valid
132.0ms653×body320valid
38.0ms305×body160valid