Details

Time bar (total: 9.9s)

sample41.0ms

Algorithm
intervals
Results
9.0ms39×body2560valid
6.0ms36×body1280valid
6.0ms165×body80valid
3.0ms87×body80nan
2.0ms13×body640valid
1.0msbody320valid
1.0msbody5120valid
0.0msbody160valid

simplify48.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (5.0ms)

IterNodesCost
01417
12517
24516
38716
410516
511316
done11316

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.1b

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) 2.0) a)
1.0b
(- (* b b) (* (* 4.0 a) c))
1.6b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
22.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite79.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*
19×prod-diff
13×distribute-lft-out--
add-exp-log add-cbrt-cube
add-log-exp
fma-neg
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
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num associate-/l/
Counts
4 → 183
Calls
4 calls:
38.0ms
(/ (/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) 2.0) a)
3.0ms
(- (* b b) (* (* 4.0 a) c))
23.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
7.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series305.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(/ (/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) 2.0) a)
46.0ms
(- (* b b) (* (* 4.0 a) c))
81.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify898.0ms

Counts
195 → 195
Iterations

Useful iterations: done (891.0ms)

IterNodesCost
03214967
17514592
226014265
done50004264

prune516.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 5.4b

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (- (sqrt (fma b b (- (* (* 4.0 a) c)))) b) (/ (/ 1 2.0) a))
1.3b
(fma b b (- (* (* 4.0 a) c)))
1.6b
(- (sqrt (fma b b (- (* (* 4.0 a) c)))) b)
22.6b
(sqrt (fma b b (- (* (* 4.0 a) c))))

rewrite52.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 (- (* (* 4.0 a) c)))) b) (/ (/ 1 2.0) a))
0.0ms
(fma b b (- (* (* 4.0 a) c)))
6.0ms
(- (sqrt (fma b b (- (* (* 4.0 a) c)))) b)
1.0ms
(sqrt (fma b b (- (* (* 4.0 a) c))))

series338.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(* (- (sqrt (fma b b (- (* (* 4.0 a) c)))) b) (/ (/ 1 2.0) a))
55.0ms
(fma b b (- (* (* 4.0 a) c)))
89.0ms
(- (sqrt (fma b b (- (* (* 4.0 a) c)))) b)
80.0ms
(sqrt (fma b b (- (* (* 4.0 a) c))))

simplify942.0ms

Counts
155 → 155
Iterations

Useful iterations: done (938.0ms)

IterNodesCost
02843455
17172972
223472574
done50012565

prune398.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 5.4b

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ a (/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) 2.0)))
1.0b
(- (* b b) (* (* 4.0 a) c))
1.6b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
22.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
693×times-frac
452×add-sqr-sqrt
377×*-un-lft-identity
303×add-cube-cbrt
74×difference-of-squares
71×associate-/r*
52×sqrt-prod
37×distribute-lft-out--
25×add-exp-log
19×prod-diff
17×div-inv
15×div-exp
13×add-cbrt-cube
add-log-exp
fma-neg
pow1 cbrt-undiv
associate-/r/
expm1-log1p-u log1p-expm1-u
rec-exp flip3-- 1-exp flip-- associate-/l*
sub-neg sqrt-div diff-log
rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 clear-num inv-pow
Counts
4 → 388
Calls
4 calls:
35.0ms
(/ 1 (/ a (/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) 2.0)))
3.0ms
(- (* b b) (* (* 4.0 a) c))
22.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series336.0ms

Counts
4 → 12
Calls
4 calls:
142.0ms
(/ 1 (/ a (/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) 2.0)))
44.0ms
(- (* b b) (* (* 4.0 a) c))
77.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.9s

Counts
400 → 400
Iterations

Useful iterations: 2 (1.1s)

IterNodesCost
061212852
1142811390
2464010543
done500010543

prune820.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 5.4b

localize13.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
1.6b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
22.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))
22.6b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite62.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:
23.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
26.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
5.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series304.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
78.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
74.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify929.0ms

Counts
128 → 128
Iterations

Useful iterations: done (925.0ms)

IterNodesCost
01132856
12622310
28991912
done50001702

prune355.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 5.4b

regimes192.0ms

Accuracy

81.5% (5.2b remaining)

Error of 10.9b against oracle of 5.8b and baseline of 33.8b

bsearch113.0ms

Steps
ItersRangePoint
9
2.365685850767504e-168
1.2053288471691685e-161
1.1860189201379418e-161
8
-1.4395777107888637e+138
-2.299948591329529e+133
-1.9827654008890006e+134

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02840
13940
24740
done4740

end0.0ms

sample1.1s

Algorithm
intervals
Results
233.0ms5914×body80valid
230.0ms1025×body2560valid
159.0ms891×body1280valid
106.0ms2997×body80nan
69.0ms450×body640valid
29.0ms107×body5120valid
22.0ms209×body320valid
7.0ms104×body160valid