Details

Time bar (total: 4.5s)

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

sample42.0ms

Algorithm
intervals
Results
13.0ms45×body2560valid
9.0ms168×body80valid
5.0ms20×body1280valid
2.0ms12×body640valid
1.0ms16×body80nan
1.0ms13×body80invalid
1.0msbody160valid
1.0msbody320valid
0.0msbody5120valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05017
15017

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

Counts
2 → 1

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
1.4b
(- (* b b) (* 4.0 (* a c)))
1.5b
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
23.4b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite29.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:
12.0ms
(/ (- (neg b) (sqrt (- (* b b) (* 4.0 (* a c))))) (* 2.0 a))
4.0ms
(- (* b b) (* 4.0 (* a c)))
8.0ms
(- (neg b) (sqrt (- (* b b) (* 4.0 (* a c)))))
3.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series62.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
056641454

prune153.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.5b

Counts
88 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (* b b) (* 4.0 (* a c)))
4.3b
(/ (/ (* 4.0 (* a c)) (+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))) (* 2.0 a))
11.1b
(/ (* 4.0 (* a c)) (+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b)))
23.4b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
45×add-exp-log add-cbrt-cube
27×*-un-lft-identity
26×times-frac
17×cbrt-undiv div-exp
13×prod-exp cbrt-unprod
12×add-sqr-sqrt associate-/l*
11×add-cube-cbrt
distribute-lft-out
associate-/r* associate-/r/ add-log-exp
pow1
distribute-rgt-neg-in div-inv
flip3-+ sqrt-prod flip-+
flip3-- frac-2neg sqrt-div clear-num flip--
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-/l/
Counts
4 → 105
Calls
4 calls:
4.0ms
(- (* b b) (* 4.0 (* a c)))
16.0ms
(/ (/ (* 4.0 (* a c)) (+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))) (* 2.0 a))
14.0ms
(/ (* 4.0 (* a c)) (+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b)))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series134.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* b b) (* 4.0 (* a c)))
48.0ms
(/ (/ (* 4.0 (* a c)) (+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))) (* 2.0 a))
63.0ms
(/ (* 4.0 (* a c)) (+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b)))
15.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

simplify70.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
049692323
149692323

prune159.0ms

Filtered
77 candidates to 117 candidates (-51.9%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1152117
Fresh246
Picked101
Done011
Total1187125

Merged error: 5.4b

Counts
125 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ c (+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b)))
1.1b
(+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))
1.4b
(- (* b b) (* 4.0 (* a c)))
23.4b
(sqrt (- (* b b) (* 4.0 (* a c))))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
16×add-sqr-sqrt
15×add-cube-cbrt times-frac
10×distribute-lft-out add-log-exp
add-exp-log add-cbrt-cube
pow1 distribute-rgt-neg-in associate-/r*
sqrt-prod associate-/l*
flip3-- flip3-+ sqrt-div sum-log associate-/r/ flip-- flip-+
cbrt-undiv +-commutative neg-sub0 associate-+r- sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log div-exp unsub-neg neg-log clear-num div-inv
Counts
4 → 79
Calls
4 calls:
11.0ms
(/ c (+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b)))
8.0ms
(+ (sqrt (- (* b b) (* 4.0 (* a c)))) (neg b))
4.0ms
(- (* b b) (* 4.0 (* a c)))
4.0ms
(sqrt (- (* b b) (* 4.0 (* a c))))

series92.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
049701398
149701398

prune141.0ms

Filtered
68 candidates to 91 candidates (-33.8%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New89291
Fresh055
Picked011
Done011
Total89998

Merged error: 5.4b

Counts
98 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

1.4b
(- (* b b) (* 4.0 (* a c)))
8.1b
(- (neg b) (* (fabs (cbrt (- (* b b) (* 4.0 (* a c))))) (sqrt (cbrt (- (* b b) (* 4.0 (* a c)))))))
24.1b
(cbrt (- (* b b) (* 4.0 (* a c))))
24.1b
(cbrt (- (* b b) (* 4.0 (* a c))))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log cbrt-div flip3-- add-cbrt-cube flip--
diff-log
sub-neg pow1/3
associate--l- neg-sub0 neg-log
Counts
4 → 50
Calls
4 calls:
4.0ms
(- (* b b) (* 4.0 (* a c)))
4.0ms
(- (neg b) (* (fabs (cbrt (- (* b b) (* 4.0 (* a c))))) (sqrt (cbrt (- (* b b) (* 4.0 (* a c)))))))
3.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))
5.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))

series97.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(- (* b b) (* 4.0 (* a c)))
38.0ms
(- (neg b) (* (fabs (cbrt (- (* b b) (* 4.0 (* a c))))) (sqrt (cbrt (- (* b b) (* 4.0 (* a c)))))))
25.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))
25.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))

simplify55.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
050271191

prune141.0ms

Filtered
54 candidates to 62 candidates (-14.8%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New62062
Fresh066
Picked011
Done022
Total62971

Merged error: 5.4b

Counts
71 → 9

regimes342.0ms

Accuracy

92.5% (1.8b remaining)

Error of 7.6b against oracle of 5.8b and baseline of 30.0b

bsearch585.0ms

Steps
ItersRangePoint
7
7.200572495685986e+23
1.3280225432795167e+25
1.3122237402844517e+25
5
-1.3594521996163033e-306
-4.857635311348578e-307
-4.94356880916646e-307
8
-3.002904259416049e+39
-8.633966939698405e+36
-2.957820971125819e+39

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04562
14562

end0.0ms

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

sample1.2s

Algorithm
intervals
Results
318.0ms1067×body2560valid
269.0ms5204×body80valid
210.0ms866×body1280valid
85.0ms446×body640valid
41.0ms113×body5120valid
38.0ms670×body80nan
28.0ms196×body320valid
19.0ms383×body80invalid
10.0ms108×body160valid

Profiling

Loading profile data...