Details

Time bar (total: 3.7s)

sample38.0ms

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

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1327
2417
3447
4447

prune2.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

localize9.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)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
flip3-- flip--
associate--l- neg-sub0 sub-neg sqrt-div div-sub associate-/l/
frac-2neg pow1/2 clear-num div-inv
Counts
4 → 19
Calls
4 calls:
6.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
4.0ms
(- (* b_2 b_2) (* a c))
4.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series248.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
0223208
1712203
22280193
35001190

prune90.0ms

Filtered
31 candidates to 26 candidates (83.9%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New23831
Fresh000
Picked101
Done000
Total24832

Merged error: 6.1b

Counts
32 → 8

localize9.0ms

Local error

Found 4 expressions with local error:

1.5b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
5.2b
(/ (/ (* a c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
10.5b
(/ (* a c) (- (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
associate-/l*
associate-/l/
flip3-- associate-/r/ flip--
frac-2neg clear-num div-inv
sqrt-div *-commutative
sub-neg pow1/2
Counts
4 → 25
Calls
4 calls:
5.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
8.0ms
(/ (/ (* a c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
8.0ms
(/ (* a c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series464.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
150.0ms
(/ (/ (* a c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
184.0ms
(/ (* a c) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
60.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify87.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
0276257
1838242
23489228
35001227

prune92.0ms

Filtered
37 candidates to 34 candidates (91.9%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New32537
Fresh437
Picked101
Done000
Total37845

Merged error: 6.0b

Counts
45 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.0ms

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

series337.0ms

Counts
4 → 12
Calls
4 calls:
176.0ms
(/ c (* 1 (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
34.0ms
(- (* b_2 b_2) (* a c))
70.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
57.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify92.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
0203183
1706173
23130170
35001170

prune75.0ms

Filtered
30 candidates to 25 candidates (83.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New28230
Fresh257
Picked011
Done000
Total30838

Merged error: 6.0b

Counts
38 → 8

localize10.0ms

Local error

Found 4 expressions with local error:

1.5b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
1.9b
(/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
5.2b
(/ (/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)) a)
23.3b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite25.0ms

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

series419.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
162.0ms
(/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c))
130.0ms
(/ (/ a (/ (- (sqrt (- (* b_2 b_2) (* a c))) b_2) c)) a)
60.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify172.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0284260
1949246
24602238
35002238

prune90.0ms

Filtered
41 candidates to 34 candidates (82.9%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New40141
Fresh156
Picked011
Done011
Total41849

Merged error: 6.0b

Counts
49 → 8

regimes185.0ms

Accuracy

96.3% (0.9b remaining)

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

bsearch99.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
03719
13919
23919

end0.0ms

sample998.0ms

Algorithm
intervals
Results
217.0ms1098×body2560valid
196.0ms5864×body80valid
136.0ms877×body1280valid
91.0ms2851×body80nan
61.0ms480×body640valid
25.0ms106×body5120valid
18.0ms198×body320valid
8.0ms122×body160valid