Details

Time bar (total: 3.7m)

sample132.0ms

Algorithm
intervals
Results
38.0ms185×body80valid
33.0ms39×body2560valid
16.0ms26×body1280valid
13.0ms104×body80nan
9.0ms15×body640valid
4.0ms11×body320valid
3.0msbody5120valid
0.0msbody160valid

simplify212.0ms

Counts
1 → 1
Calls
1 calls:
Slowest
212.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4 (* a c))))) (* 2 a))

prune21.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.6b

localize45.0ms

Local error

Found 4 expressions with local error:

21.7b
(sqrt (fma (* a c) -4 (* b b)))
0.9b
(- (- b) (sqrt (fma (* a c) -4 (* b b))))
0.6b
(fma (* a c) -4 (* b b))
0.1b
(/ (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2) a)

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
169×add-sqr-sqrt
168×*-un-lft-identity
159×times-frac
116×add-cube-cbrt
60×prod-diff
46×sqrt-prod
34×distribute-rgt-neg-in
26×distribute-lft-out-- difference-of-squares
25×associate-/l*
21×distribute-lft-neg-in
10×fma-neg
add-cbrt-cube add-exp-log
add-log-exp
neg-mul-1
pow1 div-inv
expm1-log1p-u insert-posit16 log1p-expm1-u
cbrt-undiv associate-/r* div-exp
diff-log div-sub
associate--l- neg-sub0 rem-sqrt-square clear-num sub-neg frac-2neg sqrt-pow1 flip3-- pow1/2 neg-log fma-udef flip-- associate-/l/
Counts
4 → 240
Calls
4 calls:
Slowest
47.0ms
(/ (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2) a)
22.0ms
(- (- b) (sqrt (fma (* a c) -4 (* b b))))
3.0ms
(sqrt (fma (* a c) -4 (* b b)))
0.0ms
(fma (* a c) -4 (* b b))

series419.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
134.0ms
(/ (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2) a)
118.0ms
(sqrt (fma (* a c) -4 (* b b)))
105.0ms
(- (- b) (sqrt (fma (* a c) -4 (* b b))))
62.0ms
(fma (* a c) -4 (* b b))

simplify29.6s

Counts
334 → 252
Calls
334 calls:
Slowest
418.0ms
(/ (/ (* (cbrt (- (- b) (sqrt (fma (* a c) -4 (* b b))))) (cbrt (- (- b) (sqrt (fma (* a c) -4 (* b b)))))) (* (cbrt 2) (cbrt 2))) (* (cbrt a) (cbrt a)))
280.0ms
(fma (sqrt (- b)) (sqrt (- b)) (- (* (cbrt (sqrt (fma (* a c) -4 (* b b)))) (* (cbrt (sqrt (fma (* a c) -4 (* b b)))) (cbrt (sqrt (fma (* a c) -4 (* b b))))))))
259.0ms
(fma (- 1) b (- (* (cbrt (sqrt (fma (* a c) -4 (* b b)))) (* (cbrt (sqrt (fma (* a c) -4 (* b b)))) (cbrt (sqrt (fma (* a c) -4 (* b b))))))))
258.0ms
(fma 1 (- b) (- (* (cbrt (sqrt (fma (* a c) -4 (* b b)))) (* (cbrt (sqrt (fma (* a c) -4 (* b b)))) (cbrt (sqrt (fma (* a c) -4 (* b b))))))))
244.0ms
(fma (* (cbrt b) (cbrt b)) (- (cbrt b)) (- (* (cbrt (sqrt (fma (* a c) -4 (* b b)))) (* (cbrt (sqrt (fma (* a c) -4 (* b b)))) (cbrt (sqrt (fma (* a c) -4 (* b b))))))))

prune3.3s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 5.3b

localize22.0ms

Local error

Found 4 expressions with local error:

21.7b
(sqrt (fma (* a c) -4 (* b b)))
0.9b
(- (- b) (sqrt (fma (* a c) -4 (* b b))))
0.6b
(fma (* a c) -4 (* b b))
0.1b
(/ (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2) a)

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
169×add-sqr-sqrt
168×*-un-lft-identity
159×times-frac
116×add-cube-cbrt
60×prod-diff
46×sqrt-prod
34×distribute-rgt-neg-in
26×distribute-lft-out-- difference-of-squares
25×associate-/l*
21×distribute-lft-neg-in
10×fma-neg
add-cbrt-cube add-exp-log
add-log-exp
neg-mul-1
pow1 div-inv
expm1-log1p-u insert-posit16 log1p-expm1-u
cbrt-undiv associate-/r* div-exp
diff-log div-sub
associate--l- neg-sub0 rem-sqrt-square clear-num sub-neg frac-2neg sqrt-pow1 flip3-- pow1/2 neg-log fma-udef flip-- associate-/l/
Counts
4 → 240
Calls
4 calls:
Slowest
28.0ms
(/ (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2) a)
24.0ms
(- (- b) (sqrt (fma (* a c) -4 (* b b))))
1.0ms
(sqrt (fma (* a c) -4 (* b b)))
0.0ms
(fma (* a c) -4 (* b b))

