Details

Time bar (total: 6.3s)

analyze2.5s (39%)

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

sample52.0ms (0.8%)

Algorithm
intervals
Results
28.0ms252×body80valid
2.0msbody1280invalid
2.0msbody640invalid
1.0msbody640valid
1.0msbody320invalid
1.0msbody1280valid
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

localize22.0ms (0.3%)

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))

rewrite40.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:

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

series85.0ms (1.4%)

Counts
4 → 12
Calls

4 calls:

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

simplify86.0ms (1.4%)

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (78.0ms)

IterNodesCost
04925951
14925951

prune247.0ms (3.9%)

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)

rewrite28.0ms (0.5%)

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:

15.0ms
(- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l))
13.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

series85.0ms (1.4%)

Counts
2 → 6
Calls

2 calls:

44.0ms
(- (fabs (- m n)) (+ (pow (- (/ (+ m n) 2.0) M) 2.0) l))
41.0ms
(pow (- (/ (+ m n) 2.0) M) 2.0)

simplify27.0ms (0.4%)

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 0 (21.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

localize28.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)))
5.0ms
(cbrt (* K (/ (+ m n) 2.0)))
5.0ms
(cbrt (* K (/ (+ m n) 2.0)))

series152.0ms (2.4%)

Counts
4 → 12
Calls

4 calls:

42.0ms
(cbrt (* K (/ (+ m n) 2.0)))
39.0ms
(cbrt (* K (/ (+ m n) 2.0)))
37.0ms
(cbrt (* K (/ (+ m n) 2.0)))
33.0ms
(cos (- (* (* (cbrt (* K (/ (+ m n) 2.0))) (cbrt (* K (/ (+ m n) 2.0)))) (cbrt (* K (/ (+ m n) 2.0)))) M))

simplify59.0ms (0.9%)

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
04838480
14838480

prune176.0ms (2.8%)

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)))
5.0ms
(cbrt (* K (/ (+ m n) 2.0)))

series149.0ms (2.4%)

Counts
4 → 12
Calls

4 calls:

40.0ms
(cbrt (* K (/ (+ m n) 2.0)))
38.0ms
(cbrt (* K (/ (+ m n) 2.0)))
37.0ms
(cbrt (* K (/ (+ m n) 2.0)))
33.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))

simplify103.0ms (1.6%)

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (98.0ms)

IterNodesCost
04850456
14850456

prune215.0ms (3.4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New51051
Fresh011
Picked011
Done011
Total51354

Merged error: 0.7b

Counts
54 → 3

regimes343.0ms (5.5%)

Accuracy

Total 0.1b remaining (11.4%)

Threshold costs 0.1b (11.4%)

bsearch0.0ms (0%)

simplify1.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06117
16117

end0.0ms (0%)

sample1.7s (26.3%)

Algorithm
intervals
Results
1.1s7832×body80valid
41.0ms66×body1280invalid
37.0ms81×body640invalid
34.0ms51×body1280valid
31.0ms68×body640valid
25.0ms76×body320invalid
25.0ms229×body80invalid
12.0ms35×body320valid
6.0ms26×body160invalid
3.0msbody2560invalid
3.0ms14×body160valid

Profiling

Loading profile data...