Details

Time bar (total: 4.3s)

sample47.0ms

Algorithm
intervals
Results
9.0ms43×body2560valid
7.0ms171×body80valid
7.0ms38×body1280valid
7.0ms103×body80nan
3.0ms21×body640valid
1.0msbody320valid
0.0msbody160valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0289
1649
21149
31359
41449
51489
61489

prune3.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.2b

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.2b
(- (* b b) (* 4.0 (* a c)))
1.1b
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
23.0b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite24.0ms

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

series290.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(/ (- (- b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
42.0ms
(- (* b b) (* 4.0 (* a c)))
76.0ms
(- (- b) (sqrt (- (* b b) (* 4.0 (* a c)))))
72.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify110.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 3 (104.0ms)

IterNodesCost
0274267
1960259
23423248
35001247

prune294.0ms

Filtered
33 candidates to 28 candidates (84.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New26733
Fresh000
Picked101
Done000
Total27734

Merged error: 5.9b

Counts
34 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

1.5b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
5.2b
(/ (/ (* 4.0 (* a c)) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) (* 2.0 a))
10.5b
(/ (* 4.0 (* a c)) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
23.0b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
11×associate-/l*
associate-/r/ *-commutative
associate-/l/
flip3-- times-frac flip--
div-inv
associate-*r*
frac-2neg clear-num
sqrt-div associate-/r*
sub-neg pow1/2
Counts
4 → 37
Calls
4 calls:
6.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
11.0ms
(/ (/ (* 4.0 (* a c)) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) (* 2.0 a))
10.0ms
(/ (* 4.0 (* a c)) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
5.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series515.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
165.0ms
(/ (/ (* 4.0 (* a c)) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) (* 2.0 a))
199.0ms
(/ (* 4.0 (* a c)) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
71.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify39.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0356497
11279459
25001441

prune147.0ms

Filtered
49 candidates to 45 candidates (91.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New45449
Fresh336
Picked101
Done000
Total49756

Merged error: 5.8b

Counts
56 → 7

localize18.0ms

Local error

Found 4 expressions with local error:

1.5b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
1.9b
(/ (* 4.0 a) (/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) c))
5.2b
(/ (/ (* 4.0 a) (/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) c)) (* 2.0 a))
23.0b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
24×times-frac
20×associate-/r/
15×*-commutative div-inv
14×associate-/l/
12×associate-/l*
frac-2neg clear-num
flip3-- flip--
associate-/r*
sqrt-div
sub-neg pow1/2
Counts
4 → 55
Calls
4 calls:
6.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
9.0ms
(/ (* 4.0 a) (/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) c))
13.0ms
(/ (/ (* 4.0 a) (/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) c)) (* 2.0 a))
5.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series471.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
179.0ms
(/ (* 4.0 a) (/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) c))
142.0ms
(/ (/ (* 4.0 a) (/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) c)) (* 2.0 a))
72.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify50.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0451635
11593574
25002564

prune192.0ms

Filtered
67 candidates to 58 candidates (86.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New65267
Fresh246
Picked011
Done000
Total67774

Merged error: 5.8b

Counts
74 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* b b) (* 4.0 (* a c)))
0.5b
(/ 1 (* (/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) c) (/ 2.0 4.0)))
1.5b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
23.0b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
24×associate-/r/
15×frac-times
12×clear-num
11×frac-2neg
associate-/l/
flip3-- flip--
associate-*l/
associate-/r*
associate-*r/ div-inv
sub-neg sqrt-div
pow1/2 associate-*r* associate-*l* un-div-inv *-commutative inv-pow
Counts
4 → 43
Calls
4 calls:
5.0ms
(- (* b b) (* 4.0 (* a c)))
12.0ms
(/ 1 (* (/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) c) (/ 2.0 4.0)))
6.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
5.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series307.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(- (* b b) (* 4.0 (* a c)))
112.0ms
(/ 1 (* (/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) c) (/ 2.0 4.0)))
78.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
70.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify46.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0349436
11437401
25001393

prune143.0ms

Filtered
55 candidates to 45 candidates (81.8%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New55055
Fresh055
Picked011
Done011
Total55762

Merged error: 5.8b

Counts
62 → 7

regimes178.0ms

Accuracy

95.7% (1.0b remaining)

Error of 6.6b against oracle of 5.6b and baseline of 29.8b

bsearch137.0ms

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

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04626
14626

end0.0ms

sample1.1s

Algorithm
intervals
Results
250.0ms1094×body2560valid
226.0ms5866×body80valid
170.0ms878×body1280valid
105.0ms2855×body80nan
72.0ms481×body640valid
30.0ms106×body5120valid
21.0ms197×body320valid
9.0ms117×body160valid