Details

Time bar (total: 21.1s)

sample147.0ms

Algorithm
intervals
Results
36.0ms35×body2560valid
35.0ms194×body80valid
24.0ms28×body1280valid
12.0ms79×body80nan
7.0ms11×body640valid
5.0msbody5120valid
3.0msbody320valid
1.0msbody160valid

simplify182.0ms

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

prune11.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.5b

localize27.0ms

Local error

Found 4 expressions with local error:

22.3b
(sqrt (fma c (* -4 a) (* b b)))
1.0b
(- (sqrt (fma c (* -4 a) (* b b))) b)
0.1b
(/ (/ (- (sqrt (fma c (* -4 a) (* b b))) b) 2) a)
0.0b
(fma c (* -4 a) (* b b))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
138×times-frac
135×add-sqr-sqrt
108×*-un-lft-identity
82×add-cube-cbrt
28×sqrt-prod
26×difference-of-squares
22×associate-/l*
18×prod-diff
13×distribute-lft-out--
add-cbrt-cube add-exp-log
fma-neg add-log-exp
pow1 div-inv
expm1-log1p-u insert-posit16 log1p-expm1-u
cbrt-undiv associate-/r* div-exp
div-sub
rem-sqrt-square clear-num sub-neg frac-2neg sqrt-pow1 flip3-- pow1/2 diff-log fma-udef flip-- associate-/l/
Counts
4 → 179
Calls
4 calls:
Slowest
16.0ms
(/ (/ (- (sqrt (fma c (* -4 a) (* b b))) b) 2) a)
9.0ms
(- (sqrt (fma c (* -4 a) (* b b))) b)
5.0ms
(fma c (* -4 a) (* b b))
3.0ms
(sqrt (fma c (* -4 a) (* b b)))

series537.0ms

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

simplify16.5s

Counts
225 → 191
Calls
225 calls:
Slowest
392.0ms
(/ (/ (* (cbrt (- (sqrt (fma c (* -4 a) (* b b))) b)) (cbrt (- (sqrt (fma c (* -4 a) (* b b))) b))) (* (cbrt 2) (cbrt 2))) (* (cbrt a) (cbrt a)))
212.0ms
(/ (/ (* (cbrt (- (sqrt (fma c (* -4 a) (* b b))) b)) (cbrt (- (sqrt (fma c (* -4 a) (* b b))) b))) (sqrt 2)) (* (cbrt a) (cbrt a)))
206.0ms
(/ (* (* (/ (- (sqrt (fma c (* -4 a) (* b b))) b) 2) (/ (- (sqrt (fma c (* -4 a) (* b b))) b) 2)) (/ (- (sqrt (fma c (* -4 a) (* b b))) b) 2)) (* (* a a) a))
199.0ms
(/ (/ (* (cbrt (- (sqrt (fma c (* -4 a) (* b b))) b)) (cbrt (- (sqrt (fma c (* -4 a) (* b b))) b))) (* (cbrt 2) (cbrt 2))) (sqrt a))
185.0ms
(/ (/ (* (cbrt (- (sqrt (fma c (* -4 a) (* b b))) b)) (cbrt (- (sqrt (fma c (* -4 a) (* b b))) b))) (* (cbrt 2) (cbrt 2))) 1)

prune2.6s

Pruning

15 alts after pruning (15 fresh and 0 done)

Merged error: 26.6b

localize41.0ms

Local error

Found 4 expressions with local error:

22.3b
(sqrt (fma c (* -4 a) (* b b)))
5.6b
(- (/ (/ (sqrt (fma c (* -4 a) (* b b))) 2) a) (/ (/ b 2) a))
0.1b
(/ (/ (sqrt (fma c (* -4 a) (* b b))) 2) a)
0.0b
(fma c (* -4 a) (* b b))

rewrite361.0ms

Algorithm
rewrite-expression-head
Rules
10113×times-frac
5326×add-sqr-sqrt
5300×*-un-lft-identity
5274×add-cube-cbrt
3010×prod-diff
1230×sqrt-prod
469×div-inv
70×fma-neg
22×associate-/l*
13×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
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/
Counts
4 → 3262
Calls
4 calls:
Slowest
49.0ms
(- (/ (/ (sqrt (fma c (* -4 a) (* b b))) 2) a) (/ (/ b 2) a))
16.0ms
(/ (/ (sqrt (fma c (* -4 a) (* b b))) 2) a)
1.0ms
(sqrt (fma c (* -4 a) (* b b)))
0.0ms
(fma c (* -4 a) (* b b))

series623.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
247.0ms
(/ (/ (sqrt (fma c (* -4 a) (* b b))) 2) a)
152.0ms
(sqrt (fma c (* -4 a) (* b b)))
149.0ms
(- (/ (/ (sqrt (fma c (* -4 a) (* b b))) 2) a) (/ (/ b 2) a))
75.0ms
(fma c (* -4 a) (* b b))