Details

Time bar (total: 4.4s)

sample279.0ms

Algorithm
intervals
Results
7.0ms201×body80valid
5.0ms31×body1280valid
4.0ms21×body2560valid
3.0ms103×body80nan
2.0msbody5120valid
2.0ms13×body640valid
1.0msbody320valid
0.0msbody160valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0157
1237
2307
3327
4347
5347

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.9b

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
1.0b
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
1.2b
(- (* b_2 b_2) (* a c))
19.5b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite33.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)
9.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(- (* b_2 b_2) (* a c))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series279.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
68.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
41.0ms
(- (* b_2 b_2) (* a c))
79.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify47.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0389850
11366779
25001753

prune299.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 4.4b

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
1.0b
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
1.2b
(- (* b_2 b_2) (* a c))
19.5b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite31.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:
11.0ms
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
9.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(- (* b_2 b_2) (* a c))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series252.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
70.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
32.0ms
(- (* b_2 b_2) (* a c))
60.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify43.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0389850
11366779
25001753

prune310.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 4.4b

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ a (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
1.0b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
1.2b
(- (* b_2 b_2) (* a c))
19.5b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite41.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:
15.0ms
(/ 1 (/ a (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
8.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
4.0ms
(- (* b_2 b_2) (* a c))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series295.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(/ 1 (/ a (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
71.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
33.0ms
(- (* b_2 b_2) (* a c))
63.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify87.0ms

Algorithm
egg-herbie
Counts
208 → 208
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
06582518
129482155
250022004

prune378.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 4.4b

localize13.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (* b_2 b_2) (* a c))
1.2b
(- (* b_2 b_2) (* a c))
19.5b
(sqrt (- (* b_2 b_2) (* a c)))
19.5b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log expm1-log1p-u flip3-- sqrt-div add-cbrt-cube flip-- log1p-expm1-u
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg diff-log prod-diff
Counts
4 → 66
Calls
4 calls:
4.0ms
(- (* b_2 b_2) (* a c))
4.0ms
(- (* b_2 b_2) (* a c))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))
5.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series188.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(- (* b_2 b_2) (* a c))
33.0ms
(- (* b_2 b_2) (* a c))
61.0ms
(sqrt (- (* b_2 b_2) (* a c)))
61.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify59.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
0159438
1511412
21701404
35002394

prune271.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 4.4b

regimes271.0ms

Accuracy

86.9% (3.7b remaining)

Error of 9.2b against oracle of 5.5b and baseline of 34.1b

bsearch91.0ms

Steps
ItersRangePoint
2
3.9431530817676045e+109
4.557375181159837e+109
4.019930844191633e+109
10
9.294290849485744e-131
6.48544897696183e-121
1.9238883452280037e-130
3
-2.4188752133425037e+101
-1.756824163423226e+101
-2.377497022722549e+101

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04427
14627
24627

end0.0ms

sample1.0s

Algorithm
intervals
Results
223.0ms1102×body2560valid
200.0ms5848×body80valid
151.0ms920×body1280valid
93.0ms2883×body80nan
56.0ms453×body640valid
25.0ms103×body5120valid
22.0ms227×body320valid
8.0ms123×body160valid