Details

Time bar (total: 29.3s)

sample115.0ms

Algorithm
intervals
Results
66.0ms279×body80valid
19.0ms81×body80nan

simplify225.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
225.0ms
(if (>= b 0) (/ (* 2 c) (- (- b) (sqrt (- (* b b) (* (* 4 a) c))))) (/ (+ (- b) (sqrt (- (* b b) (* (* 4 a) c)))) (* 2 a)))

prune9.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.6b

localize139.0ms

Local error

Found 4 expressions with local error:

22.4b
(sqrt (- (* b b) (* (* 4 a) c)))
22.4b
(sqrt (- (* b b) (* (* 4 a) c)))
1.1b
(+ (- b) (sqrt (- (* b b) (* (* 4 a) c))))
0.9b
(- (- b) (sqrt (- (* b b) (* (* 4 a) c))))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
12×add-sqr-sqrt add-log-exp
sqrt-prod
pow1 add-cube-cbrt
add-cbrt-cube sqrt-div add-exp-log insert-posit16
flip3-- flip--
neg-sub0 rem-sqrt-square sum-log distribute-rgt-neg-in sqrt-pow1 pow1/2 diff-log neg-log distribute-lft-out distribute-lft-out-- difference-of-squares
associate--l- +-commutative sub-neg flip3-+ associate-+l- flip-+
Counts
4 → 67
Calls
4 calls:
Slowest
29.0ms
(- (- b) (sqrt (- (* b b) (* (* 4 a) c))))
13.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4 a) c))))
8.0ms
(sqrt (- (* b b) (* (* 4 a) c)))
7.0ms
(sqrt (- (* b b) (* (* 4 a) c)))

series378.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
116.0ms
(- (- b) (sqrt (- (* b b) (* (* 4 a) c))))
96.0ms
(sqrt (- (* b b) (* (* 4 a) c)))
86.0ms
(sqrt (- (* b b) (* (* 4 a) c)))
80.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4 a) c))))

simplify3.8s

Counts
38 → 79
Calls
38 calls:
Slowest
363.0ms
(sqrt (- (* (* b b) (* b b)) (* (* (* 4 a) c) (* (* 4 a) c))))
320.0ms
(sqrt (- (* (* b b) (* b b)) (* (* (* 4 a) c) (* (* 4 a) c))))
284.0ms
(- b (* 2 (/ (* a c) b)))
282.0ms
(- b (* 2 (/ (* a c) b)))
198.0ms
(sqrt (- (pow (* b b) 3) (pow (* (* 4 a) c) 3)))

prune1.2s

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 7.9b

localize192.0ms

Local error

Found 4 expressions with local error:

22.4b
(sqrt (- (* b b) (* (* 4 a) c)))
22.4b
(sqrt (- (* b b) (* (* 4 a) c)))
22.4b
(sqrt (- (* b b) (* (* 4 a) c)))
8.9b
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4 a) c))))))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
add-log-exp
pow1 *-un-lft-identity add-cube-cbrt
sqrt-div
add-cbrt-cube add-exp-log insert-posit16
rem-sqrt-square sqrt-pow1 flip3-- pow1/2 flip--
sum-log
neg-sub0 +-commutative flip3-+ neg-log associate-+l- flip-+
Counts
4 → 62
Calls
4 calls:
Slowest
16.0ms
(sqrt (- (* b b) (* (* 4 a) c)))
15.0ms
(sqrt (- (* b b) (* (* 4 a) c)))
7.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4 a) c))))))
7.0ms
(sqrt (- (* b b) (* (* 4 a) c)))

series412.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
117.0ms
(sqrt (- (* b b) (* (* 4 a) c)))
106.0ms
(+ (- b) (* (sqrt (sqrt (- (* b b) (* (* 4 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4 a) c))))))
96.0ms
(sqrt (- (* b b) (* (* 4 a) c)))
93.0ms
(sqrt (- (* b b) (* (* 4 a) c)))

simplify4.1s

Counts
35 → 74
Calls
35 calls:
Slowest
384.0ms
(sqrt (- (* (* b b) (* b b)) (* (* (* 4 a) c) (* (* 4 a) c))))
382.0ms
(sqrt (- (* (* b b) (* b b)) (* (* (* 4 a) c) (* (* 4 a) c))))
352.0ms
(* (/ 1 (exp b)) (exp (* (sqrt (sqrt (- (* b b) (* (* 4 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4 a) c)))))))
308.0ms
(sqrt (- (* (* b b) (* b b)) (* (* (* 4 a) c) (* (* 4 a) c))))
296.0ms
(* (exp (- b)) (exp (* (sqrt (sqrt (- (* b b) (* (* 4 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4 a) c)))))))

prune1.3s

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 7.9b

localize181.0ms

Local error

