Details

Time bar (total: 6.8s)

sample1.8s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 23.873901%

Guaranteed chance to sample good point: 81.743836%

Results
23.0ms256×body80valid
2.0ms20×body80invalid
1.0ms12×body80nan

simplify374.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03518
16618
211618
314418
415918
516118
616118

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 21.1b

Counts
2 → 1

localize38.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (* b b) (* (* 4.0 a) c))
1.6b
(- (* b b) (* (* 4.0 a) c))
23.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log flip3-- sqrt-div add-cbrt-cube flip--
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 54
Calls
4 calls:
3.0ms
(- (* b b) (* (* 4.0 a) c))
3.0ms
(- (* b b) (* (* 4.0 a) c))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
6.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series53.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* b b) (* (* 4.0 a) c))
8.0ms
(- (* b b) (* (* 4.0 a) c))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify87.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 3 (75.0ms)

IterNodesCost
0147476
1564446
22529444
35002442

prune171.0ms

Filtered
50 candidates to 66 candidates (-32.0%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New57966
Fresh000
Picked101
Done000
Total58967

Merged error: 9.3b

Counts
67 → 9

localize23.0ms

Local error

Found 4 expressions with local error:

10.3b
(- (neg b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
23.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
sqrt-prod
add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log flip3-- add-cbrt-cube flip--
rem-sqrt-square sqrt-pow1 pow1/2
diff-log
associate--l- neg-sub0 sub-neg neg-log difference-of-squares
Counts
4 → 60
Calls
4 calls:
4.0ms
(- (neg b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series57.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(- (neg b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
13.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
15.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify106.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (98.0ms)

IterNodesCost
0221722
1829631
23533612
35001592

prune220.0ms

Filtered
60 candidates to 72 candidates (-20.0%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New70272
Fresh178
Picked011
Done000
Total711081

Merged error: 9.3b

Counts
81 → 10

localize30.0ms

Local error

Found 4 expressions with local error:

23.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
24.1b
(cbrt (- (* b b) (* (* 4.0 a) c)))
24.1b
(cbrt (- (* b b) (* (* 4.0 a) c)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 cbrt-prod sqrt-prod
add-exp-log cbrt-div flip3-- sqrt-div add-cbrt-cube flip-- add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 pow1/3
Counts
4 → 56
Calls
4 calls:
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

series80.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))
29.0ms
(cbrt (- (* b b) (* (* 4.0 a) c)))

simplify84.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (77.0ms)

IterNodesCost
0218604
1680574
22689560
35002542

prune280.0ms

Filtered
58 candidates to 68 candidates (-17.2%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New67168
Fresh088
Picked011
Done011
Total671178

Merged error: 9.3b

Counts
78 → 11

localize23.0ms

Local error

Found 4 expressions with local error:

11.4b
(+ (neg b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
23.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))
23.3b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
sqrt-prod
add-log-exp
pow1 add-cube-cbrt *-un-lft-identity
sqrt-div
add-exp-log add-cbrt-cube
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
sum-log
+-commutative neg-sub0 associate-+l- flip3-+ neg-log flip-+
Counts
4 → 58
Calls
4 calls:
4.0ms
(+ (neg b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
3.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series57.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(+ (neg b) (* (sqrt (sqrt (- (* b b) (* (* 4.0 a) c)))) (sqrt (sqrt (- (* b b) (* (* 4.0 a) c))))))
15.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
13.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify110.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (103.0ms)

IterNodesCost
0227677
1876574
23665562
35003558

prune192.0ms

Filtered
59 candidates to 70 candidates (-18.6%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New67370
Fresh358
Picked101
Done022
Total711081

Merged error: 9.3b

Counts
81 → 10

regimes341.0ms

Accuracy

92% (1.0b remaining)

Error of 8.3b against oracle of 7.3b and baseline of 19.6b

bsearch76.0ms

Steps
ItersRangePoint
9
2.6344834212533875e+88
9.710826601487366e+96
1.0645936985999334e+96
9
-3.2251985257956323e+159
-1.662564167781351e+151
-1.3325084122913293e+154

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04858
14858

end0.0ms

sample2.5s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 23.873901%

Guaranteed chance to sample good point: 81.743836%

Results
687.0ms8000×body80valid
45.0ms509×body80invalid
32.0ms381×body80nan

Profiling

Loading profile data...