Details

Time bar (total: 43.4s)

sample148.0ms

Algorithm
intervals
Results
39.0ms275×body80nan
38.0ms144×body160valid
30.0ms531×pre80true
16.0ms112×body80valid

simplify180.0ms

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

prune19.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.3b

localize39.0ms

Local error

Found 4 expressions with local error:

29.1b
(- (sqrt (fma c (* -4 a) (* b b))) b)
0.3b
(/ (/ (- (sqrt (fma c (* -4 a) (* b b))) b) 2) a)
0.2b
(fma c (* -4 a) (* b b))
0.1b
(sqrt (fma c (* -4 a) (* b b)))

rewrite61.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/
Calls
4 calls:
Slowest
37.0ms
(/ (/ (- (sqrt (fma c (* -4 a) (* b b))) b) 2) a)
15.0ms
(- (sqrt (fma c (* -4 a) (* b b))) b)
2.0ms
(sqrt (fma c (* -4 a) (* b b)))
0.0ms
(fma c (* -4 a) (* b b))

series419.0ms

Calls
4 calls:
Slowest
137.0ms
(- (sqrt (fma c (* -4 a) (* b b))) b)
112.0ms
(/ (/ (- (sqrt (fma c (* -4 a) (* b b))) b) 2) a)
104.0ms
(sqrt (fma c (* -4 a) (* b b)))
66.0ms
(fma c (* -4 a) (* b b))

simplify14.1s

Calls
225 calls:
Slowest
377.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)))
203.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))
193.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))
175.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)))
164.0ms
(/ (/ (- (sqrt (sqrt (fma c (* -4 a) (* b b)))) (sqrt b)) (sqrt 2)) a)

prune2.3s

Pruning

34 alts after pruning (34 fresh and 0 done)

Merged error: 26.6b

localize40.0ms

Local error

Found 4 expressions with local error:

29.1b
(- (sqrt (fma b b (* (* a -4) c))) b)
0.3b
(* (- (sqrt (fma b b (* (* a -4) c))) b) (/ 1/2 a))
0.1b
(sqrt (fma b b (* (* a -4) c)))
0.0b
(fma b b (* (* a -4) c))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
31×*-un-lft-identity
27×add-cube-cbrt
18×prod-diff
17×sqrt-prod
13×associate-*r*
10×times-frac
add-cbrt-cube add-exp-log
pow1
fma-neg associate-*l* add-log-exp
expm1-log1p-u insert-posit16 log1p-expm1-u difference-of-squares
flip3-- flip--
frac-times associate-*l/ prod-exp cbrt-unprod distribute-lft-out-- unswap-sqr
cbrt-undiv rem-sqrt-square sub-neg sqrt-pow1 pow1/2 diff-log div-exp pow-prod-down associate-*r/ *-commutative fma-udef div-inv
Calls
4 calls:
Slowest
43.0ms
(* (- (sqrt (fma b b (* (* a -4) c))) b) (/ 1/2 a))
17.0ms
(- (sqrt (fma b b (* (* a -4) c))) b)
1.0ms
(sqrt (fma b b (* (* a -4) c)))
0.0ms
(fma b b (* (* a -4) c))

series375.0ms

Calls
4 calls:
Slowest
130.0ms
(* (- (sqrt (fma b b (* (* a -4) c))) b) (/ 1/2 a))
103.0ms
(- (sqrt (fma b b (* (* a -4) c))) b)
81.0ms
(sqrt (fma b b (* (* a -4) c)))
61.0ms
(fma b b (* (* a -4) c))

simplify5.6s

Calls
96 calls:
Slowest
494.0ms
(* (- (* (sqrt (fma b b (* (* a -4) c))) (sqrt (fma b b (* (* a -4) c)))) (* b b)) 1/2)
289.0ms
(* (+ (* (sqrt (fma b b (* (* a -4) c))) (sqrt (fma b b (* (* a -4) c)))) (+ (* b b) (* (sqrt (fma b b (* (* a -4) c))) b))) a)
273.0ms
(* (- (pow (sqrt (fma b b (* (* a -4) c))) 3) (pow b 3)) (/ 1/2 a))
222.0ms
(* (- (pow (sqrt (fma b b (* (* a -4) c))) 3) (pow b 3)) 1/2)
221.0ms
(- b (* 2 (/ (* a c) b)))

prune1.4s

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.2b

