Details

Time bar (total: 3.9s)

sample283.0ms

Algorithm
intervals
Results
8.0ms44×body2560valid
7.0ms172×body80valid
6.0ms37×body1280valid
3.0ms103×body80nan
3.0ms21×body640valid
1.0msbody320valid
0.0msbody160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1337
2467
3497
4497

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 37.5b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
0.2b
(- (* b_2 b_2) (* a c))
1.2b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
23.3b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
flip3-- prod-diff flip--
fma-neg
associate--l- neg-sub0 sub-neg sqrt-div div-sub associate-/l/
neg-mul-1 frac-2neg pow1/2 clear-num div-inv
Counts
4 → 26
Calls
4 calls:
7.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
5.0ms
(- (* b_2 b_2) (* a c))
5.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
7.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series277.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0246245
1802232
22674218
35001204

prune107.0ms

Filtered
38 candidates to 29 candidates (76.3%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New30838
Fresh000
Picked101
Done000
Total31839

Merged error: 6.1b

Counts
39 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

1.5b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
5.2b
(/ (/ (fma c a 0) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
10.5b
(/ (fma c a 0) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
23.3b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
flip3-- associate-/r/ flip--
frac-2neg clear-num div-inv associate-/l/ associate-/l*
sqrt-div
sub-neg pow1/2
Counts
4 → 21
Calls
4 calls:
5.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
8.0ms
(/ (/ (fma c a 0) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
7.0ms
(/ (fma c a 0) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
5.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series534.0ms

Counts
4 → 12
Calls
4 calls:
70.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
203.0ms
(/ (/ (fma c a 0) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
198.0ms
(/ (fma c a 0) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
63.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify97.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0274231
1855221
23674200
35001200

prune102.0ms

Filtered
33 candidates to 29 candidates (87.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New28533
Fresh437
Picked011
Done000
Total32941

Merged error: 6.0b

Counts
41 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

1.5b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
5.3b
(* (/ (fma c a 0) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (/ 1 a))
10.5b
(/ (fma c a 0) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
23.3b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
10×clear-num
frac-times frac-2neg
flip3-- associate-/r/ flip--
associate-*r/ associate-*l* associate-*l/ div-inv
sqrt-div un-div-inv
sub-neg pow1/2 associate-*r* *-commutative
Counts
4 → 34
Calls
4 calls:
5.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
11.0ms
(* (/ (fma c a 0) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (/ 1 a))
6.0ms
(/ (fma c a 0) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
5.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series528.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
199.0ms
(* (/ (fma c a 0) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) (/ 1 a))
198.0ms
(/ (fma c a 0) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
59.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify40.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0328300
11209279
25001272

prune120.0ms

Filtered
46 candidates to 35 candidates (76.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New42446
Fresh347
Picked101
Done101
Total47855

Merged error: 6.0b

Counts
55 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* b_2 b_2) (* a c))
1.5b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
15.1b
(/ (fma c a 0) a)
23.3b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
prod-diff
flip3-- flip--
sub-neg fma-neg sqrt-div
frac-2neg pow1/2 clear-num div-inv
Counts
4 → 20
Calls
4 calls:
5.0ms
(- (* b_2 b_2) (* a c))
5.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
2.0ms
(/ (fma c a 0) a)
5.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series191.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(- (* b_2 b_2) (* a c))
70.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
28.0ms
(/ (fma c a 0) a)
60.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify57.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (53.0ms)

IterNodesCost
0179159
1555154
21941146
35001132

prune62.0ms

Filtered
32 candidates to 20 candidates (62.5%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New30232
Fresh257
Picked011
Done000
Total32840

Merged error: 6.0b

Counts
40 → 8

regimes192.0ms

Accuracy

96.4% (0.9b remaining)

Error of 6.4b against oracle of 5.5b and baseline of 29.5b

bsearch103.0ms

Steps
ItersRangePoint
6
2.066422626357648e+110
1.9801395410105552e+111
1.703504653326294e+111
5
5.655525127217964e-251
1.9763919052369517e-250
6.3411928596588654e-251
8
-2.083222696695489e+156
-8.927571262924557e+151
-8.764892488422707e+153

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03921
13921

end0.0ms

sample993.0ms

Algorithm
intervals
Results
213.0ms1098×body2560valid
191.0ms5864×body80valid
138.0ms877×body1280valid
89.0ms2851×body80nan
58.0ms480×body640valid
25.0ms106×body5120valid
18.0ms198×body320valid
8.0ms122×body160valid