Details

Time bar (total: 4.9s)

sample280.0ms

Algorithm
intervals
Results
7.0ms37×body2560valid
7.0ms197×body80valid
4.0ms77×body80nan
4.0ms24×body1280valid
2.0ms16×body640valid
0.0msbody160valid
0.0msbody320valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0157
1237
2307
3327
4347
5347

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.7b

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.4b
(- (* b_2 b_2) (* a c))
0.8b
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
24.0b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
19×add-sqr-sqrt
18×add-cube-cbrt
15×times-frac
10×fma-def distribute-lft-out add-log-exp
distribute-rgt-neg-in
add-exp-log add-cbrt-cube
pow1 associate-/l*
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in associate-/r* sqrt-prod
neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div sum-log flip-- flip-+ associate-/l/
cbrt-undiv +-commutative neg-mul-1 sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log div-sub div-exp prod-diff neg-log clear-num div-inv
Counts
4 → 100
Calls
4 calls:
10.0ms
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
4.0ms
(- (* b_2 b_2) (* a c))
8.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series272.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
33.0ms
(- (* b_2 b_2) (* a c))
72.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
76.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify49.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0389850
11366779
25001753

prune302.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 8.0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) a)
0.4b
(- (* b_2 b_2) (* a c))
0.8b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
24.0b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt
40×*-un-lft-identity
30×add-cube-cbrt
20×sqrt-prod
19×prod-diff
18×times-frac
10×difference-of-squares
add-log-exp
fma-neg
add-exp-log add-cbrt-cube associate-/l*
pow1 distribute-lft-out--
expm1-log1p-u flip3-- flip-- log1p-expm1-u
associate-/r*
sub-neg sqrt-div diff-log associate-/l/
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub div-exp clear-num div-inv
Counts
4 → 118
Calls
4 calls:
11.0ms
(/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) a)
4.0ms
(- (* b_2 b_2) (* a c))
8.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series251.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) a)
32.0ms
(- (* b_2 b_2) (* a c))
69.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
61.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify58.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04561241
116361036
250011006

prune272.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 8.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ a (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
0.4b
(- (* b_2 b_2) (* a c))
0.8b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
24.0b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
144×times-frac
137×add-sqr-sqrt
110×*-un-lft-identity
84×add-cube-cbrt
28×sqrt-prod
26×difference-of-squares
24×associate-/r*
19×prod-diff
15×add-exp-log
13×distribute-lft-out--
associate-/r/ add-cbrt-cube
add-log-exp
flip3-- fma-neg div-exp flip--
pow1
div-inv
expm1-log1p-u log1p-expm1-u
cbrt-undiv associate-/l*
sub-neg rec-exp sqrt-div diff-log 1-exp
rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 clear-num inv-pow
Counts
4 → 196
Calls
4 calls:
16.0ms
(/ 1 (/ a (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
4.0ms
(- (* b_2 b_2) (* a c))
8.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series291.0ms

Counts
4 → 12
Calls
4 calls:
126.0ms
(/ 1 (/ a (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
35.0ms
(- (* b_2 b_2) (* a c))
72.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
58.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify85.0ms

Algorithm
egg-herbie
Counts
208 → 208
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
06582518
129482155
250022004

prune339.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 7.9b

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (/ 1 a) (/ 1 (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
0.4b
(- (* b_2 b_2) (* a c))
0.8b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
24.0b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
789×times-frac
507×add-sqr-sqrt
420×*-un-lft-identity
334×add-cube-cbrt
86×difference-of-squares
58×sqrt-prod
44×add-exp-log
43×distribute-lft-out--
40×div-inv
32×div-exp
29×associate-/r/
24×associate-/r*
19×prod-diff
17×flip3-- flip--
16×add-cbrt-cube
13×associate-/l*
cbrt-undiv rec-exp 1-exp add-log-exp
fma-neg
pow1
expm1-log1p-u log1p-expm1-u
sub-neg sqrt-div diff-log
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num associate-/l/
Counts
4 → 457
Calls
4 calls:
24.0ms
(/ (/ 1 a) (/ 1 (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
4.0ms
(- (* b_2 b_2) (* a c))
8.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series297.0ms

Counts
4 → 12
Calls
4 calls:
127.0ms
(/ (/ 1 a) (/ 1 (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
33.0ms
(- (* b_2 b_2) (* a c))
72.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
66.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify98.0ms

Algorithm
egg-herbie
Counts
469 → 469
Iterations

Useful iterations: 1 (37.0ms)

IterNodesCost
017757995
150027078

prune660.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 7.9b

regimes205.0ms

Accuracy

88.2% (3.3b remaining)

Error of 9.0b against oracle of 5.7b and baseline of 33.7b

bsearch133.0ms

Steps
ItersRangePoint
6
6254161.133583045
42925490.781275615
42194588.45539583
9
8.37141649570399e-178
3.6472374174305276e-171
8.020329521421151e-175
10
-4.4721271386820616e+151
-9.712280864301115e+136
-7.700313305414632e+138

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03823
14023
24023

end0.0ms

sample1.0s

Algorithm
intervals
Results
205.0ms1045×body2560valid
204.0ms5937×body80valid
137.0ms854×body1280valid
94.0ms2863×body80nan
59.0ms440×body640valid
27.0ms113×body5120valid
21.0ms226×body320valid
8.0ms120×body160valid