MindFormal
v1.0.0
One Mind
MindFormal
.
Tools
.
DescriptionWeightsAlgebra
.
Core
Search
return to top
source
Imports
Init
Mathlib
Imported by
MindFormal
.
DescriptionWeightsAlgebra
.
read
MindFormal
.
DescriptionWeightsAlgebra
.
read_active
MindFormal
.
DescriptionWeightsAlgebra
.
read_calibration
MindFormal
.
DescriptionWeightsAlgebra
.
read_zero
MindFormal
.
DescriptionWeightsAlgebra
.
read_gt
MindFormal
.
DescriptionWeightsAlgebra
.
read_lt
MindFormal
.
DescriptionWeightsAlgebra
.
read_nonneg
MindFormal
.
DescriptionWeightsAlgebra
.
residual_identity
MindFormal
.
DescriptionWeightsAlgebra
.
residual_tests
MindFormal
.
DescriptionWeightsAlgebra
.
active_residual
MindFormal
.
DescriptionWeightsAlgebra
.
read_margin
MindFormal
.
DescriptionWeightsAlgebra
.
field_difference
Scalar identities for one fixed read unit and a complete positive pool.
source
noncomputable def
MindFormal
.
DescriptionWeightsAlgebra
.
read
(
χ
g
z
P
:
ℝ
)
:
ℝ
Equations
MindFormal.DescriptionWeightsAlgebra.read
χ
g
z
P
=
max
(
z
/
P
-
g
)
0
/
χ
Instances For
source
theorem
MindFormal
.
DescriptionWeightsAlgebra
.
read_active
{
χ
g
z
P
:
ℝ
}
(
ha
:
0
≤
z
/
P
-
g
)
:
read
χ
g
z
P
=
(
z
/
P
-
g
)
/
χ
source
theorem
MindFormal
.
DescriptionWeightsAlgebra
.
read_calibration
{
χ
g
z
P
p
:
ℝ
}
(
hχ
:
0
<
χ
)
(
hP
:
0
<
P
)
(
hp
:
0
<
p
)
:
read
χ
g
z
P
=
p
↔
z
=
P
*
(
g
+
χ
*
p
)
source
theorem
MindFormal
.
DescriptionWeightsAlgebra
.
read_zero
{
χ
g
z
P
:
ℝ
}
(
hχ
:
0
<
χ
)
(
hP
:
0
<
P
)
:
read
χ
g
z
P
=
0
↔
z
≤
g
*
P
source
theorem
MindFormal
.
DescriptionWeightsAlgebra
.
read_gt
{
χ
g
z
P
p
:
ℝ
}
(
hχ
:
0
<
χ
)
(
hP
:
0
<
P
)
(
hp
:
0
≤
p
)
:
p
<
read
χ
g
z
P
↔
P
*
(
g
+
χ
*
p
)
<
z
source
theorem
MindFormal
.
DescriptionWeightsAlgebra
.
read_lt
{
χ
g
z
P
p
:
ℝ
}
(
hχ
:
0
<
χ
)
(
hP
:
0
<
P
)
(
hp
:
0
<
p
)
:
read
χ
g
z
P
<
p
↔
z
<
P
*
(
g
+
χ
*
p
)
source
theorem
MindFormal
.
DescriptionWeightsAlgebra
.
read_nonneg
{
χ
g
z
P
:
ℝ
}
(
hχ
:
0
<
χ
)
:
0
≤
read
χ
g
z
P
source
theorem
MindFormal
.
DescriptionWeightsAlgebra
.
residual_identity
{
χ
g
P₀
Δs
z₀
Δi
p
:
ℝ
}
(
hP
:
P₀
+
Δs
≠
0
)
(
hcal
:
z₀
=
P₀
*
(
g
+
χ
*
p
))
:
read
χ
g
(
z₀
+
Δi
) (
P₀
+
Δs
)
=
max
(
χ
*
p
+
(
Δi
-
(
g
+
χ
*
p
)
*
Δs
)
/
(
P₀
+
Δs
))
0
/
χ
source
theorem
MindFormal
.
DescriptionWeightsAlgebra
.
residual_tests
{
χ
g
P₀
Δs
z₀
Δi
p
:
ℝ
}
(
hχ
:
0
<
χ
)
(
hP
:
0
<
P₀
+
Δs
)
(
hcal
:
z₀
=
P₀
*
(
g
+
χ
*
p
))
:
(
0
<
p
→ (
p
<
read
χ
g
(
z₀
+
Δi
) (
P₀
+
Δs
)
↔
(
g
+
χ
*
p
)
*
Δs
<
Δi
)
∧
(
read
χ
g
(
z₀
+
Δi
) (
P₀
+
Δs
)
<
p
↔
Δi
<
(
g
+
χ
*
p
)
*
Δs
))
∧
(
p
=
0
→ (
0
<
read
χ
g
(
z₀
+
Δi
) (
P₀
+
Δs
)
↔
g
*
Δs
<
Δi
)
∧
(
read
χ
g
(
z₀
+
Δi
) (
P₀
+
Δs
)
=
0
↔
Δi
≤
g
*
Δs
))
source
theorem
MindFormal
.
DescriptionWeightsAlgebra
.
active_residual
{
χ
g
P₀
Δs
z₀
Δi
p
:
ℝ
}
(
hχ
:
χ
≠
0
)
(
hP
:
P₀
+
Δs
≠
0
)
(
hcal
:
z₀
=
P₀
*
(
g
+
χ
*
p
))
(
ha
:
0
≤
(
z₀
+
Δi
)
/
(
P₀
+
Δs
)
-
g
)
:
read
χ
g
(
z₀
+
Δi
) (
P₀
+
Δs
)
-
p
=
(
Δi
-
(
g
+
χ
*
p
)
*
Δs
)
/
(
χ
*
(
P₀
+
Δs
))
source
theorem
MindFormal
.
DescriptionWeightsAlgebra
.
read_margin
{
a
target
p
e
:
ℝ
}
(
he
:
|
a
-
target
|
≤
e
)
:
(
e
<
target
-
p
→
p
<
a
)
∧
(
e
<
p
-
target
→
a
<
p
)
source
theorem
MindFormal
.
DescriptionWeightsAlgebra
.
field_difference
{
χ
g
z
P
dz
dP
:
ℝ
}
(
hχ
:
χ
≠
0
)
(
hP
:
P
≠
0
)
(
hP'
:
P
+
dP
≠
0
)
(
ha
:
0
≤
z
/
P
-
g
)
(
hb
:
0
≤
(
z
+
dz
)
/
(
P
+
dP
)
-
g
)
:
read
χ
g
(
z
+
dz
) (
P
+
dP
)
-
read
χ
g
z
P
=
(
P
*
dz
-
z
*
dP
)
/
(
χ
*
P
*
(
P
+
dP
))