Details

Time bar (total: 3.7s)

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

sample47.0ms

Algorithm
intervals
Results
11.0ms36×body2560valid
9.0ms29×body1280valid
9.0ms166×body80valid
3.0ms13×body640valid
1.0ms24×body80nan
1.0msbody5120valid
1.0ms14×body80invalid
1.0msbody160valid
0.0msbody320valid

simplify204.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (202.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: 33.9b

Counts
2 → 1

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
0.4b
(- (* b b) (* 4.0 (* a c)))
1.4b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
21.5b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite27.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:
10.0ms
(/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) (* a 2.0))
4.0ms
(- (* b b) (* 4.0 (* a c)))
7.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series67.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
053401316

prune173.0ms

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

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New721082
Fresh000
Picked101
Done000
Total731083

Merged error: 6.0b

Counts
83 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (* (/ a (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) 2.0))
0.4b
(- (* b b) (* 4.0 (* a c)))
1.4b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
21.5b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite32.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))
6.0ms
(- (* b b) (* 4.0 (* a c)))
7.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series75.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ 1 (* (/ a (- (sqrt (- (* b b) (* 4.0 (* a c)))) b)) 2.0))
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))))

simplify39.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
049951244
149951244

prune137.0ms

Filtered
58 candidates to 85 candidates (-46.6%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New84185
Fresh099
Picked011
Done000
Total841195

Merged error: 5.9b

Counts
95 → 11

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ 1 a) (/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) 2.0))
0.4b
(- (* b b) (* 4.0 (* a c)))
1.4b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
21.5b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
56×add-sqr-sqrt
34×times-frac
32×*-un-lft-identity
26×add-exp-log
22×add-cube-cbrt associate-*r*
16×add-cbrt-cube
13×associate-*l*
div-exp prod-exp add-log-exp difference-of-squares
pow1 sqrt-prod
unswap-sqr
cbrt-undiv cbrt-unprod distribute-lft-out--
flip3-- flip--
sub-neg rec-exp sqrt-div diff-log 1-exp div-inv
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
4 → 105
Calls
4 calls:
17.0ms
(* (/ 1 a) (/ (- (sqrt (- (* b b) (* 4.0 (* a c)))) b) 2.0))
4.0ms
(- (* b b) (* 4.0 (* a c)))
7.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series75.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049681950
149681950

prune188.0ms

Filtered
82 candidates to 117 candidates (-42.7%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1152117
Fresh369
Picked011
Done011
Total11810128

Merged error: 5.9b

Counts
128 → 10

localize15.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
1.4b
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
21.5b
(sqrt (- (* b b) (* 4.0 (* a c))))
21.5b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite24.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:
7.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
7.0ms
(- (sqrt (- (* b b) (* 4.0 (* a c)))) b)
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

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

prune144.0ms

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

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New70070
Fresh077
Picked011
Done022
Total701080

Merged error: 5.9b

Counts
80 → 10

regimes356.0ms

Accuracy

84.1% (4.6b remaining)

Error of 10.3b against oracle of 5.7b and baseline of 34.5b

bsearch51.0ms

Steps
ItersRangePoint
8
3.1096354915926662e-37
1.0074983651851025e-34
3.1404660646488194e-37
7
-5.770706226479995e+116
-2.1889815760753618e+115
-1.642943447623613e+116

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
09240
19240

end0.0ms

sample1.3s

Algorithm
intervals
Results
321.0ms1034×body2560valid
282.0ms5085×body80valid
237.0ms943×body1280valid
93.0ms458×body640valid
57.0ms138×body5120valid
35.0ms656×body80nan
30.0ms202×body320valid
20.0ms374×body80invalid
14.0ms140×body160valid

Profiling

Loading profile data...