Details

Time bar (total: 44.7s)

sample151.0ms

Algorithm
intervals
Results
54.0ms140×body160valid
29.0ms248×body80nan
27.0ms504×pre80true
14.0ms116×body80valid

simplify148.0ms

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

prune11.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.4b

localize42.0ms

Local error

Found 4 expressions with local error:

27.2b
(- (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)))

rewrite44.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
22.0ms
(/ (/ (- (sqrt (fma c (* -4 a) (* b b))) b) 2) a)
13.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))

series453.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
134.0ms
(sqrt (fma c (* -4 a) (* b b)))
124.0ms
(- (sqrt (fma c (* -4 a) (* b b))) b)
117.0ms
(/ (/ (- (sqrt (fma c (* -4 a) (* b b))) b) 2) a)
78.0ms
(fma c (* -4 a) (* b b))

simplify14.5s

Counts
225 → 191
Calls
225 calls:
Slowest
449.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)))
197.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))
195.0ms
(/ (/ (* (* (- (sqrt (fma c (* -4 a) (* b b))) b) (- (sqrt (fma c (* -4 a) (* b b))) b)) (- (sqrt (fma c (* -4 a) (* b b))) b)) (* (* 2 2) 2)) (* (* a a) a))
194.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))

prune2.4s

Pruning

29 alts after pruning (29 fresh and 0 done)

Merged error: 25.1b

localize37.0ms

Local error

Found 4 expressions with local error:

27.2b
(- (sqrt (fma b b (* (* a -4) c))) b)
0.4b
(* (- (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))

rewrite47.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
Counts
4 → 111
Calls
4 calls:
Slowest
36.0ms
(* (- (sqrt (fma b b (* (* a -4) c))) b) (/ 1/2 a))
9.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))

series458.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
168.0ms
(* (- (sqrt (fma b b (* (* a -4) c))) b) (/ 1/2 a))
109.0ms
(- (sqrt (fma b b (* (* a -4) c))) b)
107.0ms
(sqrt (fma b b (* (* a -4) c)))
73.0ms
(fma b b (* (* a -4) c))

simplify5.8s

Counts
96 → 123
Calls
96 calls:
Slowest
501.0ms
(* (- (* (sqrt (fma b b (* (* a -4) c))) (sqrt (fma b b (* (* a -4) c)))) (* b b)) 1/2)
443.0ms
(+ (log (- (sqrt (fma b b (* (* a -4) c))) b)) (log (/ 1/2 a)))
265.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)
261.0ms
(* (- (pow (sqrt (fma b b (* (* a -4) c))) 3) (pow b 3)) (/ 1/2 a))
225.0ms
(* (- (pow (sqrt (fma b b (* (* a -4) c))) 3) (pow b 3)) 1/2)

prune1.2s

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.2b

localize42.0ms

Local error

Found 4 expressions with local error:

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

rewrite80.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/
Counts
4 → 105
Calls
4 calls:
Slowest
42.0ms
(/ (* (/ 1/2 a) (fma a (* c -4) 0)) (+ (sqrt (fma b b (* (* a -4) c))) b))
20.0ms
(* (/ 1/2 a) (fma a (* c -4) 0))
13.0ms
(+ (sqrt (fma b b (* (* a -4) c))) b)
2.0ms
(sqrt (fma b b (* (* a -4) c)))

series579.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
300.0ms
(/ (* (/ 1/2 a) (fma a (* c -4) 0)) (+ (sqrt (fma b b (* (* a -4) c))) b))
123.0ms
(+ (sqrt (fma b b (* (* a -4) c))) b)
89.0ms
(sqrt (fma b b (* (* a -4) c)))
67.0ms
(* (/ 1/2 a) (fma a (* c -4) 0))

simplify7.3s

Counts
72 → 117
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)))
644.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)))
519.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)))
410.0ms
(/ (* (* (* (/ 1/2 a) (/ 1/2 a)) (/ 1/2 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)))
387.0ms
(- (+ (log (/ 1/2 a)) (log (fma a (* c -4) 0))) (log (+ (sqrt (fma b b (* (* a -4) c))) b)))

prune1.5s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0b

localize43.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (* -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))

rewrite37.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*
Counts
4 → 76
Calls
4 calls:
Slowest
27.0ms
(/ (* -2 c) (+ (sqrt (fma b b (* (* a -4) c))) b))
7.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))

series556.0ms

Counts
4 → 12
Calls
4 calls:
Slowest
237.0ms
(/ (* -2 c) (+ (sqrt (fma b b (* (* a -4) c))) b))
132.0ms
(+ (sqrt (fma b b (* (* a -4) c))) b)
99.0ms
(sqrt (fma b b (* (* a -4) c)))
88.0ms
(fma b b (* (* a -4) c))

simplify2.9s

Counts
42 → 88
Calls
42 calls:
Slowest
340.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)))
308.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)))
278.0ms
(- b (* 2 (/ (* a c) b)))
271.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)))
269.0ms
(- (* 2 b) (* 2 (/ (* a c) b)))

prune1.0s

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

regimes249.0ms

Accuracy

0% (0.4b remaining)

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

bsearch2.0ms

end0.0ms

sample5.1s

Algorithm
intervals
Results
1.6s4408×body160valid
1.2s8570×body80nan
1.1s16570×pre80true
599.0ms3592×body80valid