Details

Time bar (total: 6.3s)

analyze2.7s (42.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%99.8%0.2%7
0%99.8%0.2%8
12.5%87.3%0.2%9
12.5%87.3%0.2%10
18.7%81.1%0.2%11
18.7%81.1%0.2%12
18.7%81.1%0.2%13
20.5%79.3%0.2%14

sample53.0ms (0.8%)

Algorithm
intervals
Results
27.0ms252×body80valid
2.0msbody1280invalid
2.0msbody640invalid
1.0msbody640valid
1.0msbody1280valid
1.0msbody320invalid
1.0msbody80invalid
0.0msbody160invalid
0.0msbody160valid

simplify44.0ms (0.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
0498628
1498628

prune13.0ms (0.2%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 15.2b

Counts
2 → 1

localize28.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(* K (/ (+ m n) 2.0))
0.0b
(- (* K (/ (+ m n) 2.0)) M)
0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)
33.0b
(cos (- (* K (/ (+ m n) 2.0)) M))

rewrite36.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
23×*-un-lft-identity
16×associate-*r*
15×add-cube-cbrt
14×times-frac
10×add-exp-log
add-cbrt-cube
pow1
unpow-prod-down add-log-exp
pow-unpow associate-*l* distribute-lft-out
sub-neg prod-exp cbrt-unprod difference-of-squares unswap-sqr
cbrt-undiv cos-diff pow-to-exp cos-sum flip3-- pow-pow diff-log associate-*r/ div-exp pow-prod-down pow-exp *-commutative flip-- div-inv distribute-lft-out-- sqr-pow
Counts
4 → 75
Calls

4 calls:

10.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
9.0ms
(* K (/ (+ m n) 2.0))
8.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))
7.0ms
(- (* K (/ (+ m n) 2.0)) M)

series83.0ms (1.3%)

Counts
4 → 12
Calls

4 calls:

43.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)
20.0ms
(cos (- (* K (/ (+ m n) 2.0)) M))
12.0ms
(- (* K (/ (+ m n) 2.0)) M)
8.0ms
(* K (/ (+ m n) 2.0))

simplify90.0ms (1.4%)

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (82.0ms)

IterNodesCost
04925951
14925951

prune251.0ms (4%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New83487
Fresh000
Picked101
Done000
Total84488

Merged error: 0.8b

Counts
88 → 4

localize15.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.0b
(- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l))
0.0b
(pow (- (/ (+ m n) 2.0) M) 2.0)

rewrite27.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt *-un-lft-identity
add-log-exp
unpow-prod-down
add-cube-cbrt
pow1 add-exp-log pow-unpow distribute-lft-out-- difference-of-squares
diff-log add-cbrt-cube
pow-to-exp sub-neg flip3-- pow-pow times-frac pow-exp sum-log flip-- distribute-lft-out associate--r+ sqr-pow
Counts
2 → 36
Calls

2 calls:

14.0ms
(- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l))
12.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series80.0ms (1.3%)

Counts
2 → 6
Calls

2 calls:

42.0ms
(- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l))
38.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify26.0ms (0.4%)

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
05087706

