Details

Time bar (total: 3.9s)

sample293.0ms

Algorithm
intervals
Results
8.0ms40×body2560valid
7.0ms198×body80valid
5.0ms23×body1280valid
3.0ms103×body80nan
2.0ms16×body640valid
0.0msbody5120valid
0.0msbody160valid
0.0msbody320valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0147
1227
2257
3277
4297
5297

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

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.5b
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
23.0b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
neg-sub0 associate-+l- flip3-- flip3-+ sqrt-div flip-- flip-+ associate-/l/
+-commutative sub-neg frac-2neg pow1/2 div-sub clear-num div-inv
Counts
4 → 17
Calls
4 calls:
7.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))))
6.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series288.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(/ (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
34.0ms
(- (* b_2 b_2) (* a c))
75.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
85.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify80.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
0234195
1769185
22680176
35001175

prune93.0ms

Filtered
29 candidates to 25 candidates (86.2%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New22729
Fresh000
Picked011
Done000
Total22830

Merged error: 6.1b

Counts
30 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
0.2b
(- (* b_2 b_2) (* a c))
1.5b
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
23.0b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
frac-times
flip3-+ flip-+
clear-num
frac-2neg associate-*r/
flip3-- sqrt-div associate-*l/ un-div-inv flip--
+-commutative neg-sub0 associate-+l- sub-neg pow1/2 associate-*r* *-commutative div-inv
Counts
4 → 26
Calls
4 calls:
7.0ms
(* (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 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)))

series264.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(* (+ (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) (/ 1 a))
33.0ms
(- (* b_2 b_2) (* a c))
74.0ms
(+ (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
64.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify138.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0255302
11030285
24852255
35003255

prune99.0ms

Filtered
38 candidates to 29 candidates (76.3%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New36238
Fresh336
Picked011
Done011
Total39746

Merged error: 6.1b

Counts
46 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

1.2b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
4.5b
(* (/ (+ (* a c) 0) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) (/ 1 a))
10.2b
(/ (+ (* a c) 0) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
23.0b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
15×frac-times
12×clear-num
11×frac-2neg
10×associate-/l/
flip3-+ associate-*l/ flip-+
flip3-- associate-/r/ flip--
associate-*r/ associate-*l* div-inv
sqrt-div un-div-inv
associate--l- neg-sub0 sub-neg pow1/2 associate-*r* *-commutative
Counts
4 → 45
Calls
4 calls:
5.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
10.0ms
(* (/ (+ (* a c) 0) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) (/ 1 a))
8.0ms
(/ (+ (* a c) 0) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
4.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series452.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
142.0ms
(* (/ (+ (* a c) 0) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))) (/ 1 a))
174.0ms
(/ (+ (* a c) 0) (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
63.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify87.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
0399456
12107418
25002397

prune147.0ms

Filtered
57 candidates to 47 candidates (82.5%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New56157
Fresh044
Picked101
Done022
Total57764

Merged error: 6.0b

Counts
64 → 7

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
flip3-- flip--
sub-neg sqrt-div associate-/r/
associate--l- neg-sub0 frac-2neg pow1/2 clear-num div-inv
Counts
4 → 17
Calls
4 calls:
5.0ms
(/ c (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))))
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)))

series336.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0195197
1634192
22046180
35001179

prune64.0ms

Filtered
29 candidates to 24 candidates (82.8%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New29029
Fresh044
Picked011
Done022
Total29736

Merged error: 6.0b

Counts
36 → 7

regimes204.0ms

Accuracy

96.3% (0.9b remaining)

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

bsearch120.0ms

Steps
ItersRangePoint
6
2.066422626357648e+110
1.9801395410105552e+111
3.969902647964137e+110
8
-2.3862131106328103e-184
-9.444153407873295e-189
-1.8132672640965176e-188
8
-2.083222696695489e+156
-8.927571262924557e+151
-1.3324370156406744e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03521
13521

end0.0ms

sample1.0s

Algorithm
intervals
Results
214.0ms1094×body2560valid
205.0ms5873×body80valid
141.0ms877×body1280valid
87.0ms2851×body80nan
59.0ms453×body640valid
30.0ms117×body5120valid
21.0ms221×body320valid
7.0ms113×body160valid