Details

Time bar (total: 4.0s)

sample35.0ms

Algorithm
intervals
Results
15.0ms283×body80valid
5.0ms103×body80nan

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03918
18018
214318
317718
418918
519318
619318

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: 20.8b

Counts
2 → 1

localize121.0ms

Local error

Found 4 expressions with local error:

1.1b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.5b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
sqrt-div
flip3-- flip--
neg-sub0 neg-mul-1 pow1/2
+-commutative associate--l- associate-+l- sub-neg fma-def flip3-+ fma-neg flip-+
Counts
4 → 17
Calls
4 calls:
6.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
5.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
6.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
6.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series333.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
82.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
87.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
88.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify95.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 3 (87.0ms)

IterNodesCost
0190252
1754228
23077213
35001210

prune141.0ms

Filtered
29 candidates to 28 candidates (96.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New25429
Fresh000
Picked101
Done000
Total26430

Merged error: 7.2b

Counts
30 → 4

localize135.0ms

Local error

Found 4 expressions with local error:

1.1b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.3b
(/ (* a c) b)
4.8b
(/ (* 2.0 c) (- (* 2.0 (/ (* a c) b)) (* 2 b)))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite29.0ms

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

series242.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
20.0ms
(/ (* a c) b)
72.0ms
(/ (* 2.0 c) (- (* 2.0 (/ (* a c) b)) (* 2 b)))
70.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify116.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 3 (113.0ms)

IterNodesCost
0245204
1968191
24432184
35001181

prune133.0ms

Filtered
33 candidates to 27 candidates (81.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New31233
Fresh123
Picked101
Done000
Total33437

Merged error: 6.4b

Counts
37 → 4

localize122.0ms

Local error

Found 4 expressions with local error:

1.1b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.5b
(/ c (/ b a))
4.8b
(/ (* 2.0 c) (- (* 2.0 (/ c (/ b a))) (* 2 b)))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
flip3-- frac-2neg clear-num flip-- div-inv
sqrt-div associate-/l*
associate--l- neg-sub0 neg-mul-1 sub-neg pow1/2 fma-neg associate-/r* *-commutative
Counts
4 → 23
Calls
4 calls:
6.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.0ms
(/ c (/ b a))
9.0ms
(/ (* 2.0 c) (- (* 2.0 (/ c (/ b a))) (* 2 b)))
6.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series356.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.0ms
(/ c (/ b a))
182.0ms
(/ (* 2.0 c) (- (* 2.0 (/ c (/ b a))) (* 2 b)))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify33.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0257207
11073194
25001189

prune136.0ms

Filtered
35 candidates to 28 candidates (80.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New33235
Fresh123
Picked101
Done000
Total35439

Merged error: 6.4b

Counts
39 → 4

localize127.0ms

Local error

Found 4 expressions with local error:

1.1b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.5b
(/ (/ b a) c)
4.8b
(/ (* 2.0 c) (- (* 2.0 (/ 1 (/ (/ b a) c))) (* 2 b)))
23.0b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
flip3-- frac-2neg clear-num flip-- div-inv associate-/l/ associate-/l*
sqrt-div associate-/r/
associate--l- neg-sub0 neg-mul-1 sub-neg pow1/2 fma-neg *-commutative
Counts
4 → 23
Calls
4 calls:
6.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
3.0ms
(/ (/ b a) c)
10.0ms
(/ (* 2.0 c) (- (* 2.0 (/ 1 (/ (/ b a) c))) (* 2 b)))
6.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series357.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
22.0ms
(/ (/ b a) c)
182.0ms
(/ (* 2.0 c) (- (* 2.0 (/ 1 (/ (/ b a) c))) (* 2 b)))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify33.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0270217
11057203
25001194

prune124.0ms

Filtered
35 candidates to 27 candidates (77.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New34135
Fresh123
Picked101
Done000
Total36339

Merged error: 6.4b

Counts
39 → 3

regimes127.0ms

Accuracy

95.5% (0.7b remaining)

Error of 7.3b against oracle of 6.6b and baseline of 22.3b

bsearch279.0ms

Steps
ItersRangePoint
6
2.066422626357648e+110
1.9801395410105552e+111
4.430960794104572e+110
11
-7.360434076590754e-288
1.6657383938953904e-292
-5.6371401051707e-310
8
-2.083222696695489e+156
-8.927571262924557e+151
-1.3298367139250566e+153

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06878
16878

end0.0ms

sample826.0ms

Algorithm
intervals
Results
448.0ms8739×body80valid
135.0ms2855×body80nan