Details

Time bar (total: 15.8s)

sample82.0ms

Algorithm
intervals
Results
33.0ms32×body2560valid
10.0ms184×body80valid
8.0ms30×body1280valid
5.0ms24×body640valid
4.0ms83×body80nan
1.0msbody320valid
0.0msbody160valid

simplify172.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01417
12917
26417
312017
414517
515217
615617
done15617

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.1b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.6b
(- (* b b) (* 4.0 (* a c)))
1.4b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
19.7b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite226.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:
113.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
30.0ms
(- (* b b) (* 4.0 (* a c)))
63.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
13.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series384.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
63.0ms
(- (* b b) (* 4.0 (* a c)))
106.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
87.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify1.6s

Counts
169 → 169
Iterations

Useful iterations: done (1.6s)

IterNodesCost
02436690
15874705
217533760
done50003113

prune506.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 5.4b

localize20.0ms

Local error

Found 4 expressions with local error:

0.8b
(fma b b (- (* 4.0 (* a c))))
2.5b
(/ (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (* 2.0 a))
9.1b
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
19.7b
(sqrt (fma b b (- (* 4.0 (* a c)))))

rewrite143.0ms

Algorithm
rewrite-expression-head
Rules
78×times-frac
77×add-sqr-sqrt
56×*-un-lft-identity
36×add-cube-cbrt
27×associate-/l*
20×difference-of-squares
18×add-exp-log add-cbrt-cube
13×sqrt-prod
10×distribute-lft-out--
cbrt-undiv div-exp associate-/r*
associate-/r/
pow1
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
flip3-- flip-- associate-/l/
frac-2neg prod-exp clear-num cbrt-unprod
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+ fma-udef
Counts
4 → 140
Calls
4 calls:
1.0ms
(fma b b (- (* 4.0 (* a c))))
74.0ms
(/ (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (* 2.0 a))
54.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)))))

series788.0ms

Counts
4 → 12
Calls
4 calls:
73.0ms
(fma b b (- (* 4.0 (* a c))))
265.0ms
(/ (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (* 2.0 a))
340.0ms
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
109.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

simplify1.4s

Counts
152 → 152
Iterations

Useful iterations: done (1.4s)

IterNodesCost
02424430
15763966
221943645
done50003641

prune657.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 5.4b

localize41.0ms

Local error

Found 4 expressions with local error:

0.8b
(fma b b (- (* 4.0 (* a c))))
2.6b
(* (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (/ 1 (* 2.0 a)))
9.1b
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
19.7b
(sqrt (fma b b (- (* 4.0 (* a c)))))

rewrite173.0ms

Algorithm
rewrite-expression-head
Rules
62×add-sqr-sqrt
51×add-exp-log
42×*-un-lft-identity
40×times-frac
28×add-cube-cbrt
27×add-cbrt-cube
24×associate-*l*
20×prod-exp
16×div-exp
14×difference-of-squares
10×sqrt-prod
cbrt-undiv cbrt-unprod
pow1 associate-*r* distribute-lft-out--
associate-/r*
expm1-log1p-u rec-exp 1-exp associate-/r/ log1p-expm1-u add-log-exp
div-inv associate-/l*
flip3-- flip-- associate-/l/ unswap-sqr
frac-times rem-sqrt-square frac-2neg sqrt-pow1 flip3-+ pow1/2 associate-*r/ pow-prod-down associate-*l/ clear-num un-div-inv *-commutative flip-+ fma-udef
Counts
4 → 138
Calls
4 calls:
0.0ms
(fma b b (- (* 4.0 (* a c))))
103.0ms
(* (/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b)) (/ 1 (* 2.0 a)))
50.0ms
(/ (+ 0 (* (* a c) 4.0)) (- (sqrt (fma b b (- (* 4.0 (* a c))))) b))
14.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

series817.0ms

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

simplify1.8s

Counts
150 → 150
Iterations

Useful iterations: done (1.8s)

IterNodesCost
02474148
16353632
224273172
done50013169

prune656.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 5.4b

localize18.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
0.8b
(fma b b (- (* 4.0 (* a c))))
11.9b
(/ (* (* a c) 4.0) (* 2.0 a))
19.7b
(sqrt (fma b b (- (* 4.0 (* a c)))))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
25×add-exp-log add-cbrt-cube
24×add-sqr-sqrt
21×*-un-lft-identity
19×add-cube-cbrt
18×prod-diff
16×sqrt-prod
prod-exp cbrt-unprod
cbrt-undiv fma-neg div-exp add-log-exp
pow1
expm1-log1p-u log1p-expm1-u
difference-of-squares
sub-neg rem-sqrt-square flip3-- frac-2neg sqrt-pow1 times-frac pow1/2 diff-log clear-num associate-/r* flip-- fma-udef div-inv associate-/l* distribute-lft-out--
Counts
4 → 93
Calls
4 calls:
15.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
0.0ms
(fma b b (- (* 4.0 (* a c))))
38.0ms
(/ (* (* a c) 4.0) (* 2.0 a))
2.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

series376.0ms

Counts
4 → 12
Calls
4 calls:
145.0ms
(- (sqrt (fma b b (- (* 4.0 (* a c))))) b)
101.0ms
(fma b b (- (* 4.0 (* a c))))
12.0ms
(/ (* (* a c) 4.0) (* 2.0 a))
118.0ms
(sqrt (fma b b (- (* 4.0 (* a c)))))

simplify1.2s

Counts
105 → 105
Iterations

Useful iterations: done (1.2s)

IterNodesCost
01681926
14131650
218081333
done50001266

prune369.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 5.4b

regimes210.0ms

Accuracy

95.2% (1.2b remaining)

Error of 6.7b against oracle of 5.5b and baseline of 29.7b

bsearch326.0ms

Steps
ItersRangePoint
4
9.936283634246925e+77
1.8488019868481542e+78
1.7151811081882383e+78
9
3.6976431258031608e-267
1.8292500652683027e-260
7.061692521831336e-266
8
-6.990724105819741e+111
-2.6156774686163576e+108
-5.674469085146397e+110

simplify20.0ms

Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
03657
14955
25755
done5755

end0.0ms

sample3.7s

Algorithm
intervals
Results
732.0ms5913×body80valid
706.0ms1081×body2560valid
673.0ms3009×body80nan
562.0ms891×body1280valid
257.0ms468×body640valid
112.0ms107×body5120valid
52.0ms216×body320valid
17.0ms100×body160valid