This file is indexed.

/usr/share/openturns/validation/ValidFrankCopula.txt is in openturns-validation 1.5-7build2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
> restart:
> CDF_frank:=-log(1+(exp(-theta*u)-1)*(exp(-theta*v)-1)/(exp(-theta)-1))
> /theta;

                          (exp(-theta u) - 1) (exp(-theta v) - 1)
                   ln(1 + ---------------------------------------)
                                      exp(-theta) - 1
    CDF_frank := - -----------------------------------------------
                                        theta

> PDF_frank:=factor(diff(diff(CDF_frank,u),v));

  PDF_frank := - exp(-theta u) theta exp(-theta v) (exp(-theta) - 1)/

        (exp(-theta) + exp(-theta u) exp(-theta v) - exp(-theta u)

                         2
         - exp(-theta v))

> algsubs(exp(-theta*v)=V,algsubs(exp(-theta*u)=U,PDF_frank));

                      theta (exp(-theta) - 1) U V
                    - ----------------------------
                                                 2
                      (exp(-theta) - V + U V - U)

> du:=factor(diff(PDF_frank,u));
> dv:=factor(diff(PDF_frank,v));
> with(codegen,optimize,makeproc,cost,prep2trans):
> optimize(CDF_frank);

               2
  du := - theta  exp(-theta u) exp(-theta v) (exp(-theta) - 1) (

        -exp(-theta) + exp(-theta u) exp(-theta v) - exp(-theta u)

                            /
         + exp(-theta v))  /  (exp(-theta)
                          /

         + exp(-theta u) exp(-theta v) - exp(-theta u)

                         3
         - exp(-theta v))


               2
  dv := - theta  exp(-theta u) exp(-theta v) (exp(-theta) - 1) (

        -exp(-theta) + exp(-theta u) exp(-theta v) + exp(-theta u)

                            /
         - exp(-theta v))  /  (exp(-theta)
                          /

         + exp(-theta u) exp(-theta v) - exp(-theta u)

                         3
         - exp(-theta v))


  t2 = exp(-theta u), t5 = exp(-theta v), t8 = exp(-theta),

                     (t2 - 1) (t5 - 1)            t13
        t13 = ln(1 + -----------------), t16 = - -----
                          t8 - 1                 theta

> optimize(du);
> optimize(dv);

            2
  t1 = theta , t3 = exp(-theta u), t6 = exp(-theta v),

        t8 = exp(-theta), t10 = t3 t6, t13 = t8 + t10 - t3 - t6,

                 2          t1 t3 t6 (t8 - 1) (-t8 + t10 - t3 + t6)
        t14 = t13 , t19 = - ---------------------------------------
                                            t13 t14


            2
  t1 = theta , t3 = exp(-theta u), t6 = exp(-theta v),

        t8 = exp(-theta), t10 = t3 t6, t13 = t8 + t10 - t3 - t6,

                 2          t1 t3 t6 (t8 - 1) (-t8 + t10 + t3 - t6)
        t14 = t13 , t19 = - ---------------------------------------
                                            t13 t14

> factor(du/dv);

  (-exp(-theta) + exp(-theta u) exp(-theta v) - exp(-theta u)

         + exp(-theta v))/(-exp(-theta) + exp(-theta u) exp(-theta v)

         + exp(-theta u) - exp(-theta v))

> theta:=2.5;evalf(Int(Int((u-0.5)*(v-0.5)*PDF_frank,u=0..1),v=0..1));
> 

                             theta := 2.5


                            0.03213516003

> theta:='theta';CDF_frank;

                            theta := theta


                   (exp(-theta u) - 1) (exp(-theta v) - 1)
            ln(1 + ---------------------------------------)
                               exp(-theta) - 1
          - -----------------------------------------------
                                 theta

> limit(CDF_frank,theta=0);

                                 u v

> factor((subs(v=u,(expand(1+(exp(-theta*u)-1)*(exp(-theta*v)-1)/(exp(-t
> heta)-1)))))-1);

                                                 2
                    exp(theta) (exp(theta u) - 1)
                  - -------------------------------
                                                  2
                    (-1 + exp(theta)) exp(theta u)

> f:=(exp(-u*theta))/(exp(-theta)-1);

                               exp(-theta u)
                         f := ---------------
                              exp(-theta) - 1

> g:=solve(f=y,u);

                     -ln(-y (-1 + exp(theta))) + theta
                g := ---------------------------------
                                   theta

> map(expand,subs(y=f+subs(u=v,f),g));
> expand(CDF_frank);

  /    /   exp(-theta u)     exp(-theta v) \
  |-ln(|- --------------- - ---------------| (-1 + exp(theta)))
  \    \  exp(-theta) - 1   exp(-theta) - 1/

                \
         + theta|/theta
                /


                   (exp(-theta u) - 1) (exp(-theta v) - 1)
            ln(1 + ---------------------------------------)
                               exp(-theta) - 1
          - -----------------------------------------------
                                 theta

> factor((1+(exp(-theta*u)-1)*(exp(-theta*v)-1)/(exp(-theta)-1)));

  (exp(-theta) + exp(-theta u) exp(-theta v) - exp(-theta u)

         - exp(-theta v))/(exp(-theta) - 1)

> subs(v=0,CDF_frank);

                       (exp(-theta u) - 1) (exp(0) - 1)
                ln(1 + --------------------------------)
                               exp(-theta) - 1
              - ----------------------------------------
                                 theta

> restart:
> phi:=-log((exp(-theta*t)-1)/(exp(-theta)-1));
> psi:=solve(phi=y,t);
> #assume(p>0, p < 1, theta>0):
> q:=simplify(solve(subs(y=2*phi,psi)=p,t));

                               exp(-theta t) - 1
                    phi := -ln(-----------------)
                                exp(-theta) - 1


              -ln(1 - exp(theta) + exp(y + theta)) + y + theta
       psi := ------------------------------------------------
                                   theta


       /    /-1 + exp(p theta)\1/2       (p - 1) theta
  q := |-ln(|-----------------|    exp(- -------------)
       \    \ -1 + exp(theta) /                2

           /-1 + exp(p theta)\1/2       theta (-3 + p)
         - |-----------------|    exp(- --------------) + exp(theta))
           \ -1 + exp(theta) /                2

                \
         + theta|/theta
                /

> diff(simplify(q-(
>    1-log(
>          (sqrt(
>                (exp(theta*p)-1)/
>                (exp(theta)-1)*exp(theta)/exp(theta*p)
>               )*(1-exp(theta))+exp(theta)
>          )/theta)),symbolic),t);

                                  0

>