Details

Time bar (total: 18.5s)

sample80.0ms

Algorithm
intervals
Results
17.0ms41×body2560valid
14.0ms29×body1280valid
13.0ms178×body80valid
7.0ms93×body80nan
4.0ms17×body640valid
1.0msbody160valid
1.0msbody320valid
0.0msbody5120valid

simplify146.0ms

Counts
1 → 1
Iterations
IterNodes
done105
7105
6104
5102
494
379
243
125
014

prune14.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 35.2b

localize23.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
1.7b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
2.0b
(- (* b b) (* (* 4.0 a) c))
23.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite115.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
11×add-sqr-sqrt
10×fma-def add-cube-cbrt add-log-exp
add-cbrt-cube add-exp-log
distribute-rgt-neg-in distribute-lft-out
pow1 times-frac associate-/l*
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in sqrt-prod
neg-sub0 cbrt-undiv sum-log flip3-+ flip3-- sqrt-div div-exp associate-+l- flip-+ flip-- associate-/l/
+-commutative rem-sqrt-square clear-num associate-/r* neg-mul-1 sub-neg frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log div-sub prod-diff neg-log prod-exp cbrt-unprod div-inv
Counts
4 → 90
Calls
4 calls:
66.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
20.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
13.0ms
(- (* b b) (* (* 4.0 a) c))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series478.0ms

Counts
4 → 12
Calls
4 calls:
174.0ms
(/ (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))) (* 2.0 a))
123.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
60.0ms
(- (* b b) (* (* 4.0 a) c))
119.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.7s

Counts
102 → 102
Iterations
IterNodes
done5002
21448
1442
0167

prune722.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 5.1b

