Details

Time bar (total: 58.4s)

sample119.0ms

Algorithm
intervals
Results
31.0ms29×body1280valid
29.0ms35×body2560valid
24.0ms182×body80valid
11.0ms97×body80nan
6.0ms12×body640valid
3.0msbody320valid
2.0msbody5120valid
0.0msbody160valid

simplify186.0ms

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

prune20.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.2b

localize31.0ms

Local error

Found 4 expressions with local error:

25.7b
(sqrt (fma (* a c) -4 (* b b)))
0.8b
(fma (* a c) -4 (* b b))
0.5b
(- (- b) (sqrt (fma (* a c) -4 (* b b))))
0.1b
(/ (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2) a)

rewrite48.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/
Calls
4 calls:
Slowest
31.0ms
(/ (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2) a)
10.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))

series424.0ms

Calls
4 calls:
Slowest
127.0ms
(sqrt (fma (* a c) -4 (* b b)))
116.0ms
(/ (/ (- (- b) (sqrt (fma (* a c) -4 (* b b)))) 2) a)
108.0ms
(- (- b) (sqrt (fma (* a c) -4 (* b b))))
72.0ms
(fma (* a c) -4 (* b b))

simplify30.3s

Calls
334 calls:
Slowest
489.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)))
289.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))))))))
256.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))))))))
231.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))))))))
228.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)))))))

prune3.1s

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 7.8b

localize26.0ms

Local error

Found 3 expressions with local error:

25.7b
(sqrt (fma a (* c -4) (* b b)))
0.5b
(+ b (sqrt (fma a (* c -4) (* b b))))
0.2b
(* (- (+ b (sqrt (fma a (* c -4) (* b b))))) (/ 1/2 a))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt *-un-lft-identity
15×add-cube-cbrt
13×associate-*r*
12×associate-*l*
10×times-frac
add-cbrt-cube add-exp-log
pow1
add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in distribute-neg-frac
expm1-log1p-u fma-def flip3-+ sqrt-prod flip-+ insert-posit16 log1p-expm1-u distribute-lft-out
frac-times associate-*l/ prod-exp cbrt-unprod unswap-sqr
distribute-lft-neg-out cbrt-undiv +-commutative rem-sqrt-square neg-mul-1 sum-log sqrt-pow1 pow1/2 div-exp pow-prod-down associate-*r/ *-commutative div-inv
Calls
3 calls:
Slowest
68.0ms
(* (- (+ b (sqrt (fma a (* c -4) (* b b))))) (/ 1/2 a))
10.0ms
(+ b (sqrt (fma a (* c -4) (* b b))))
2.0ms
(sqrt (fma a (* c -4) (* b b)))

series294.0ms

Calls
3 calls:
Slowest
115.0ms
(* (- (+ b (sqrt (fma a (* c -4) (* b b))))) (/ 1/2 a))
90.0ms
(sqrt (fma a (* c -4) (* b b)))
89.0ms
(+ b (sqrt (fma a (* c -4) (* b b))))

simplify3.8s

Calls
55 calls:
Slowest
378.0ms
(* (* (* (- (+ b (sqrt (fma a (* c -4) (* b b))))) (- (+ b (sqrt (fma a (* c -4) (* b b)))))) (- (+ b (sqrt (fma a (* c -4) (* b b)))))) (/ (* (* 1/2 1/2) 1/2) (* (* a a) a)))
373.0ms
(* (+ (* b b) (- (* (sqrt (fma a (* c -4) (* b b))) (sqrt (fma a (* c -4) (* b b)))) (* b (sqrt (fma a (* c -4) (* b b)))))) a)
274.0ms
(* (- (+ (pow b 3) (pow (sqrt (fma a (* c -4) (* b b))) 3))) (/ 1/2 a))
258.0ms
(* (- (+ (pow b 3) (pow (sqrt (fma a (* c -4) (* b b))) 3))) 1/2)
229.0ms
(- (* 2 b) (* 2 (/ (* a c) b)))

prune1.1s

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 7.8b

localize38.0ms

Local error