Found 4 expressions with local error:

23.1b
(cbrt (- (* b b) (* (* 4 a) c)))
23.1b
(cbrt (- (* b b) (* (* 4 a) c)))
22.4b
(sqrt (- (* b b) (* (* 4 a) c)))
22.4b
(sqrt (- (* b b) (* (* 4 a) c)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
*-un-lft-identity add-cube-cbrt
cbrt-prod pow1 sqrt-prod
cbrt-div flip3-- add-cbrt-cube sqrt-div add-exp-log insert-posit16 flip-- add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 pow1/3
Counts
4 → 60
Calls
4 calls:
Slowest
7.0ms
(sqrt (- (* b b) (* (* 4 a) c)))
7.0ms
(sqrt (- (* b b) (* (* 4 a) c)))
5.0ms
(cbrt (- (* b b) (* (* 4 a) c)))
5.0ms
(cbrt (- (* b b) (* (* 4 a) c)))

series485.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
142.0ms
(cbrt (- (* b b) (* (* 4 a) c)))
123.0ms
(sqrt (- (* b b) (* (* 4 a) c)))
121.0ms
(cbrt (- (* b b) (* (* 4 a) c)))
98.0ms
(sqrt (- (* b b) (* (* 4 a) c)))

simplify4.5s

Counts
36 → 72
Calls
36 calls:
Slowest
387.0ms
(- (exp (* 1/3 (+ (log -4) (+ (log a) (log c))))) (* 1/12 (* (exp (* 1/3 (- (log -4) (+ (* 2 (log a)) (* 2 (log c)))))) (pow b 2))))
385.0ms
(sqrt (- (* (* b b) (* b b)) (* (* (* 4 a) c) (* (* 4 a) c))))
382.0ms
(sqrt (- (* (* b b) (* b b)) (* (* (* 4 a) c) (* (* 4 a) c))))
350.0ms
(cbrt (- (* (* b b) (* b b)) (* (* (* 4 a) c) (* (* 4 a) c))))
337.0ms
(- (exp (* 1/3 (+ (log -4) (+ (log a) (log c))))) (* 1/12 (* (exp (* 1/3 (- (log -4) (+ (* 2 (log a)) (* 2 (log c)))))) (pow b 2))))

prune1.5s

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 7.9b

localize209.0ms

Local error

Found 4 expressions with local error:

23.1b
(cbrt (- (* b b) (* (* 4 a) c)))
23.1b
(cbrt (- (* b b) (* (* 4 a) c)))
23.1b
(cbrt (- (* b b) (* (* 4 a) c)))
22.4b
(sqrt (- (* b b) (* (* 4 a) c)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt
*-un-lft-identity add-cube-cbrt
cbrt-div
pow1
flip3-- add-cbrt-cube add-exp-log insert-posit16 flip-- add-log-exp
pow1/3 sqrt-prod
sqrt-div
rem-sqrt-square sqrt-pow1 pow1/2
Counts
4 → 58
Calls
4 calls:
Slowest
15.0ms
(cbrt (- (* b b) (* (* 4 a) c)))
12.0ms
(sqrt (- (* b b) (* (* 4 a) c)))
10.0ms
(cbrt (- (* b b) (* (* 4 a) c)))
10.0ms
(cbrt (- (* b b) (* (* 4 a) c)))

series477.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
130.0ms
(cbrt (- (* b b) (* (* 4 a) c)))
120.0ms
(sqrt (- (* b b) (* (* 4 a) c)))
114.0ms
(cbrt (- (* b b) (* (* 4 a) c)))
113.0ms
(cbrt (- (* b b) (* (* 4 a) c)))

simplify4.7s

Counts
34 → 70
Calls
34 calls:
Slowest
496.0ms
(- (* b b) (* (* 4 a) c))
402.0ms
(cbrt (- (* (* b b) (* b b)) (* (* (* 4 a) c) (* (* 4 a) c))))
377.0ms
(- (exp (* 1/3 (+ (log -4) (+ (log a) (log c))))) (* 1/12 (* (exp (* 1/3 (- (log -4) (+ (* 2 (log a)) (* 2 (log c)))))) (pow b 2))))
370.0ms
(- (exp (* 1/3 (+ (log -4) (+ (log a) (log c))))) (* 1/12 (* (exp (* 1/3 (- (log -4) (+ (* 2 (log a)) (* 2 (log c)))))) (pow b 2))))
341.0ms
(sqrt (- (* (* b b) (* b b)) (* (* (* 4 a) c) (* (* 4 a) c))))

prune1.6s

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 7.9b

regimes364.0ms

Accuracy

93% (0.9b remaining)

Error of 6.6b against oracle of 5.7b and baseline of 18.9b

bsearch272.0ms

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.8s8682×body80valid
549.0ms2862×body80nan