Details

Time bar (total: 18.0s)

sample85.0ms

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

simplify169.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01417
12917
26417
312017
414517
515217
615617
done15617

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.5b

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

rewrite229.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:
146.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
24.0ms
(- (* b b) (* 4.0 (* a c)))
38.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
13.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series488.0ms

Counts
4 → 12
Calls
4 calls:
168.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
65.0ms
(- (* b b) (* 4.0 (* a c)))
129.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
126.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify1.6s

Counts
169 → 169
Iterations

Useful iterations: done (1.6s)

IterNodesCost
02436690
15874705
217533760
done50003113

prune533.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 4.3b

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

rewrite193.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:
14.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
105.0ms
(/ (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (* 2.0 a))
61.0ms
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
3.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

series921.0ms

Counts
4 → 12
Calls
4 calls:
156.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
254.0ms
(/ (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (* 2.0 a))
357.0ms
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
153.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

prune832.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 4.3b

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

rewrite204.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:
23.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
114.0ms
(* (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (/ 1 (* 2.0 a)))
51.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)))))

series818.0ms

Counts
4 → 12
Calls
4 calls:
171.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
235.0ms
(* (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (/ 1 (* 2.0 a)))
267.0ms
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
145.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

simplify1.6s

Counts
181 → 181
Iterations

Useful iterations: done (1.6s)

IterNodesCost
02805119
17144377
225023764
done50003696

prune708.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 4.3b

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

rewrite118.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:
12.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
53.0ms
(/ (* 2.0 a) (/ (* (* a c) 4.0) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)))
41.0ms
(/ (* (* a c) 4.0) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
2.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

series691.0ms

Counts
4 → 12
Calls
4 calls:
136.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
125.0ms
(/ (* 2.0 a) (/ (* (* a c) 4.0) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)))
298.0ms
(/ (* (* a c) 4.0) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
131.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

simplify2.1s

Counts
155 → 155
Iterations

Useful iterations: done (2.1s)

IterNodesCost
02484126
16433761
227573043
done50002976

prune620.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 4.3b

regimes388.0ms

Accuracy

87.7% (3.4b remaining)

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

bsearch412.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

simplify17.0ms

Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
04169
15267
26367
done6367

end0.0ms

sample3.5s

Algorithm
intervals
Results
905.0ms5729×body80valid
795.0ms1095×body2560valid
558.0ms956×body1280valid
387.0ms2914×body80nan
267.0ms457×body640valid
115.0ms119×body5120valid
61.0ms241×body320valid
42.0ms115×body160valid