Details

Time bar (total: 3.9s)

analyze450.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
12.5%87.4%0.1%5
18.7%81.1%0.1%6
21.8%71.8%6.4%7
31.2%62.4%6.4%8
35.9%55.4%8.7%9
37.8%48.8%13.4%10
42.7%42.3%15%11
47.7%34.2%18.1%12
49.1%30.4%20.5%13
51.9%25.8%22.3%14

sample43.0ms

Algorithm
intervals
Results
10.0ms36×body2560valid
8.0ms163×body80valid
7.0ms29×body1280valid
3.0ms16×body640valid
2.0msbody5120valid
1.0ms23×body80nan
1.0msbody320valid
1.0ms13×body80invalid
0.0msbody160valid

simplify214.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (212.0ms)

IterNodesCost
0193117
1193117

prune7.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 33.9b

Counts
2 → 1

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
0.6b
(- (* b b) (* 4.0 (* a c)))
0.8b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
21.8b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
19×*-un-lft-identity
10×add-log-exp
add-exp-log add-cbrt-cube
add-cube-cbrt times-frac associate-/l*
sqrt-prod distribute-lft-out-- difference-of-squares
pow1
flip3-- flip--
distribute-rgt-neg-in diff-log
cbrt-undiv sub-neg sqrt-div div-exp associate-/l/
associate--l- neg-sub0 rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-sub neg-log prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
4 → 75
Calls
4 calls:
13.0ms
(/ (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
4.0ms
(- (* b b) (* 4.0 (* a c)))
9.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series60.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
059461448

prune152.0ms

Filtered
64 candidates to 87 candidates (-35.9%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New80787
Fresh000
Picked011
Done000
Total80888

Merged error: 5.6b

Counts
88 → 8

localize12.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
2.6b
(/ (/ (* 4.0 (* a c)) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) (* 2.0 a))
9.1b
(/ (* 4.0 (* a c)) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
21.8b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
45×add-exp-log add-cbrt-cube
32×add-sqr-sqrt
30×times-frac
21×*-un-lft-identity
17×cbrt-undiv div-exp
13×prod-exp cbrt-unprod associate-/l*
11×add-cube-cbrt
10×difference-of-squares
sqrt-prod
associate-/r*
associate-/r/ add-log-exp
pow1 flip3-- flip-- distribute-lft-out--
div-inv
frac-2neg sqrt-div clear-num
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-/l/
Counts
4 → 112
Calls
4 calls:
7.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
15.0ms
(/ (/ (* 4.0 (* a c)) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) (* 2.0 a))
12.0ms
(/ (* 4.0 (* a c)) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series136.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
47.0ms
(/ (/ (* 4.0 (* a c)) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) (* 2.0 a))
61.0ms
(/ (* 4.0 (* a c)) (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify38.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
052322497

prune177.0ms

Filtered
84 candidates to 124 candidates (-47.6%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1204124
Fresh426
Picked011
Done011
Total1248132

Merged error: 5.5b

Counts
132 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ c (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
0.6b
(- (* b b) (* 4.0 (* a c)))
0.8b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
21.8b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt
26×*-un-lft-identity
18×times-frac
16×add-cube-cbrt
10×difference-of-squares
sqrt-prod add-log-exp
add-exp-log associate-/r* add-cbrt-cube
pow1 distribute-lft-out--
flip3-- flip--
associate-/l*
sub-neg sqrt-div diff-log associate-/r/
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num div-inv
Counts
4 → 81
Calls
4 calls:
10.0ms
(/ c (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
4.0ms
(- (* b b) (* 4.0 (* a c)))
8.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series88.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(/ c (- (sqrt (- (* b b) (* 4.0 (* a c)))) b))
9.0ms
(- (* b b) (* 4.0 (* a c)))
15.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify65.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
049431600
149431600

prune145.0ms

Filtered
69 candidates to 93 candidates (-34.8%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New92193
Fresh055
Picked011
Done022
Total929101

Merged error: 5.5b

Counts
101 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
0.8b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
21.8b
(sqrt (- (* b b) (* 4.0 (* a c))))
21.8b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
10×*-un-lft-identity
sqrt-prod add-log-exp
pow1 add-cube-cbrt
add-exp-log flip3-- sqrt-div add-cbrt-cube flip-- difference-of-squares
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log distribute-lft-out--
Counts
4 → 58
Calls
4 calls:
8.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
8.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
5.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series59.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
049731018
149731018

prune142.0ms

Filtered
56 candidates to 70 candidates (-25.0%)
Pruning

10 alts after pruning (6 fresh and 4 done)

PrunedKeptTotal
New69170
Fresh055
Picked011
Done033
Total691079

Merged error: 5.4b

Counts
79 → 10

regimes351.0ms

Accuracy

93.5% (1.5b remaining)

Error of 6.9b against oracle of 5.4b and baseline of 28.5b

bsearch97.0ms

Steps
ItersRangePoint
11
4.767335541454681e+127
3.999531405633803e+147
1.5843004296390806e+128
9
4.2366641833538766e-277
1.7857820414547115e-271
8.148200571799555e-277
9
-6.487803749471872e+40
-4.50052525434176e+34
-6.40100594975299e+40

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
011457
111457

end0.0ms

sample1.4s

Algorithm
intervals
Results
459.0ms5049×body80valid
318.0ms1065×body2560valid
229.0ms950×body1280valid
91.0ms472×body640valid
40.0ms99×body5120valid
35.0ms246×body320valid
33.0ms691×body80nan
18.0ms364×body80invalid
11.0ms119×body160valid

Profiling

Loading profile data...