Details

Time bar (total: 4.0s)

sample35.0ms

Algorithm
intervals
Results
14.0ms278×body80valid
4.0ms97×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.2b

Counts
2 → 1

localize117.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 4.0 a) c))
1.5b
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
23.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
prod-diff
flip3-- sqrt-div associate-*l* flip--
fma-neg
sub-neg pow1/2
associate--l- neg-sub0 neg-mul-1
Counts
4 → 26
Calls
4 calls:
6.0ms
(- (* b b) (* (* 4.0 a) c))
6.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)))

series262.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(- (* b b) (* (* 4.0 a) c))
76.0ms
(- (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify107.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 3 (102.0ms)

IterNodesCost
0222311
1822288
23420276
35001242

prune139.0ms

Filtered
38 candidates to 25 candidates (65.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New32638
Fresh000
Picked101
Done000
Total33639

Merged error: 8.4b

Counts
39 → 6

localize117.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b b) (* (* 4.0 a) c))
3.3b
(/ (- (- b) (- b (* 2.0 (/ (* a c) b)))) (* 2.0 a))
5.0b
(/ (* a c) b)
23.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
11×*-commutative
prod-diff
div-sub associate-*l*
flip3-- flip--
sub-neg frac-2neg fma-neg sqrt-div clear-num associate-/r* div-inv associate-/l/ associate-/l* associate--r+
associate--l- neg-sub0 pow1/2
Counts
4 → 33
Calls
4 calls:
6.0ms
(- (* b b) (* (* 4.0 a) c))
6.0ms
(/ (- (- b) (- b (* 2.0 (/ (* a c) b)))) (* 2.0 a))
4.0ms
(/ (* a c) b)
6.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series194.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(- (* b b) (* (* 4.0 a) c))
60.0ms
(/ (- (- b) (- b (* 2.0 (/ (* a c) b)))) (* 2.0 a))
19.0ms
(/ (* a c) b)
71.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify117.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0278294
11025282
24358273
35001273

prune141.0ms

Filtered
45 candidates to 27 candidates (60.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New44145
Fresh055
Picked011
Done000
Total44751

Merged error: 6.8b

Counts
51 → 7

localize114.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (* 2.0 c) (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
0.8b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.0b
(- (* b b) (* (* 4.0 a) c))
23.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
10×*-commutative
prod-diff
associate-*l*
flip3-- flip3-+ fma-neg sqrt-div associate-/r/ flip-- flip-+ associate-/l*
+-commutative neg-sub0 associate-+l- neg-mul-1 sub-neg fma-def frac-2neg pow1/2 clear-num div-inv
Counts
4 → 29
Calls
4 calls:
8.0ms
(/ (* 2.0 c) (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
6.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
6.0ms
(- (* b b) (* (* 4.0 a) c))
6.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series382.0ms

Counts
4 → 12
Calls
4 calls:
187.0ms
(/ (* 2.0 c) (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c)))))
79.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
44.0ms
(- (* b b) (* (* 4.0 a) c))
72.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify106.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 3 (102.0ms)

IterNodesCost
0277323
1933290
23601278
35001276

prune138.0ms

Filtered
41 candidates to 29 candidates (70.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New37441
Fresh325
Picked101
Done011
Total41748

Merged error: 6.6b

Counts
48 → 7

localize116.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (* 2.0 c) (/ 1 (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
0.8b
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.0b
(- (* b b) (* (* 4.0 a) c))
23.9b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite28.0ms

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

series387.0ms

Counts
4 → 12
Calls
4 calls:
187.0ms
(* (* 2.0 c) (/ 1 (+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))))
79.0ms
(+ (- b) (sqrt (- (* b b) (* (* 4.0 a) c))))
48.0ms
(- (* b b) (* (* 4.0 a) c))
73.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify34.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0289303
11063270
25001261

prune121.0ms

Filtered
45 candidates to 29 candidates (64.4%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New44145
Fresh145
Picked011
Done011
Total45752

Merged error: 6.6b

Counts
52 → 7

regimes203.0ms

Accuracy

92.6% (1.1b remaining)

Error of 7.4b against oracle of 6.3b and baseline of 20.6b

bsearch240.0ms

Steps
ItersRangePoint
8
4.088553977120381e+100
8.044751807128501e+103
2.6429722002179594e+103
8
1.2144307814005946e-307
1.5667111089934007e-304
1.2324305000920097e-307
6
-1.2994787762702041e+157
-3.0529494422842112e+156
-3.0812943354752785e+156

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06368
16368

end0.0ms

sample845.0ms

Algorithm
intervals
Results
456.0ms8757×body80valid
141.0ms2939×body80nan