Details

Time bar (total: 3.5s)

analyze462.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

sample41.0ms

Algorithm
intervals
Results
9.0ms176×body80valid
8.0ms27×body2560valid
6.0ms26×body1280valid
2.0ms13×body640valid
1.0msbody320valid
1.0ms25×body80nan
1.0msbody5120valid
1.0ms11×body80invalid
0.0msbody160valid

simplify201.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (200.0ms)

IterNodesCost
0193116
1193116

prune8.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 34.9b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
0.8b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
0.8b
(- (* b b) (* 4.0 (* a c)))
24.5b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite31.0ms

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

series63.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
053401316

prune166.0ms

Filtered
62 candidates to 82 candidates (-32.3%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New73982
Fresh000
Picked101
Done000
Total74983

Merged error: 8.3b

Counts
83 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (* (/ a (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) 2.0))
0.8b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
0.8b
(- (* b b) (* 4.0 (* a c)))
24.5b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
25×add-exp-log
13×add-cbrt-cube
12×add-sqr-sqrt
*-un-lft-identity div-exp
pow1 add-log-exp
add-cube-cbrt
prod-exp
cbrt-undiv sqrt-prod
rec-exp flip3-- times-frac 1-exp flip-- associate-/l*
sub-neg pow-flip sqrt-div diff-log cbrt-unprod difference-of-squares
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 pow-prod-down associate-*l/ clear-num associate-/r* associate-/r/ div-inv distribute-lft-out-- inv-pow
Counts
4 → 73
Calls
4 calls:
13.0ms
(/ 1 (* (/ a (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) 2.0))
8.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
4.0ms
(- (* b b) (* 4.0 (* a c)))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series74.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(/ 1 (* (/ a (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) 2.0))
16.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
8.0ms
(- (* b b) (* 4.0 (* a c)))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify39.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
049951244
149951244

prune121.0ms

Filtered
57 candidates to 85 candidates (-49.1%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New84185
Fresh088
Picked011
Done000
Total841094

Merged error: 8.2b

Counts
94 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite20.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 → 52
Calls
4 calls:
4.0ms
(- (* b b) (* 4.0 (* a c)))
4.0ms
(- (* b b) (* 4.0 (* a c)))
6.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series45.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))))
14.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify37.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
05246824

prune149.0ms

Filtered
50 candidates to 64 candidates (-28.0%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New63164
Fresh088
Picked011
Done011
Total631174

Merged error: 8.2b

Counts
74 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

0.8b
(- (* b b) (* 4.0 (* a c)))
5.6b
(exp (log (sqrt (- (* b b) (* 4.0 (* a c))))))
19.3b
(- (exp (log (sqrt (- (* b b) (* 4.0 (* a c)))))) b)
24.5b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite28.0ms

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

series53.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
049531030
149531030

prune107.0ms

Filtered
56 candidates to 75 candidates (-33.9%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New70575
Fresh178
Picked101
Done022
Total721486

Merged error: 8.0b

Counts
86 → 14

regimes380.0ms

Accuracy

82.4% (4.8b remaining)

Error of 10.6b against oracle of 5.8b and baseline of 32.8b

bsearch45.0ms

Steps
ItersRangePoint
7
1.2072143453995837e-81
2.3368548387270268e-79
9.600102131297928e-81
7
-2.1862821368027703e+63
-4.0611072826777196e+61
-1.306153841097268e+63

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
09240
19240

end0.0ms

sample1.2s

Algorithm
intervals
Results
293.0ms994×body2560valid
271.0ms5219×body80valid
214.0ms880×body1280valid
90.0ms465×body640valid
38.0ms103×body5120valid
35.0ms235×body320valid
35.0ms679×body80nan
20.0ms378×body80invalid
10.0ms104×body160valid

Profiling

Loading profile data...