Found 4 expressions with local error:

25.7b
(sqrt (fma (* a c) -4 (* b b)))
1.0b
(/ 1 (sqrt 2))
0.8b
(fma (* a c) -4 (* b b))
0.5b
(- (- b) (sqrt (fma (* a c) -4 (* b b))))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
66×add-sqr-sqrt
65×*-un-lft-identity
61×add-cube-cbrt
60×prod-diff
46×sqrt-prod
22×distribute-rgt-neg-in
21×distribute-lft-neg-in
18×times-frac
10×fma-neg
add-exp-log add-log-exp
pow1 neg-mul-1
associate-/r* add-cbrt-cube
expm1-log1p-u insert-posit16 log1p-expm1-u
pow-flip associate-/l*
sqrt-pow1 pow1/2 diff-log div-exp distribute-lft-out-- difference-of-squares
associate--l- neg-sub0 cbrt-undiv rem-sqrt-square rec-exp clear-num sub-neg frac-2neg flip3-- 1-exp neg-log fma-udef div-inv flip-- inv-pow
Calls
4 calls:
Slowest
20.0ms
(- (- b) (sqrt (fma (* a c) -4 (* b b))))
10.0ms
(/ 1 (sqrt 2))
3.0ms
(sqrt (fma (* a c) -4 (* b b)))
0.0ms
(fma (* a c) -4 (* b b))

series701.0ms

Calls
4 calls:
Slowest
482.0ms
(fma (* a c) -4 (* b b))
121.0ms
(sqrt (fma (* a c) -4 (* b b)))
98.0ms
(- (- b) (sqrt (fma (* a c) -4 (* b b))))
0.0ms
(/ 1 (sqrt 2))

simplify14.7s

Calls
200 calls:
Slowest
273.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))))))))
263.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))))))))
262.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))))))))
250.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))))))))
248.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))))))))

prune2.1s

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 7.8b

localize28.0ms

Local error

Found 4 expressions with local error:

25.7b
(sqrt (fma (* a c) -4 (* b b)))
5.7b
(- (/ (/ (- b) 2) a) (/ (/ (sqrt (fma (* a c) -4 (* b b))) 2) a))
0.8b
(fma (* a c) -4 (* b b))
0.1b
(/ (/ (sqrt (fma (* a c) -4 (* b b))) 2) a)

rewrite848.0ms

Algorithm
rewrite-expression-head
Rules
26601×times-frac
13477×add-sqr-sqrt
13469×*-un-lft-identity
13425×add-cube-cbrt
7420×prod-diff
2904×sqrt-prod
1926×distribute-rgt-neg-in
1917×distribute-lft-neg-in
721×div-inv
639×neg-mul-1
106×fma-neg
22×associate-/l* distribute-lft-out--
12×difference-of-squares
add-cbrt-cube add-exp-log
add-log-exp
pow1
expm1-log1p-u distribute-rgt-out-- insert-posit16 log1p-expm1-u
cbrt-undiv associate-/r* div-exp
div-sub
associate--l- neg-sub0 rem-sqrt-square clear-num sub-neg frac-2neg sqrt-pow1 flip3-- pow1/2 diff-log frac-sub fma-udef flip-- sub-div associate-/l/
Calls
4 calls:
Slowest
75.0ms
(- (/ (/ (- b) 2) a) (/ (/ (sqrt (fma (* a c) -4 (* b b))) 2) a))
21.0ms
(/ (/ (sqrt (fma (* a c) -4 (* b b))) 2) a)
2.0ms
(sqrt (fma (* a c) -4 (* b b)))
0.0ms
(fma (* a c) -4 (* b b))

series440.0ms

Calls
4 calls:
Slowest
141.0ms
(/ (/ (sqrt (fma (* a c) -4 (* b b))) 2) a)
118.0ms
(- (/ (/ (- b) 2) a) (/ (/ (sqrt (fma (* a c) -4 (* b b))) 2) a))
109.0ms
(sqrt (fma (* a c) -4 (* b b)))
71.0ms
(fma (* a c) -4 (* b b))