series448.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
137.0ms
(/ (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2) a)
121.0ms
(sqrt (fma (* a c) -4 (* b b)))
105.0ms
(- (- b) (sqrt (fma (* a c) -4 (* b b))))
84.0ms
(fma (* a c) -4 (* b b))

simplify30.2s

Counts
334 → 252
Calls
334 calls:
Slowest
607.0ms
(fma (- (cbrt (sqrt (fma (* a c) -4 (* b b))))) (* (cbrt (sqrt (fma (* a c) -4 (* b b)))) (cbrt (sqrt (fma (* a c) -4 (* b b))))) (* (cbrt (sqrt (fma (* a c) -4 (* b b)))) (* (cbrt (sqrt (fma (* a c) -4 (* b b)))) (cbrt (sqrt (fma (* a c) -4 (* b b)))))))
411.0ms
(/ (/ (* (cbrt (- (- b) (sqrt (fma (* a c) -4 (* b b))))) (cbrt (- (- b) (sqrt (fma (* a c) -4 (* b b)))))) (* (cbrt 2) (cbrt 2))) (* (cbrt a) (cbrt a)))
265.0ms
(fma (* (cbrt b) (cbrt b)) (- (cbrt b)) (- (* (cbrt (sqrt (fma (* a c) -4 (* b b)))) (* (cbrt (sqrt (fma (* a c) -4 (* b b)))) (cbrt (sqrt (fma (* a c) -4 (* b b))))))))
240.0ms
(fma (- 1) b (- (* (cbrt (sqrt (fma (* a c) -4 (* b b)))) (* (cbrt (sqrt (fma (* a c) -4 (* b b)))) (cbrt (sqrt (fma (* a c) -4 (* b b))))))))
235.0ms
(fma (* (cbrt (- b)) (cbrt (- b))) (cbrt (- b)) (- (* (cbrt (sqrt (fma (* a c) -4 (* b b)))) (* (cbrt (sqrt (fma (* a c) -4 (* b b)))) (cbrt (sqrt (fma (* a c) -4 (* b b))))))))

prune3.0s

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 5.3b

localize58.0ms

Local error

Found 4 expressions with local error:

21.7b
(sqrt (fma (* a c) -4 (* b b)))
0.9b
(- (- b) (sqrt (fma (* a c) -4 (* b b))))
0.6b
(fma (* a c) -4 (* b b))
0.2b
(/ 1 (/ a (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2)))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
792×times-frac
512×add-sqr-sqrt
511×*-un-lft-identity
363×add-cube-cbrt
80×associate-/r*
74×distribute-lft-out-- difference-of-squares
70×sqrt-prod
60×prod-diff
58×distribute-rgt-neg-in
25×add-exp-log
21×distribute-lft-neg-in
17×div-inv
15×div-exp
13×add-cbrt-cube
10×fma-neg
add-log-exp
neg-mul-1
pow1 cbrt-undiv
associate-/r/
expm1-log1p-u insert-posit16 log1p-expm1-u
rec-exp 1-exp associate-/l*
diff-log
associate--l- neg-sub0 rem-sqrt-square clear-num sub-neg frac-2neg sqrt-pow1 flip3-- pow1/2 neg-log fma-udef pow-flip flip-- inv-pow
Counts
4 → 469
Calls
4 calls:
Slowest
35.0ms
(/ 1 (/ a (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2)))
20.0ms
(- (- b) (sqrt (fma (* a c) -4 (* b b))))
2.0ms
(sqrt (fma (* a c) -4 (* b b)))
0.0ms
(fma (* a c) -4 (* b b))

series475.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
143.0ms
(sqrt (fma (* a c) -4 (* b b)))
142.0ms
(/ 1 (/ a (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2)))
116.0ms
(- (- b) (sqrt (fma (* a c) -4 (* b b))))
75.0ms
(fma (* a c) -4 (* b b))

simplify2.2m

