Details

Time bar (total: 17.7s)

sample60.0ms

Algorithm
intervals
Results
12.0ms40×body2560valid
9.0ms181×body80valid
6.0ms26×body1280valid
4.0ms92×body80nan
3.0ms14×body640valid
3.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify213.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01417
12917
26417
312017
414517
515217
615617
done15617

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.5b

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.2b
(- (* b b) (* 4.0 (* a c)))
1.0b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
23.4b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite216.0ms

Algorithm
rewrite-expression-head
Rules
61×add-sqr-sqrt prod-diff
60×*-un-lft-identity
48×add-cube-cbrt
36×sqrt-prod
24×distribute-rgt-neg-in
21×distribute-lft-neg-in
11×fma-neg
10×add-log-exp
add-exp-log add-cbrt-cube
neg-mul-1 times-frac associate-/l*
distribute-lft-out-- difference-of-squares
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u
diff-log
cbrt-undiv sub-neg sqrt-div div-exp associate-/l/
associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 157
Calls
4 calls:
137.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
9.0ms
(- (* b b) (* 4.0 (* a c)))
39.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
18.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series445.0ms

Counts
4 → 12
Calls
4 calls:
141.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
66.0ms
(- (* b b) (* 4.0 (* a c)))
126.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
111.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify1.7s

Counts
169 → 169
Iterations

Useful iterations: done (1.7s)

IterNodesCost
02436690
15874705
217533760
done50003113

prune544.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 4.3b

localize17.0ms

Local error

Found 4 expressions with local error:

1.1b
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
2.8b
(/ (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (* 2.0 a))
8.4b
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
23.4b
(sqrt (fma b b (- (* 4.0 (* a c)))))

rewrite147.0ms

Algorithm
rewrite-expression-head
Rules
95×add-sqr-sqrt
78×times-frac
72×*-un-lft-identity
50×add-cube-cbrt
27×associate-/l*
26×sqrt-prod
22×difference-of-squares
18×add-exp-log prod-diff add-cbrt-cube
11×distribute-lft-out--
cbrt-undiv div-exp associate-/r*
fma-neg associate-/r/ add-log-exp
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u div-inv
associate-/l/
frac-2neg prod-exp clear-num cbrt-unprod
sub-neg rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 diff-log flip-+
Counts
4 → 171
Calls
4 calls:
17.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
74.0ms
(/ (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (* 2.0 a))
40.0ms
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
2.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

series863.0ms

Counts
4 → 12
Calls
4 calls:
138.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
257.0ms
(/ (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (* 2.0 a))
312.0ms
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
156.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

simplify1.5s

Counts
183 → 183
Iterations

Useful iterations: done (1.5s)

IterNodesCost
02755401
16554711
222914237
done50014169

prune728.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 4.3b

localize18.0ms

Local error

Found 4 expressions with local error:

1.1b
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
2.9b
(* (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (/ 1 (* 2.0 a)))
8.4b
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
23.4b
(sqrt (fma b b (- (* 4.0 (* a c)))))

rewrite160.0ms

Algorithm
rewrite-expression-head
Rules
80×add-sqr-sqrt
58×*-un-lft-identity
51×add-exp-log
42×add-cube-cbrt
40×times-frac
27×add-cbrt-cube
24×associate-*l*
23×sqrt-prod
20×prod-exp
18×prod-diff
16×div-exp difference-of-squares
cbrt-undiv cbrt-unprod distribute-lft-out--
pow1 associate-*r*
fma-neg associate-/r* add-log-exp
expm1-log1p-u rec-exp 1-exp associate-/r/ log1p-expm1-u
flip3-- flip-- div-inv associate-/l*
associate-/l/ unswap-sqr
frac-times sub-neg rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 diff-log associate-*r/ pow-prod-down associate-*l/ clear-num un-div-inv *-commutative flip-+
Counts
4 → 169
Calls
4 calls:
11.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
94.0ms
(* (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (/ 1 (* 2.0 a)))
45.0ms
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
2.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

series875.0ms

Counts
4 → 12
Calls
4 calls:
127.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
298.0ms
(* (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (/ 1 (* 2.0 a)))
325.0ms
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
125.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

simplify2.1s

Counts
181 → 181
Iterations

Useful iterations: done (2.1s)

IterNodesCost
02805119
17144377
225023764
done50003696

prune788.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 4.3b

localize45.0ms

Local error

Found 4 expressions with local error:

1.1b
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
2.7b
(/ (* 2.0 a) (/ (* (* a c) 4.0) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)))
8.4b
(/ (* (* a c) 4.0) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
23.4b
(sqrt (fma b b (- (* 4.0 (* a c)))))

rewrite124.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
45×add-exp-log add-cbrt-cube
35×*-un-lft-identity
30×times-frac
25×add-cube-cbrt
20×sqrt-prod
18×prod-diff associate-/r*
17×cbrt-undiv div-exp
13×prod-exp cbrt-unprod
10×difference-of-squares
associate-/r/
fma-neg add-log-exp
pow1 distribute-lft-out--
expm1-log1p-u flip3-- flip-- log1p-expm1-u div-inv
frac-2neg clear-num associate-/l*
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 143
Calls
4 calls:
22.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
50.0ms
(/ (* 2.0 a) (/ (* (* a c) 4.0) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)))
40.0ms
(/ (* (* a c) 4.0) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
2.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

series720.0ms

Counts
4 → 12
Calls
4 calls:
136.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
132.0ms
(/ (* 2.0 a) (/ (* (* a c) 4.0) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)))
328.0ms
(/ (* (* a c) 4.0) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
124.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

simplify1.7s

Counts
155 → 155
Iterations

Useful iterations: done (1.7s)

IterNodesCost
02484126
16433761
227573043
done50002976

prune543.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 4.3b

regimes346.0ms

Accuracy

87.7% (3.4b remaining)

Error of 8.7b against oracle of 5.3b and baseline of 32.7b

bsearch314.0ms

Steps
ItersRangePoint
10
4.61796087672408e+142
1.3206820209921783e+153
1.974261024048121e+145
10
-7.804748171248596e-210
-1.2742380330863746e-228
-3.1153949179978696e-213
10
-7.296408209838224e+27
-1014094955833491.1
-1.1509557557359616e+21

simplify16.0ms

Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
04169
15267
26367
done6367

end0.0ms

sample3.4s

Algorithm
intervals
Results
993.0ms1095×body2560valid
771.0ms5729×body80valid
391.0ms956×body1280valid
307.0ms2914×body80nan
197.0ms457×body640valid
69.0ms119×body5120valid
53.0ms241×body320valid
48.0ms115×body160valid