Details

Time bar (total: 17.5s)

sample58.0ms

Algorithm
intervals
Results
11.0ms36×body2560valid
11.0ms190×body80valid
7.0ms28×body1280valid
5.0ms92×body80nan
3.0ms16×body640valid
1.0msbody320valid
0.0msbody160valid
0.0msbody5120valid

simplify115.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
01417
12517
24616
38616
410816
511616
done11616

prune11.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.4b

localize26.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)))

rewrite289.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:
126.0ms
(/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (* 2.0 a))
18.0ms
(- (* b b) (* (* 4.0 a) c))
113.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
24.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series627.0ms

Counts
4 → 12
Calls
4 calls:
233.0ms
(/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (* 2.0 a))
94.0ms
(- (* b b) (* (* 4.0 a) c))
140.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
160.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.6s

Counts
118 → 118
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01952476
14802169
214411861
done50001789

prune454.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 4.6b

localize31.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)))

rewrite191.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:
80.0ms
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
10.0ms
(- (* b b) (* (* 4.0 a) c))
82.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
13.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series647.0ms

Counts
4 → 12
Calls
4 calls:
260.0ms
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
83.0ms
(- (* b b) (* (* 4.0 a) c))
164.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
140.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.6s

Counts
164 → 164
Iterations

Useful iterations: done (1.6s)

IterNodesCost
02614025
15873484
216563082
done50012938

prune511.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 4.6b

localize43.0ms

Local error

Found 4 expressions with local error:

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

rewrite591.0ms

Algorithm
rewrite-expression-head
Rules
62×prod-diff
61×add-sqr-sqrt
54×*-un-lft-identity
50×add-cube-cbrt
35×sqrt-prod
23×add-exp-log
20×distribute-rgt-in distribute-lft-in
14×fma-neg
13×add-cbrt-cube
10×prod-exp
add-log-exp
pow1 associate-*l*
unpow-prod-down 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-- unpow2 sqr-pow
rem-sqrt-square sqrt-pow1 pow1/2 pow-prod-down associate-*l/ *-commutative div-inv unswap-sqr
Counts
4 → 168
Calls
4 calls:
35.0ms
(- (pow b 2) (* 4.0 (* a c)))
340.0ms
(* (/ 1 (* a 2.0)) (- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b))
166.0ms
(- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)
41.0ms
(sqrt (- (pow b 2) (* 4.0 (* a c))))

series652.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(- (pow b 2) (* 4.0 (* a c)))
270.0ms
(* (/ 1 (* a 2.0)) (- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b))
157.0ms
(- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)
136.0ms
(sqrt (- (pow b 2) (* 4.0 (* a c))))

simplify2.0s

Counts
180 → 180
Iterations

Useful iterations: done (2.0s)

IterNodesCost
02614960
16434123
219803296
done50003090

prune595.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 4.6b

localize33.0ms

Local error

Found 4 expressions with local error:

1.1b
(- (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)))
22.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite200.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:
75.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
70.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
28.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series558.0ms

Counts
4 → 12
Calls
4 calls:
150.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
125.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
165.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
118.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify2.8s

Counts
128 → 128
Iterations

Useful iterations: done (2.8s)

IterNodesCost
01132856
12682310
27181948
327111774
done50011674

prune471.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 4.6b

regimes249.0ms

Accuracy

84.2% (4.6b remaining)

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

bsearch200.0ms

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

simplify5.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02840
13540
done3540

end0.0ms

sample2.9s

Algorithm
intervals
Results
847.0ms5882×body80valid
501.0ms1076×body2560valid
496.0ms468×body640valid
304.0ms2915×body80nan
287.0ms848×body1280valid
42.0ms107×body5120valid
33.0ms212×body320valid
13.0ms122×body160valid