Details

Time bar (total: 8.5s)

sample43.0ms

Algorithm
intervals
Results
8.0ms33×body2560valid
8.0ms192×body80valid
5.0ms26×body1280valid
4.0ms113×body80nan
2.0ms10×body640valid
1.0msbody5120valid
1.0msbody320valid
1.0msbody160valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0299
1659
21219
31519
41609
51649
61649

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 34.4b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.4b
(- (* b b) (* 4.0 (* a c)))
2.0b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
22.9b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite254.0ms

Algorithm
rewrite-expression-head
Rules
1094×add-sqr-sqrt
580×prod-diff
482×*-un-lft-identity
330×add-cube-cbrt
318×associate-*r*
307×unswap-sqr
256×sqrt-prod
231×associate-*l*
208×difference-of-squares
105×swap-sqr
97×*-commutative
92×distribute-rgt-neg-in
84×times-frac
78×distribute-lft-neg-in
76×distribute-lft-out--
26×neg-mul-1
25×fma-neg
12×associate-/r*
10×add-log-exp
add-exp-log add-cbrt-cube
associate-/l*
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u
diff-log
cbrt-undiv associate--l- neg-sub0 sub-neg sqrt-div div-sub div-exp associate-/l/
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 neg-log prod-exp clear-num cbrt-unprod div-inv
Counts
4 → 817
Calls
4 calls:
60.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
31.0ms
(- (* b b) (* 4.0 (* a c)))
44.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
47.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series328.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
53.0ms
(- (* b b) (* 4.0 (* a c)))
85.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
84.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify208.0ms

Algorithm
egg-herbie
Counts
829 → 829
Iterations

Useful iterations: 1 (43.0ms)

IterNodesCost
0193220316
1500115481

prune781.0ms

Filtered
829 candidates to 206 candidates (75.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New8209829
Fresh000
Picked101
Done000
Total8219830

Merged error: 5.1b

Counts
830 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (/ (* 2.0 a) (- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
0.4b
(- (* b b) (* 4.0 (* a c)))
2.0b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
22.9b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite540.0ms

Algorithm
rewrite-expression-head
Rules
1474×add-sqr-sqrt
822×*-un-lft-identity
606×times-frac
580×prod-diff
524×add-cube-cbrt
381×associate-*r*
328×unswap-sqr
295×associate-*l*
292×sqrt-prod
280×difference-of-squares
148×distribute-lft-out--
128×distribute-rgt-neg-in
118×*-commutative
105×swap-sqr
97×associate-/r*
78×distribute-lft-neg-in
30×associate-/r/
26×neg-mul-1
25×add-exp-log fma-neg
17×associate-/l*
13×add-cbrt-cube
12×div-exp
10×add-log-exp
flip3-- flip--
pow1
cbrt-undiv div-inv
expm1-log1p-u log1p-expm1-u
rec-exp diff-log 1-exp prod-exp clear-num remove-double-div
sub-neg frac-2neg sqrt-div
associate--l- neg-sub0 rem-sqrt-square pow-flip sqrt-pow1 pow1/2 neg-log cbrt-unprod inv-pow
Counts
4 → 1108
Calls
4 calls:
66.0ms
(/ 1 (/ (* 2.0 a) (- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
37.0ms
(- (* b b) (* 4.0 (* a c)))
43.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
52.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series353.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(/ 1 (/ (* 2.0 a) (- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))))
54.0ms
(- (* b b) (* 4.0 (* a c)))
91.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
80.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify297.0ms

Algorithm
egg-herbie
Counts
1120 → 1120
Iterations

Useful iterations: 1 (67.0ms)

IterNodesCost
0255925667
1500121115

prune1.3s

Filtered
1120 candidates to 347 candidates (69.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New111641120
Fresh448
Picked011
Done000
Total112091129

Merged error: 5.1b

Counts
1129 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.4b
(- (* b b) (* 4.0 (* a c)))
2.0b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
22.9b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite262.0ms

Algorithm
rewrite-expression-head
Rules
1094×add-sqr-sqrt
580×prod-diff
482×*-un-lft-identity
330×add-cube-cbrt
318×associate-*r*
307×unswap-sqr
256×sqrt-prod
231×associate-*l*
208×difference-of-squares
105×swap-sqr
97×*-commutative
92×distribute-rgt-neg-in
84×times-frac
78×distribute-lft-neg-in
76×distribute-lft-out--
26×neg-mul-1
25×fma-neg
12×associate-/r*
10×add-log-exp
add-exp-log add-cbrt-cube
associate-/l*
pow1
expm1-log1p-u flip3-- flip-- log1p-expm1-u
diff-log
cbrt-undiv associate--l- neg-sub0 sub-neg sqrt-div div-sub div-exp associate-/l/
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 neg-log prod-exp clear-num cbrt-unprod div-inv
Counts
4 → 817
Calls
4 calls:
63.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
32.0ms
(- (* b b) (* 4.0 (* a c)))
46.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
48.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series329.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
53.0ms
(- (* b b) (* 4.0 (* a c)))
86.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
84.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify211.0ms

Algorithm
egg-herbie
Counts
829 → 829
Iterations

Useful iterations: 1 (44.0ms)

IterNodesCost
0193220316
1500115481

prune675.0ms

Filtered
829 candidates to 201 candidates (75.8%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New8290829
Fresh077
Picked011
Done011
Total8299838

Merged error: 5.1b

Counts
838 → 9

localize23.0ms

Local error

Found 4 expressions with local error:

2.0b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
22.9b
(sqrt (- (* b b) (* 4.0 (* a c))))
22.9b
(sqrt (- (* b b) (* 4.0 (* a c))))
22.9b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite220.0ms

Algorithm
rewrite-expression-head
Rules
697×add-sqr-sqrt
287×sqrt-prod
250×prod-diff
234×unswap-sqr
213×*-un-lft-identity
197×difference-of-squares
105×add-cube-cbrt
79×distribute-rgt-neg-in
78×distribute-lft-neg-in
54×distribute-lft-out--
52×associate-*l*
39×swap-sqr *-commutative
26×neg-mul-1
10×fma-neg
add-log-exp
pow1
sqrt-div
add-exp-log expm1-log1p-u flip3-- add-cbrt-cube flip-- log1p-expm1-u
rem-sqrt-square sqrt-pow1 pow1/2
diff-log
associate--l- neg-sub0 sub-neg neg-log
Counts
4 → 388
Calls
4 calls:
46.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
47.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
44.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
47.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series336.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
79.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
81.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
86.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify146.0ms

Algorithm
egg-herbie
Counts
400 → 400
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
069011846
118669382
250019159

prune639.0ms

Filtered
400 candidates to 119 candidates (70.3%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New4000400
Fresh066
Picked011
Done022
Total4009409

Merged error: 5.1b

Counts
409 → 9

regimes278.0ms

Accuracy

85.3% (4.2b remaining)

Error of 9.8b against oracle of 5.5b and baseline of 34.3b

bsearch73.0ms

Steps
ItersRangePoint
0
1.3836563058951246e+50
1.390978468581987e+50
1.3873173872385558e+50
9
-2.816841330355383e-75
-7.368877589091801e-81
-1.0996442222619662e-75

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03215
13215

end0.0ms

sample1.2s

Algorithm
intervals
Results
271.0ms1103×body2560valid
245.0ms5872×body80valid
172.0ms890×body1280valid
106.0ms2796×body80nan
71.0ms453×body640valid
30.0ms102×body5120valid
26.0ms231×body320valid
9.0ms116×body160valid