localize36.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (/ (* a 2.0) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
1.7b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
2.0b
(- (* b b) (* (* 4.0 a) c))
23.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite145.0ms

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt
60×times-frac
50×*-un-lft-identity
40×add-cube-cbrt
25×add-exp-log
20×sqrt-prod
19×prod-diff
13×add-cbrt-cube
12×associate-/r* div-exp
10×difference-of-squares
associate-/r/
add-log-exp
flip3-- fma-neg flip--
pow1
cbrt-undiv div-inv distribute-lft-out--
expm1-log1p-u log1p-expm1-u
rec-exp 1-exp prod-exp associate-/l*
sub-neg sqrt-div diff-log
rem-sqrt-square clear-num frac-2neg sqrt-pow1 pow1/2 cbrt-unprod pow-flip inv-pow
Counts
4 → 152
Calls
4 calls:
80.0ms
(/ 1 (/ (* a 2.0) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
44.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
7.0ms
(- (* b b) (* (* 4.0 a) c))
9.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series479.0ms

Counts
4 → 12
Calls
4 calls:
203.0ms
(/ 1 (/ (* a 2.0) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
100.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
64.0ms
(- (* b b) (* (* 4.0 a) c))
112.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify2.2s

Counts
164 → 164
Iterations
IterNodes
done5004
22030
1660
0261

prune865.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 5.0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (/ (* a 2.0) (- (sqrt (fma b b (- (* (* 4.0 a) c)))) b)))
1.7b
(- (sqrt (fma b b (- (* (* 4.0 a) c)))) b)
2.5b
(fma b b (- (* (* 4.0 a) c)))
23.9b
(sqrt (fma b b (- (* (* 4.0 a) c))))

rewrite71.0ms

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt
60×times-frac
50×*-un-lft-identity
40×add-cube-cbrt
25×add-exp-log
20×sqrt-prod
18×prod-diff
13×add-cbrt-cube
12×associate-/r* div-exp
10×difference-of-squares
associate-/r/
pow1 fma-neg add-log-exp
cbrt-undiv flip3-- div-inv flip-- distribute-lft-out--
expm1-log1p-u log1p-expm1-u
rec-exp 1-exp prod-exp associate-/l*
rem-sqrt-square clear-num sub-neg frac-2neg sqrt-pow1 pow1/2 diff-log cbrt-unprod fma-udef pow-flip inv-pow
Counts
4 → 144
Calls
4 calls:
41.0ms
(/ 1 (/ (* a 2.0) (- (sqrt (fma b b (- (* (* 4.0 a) c)))) b)))
12.0ms
(- (sqrt (fma b b (- (* (* 4.0 a) c)))) b)
0.0ms
(fma b b (- (* (* 4.0 a) c)))
1.0ms
(sqrt (fma b b (- (* (* 4.0 a) c))))

series658.0ms

Counts
4 → 12
Calls
4 calls:
290.0ms
(/ 1 (/ (* a 2.0) (- (sqrt (fma b b (- (* (* 4.0 a) c)))) b)))
161.0ms
(- (sqrt (fma b b (- (* (* 4.0 a) c)))) b)
86.0ms
(fma b b (- (* (* 4.0 a) c)))
121.0ms
(sqrt (fma b b (- (* (* 4.0 a) c))))

simplify2.1s

Counts
156 → 156
Iterations
IterNodes
done5000
21687
1568
0239

prune940.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 5.0b

localize50.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ 1 (* a 2.0)) (- (sqrt (fma b b (- (* (* 4.0 a) c)))) b))
1.7b
(- (sqrt (fma b b (- (* (* 4.0 a) c)))) b)
2.5b
(fma b b (- (* (* 4.0 a) c)))
23.9b
(sqrt (fma b b (- (* (* 4.0 a) c))))

rewrite113.0ms

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt
54×prod-diff
50×*-un-lft-identity
46×add-cube-cbrt
35×sqrt-prod
23×add-exp-log
20×distribute-rgt-in distribute-lft-in
13×add-cbrt-cube
10×prod-exp
pow1 associate-*l*
fma-neg associate-*r* add-log-exp
expm1-log1p-u div-exp cbrt-unprod log1p-expm1-u difference-of-squares
sub-neg times-frac flip3-- flip--
frac-times cbrt-undiv rec-exp 1-exp associate-*r/ distribute-lft-out--
rem-sqrt-square sqrt-pow1 pow1/2 diff-log pow-prod-down associate-*l/ *-commutative fma-udef div-inv unswap-sqr
Counts
4 → 146
Calls
4 calls:
78.0ms
(* (/ 1 (* a 2.0)) (- (sqrt (fma b b (- (* (* 4.0 a) c)))) b))
12.0ms
(- (sqrt (fma b b (- (* (* 4.0 a) c)))) b)
1.0ms
(fma b b (- (* (* 4.0 a) c)))
10.0ms
(sqrt (fma b b (- (* (* 4.0 a) c))))

series594.0ms

Counts
4 → 12
Calls
4 calls:
253.0ms
(* (/ 1 (* a 2.0)) (- (sqrt (fma b b (- (* (* 4.0 a) c)))) b))
165.0ms
(- (sqrt (fma b b (- (* (* 4.0 a) c)))) b)
72.0ms
(fma b b (- (* (* 4.0 a) c)))
103.0ms
(sqrt (fma b b (- (* (* 4.0 a) c))))

simplify2.3s

Counts
158 → 158
Iterations
IterNodes
done5004
21816
1628
0226

prune805.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 5.0b

regimes386.0ms

Accuracy

85.3% (4.3b remaining)

Error of 10.1b against oracle of 5.8b and baseline of 34.9b

bsearch256.0ms

Steps
ItersRangePoint
10
8.767897341253802e-114
4.657027509742155e-104
4.6129908231112306e-104
9
-6.117539429929052e+154
-3.6285784997486435e+148
-3.6803290429888884e+148

simplify9.0ms

Iterations
IterNodes
done48
248
140
028

end0.0ms

sample3.2s

Algorithm
intervals
Results
998.0ms5809×body80valid
686.0ms1115×body2560valid
479.0ms902×body1280valid
309.0ms2954×body80nan
149.0ms454×body640valid
102.0ms210×body320valid
69.0ms105×body5120valid
19.0ms126×body160valid