MindFormal
v1.0.0
One Mind
MindFormal
.
Tools
.
ReflectedOU
.
Moments
Search
return to top
source
Imports
Init
MindFormal.Tools.ReflectedOU.HalfNormal
Imported by
MindFormal
.
ReflectedOU
.
gaussian_first_half_integral
MindFormal
.
ReflectedOU
.
gaussian_half_abs_mean
MindFormal
.
ReflectedOU
.
halfNormal_scale
MindFormal
.
ReflectedOU
.
halfNormal_integrable
MindFormal
.
ReflectedOU
.
halfNormal_mean
source
theorem
MindFormal
.
ReflectedOU
.
gaussian_first_half_integral
:
∫
(
x
:
ℝ
)
in
Set.Ioi
0
,
x
*
Real.exp
(
-
x
^
2
)
=
1
/
2
source
theorem
MindFormal
.
ReflectedOU
.
gaussian_half_abs_mean
:
∫
(
x
:
ℝ
)
,
|
x
|
∂
ProbabilityTheory.gaussianReal
0
(
1
/
2
)
=
(
√
Real.pi
)
⁻¹
source
theorem
MindFormal
.
ReflectedOU
.
halfNormal_scale
{
a
:
ℝ
}
(
ha
:
0
≤
a
)
:
MeasureTheory.Measure.map
(fun (
x
:
ℝ
) =>
√
2
*
a
*
|
x
|
)
(
ProbabilityTheory.gaussianReal
0
(
1
/
2
)
)
=
halfNormal
a
source
theorem
MindFormal
.
ReflectedOU
.
halfNormal_integrable
{
a
:
ℝ
}
(
ha
:
0
≤
a
)
:
MeasureTheory.Integrable
id
(
halfNormal
a
)
source
theorem
MindFormal
.
ReflectedOU
.
halfNormal_mean
{
a
:
ℝ
}
(
ha
:
0
≤
a
)
:
∫
(
x
:
ℝ
)
,
x
∂
halfNormal
a
=
a
*
√
(
2
/
Real.pi
)