Details

Time bar (total: 17.9s)

sample99.0ms

Algorithm
intervals
Results
26.0ms36×body2560valid
19.0ms190×body80valid
13.0ms28×body1280valid
9.0ms92×body80nan
6.0ms16×body640valid
2.0msbody320valid
1.0msbody5120valid
1.0msbody160valid

simplify126.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
01417
12517
24616
38616
410816
511616
done11616

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.4b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (* 2.0 a))
0.2b
(- (* b b) (* (* 4.0 a) c))
1.1b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite271.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
27×*-un-lft-identity
21×add-cube-cbrt
19×prod-diff
18×sqrt-prod
add-exp-log add-cbrt-cube
add-log-exp
fma-neg
times-frac associate-/l* difference-of-squares
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u
distribute-lft-out--
cbrt-undiv sub-neg sqrt-div diff-log div-exp associate-/l/
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 106
Calls
4 calls:
148.0ms
(/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (* 2.0 a))
21.0ms
(- (* b b) (* (* 4.0 a) c))
64.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
33.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series510.0ms

Counts
4 → 12
Calls
4 calls:
180.0ms
(/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (* 2.0 a))
79.0ms
(- (* b b) (* (* 4.0 a) c))
136.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
115.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.6s

Counts
118 → 118
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01952476
14802169
214411861
done50001789

prune424.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 4.6b

localize29.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
0.2b
(- (* b b) (* (* 4.0 a) c))
1.1b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite256.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×div-exp associate-/r*
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 pow-flip frac-2neg sqrt-pow1 pow1/2 clear-num cbrt-unprod inv-pow
Counts
4 → 152
Calls
4 calls:
120.0ms
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
19.0ms
(- (* b b) (* (* 4.0 a) c))
97.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series562.0ms

Counts
4 → 12
Calls
4 calls:
198.0ms
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
93.0ms
(- (* b b) (* (* 4.0 a) c))
141.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
129.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.6s

Counts
164 → 164
Iterations

Useful iterations: done (1.6s)

IterNodesCost
02614025
15873484
216563082
done50012938

prune581.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 4.6b

localize30.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* b b) (* (* 4.0 a) c))
0.2b
(* (/ 1 (* a 2.0)) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b))
1.1b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite392.0ms

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt
55×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
add-log-exp
pow1 fma-neg associate-*l*
associate-*r*
flip3-- flip--
expm1-log1p-u sub-neg div-exp cbrt-unprod log1p-expm1-u difference-of-squares
times-frac
cbrt-undiv frac-times rec-exp sqrt-div diff-log 1-exp associate-*r/ distribute-lft-out--
rem-sqrt-square sqrt-pow1 pow1/2 pow-prod-down associate-*l/ *-commutative div-inv unswap-sqr
Counts
4 → 154
Calls
4 calls:
12.0ms
(- (* b b) (* (* 4.0 a) c))
239.0ms
(* (/ 1 (* a 2.0)) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b))
103.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
26.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series543.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(- (* b b) (* (* 4.0 a) c))
205.0ms
(* (/ 1 (* a 2.0)) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b))
107.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
149.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.7s

Counts
166 → 166
Iterations

Useful iterations: done (1.7s)

IterNodesCost
02484732
16103916
219783120
done50002922

prune554.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 4.6b

localize58.0ms

Local error

Found 4 expressions with local error:

1.1b
(- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)
1.1b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
22.0b
(sqrt (- (pow b 2) (* 4.0 (* a c))))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite258.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:
111.0ms
(- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)
82.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
36.0ms
(sqrt (- (pow b 2) (* 4.0 (* a c))))
24.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series522.0ms

Counts
4 → 12
Calls
4 calls:
137.0ms
(- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)
137.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
109.0ms
(sqrt (- (pow b 2) (* 4.0 (* a c))))
139.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify3.1s

Counts
128 → 128
Iterations

Useful iterations: done (3.1s)

IterNodesCost
01782856
13932302
29221948
333611774
done50001674

prune1.0s

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 4.6b

regimes253.0ms

Accuracy

84.2% (4.6b remaining)

Error of 9.9b against oracle of 5.3b and baseline of 34.2b

bsearch207.0ms

Steps
ItersRangePoint
11
1.5906747666251227e-34
6.100620313640196e-08
1.611450844781215e-34
9
-6.354265220965125e+156
-1.769171722317776e+149
-1.5501620157466267e+150

simplify8.0ms

Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
02840
13540
done3540

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.1s5882×body80valid
707.0ms1076×body2560valid
351.0ms848×body1280valid
283.0ms2915×body80nan
119.0ms468×body640valid
49.0ms107×body5120valid
40.0ms212×body320valid
16.0ms122×body160valid