Counts
724 → 481
Calls
724 calls:
Slowest
880.0ms
(/ (sqrt 1) (/ (sqrt a) (/ (- (sqrt (- b)) (sqrt (sqrt (fma (* a c) -4 (* b b))))) (cbrt 2))))
661.0ms
(/ (* (cbrt 1) (cbrt 1)) (/ 1 (/ (* (cbrt (- (- b) (sqrt (fma (* a c) -4 (* b b))))) (cbrt (- (- b) (sqrt (fma (* a c) -4 (* b b)))))) (sqrt 2))))
544.0ms
(/ (* (cbrt 1) (cbrt 1)) (/ (* (cbrt a) (cbrt a)) (- (- b) (sqrt (fma (* a c) -4 (* b b))))))
536.0ms
(/ (* (cbrt 1) (cbrt 1)) (/ 1 (/ (* (cbrt (- (- b) (sqrt (fma (* a c) -4 (* b b))))) (cbrt (- (- b) (sqrt (fma (* a c) -4 (* b b)))))) (* (cbrt 2) (cbrt 2)))))
533.0ms
(/ (sqrt 1) (/ (* (cbrt a) (cbrt a)) (- (- b) (sqrt (fma (* a c) -4 (* b b))))))

prune6.4s

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 5.3b

localize26.0ms

Local error

Found 4 expressions with local error:

21.7b
(sqrt (fma (* a c) -4 (* b b)))
0.9b
(+ (sqrt (fma (* a c) -4 (* b b))) b)
0.6b
(fma (* a c) -4 (* b b))
0.2b
(* (/ 1 a) (* -1/2 (+ (sqrt (fma (* a c) -4 (* b b))) b)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
26×add-exp-log
16×*-un-lft-identity add-cbrt-cube
15×add-sqr-sqrt
14×add-cube-cbrt
13×associate-*l*
12×prod-exp
10×pow1
times-frac
fma-def associate-*r/ sqrt-prod cbrt-unprod add-log-exp
distribute-rgt-in expm1-log1p-u distribute-lft-in div-exp insert-posit16 log1p-expm1-u
flip3-+ pow-prod-down flip-+
frac-times cbrt-undiv rec-exp 1-exp
+-commutative rem-sqrt-square sum-log sqrt-pow1 pow1/2 associate-*r* associate-*l/ *-commutative fma-udef div-inv distribute-lft-out
Counts
4 → 96
Calls
4 calls:
Slowest
40.0ms
(* (/ 1 a) (* -1/2 (+ (sqrt (fma (* a c) -4 (* b b))) b)))
6.0ms
(+ (sqrt (fma (* a c) -4 (* b b))) b)
1.0ms
(sqrt (fma (* a c) -4 (* b b)))
0.0ms
(fma (* a c) -4 (* b b))

series476.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
169.0ms
(* (/ 1 a) (* -1/2 (+ (sqrt (fma (* a c) -4 (* b b))) b)))
119.0ms
(+ (sqrt (fma (* a c) -4 (* b b))) b)
114.0ms
(sqrt (fma (* a c) -4 (* b b)))
74.0ms
(fma (* a c) -4 (* b b))

simplify6.8s

Counts
61 → 108
Calls
61 calls:
Slowest
789.0ms
(* (* (* (/ 1 a) (/ 1 a)) (/ 1 a)) (* (* (* -1/2 (+ (sqrt (fma (* a c) -4 (* b b))) b)) (* -1/2 (+ (sqrt (fma (* a c) -4 (* b b))) b))) (* -1/2 (+ (sqrt (fma (* a c) -4 (* b b))) b))))
607.0ms
(* (/ (* (* 1 1) 1) (* (* a a) a)) (* (* (* -1/2 (+ (sqrt (fma (* a c) -4 (* b b))) b)) (* -1/2 (+ (sqrt (fma (* a c) -4 (* b b))) b))) (* -1/2 (+ (sqrt (fma (* a c) -4 (* b b))) b))))
544.0ms
(* (/ (* (* 1 1) 1) (* (* a a) a)) (* (* (* -1/2 -1/2) -1/2) (* (* (+ (sqrt (fma (* a c) -4 (* b b))) b) (+ (sqrt (fma (* a c) -4 (* b b))) b)) (+ (sqrt (fma (* a c) -4 (* b b))) b))))
440.0ms
(* (* (* (/ 1 a) (/ 1 a)) (/ 1 a)) (* (* (* -1/2 -1/2) -1/2) (* (* (+ (sqrt (fma (* a c) -4 (* b b))) b) (+ (sqrt (fma (* a c) -4 (* b b))) b)) (+ (sqrt (fma (* a c) -4 (* b b))) b))))
316.0ms
(+ (* (sqrt (fma (* a c) -4 (* b b))) (sqrt (fma (* a c) -4 (* b b)))) (- (* b b) (* (sqrt (fma (* a c) -4 (* b b))) b)))

prune1.2s

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 5.3b

regimes379.0ms

Accuracy

82.9% (4.7b remaining)

Error of 10.6b against oracle of 5.9b and baseline of 33.5b

bsearch221.0ms

end0.0ms

sample4.5s

Algorithm
intervals
Results
1.5s1013×body2560valid
1.0s5911×body80valid
675.0ms882×body1280valid
376.0ms2839×body80nan
266.0ms453×body640valid
180.0ms116×body5120valid
94.0ms221×body320valid
29.0ms108×body160valid