Details

Time bar (total: 4.1s)

sample286.0ms

Algorithm
intervals
Results
8.0ms33×body2560valid
7.0ms185×body80valid
4.0ms25×body1280valid
3.0ms97×body80nan
2.0ms17×body640valid
2.0msbody5120valid
1.0msbody320valid
0.0msbody160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1337
2467
3497
4497

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.8b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
1.0b
(- (* b_2 b_2) (* a c))
1.5b
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
23.9b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
flip3-- prod-diff flip--
fma-neg
associate--l- neg-sub0 sub-neg sqrt-div div-sub associate-/l/
neg-mul-1 frac-2neg pow1/2 clear-num div-inv
Counts
4 → 26
Calls
4 calls:
6.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
5.0ms
(- (* b_2 b_2) (* a c))
5.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
7.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series286.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(/ (- (- b_2) (sqrt (- (* b_2 b_2) (* a c)))) a)
34.0ms
(- (* b_2 b_2) (* a c))
77.0ms
(- (- b_2) (sqrt (- (* b_2 b_2) (* a c))))
88.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify75.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0246245
1802232
22674218
35001204

prune115.0ms

Filtered
38 candidates to 29 candidates (76.3%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New30838
Fresh000
Picked101
Done000
Total31839

Merged error: 5.8b

Counts
39 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b_2 b_2) (* a c))
3.3b
(/ (/ (fma c a 0) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
10.2b
(/ (fma c a 0) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
23.9b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
flip3-- prod-diff associate-/r/ flip--
frac-2neg clear-num div-inv associate-/l/ associate-/l*
fma-neg sqrt-div
sub-neg pow1/2
Counts
4 → 27
Calls
4 calls:
8.0ms
(- (* b_2 b_2) (* a c))
7.0ms
(/ (/ (fma c a 0) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
7.0ms
(/ (fma c a 0) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
5.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series513.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- (* b_2 b_2) (* a c))
210.0ms
(/ (/ (fma c a 0) (- (sqrt (- (* b_2 b_2) (* a c))) b_2)) a)
206.0ms
(/ (fma c a 0) (- (sqrt (- (* b_2 b_2) (* a c))) b_2))
62.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify95.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0267249
1825239
23538219
35001219

prune115.0ms

Filtered
39 candidates to 29 candidates (74.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New35439
Fresh257
Picked101
Done000
Total38947

Merged error: 5.7b

Counts
47 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

1.0b
(- (* b_2 b_2) (* a c))
3.3b
(/ (* (fma c a 0) (/ 1 (- (sqrt (- (* b_2 b_2) (* a c))) b_2))) a)
10.2b
(* (fma c a 0) (/ 1 (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
23.9b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
associate-*r/ associate-*r*
clear-num associate-/l/ associate-/l*
flip3-- prod-diff associate-/r/ un-div-inv flip--
frac-2neg div-inv
fma-neg sqrt-div
sub-neg pow1/2
Counts
4 → 35
Calls
4 calls:
5.0ms
(- (* b_2 b_2) (* a c))
9.0ms
(/ (* (fma c a 0) (/ 1 (- (sqrt (- (* b_2 b_2) (* a c))) b_2))) a)
7.0ms
(* (fma c a 0) (/ 1 (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
5.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series513.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(- (* b_2 b_2) (* a c))
205.0ms
(/ (* (fma c a 0) (/ 1 (- (sqrt (- (* b_2 b_2) (* a c))) b_2))) a)
204.0ms
(* (fma c a 0) (/ 1 (- (sqrt (- (* b_2 b_2) (* a c))) b_2)))
65.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify36.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0282254
1955236
25001222

prune119.0ms

Filtered
47 candidates to 30 candidates (63.8%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New44347
Fresh358
Picked011
Done000
Total47956

Merged error: 5.7b

Counts
56 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

0.9b
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
1.0b
(- (* b_2 b_2) (* a c))
15.4b
(/ a (fma c a 0))
23.9b
(sqrt (- (* b_2 b_2) (* a c)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
*-commutative
prod-diff
flip3-- flip--
sub-neg fma-neg sqrt-div
frac-2neg pow1/2 clear-num div-inv
Counts
4 → 20
Calls
4 calls:
6.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
5.0ms
(- (* b_2 b_2) (* a c))
2.0ms
(/ a (fma c a 0))
5.0ms
(sqrt (- (* b_2 b_2) (* a c)))

series206.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(- (sqrt (- (* b_2 b_2) (* a c))) b_2)
36.0ms
(- (* b_2 b_2) (* a c))
34.0ms
(/ a (fma c a 0))
64.0ms
(sqrt (- (* b_2 b_2) (* a c)))

simplify56.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (52.0ms)

IterNodesCost
0180163
1558158
21959150
35002135

prune71.0ms

Filtered
32 candidates to 20 candidates (62.5%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New31132
Fresh167
Picked101
Done011
Total33841

Merged error: 5.7b

Counts
41 → 8

regimes176.0ms

Accuracy

95.9% (1.0b remaining)

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

bsearch157.0ms

Steps
ItersRangePoint
8
4.088553977120381e+100
8.044751807128501e+103
1.7707226313517787e+102
11
1.8145151230270015e-269
9.272403512084269e-250
3.0003811195914403e-269
8
-6.305756997180833e+135
-5.1661869031349895e+132
-1.2750799850289763e+133

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04123
14123

end0.0ms

sample1.1s

Algorithm
intervals
Results
230.0ms1052×body2560valid
211.0ms5925×body80valid
154.0ms900×body1280valid
104.0ms2937×body80nan
64.0ms438×body640valid
30.0ms115×body5120valid
20.0ms197×body320valid
9.0ms130×body160valid