Details

Time bar (total: 4.6s)

sample39.0ms

Algorithm
intervals
Results
7.0ms30×body1280valid
6.0ms185×body80valid
6.0ms33×body2560valid
3.0ms97×body80nan
2.0ms18×body640valid
1.0msbody5120valid
0.0msbody320valid
0.0msbody160valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1337
2467
3497
4497

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.9b

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.5b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
1.2b
(- (* b_2 b_2) (* a c))
22.3b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite126.0ms

Algorithm
rewrite-expression-head
Rules
79×add-sqr-sqrt
78×*-un-lft-identity
61×prod-diff
58×add-cube-cbrt
38×sqrt-prod
26×distribute-rgt-neg-in
21×distribute-lft-neg-in times-frac
11×fma-neg
10×distribute-lft-out-- add-log-exp difference-of-squares
neg-mul-1 associate-/l*
add-exp-log add-cbrt-cube
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u
diff-log associate-/r*
sub-neg sqrt-div associate-/l/
cbrt-undiv associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub div-exp neg-log clear-num div-inv
Counts
4 → 171
Calls
4 calls:
70.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
30.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
8.0ms
(- (* b_2 b_2) (* a c))
11.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series221.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
61.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
29.0ms
(- (* b_2 b_2) (* a c))
56.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify66.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
05493055
118262150
250012063

prune328.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 4.2b

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ a (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))
0.5b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
1.2b
(- (* b_2 b_2) (* a c))
22.3b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
171×add-sqr-sqrt
170×*-un-lft-identity
165×times-frac
118×add-cube-cbrt
61×prod-diff
46×sqrt-prod
34×distribute-rgt-neg-in
27×associate-/r*
26×distribute-lft-out-- difference-of-squares
21×distribute-lft-neg-in
15×add-exp-log
11×fma-neg
10×add-log-exp
associate-/r/ add-cbrt-cube
neg-mul-1 flip3-- div-exp flip--
pow1
div-inv
expm1-log1p-u log1p-expm1-u
cbrt-undiv diff-log associate-/l*
sub-neg rec-exp sqrt-div 1-exp
associate--l- neg-sub0 rem-sqrt-square pow-flip frac-2neg sqrt-pow1 pow1/2 neg-log clear-num inv-pow
Counts
4 → 257
Calls
4 calls:
45.0ms
(/ 1 (/ a (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))
27.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
11.0ms
(- (* b_2 b_2) (* a c))
10.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series234.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(/ 1 (/ a (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))))
61.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
29.0ms
(- (* b_2 b_2) (* a c))
55.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify94.0ms

Algorithm
egg-herbie
Counts
269 → 269
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
07704550
132153424
250023236

prune353.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 4.2b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ 1 a) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
0.5b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
1.2b
(- (* b_2 b_2) (* a c))
22.3b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite161.0ms

Algorithm
rewrite-expression-head
Rules
181×prod-diff
146×add-sqr-sqrt
139×*-un-lft-identity
130×add-cube-cbrt
95×sqrt-prod
62×distribute-rgt-in distribute-lft-in
59×distribute-rgt-neg-in
57×distribute-lft-neg-in
19×neg-mul-1
13×add-exp-log associate-*l*
11×times-frac fma-neg
10×add-log-exp
add-cbrt-cube
pow1 associate-*r*
flip3-- flip--
expm1-log1p-u sub-neg prod-exp log1p-expm1-u distribute-lft-out-- difference-of-squares
diff-log unswap-sqr
frac-times sqrt-div associate-*r/ div-exp cbrt-unprod
cbrt-undiv associate--l- neg-sub0 rem-sqrt-square rec-exp sqrt-pow1 pow1/2 1-exp pow-prod-down neg-log associate-*l/ *-commutative div-inv
Counts
4 → 292
Calls
4 calls:
99.0ms
(* (/ 1 a) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
27.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
8.0ms
(- (* b_2 b_2) (* a c))
10.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series244.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(* (/ 1 a) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
66.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
30.0ms
(- (* b_2 b_2) (* a c))
56.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify109.0ms

Algorithm
egg-herbie
Counts
304 → 304
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
09067441
132954548
250014309

prune320.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 4.1b

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sqrt (- (* b_2 b_2) (* a c))) a)
1.2b
(- (* b_2 b_2) (* a c))
6.2b
(+ (- (/ b_2 a)) (- (/ (sqrt (- (* b_2 b_2) (* a c))) a)))
22.3b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite145.0ms

Algorithm
rewrite-expression-head
Rules
61×*-un-lft-identity
48×times-frac
40×add-sqr-sqrt
39×add-cube-cbrt
30×fma-def
25×distribute-rgt-neg-in
23×distribute-lft-neg-in
15×sqrt-prod
14×add-log-exp
12×distribute-lft-out
div-inv
add-exp-log add-cbrt-cube associate-/l*
pow1
expm1-log1p-u sqrt-div neg-log sum-log log1p-expm1-u
neg-mul-1 flip3-- associate-/r* flip--
neg-sub0 distribute-rgt-out associate-/l/ distribute-neg-frac
cbrt-undiv +-commutative associate-+l- associate-+r- sub-neg rem-sqrt-square distribute-neg-out frac-2neg sqrt-pow1 flip3-+ pow1/2 fma-neg diff-log div-exp unsub-neg prod-diff frac-add clear-num flip-+
Counts
4 → 142
Calls
4 calls:
16.0ms
(/ (sqrt (- (* b_2 b_2) (* a c))) a)
8.0ms
(- (* b_2 b_2) (* a c))
105.0ms
(+ (- (/ b_2 a)) (- (/ (sqrt (- (* b_2 b_2) (* a c))) a)))
10.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series254.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(/ (sqrt (- (* b_2 b_2) (* a c))) a)
29.0ms
(- (* b_2 b_2) (* a c))
78.0ms
(+ (- (/ b_2 a)) (- (/ (sqrt (- (* b_2 b_2) (* a c))) a)))
58.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify47.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04661014
11638944
25002931

prune377.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 4.1b

regimes150.0ms

Accuracy

84.7% (4.3b remaining)

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

bsearch79.0ms

Steps
ItersRangePoint
10
8.043557394408689e+68
7.456819745307919e+79
7.351468977489713e+79
7
-1.316548984668948e-60
-1.056498470782689e-62
-2.8813430075089506e-61

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03716
13916
23916

end0.0ms

sample1.1s

Algorithm
intervals
Results
193.0ms1070×body2560valid
191.0ms5935×body80valid
132.0ms860×body1280valid
89.0ms2988×body80nan
49.0ms429×body640valid
29.0ms121×body5120valid
19.0ms219×body320valid
6.0ms109×body160valid