localize57.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ 1/2 a) (fma a (* c -4) 0))
0.2b
(/ (* (/ 1/2 a) (fma a (* c -4) 0)) (+ (sqrt (fma b b (* (* a -4) c))) b))
0.2b
(+ (sqrt (fma b b (* (* a -4) c))) b)
0.1b
(sqrt (fma b b (* (* a -4) c)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt *-un-lft-identity
18×add-cbrt-cube add-exp-log
17×add-cube-cbrt
14×times-frac
13×associate-*l*
pow1
fma-def sqrt-prod add-log-exp
cbrt-undiv div-exp
expm1-log1p-u associate-/r* prod-exp cbrt-unprod insert-posit16 log1p-expm1-u
associate-*r* distribute-lft-out
flip3-+ associate-*l/ associate-/r/ flip-+ fma-udef div-inv unswap-sqr
distribute-rgt-in +-commutative rem-sqrt-square clear-num sum-log frac-2neg distribute-lft-in sqrt-pow1 pow1/2 pow-prod-down *-commutative associate-/l* associate-/l/
Calls
4 calls:
Slowest
17.0ms
(/ (* (/ 1/2 a) (fma a (* c -4) 0)) (+ (sqrt (fma b b (* (* a -4) c))) b))
14.0ms
(+ (sqrt (fma b b (* (* a -4) c))) b)
11.0ms
(* (/ 1/2 a) (fma a (* c -4) 0))
2.0ms
(sqrt (fma b b (* (* a -4) c)))

series605.0ms

Calls
4 calls:
Slowest
296.0ms
(/ (* (/ 1/2 a) (fma a (* c -4) 0)) (+ (sqrt (fma b b (* (* a -4) c))) b))
140.0ms
(+ (sqrt (fma b b (* (* a -4) c))) b)
100.0ms
(sqrt (fma b b (* (* a -4) c)))
68.0ms
(* (/ 1/2 a) (fma a (* c -4) 0))

simplify7.1s

Calls
72 calls:
Slowest
1.1s
(* (* (* (/ 1/2 a) (/ 1/2 a)) (/ 1/2 a)) (* (* (fma a (* c -4) 0) (fma a (* c -4) 0)) (fma a (* c -4) 0)))
542.0ms
(/ (* (* (* (/ 1/2 a) (fma a (* c -4) 0)) (* (/ 1/2 a) (fma a (* c -4) 0))) (* (/ 1/2 a) (fma a (* c -4) 0))) (* (* (+ (sqrt (fma b b (* (* a -4) c))) b) (+ (sqrt (fma b b (* (* a -4) c))) b)) (+ (sqrt (fma b b (* (* a -4) c))) b)))
476.0ms
(/ (* (/ (* (* 1/2 1/2) 1/2) (* (* a a) a)) (* (* (fma a (* c -4) 0) (fma a (* c -4) 0)) (fma a (* c -4) 0))) (* (* (+ (sqrt (fma b b (* (* a -4) c))) b) (+ (sqrt (fma b b (* (* a -4) c))) b)) (+ (sqrt (fma b b (* (* a -4) c))) b)))
450.0ms
(+ (- (log 1/2) (log a)) (log (fma a (* c -4) 0)))
398.0ms
(+ (log (/ 1/2 a)) (log (fma a (* c -4) 0)))

prune1.9s

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (* -2 c) (+ (sqrt (fma b b (* (* a -4) c))) b))
0.2b
(+ (sqrt (fma b b (* (* a -4) c))) b)
0.1b
(sqrt (fma b b (* (* a -4) c)))
0.0b
(fma b b (* (* a -4) c))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
10×add-sqr-sqrt
add-cbrt-cube add-exp-log add-cube-cbrt
fma-def sqrt-prod add-log-exp
pow1
expm1-log1p-u associate-/r* times-frac insert-posit16 log1p-expm1-u
distribute-lft-out
cbrt-undiv flip3-+ div-exp associate-/r/ flip-+
+-commutative rem-sqrt-square clear-num sum-log frac-2neg sqrt-pow1 pow1/2 prod-exp cbrt-unprod fma-udef div-inv associate-/l*
Calls
4 calls:
Slowest
22.0ms
(/ (* -2 c) (+ (sqrt (fma b b (* (* a -4) c))) b))
12.0ms
(+ (sqrt (fma b b (* (* a -4) c))) b)
2.0ms
(sqrt (fma b b (* (* a -4) c)))
0.0ms
(fma b b (* (* a -4) c))

series474.0ms

Calls
4 calls:
Slowest
209.0ms
(/ (* -2 c) (+ (sqrt (fma b b (* (* a -4) c))) b))
99.0ms
(sqrt (fma b b (* (* a -4) c)))
95.0ms
(+ (sqrt (fma b b (* (* a -4) c))) b)
71.0ms
(fma b b (* (* a -4) c))

simplify2.7s

Calls
42 calls:
Slowest
382.0ms
(+ (* (sqrt (fma b b (* (* a -4) c))) (sqrt (fma b b (* (* a -4) c)))) (- (* b b) (* (sqrt (fma b b (* (* a -4) c))) b)))
294.0ms
(/ (* (* (* -2 -2) -2) (* (* c c) c)) (* (* (+ (sqrt (fma b b (* (* a -4) c))) b) (+ (sqrt (fma b b (* (* a -4) c))) b)) (+ (sqrt (fma b b (* (* a -4) c))) b)))
256.0ms
(/ (* (* (* -2 c) (* -2 c)) (* -2 c)) (* (* (+ (sqrt (fma b b (* (* a -4) c))) b) (+ (sqrt (fma b b (* (* a -4) c))) b)) (+ (sqrt (fma b b (* (* a -4) c))) b)))
231.0ms
(- (* 2 b) (* 2 (/ (* a c) b)))
217.0ms
(- b (* 2 (/ (* a c) b)))

prune830.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

regimes208.0ms

Accuracy

0% (0.3b remaining)

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

bsearch2.0ms

end0.0ms

sample4.6s

Algorithm
intervals
Results
1.6s4418×body160valid
1.1s8550×body80nan
1.1s16550×pre80true
480.0ms3582×body80valid