Details

Time bar (total: 3.7s)

analyze510.0ms (13.9%)

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
0%99.9%0.1%5
18.7%81.1%0.1%6
26.5%67.1%6.4%7
35.1%58.5%6.4%8
41.3%49.9%8.7%9
46.4%40.2%13.4%10
50.8%34.2%15%11
55.2%26.7%18.1%12
57.4%22%20.6%13
59.8%17.9%22.3%14

sample35.0ms (1%)

Algorithm
intervals
Results
22.0ms256×body80valid
1.0ms12×body80invalid
1.0ms12×body80nan

simplify229.0ms (6.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (227.0ms)

IterNodesCost
0353237
1353237

prune14.0ms (0.4%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 21.1b

Counts
2 → 2

localize23.0ms (0.6%)

Local error

Found 4 expressions with local error:

0.5b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
1.0b
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
25.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))
25.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite33.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
12×add-sqr-sqrt add-log-exp
sqrt-prod
pow1 add-cube-cbrt
add-exp-log sqrt-div add-cbrt-cube
flip3-- flip--
neg-sub0 rem-sqrt-square distribute-rgt-neg-in sqrt-pow1 pow1/2 diff-log neg-log sum-log distribute-lft-out distribute-lft-out-- difference-of-squares
+-commutative associate--l- associate-+l- sub-neg flip3-+ flip-+
Counts
4 → 62
Calls

4 calls:

8.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
8.0ms
(+ (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
8.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
6.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series67.0ms (1.8%)

Counts
4 → 12
Calls

4 calls:

23.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
15.0ms
(- (neg b) (sqrt (- (* 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)))

simplify59.0ms (1.6%)

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049001063
149001063

prune222.0ms (6%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New68674
Fresh011
Picked101
Done000
Total69776

Merged error: 5.3b

Counts
76 → 7

localize27.0ms (0.7%)

Local error

Found 4 expressions with local error:

0.5b
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
5.0b
(* c (/ a b))
5.5b
(/ (* 2.0 c) (+ (* 2.0 (* c (/ a b))) (* b -2)))
25.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite33.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
19×*-un-lft-identity
15×add-cube-cbrt
14×add-exp-log add-cbrt-cube
13×times-frac associate-*r*
add-log-exp
pow1
sqrt-prod
cbrt-undiv div-exp associate-*l* prod-exp associate-/r* cbrt-unprod
flip3-- sqrt-div diff-log associate-/r/ flip-- div-inv distribute-lft-out-- difference-of-squares unswap-sqr
associate--l- neg-sub0 sub-neg rem-sqrt-square distribute-rgt-neg-in frac-2neg sqrt-pow1 flip3-+ pow1/2 associate-*r/ pow-prod-down neg-log clear-num *-commutative flip-+ associate-/l*
Counts
4 → 87
Calls

4 calls:

10.0ms
(/ (* 2.0 c) (+ (* 2.0 (* c (/ a b))) (* b -2)))
8.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
6.0ms
(* c (/ a b))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

series52.0ms (1.4%)

Counts
4 → 12
Calls

4 calls:

17.0ms
(/ (* 2.0 c) (+ (* 2.0 (* c (/ a b))) (* b -2)))
16.0ms
(- (neg b) (sqrt (- (* b b) (* (* 4.0 a) c))))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
5.0ms
(* c (/ a b))

simplify43.0ms (1.2%)

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
050851233

prune253.0ms (6.9%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New94599
Fresh336
Picked101
Done000
Total988106

Merged error: 5.3b

Counts
106 → 8

localize32.0ms (0.9%)

Local error

Found 4 expressions with local error:

22.1b
(cbrt (* c (/ a b)))
22.1b
(cbrt (* c (/ a b)))
22.1b
(cbrt (* c (/ a b)))
25.1b
(sqrt (- (* b b) (* (* 4.0 a) c)))

rewrite18.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube add-log-exp
cbrt-prod cbrt-div pow1/3 associate-*r/ sqrt-prod
sqrt-div
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 flip--
Counts
4 → 45
Calls

4 calls:

6.0ms
(cbrt (* c (/ a b)))
4.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))
4.0ms
(cbrt (* c (/ a b)))
4.0ms
(cbrt (* c (/ a b)))

series74.0ms (2%)

Counts
4 → 12
Calls

4 calls:

21.0ms
(cbrt (* c (/ a b)))
19.0ms
(cbrt (* c (/ a b)))
19.0ms
(cbrt (* c (/ a b)))
14.0ms
(sqrt (- (* b b) (* (* 4.0 a) c)))

simplify38.0ms (1%)

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
05057527

prune146.0ms (4%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New57057
Fresh077
Picked011
Done000
Total57865

Merged error: 5.3b

Counts
65 → 8

localize35.0ms (1%)

Local error

Found 4 expressions with local error:

5.5b
(/ (* 2.0 c) (+ (* 2.0 (* c (/ a b))) (* b -2)))
9.0b
(- (neg b) (* (fabs (cbrt (- (* b b) (* 4.0 (* a c))))) (sqrt (cbrt (- (* b b) (* 4.0 (* a c)))))))
25.9b
(cbrt (- (* b b) (* 4.0 (* a c))))
25.9b
(cbrt (- (* b b) (* 4.0 (* a c))))

rewrite24.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
cbrt-prod
pow1 cbrt-div
flip3-- times-frac associate-/r* flip--
cbrt-undiv pow1/3 diff-log div-exp associate-/r/
associate--l- neg-sub0 sub-neg frac-2neg flip3-+ neg-log prod-exp clear-num cbrt-unprod flip-+ div-inv associate-/l*
Counts
4 → 62
Calls

4 calls:

10.0ms
(/ (* 2.0 c) (+ (* 2.0 (* c (/ a b))) (* b -2)))
4.0ms
(- (neg b) (* (fabs (cbrt (- (* b b) (* 4.0 (* a c))))) (sqrt (cbrt (- (* b b) (* 4.0 (* a c)))))))
4.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))
4.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))

series100.0ms (2.7%)

Counts
4 → 12
Calls

4 calls:

35.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))))
24.0ms
(cbrt (- (* b b) (* 4.0 (* a c))))
16.0ms
(/ (* 2.0 c) (+ (* 2.0 (* c (/ a b))) (* b -2)))

simplify28.0ms (0.8%)

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 0 (19.0ms)

IterNodesCost
050801498

prune237.0ms (6.5%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New74074
Fresh066
Picked011
Done011
Total74882

Merged error: 5.3b

Counts
82 → 8

regimes275.0ms (7.5%)

Accuracy

Total 1.0b remaining (15.1%)

Threshold costs 0b (0%)

bsearch54.0ms (1.5%)

Steps
ItersRangePoint
6
9.787932035736412e+94
8.940413729942685e+95
2.4627280993291758e+95
9
-5.1924188960394814e+126
-2.9084194526898267e+121
-5.0667631505325645e+124

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0153121
1153121

end0.0ms (0%)

sample1.0s (27.3%)

Algorithm
intervals
Results
699.0ms8000×body80valid
62.0ms707×body80nan
33.0ms391×body80invalid

Profiling

Loading profile data...