Details

Time bar (total: 17.3s)

sample109.0ms

Algorithm
intervals
Results
33.0ms36×body2560valid
18.0ms190×body80valid
12.0ms28×body1280valid
8.0ms92×body80nan
6.0ms16×body640valid
3.0msbody320valid
1.0msbody5120valid
1.0msbody160valid

simplify152.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (9.0ms)

IterNodesCost
01417
12517
24616
38616
410816
511616
done11616

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

rewrite238.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:
153.0ms
(/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (* 2.0 a))
9.0ms
(- (* b b) (* (* 4.0 a) c))
59.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
13.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series487.0ms

Counts
4 → 12
Calls
4 calls:
185.0ms
(/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (* 2.0 a))
52.0ms
(- (* b b) (* (* 4.0 a) c))
117.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
132.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.6s

Counts
118 → 118
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01952476
14802169
214411861
done50001789

prune501.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 4.6b

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

rewrite205.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:
96.0ms
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
13.0ms
(- (* b b) (* (* 4.0 a) c))
65.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
20.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series553.0ms

Counts
4 → 12
Calls
4 calls:
212.0ms
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
69.0ms
(- (* b b) (* (* 4.0 a) c))
138.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
134.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.5s

Counts
164 → 164
Iterations

Useful iterations: done (1.5s)

IterNodesCost
02614025
15873484
216563082
done50012938

prune531.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 4.6b

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

rewrite511.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:
27.0ms
(- (pow b 2) (* 4.0 (* a c)))
277.0ms
(* (/ 1 (* a 2.0)) (- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b))
168.0ms
(- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)
23.0ms
(sqrt (- (pow b 2) (* 4.0 (* a c))))

series509.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(- (pow b 2) (* 4.0 (* a c)))
211.0ms
(* (/ 1 (* a 2.0)) (- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b))
133.0ms
(- (sqrt (- (pow b 2) (* 4.0 (* a c)))) b)
102.0ms
(sqrt (- (pow b 2) (* 4.0 (* a c))))

simplify1.8s

Counts
180 → 180
Iterations

Useful iterations: done (1.8s)

IterNodesCost
02614960
16434123
219803296
done50003090

prune572.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 4.6b

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

rewrite212.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:
85.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
79.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
23.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
20.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series472.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
129.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
118.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
97.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify2.9s

Counts
128 → 128
Iterations

Useful iterations: done (2.8s)

IterNodesCost
01132856
12682310
27181948
327111774
done50011674

prune512.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 4.6b

regimes270.0ms

Accuracy

84.2% (4.6b remaining)

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

bsearch219.0ms

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

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02840
13540
done3540

end0.0ms

sample3.4s

Algorithm
intervals
Results
1.1s5882×body80valid
668.0ms1076×body2560valid
429.0ms848×body1280valid
396.0ms2915×body80nan
138.0ms468×body640valid
66.0ms107×body5120valid
50.0ms212×body320valid
18.0ms122×body160valid