Details

Time bar (total: 17.6s)

sample81.0ms

Algorithm
intervals
Results
16.0ms35×body2560valid
14.0ms179×body80valid
10.0ms30×body1280valid
6.0ms76×body80nan
5.0msbody5120valid
2.0msbody640valid
2.0ms10×body320valid
0.0msbody160valid

simplify157.0ms

Counts
1 → 1
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
01417
12517
24616
38616
410816
511616
done11616

prune12.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.5b

localize35.0ms

Local error

Found 3 expressions with local error:

0.1b
(/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (* 2.0 a))
0.4b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
25.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite259.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
26×*-un-lft-identity
20×add-cube-cbrt
18×prod-diff sqrt-prod
add-exp-log add-cbrt-cube
times-frac fma-neg associate-/l* difference-of-squares
add-log-exp
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u distribute-lft-out--
cbrt-undiv sqrt-div div-exp associate-/l/
sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-sub prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
3 → 90
Calls
3 calls:
147.0ms
(/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (* 2.0 a))
81.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
27.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series442.0ms

Counts
3 → 9
Calls
3 calls:
159.0ms
(/ (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (* 2.0 a))
151.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
131.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.8s

Counts
99 → 99
Iterations

Useful iterations: done (1.8s)

IterNodesCost
01782210
14531916
213211636
done50001564

prune388.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 5.4b

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b))
0.2b
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
0.4b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
25.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite346.0ms

Algorithm
rewrite-expression-head
Rules
71×add-sqr-sqrt
66×times-frac
56×*-un-lft-identity
42×add-cube-cbrt
30×add-exp-log
22×sqrt-prod
18×prod-diff associate-/r* add-cbrt-cube
14×div-exp difference-of-squares
11×associate-/r/
cbrt-undiv flip3-- flip-- distribute-lft-out--
pow1 fma-neg div-inv add-log-exp
expm1-log1p-u prod-exp log1p-expm1-u associate-/l*
rec-exp 1-exp
frac-2neg sqrt-div clear-num cbrt-unprod
sub-neg rem-sqrt-square pow-flip sqrt-pow1 pow1/2 diff-log inv-pow
Counts
4 → 167
Calls
4 calls:
85.0ms
(/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b))
138.0ms
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
93.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
23.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series901.0ms

Counts
4 → 12
Calls
4 calls:
346.0ms
(/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b))
303.0ms
(/ 1 (/ (* 2.0 a) (- (sqrt (- (* b b) (* (* 4.0 a) c))) b)))
131.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
121.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.6s

Counts
179 → 179
Iterations

Useful iterations: done (1.5s)

IterNodesCost
02654500
16173949
216963478
done50003333

prune556.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 5.3b

localize26.0ms

Local error

Found 3 expressions with local error:

0.2b
(* (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (/ 1 (* 2.0 a)))
0.4b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
25.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite438.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
25×*-un-lft-identity
22×add-exp-log
21×add-cube-cbrt
18×prod-diff
17×sqrt-prod
12×add-cbrt-cube
10×prod-exp
associate-*r*
pow1 fma-neg associate-*l*
add-log-exp
flip3-- div-exp flip-- cbrt-unprod difference-of-squares
expm1-log1p-u times-frac log1p-expm1-u
cbrt-undiv frac-times rec-exp sqrt-div 1-exp associate-*l/ distribute-lft-out--
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-*r/ pow-prod-down un-div-inv *-commutative div-inv unswap-sqr
Counts
3 → 99
Calls
3 calls:
307.0ms
(* (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (/ 1 (* 2.0 a)))
104.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
19.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series467.0ms

Counts
3 → 9
Calls
3 calls:
212.0ms
(* (- (sqrt (- (* b b) (* (* 4.0 a) c))) b) (/ 1 (* 2.0 a)))
147.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
107.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify1.6s

Counts
108 → 108
Iterations

Useful iterations: done (1.6s)

IterNodesCost
02042473
15092071
215501739
done50011667

prune396.0ms

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 5.3b

localize34.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
0.4b
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
25.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.7b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite238.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:
88.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
80.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
35.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
26.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series505.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
127.0ms
(- (sqrt (- (* b b) (* (* 4.0 a) c))) b)
132.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
122.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

prune513.0ms

Pruning

11 alts after pruning (8 fresh and 3 done)

Merged error: 5.3b

regimes320.0ms

Accuracy

83.4% (4.7b remaining)

Error of 10.3b against oracle of 5.6b and baseline of 34.0b

bsearch169.0ms

Steps
ItersRangePoint
9
2.3136842542622443e-90
1.8034474160827886e-84
3.091361180800597e-86
6
-3.779251410483496e+105
-5.080294099506613e+104
-1.361733299857302e+105

simplify5.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02840
13540
done3540

end0.0ms

sample3.6s

Algorithm
intervals
Results
933.0ms1023×body2560valid
691.0ms5866×body80valid
595.0ms442×body640valid
412.0ms906×body1280valid
284.0ms2914×body80nan
69.0ms127×body5120valid
48.0ms244×body320valid
15.0ms109×body160valid