Details

Time bar (total: 9.2s)

sample47.0ms

Algorithm
intervals
Results
9.0ms40×body2560valid
8.0ms187×body80valid
4.0ms23×body1280valid
4.0msbody320valid
3.0ms86×body80nan
2.0ms16×body640valid
1.0msbody5120valid
0.0msbody160valid

simplify53.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (6.0ms)

IterNodesCost
01417
12517
24516
38716
410616
511416
done11416

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.4b

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* 4.0 a) c)
0.8b
(- (* b b) (* (* 4.0 a) c))
1.3b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
21.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
22×*-un-lft-identity
20×add-cube-cbrt
19×prod-diff
16×sqrt-prod
10×pow1
add-exp-log add-cbrt-cube
add-log-exp
fma-neg
expm1-log1p-u log1p-expm1-u
flip3-- associate-*r* pow-prod-down prod-exp flip-- cbrt-unprod
sub-neg sqrt-div diff-log difference-of-squares
rem-sqrt-square sqrt-pow1 pow1/2 associate-*l* *-commutative distribute-lft-out--
Counts
4 → 94
Calls
4 calls:
7.0ms
(* (* 4.0 a) c)
3.0ms
(- (* b b) (* (* 4.0 a) c))
24.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series222.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (* 4.0 a) c)
50.0ms
(- (* b b) (* (* 4.0 a) c))
82.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify668.0ms

Counts
106 → 106
Iterations

Useful iterations: 2 (129.0ms)

IterNodesCost
01611863
13901562
215241315
done50001315

prune301.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 12.8b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (/ (- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b) 2.0) a)
0.8b
(- (pow b 2) (* 4.0 (* a c)))
1.3b
(- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)
21.1b
(sqrt (- (pow b 2) (* 4.0 (* a c))))

rewrite157.0ms

Algorithm
rewrite-expression-head
Rules
139×add-sqr-sqrt
138×times-frac
112×*-un-lft-identity
86×add-cube-cbrt
28×sqrt-prod
26×prod-diff difference-of-squares
22×associate-/l*
14×fma-neg
13×distribute-lft-out--
add-exp-log add-cbrt-cube
add-log-exp
unpow-prod-down
pow1 div-inv
expm1-log1p-u log1p-expm1-u
cbrt-undiv flip3-- div-exp associate-/r* flip--
sub-neg sqrt-div diff-log div-sub unpow2 sqr-pow
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num associate-/l/
Counts
4 → 197
Calls
4 calls:
76.0ms
(/ (/ (- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b) 2.0) a)
10.0ms
(- (pow b 2) (* 4.0 (* a c)))
51.0ms
(- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)
11.0ms
(sqrt (- (pow b 2) (* 4.0 (* a c))))

series328.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(/ (/ (- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b) 2.0) a)
45.0ms
(- (pow b 2) (* 4.0 (* a c)))
83.0ms
(- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)
76.0ms
(sqrt (- (pow b 2) (* 4.0 (* a c))))

simplify1.4s

Counts
209 → 209
Iterations

Useful iterations: done (1.4s)

IterNodesCost
03345195
18024799
231364441
done50004440

prune588.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 5.4b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- (sqrt (fma b b (- (* (* a c) 4.0)))) b) (/ (/ 1 2.0) a))
1.0b
(fma b b (- (* (* a c) 4.0)))
1.3b
(- (sqrt (fma b b (- (* (* a c) 4.0)))) b)
21.1b
(sqrt (fma b b (- (* (* a c) 4.0))))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
76×add-sqr-sqrt
71×times-frac
60×*-un-lft-identity
55×add-cube-cbrt
43×associate-*r*
19×add-exp-log
18×prod-diff
17×sqrt-prod
13×add-cbrt-cube
pow1
fma-neg div-exp associate-*l* add-log-exp
prod-exp
expm1-log1p-u log1p-expm1-u div-inv difference-of-squares unswap-sqr
cbrt-undiv flip3-- flip-- cbrt-unprod
frac-times associate-*l/ distribute-lft-out--
sub-neg rem-sqrt-square rec-exp sqrt-pow1 pow1/2 diff-log 1-exp associate-*r/ pow-prod-down *-commutative fma-udef
Counts
4 → 143
Calls
4 calls:
38.0ms
(* (- (sqrt (fma b b (- (* (* a c) 4.0)))) b) (/ (/ 1 2.0) a))
0.0ms
(fma b b (- (* (* a c) 4.0)))
10.0ms
(- (sqrt (fma b b (- (* (* a c) 4.0)))) b)
1.0ms
(sqrt (fma b b (- (* (* a c) 4.0))))

series355.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(* (- (sqrt (fma b b (- (* (* a c) 4.0)))) b) (/ (/ 1 2.0) a))
59.0ms
(fma b b (- (* (* a c) 4.0)))
92.0ms
(- (sqrt (fma b b (- (* (* a c) 4.0)))) b)
84.0ms
(sqrt (fma b b (- (* (* a c) 4.0))))

simplify1.4s

Counts
155 → 155
Iterations

Useful iterations: done (1.4s)

IterNodesCost
02833455
17373002
228662574
done50012573

prune450.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 5.4b

localize15.0ms

Local error

Found 4 expressions with local error:

1.3b
(- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)
1.3b
(- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)
21.1b
(sqrt (- (pow b 2) (* 4.0 (* a c))))
21.1b
(sqrt (- (pow b 2) (* 4.0 (* a c))))

rewrite126.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
38×*-un-lft-identity
36×prod-diff
34×add-cube-cbrt
32×sqrt-prod
12×fma-neg
add-log-exp
pow1
add-exp-log expm1-log1p-u flip3-- sqrt-div add-cbrt-cube flip-- log1p-expm1-u difference-of-squares
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log distribute-lft-out--
Counts
4 → 116
Calls
4 calls:
50.0ms
(- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)
51.0ms
(- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)
10.0ms
(sqrt (- (pow b 2) (* 4.0 (* a c))))
11.0ms
(sqrt (- (pow b 2) (* 4.0 (* a c))))

series316.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)
85.0ms
(- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)
76.0ms
(sqrt (- (pow b 2) (* 4.0 (* a c))))
70.0ms
(sqrt (- (pow b 2) (* 4.0 (* a c))))

simplify684.0ms

Counts
128 → 128
Iterations

Useful iterations: done (680.0ms)

IterNodesCost
01122856
12702306
29411916
done50001706

prune379.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 5.4b

regimes195.0ms

Accuracy

83.7% (4.6b remaining)

Error of 10.1b against oracle of 5.4b and baseline of 33.8b

bsearch101.0ms

Steps
ItersRangePoint
8
1.3679096689958957e-81
5.608239720335765e-77
3.84613441880261e-81
7
-3.550313394724354e+57
-2.3888623512096697e+55
-3.124283374205192e+57

simplify2.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02738
13138
done3138

end0.0ms

sample1.2s

Algorithm
intervals
Results
256.0ms1074×body2560valid
245.0ms5844×body80valid
179.0ms907×body1280valid
112.0ms2890×body80nan
69.0ms452×body640valid
34.0ms234×body320valid
30.0ms102×body5120valid
9.0ms119×body160valid