prune108.0ms (1.7%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New42042
Fresh033
Picked011
Done000
Total42446

Merged error: 0.8b

Counts
46 → 4

localize27.0ms (0.4%)

Local error

Found 4 expressions with local error:

16.0b
(cbrt (* K (/ (+ m n) 2.0)))
16.0b
(cbrt (* K (/ (+ m n) 2.0)))
16.0b
(cbrt (* K (/ (+ m n) 2.0)))
33.0b
(cos (- (* (* (cbrt (* K (/ (+ m n) 2.0))) (cbrt (* K (/ (+ m n) 2.0)))) (cbrt (* K (/ (+ m n) 2.0)))) M))

rewrite28.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
cbrt-prod cbrt-div pow1/3 associate-*r/
cos-diff sub-neg cos-sum
Counts
4 → 39
Calls

4 calls:

11.0ms
(cos (- (* (* (cbrt (* K (/ (+ m n) 2.0))) (cbrt (* K (/ (+ m n) 2.0)))) (cbrt (* K (/ (+ m n) 2.0)))) M))
6.0ms
(cbrt (* K (/ (+ m n) 2.0)))
6.0ms
(cbrt (* K (/ (+ m n) 2.0)))
5.0ms
(cbrt (* K (/ (+ m n) 2.0)))

series144.0ms (2.3%)

Counts
4 → 12
Calls

4 calls:

37.0ms
(cbrt (* K (/ (+ m n) 2.0)))
37.0ms
(cbrt (* K (/ (+ m n) 2.0)))
36.0ms
(cbrt (* K (/ (+ m n) 2.0)))
34.0ms
(cos (- (* (* (cbrt (* K (/ (+ m n) 2.0))) (cbrt (* K (/ (+ m n) 2.0)))) (cbrt (* K (/ (+ m n) 2.0)))) M))

simplify57.0ms (0.9%)

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
04838480
14838480

prune174.0ms (2.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New49251
Fresh202
Picked101
Done011
Total52355

Merged error: 0.7b

Counts
55 → 3

localize32.0ms (0.5%)

Local error

Found 4 expressions with local error:

16.0b
(cbrt (* K (/ (+ m n) 2.0)))
16.0b
(cbrt (* K (/ (+ m n) 2.0)))
16.0b
(cbrt (* K (/ (+ m n) 2.0)))
33.2b
(cos (- (* (* (cbrt (* K (/ (+ m n) 2.0))) (* (* (cbrt (cbrt (* K (/ (+ m n) 2.0)))) (cbrt (cbrt (* K (/ (+ m n) 2.0))))) (cbrt (cbrt (* K (/ (+ m n) 2.0)))))) (cbrt (* K (/ (+ m n) 2.0)))) M))

rewrite43.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
cbrt-prod cbrt-div pow1/3 associate-*r/
cos-diff sub-neg cos-sum
Counts
4 → 39
Calls

4 calls:

25.0ms
(cos (- (* (* (cbrt (* K (/ (+ m n) 2.0))) (* (* (cbrt (cbrt (* K (/ (+ m n) 2.0)))) (cbrt (cbrt (* K (/ (+ m n) 2.0))))) (cbrt (cbrt (* K (/ (+ m n) 2.0)))))) (cbrt (* K (/ (+ m n) 2.0)))) M))
6.0ms
(cbrt (* K (/ (+ m n) 2.0)))
6.0ms
(cbrt (* K (/ (+ m n) 2.0)))
6.0ms
(cbrt (* K (/ (+ m n) 2.0)))

series144.0ms (2.3%)

Counts
4 → 12
Calls

4 calls:

40.0ms
(cbrt (* K (/ (+ m n) 2.0)))
36.0ms
(cbrt (* K (/ (+ m n) 2.0)))
36.0ms
(cbrt (* K (/ (+ m n) 2.0)))
31.0ms
(cos (- (* (* (cbrt (* K (/ (+ m n) 2.0))) (* (* (cbrt (cbrt (* K (/ (+ m n) 2.0)))) (cbrt (cbrt (* K (/ (+ m n) 2.0))))) (cbrt (cbrt (* K (/ (+ m n) 2.0)))))) (cbrt (* K (/ (+ m n) 2.0)))) M))

simplify99.0ms (1.6%)

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (94.0ms)

IterNodesCost
04850456
14850456

prune220.0ms (3.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New51051
Fresh011
Picked011
Done011
Total51354

Merged error: 0.7b

Counts
54 → 3

regimes375.0ms (5.9%)

Accuracy

Total 0.1b remaining (11.4%)

Threshold costs 0.1b (11.4%)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06117
16117

end0.0ms (0%)

sample1.4s (22.8%)

Algorithm
intervals
Results
887.0ms7832×body80valid
41.0ms66×body1280invalid
36.0ms81×body640invalid
33.0ms51×body1280valid
31.0ms68×body640valid
29.0ms229×body80invalid
25.0ms76×body320invalid
12.0ms35×body320valid
6.0ms26×body160invalid
3.0ms14×body160valid
3.0msbody2560invalid

Profiling

Loading profile data...