MindFormal
v1.0.0
One Mind
MindFormal
.
Tools
.
CompanionAttention
.
HeldMatrix
Search
return to top
source
Imports
Init
MindFormal.Tools.CompanionAttention.Stability
Mathlib.LinearAlgebra.Matrix.Charpoly.Basic
Mathlib.LinearAlgebra.Matrix.Determinant.Basic
Imported by
MindFormal
.
CompanionAttention
.
heldJacobian
MindFormal
.
CompanionAttention
.
heldA₂
MindFormal
.
CompanionAttention
.
heldA₁
MindFormal
.
CompanionAttention
.
heldA₀
MindFormal
.
CompanionAttention
.
held_characteristic
MindFormal
.
CompanionAttention
.
held_gap_identity
MindFormal
.
CompanionAttention
.
held_coefficients_positive
MindFormal
.
CompanionAttention
.
held_boundary_identity
The full three-coordinate characteristic calculation in 04.12.
source
def
MindFormal
.
CompanionAttention
.
heldJacobian
(
f
b
c
lam
k
h
ℓ
:
ℝ
)
:
Matrix
(
Fin
3
)
(
Fin
3
)
ℝ
Equations
MindFormal.CompanionAttention.heldJacobian
f
b
c
lam
k
h
ℓ
=
!![
-
f
,
b
,
c
;
lam
,
-
lam
,
0
;
k
,
h
,
-
ℓ
]
Instances For
source
def
MindFormal
.
CompanionAttention
.
heldA₂
(
f
lam
ℓ
:
ℝ
)
:
ℝ
Equations
MindFormal.CompanionAttention.heldA₂
f
lam
ℓ
=
f
+
lam
+
ℓ
Instances For
source
def
MindFormal
.
CompanionAttention
.
heldA₁
(
f
b
c
lam
k
ℓ
:
ℝ
)
:
ℝ
Equations
MindFormal.CompanionAttention.heldA₁
f
b
c
lam
k
ℓ
=
lam
*
(
f
-
b
)
+
(
f
+
lam
)
*
ℓ
-
c
*
k
Instances For
source
def
MindFormal
.
CompanionAttention
.
heldA₀
(
f
b
c
lam
k
h
ℓ
:
ℝ
)
:
ℝ
Equations
MindFormal.CompanionAttention.heldA₀
f
b
c
lam
k
h
ℓ
=
lam
*
(
ℓ
*
(
f
-
b
)
-
c
*
(
k
+
h
))
Instances For
source
theorem
MindFormal
.
CompanionAttention
.
held_characteristic
(
f
b
c
lam
k
h
ℓ
:
ℝ
)
(
z
:
ℂ
)
:
(
z
•
1
-
(
heldJacobian
f
b
c
lam
k
h
ℓ
)
.
map
fun (
x
:
ℝ
) =>
↑
x
).
det
=
stabilityCubic
(
heldA₂
f
lam
ℓ
)
(
heldA₁
f
b
c
lam
k
ℓ
)
(
heldA₀
f
b
c
lam
k
h
ℓ
)
z
source
theorem
MindFormal
.
CompanionAttention
.
held_gap_identity
(
f
b
c
lam
k
h
ℓ
:
ℝ
)
:
heldA₂
f
lam
ℓ
*
heldA₁
f
b
c
lam
k
ℓ
-
heldA₀
f
b
c
lam
k
h
ℓ
=
(
f
+
lam
)
*
lam
*
(
f
-
b
)
+
(
f
+
lam
)
*
(
f
+
lam
+
ℓ
)
*
ℓ
-
c
*
k
*
(
f
+
ℓ
)
+
c
*
lam
*
h
source
theorem
MindFormal
.
CompanionAttention
.
held_coefficients_positive
{
f
b
c
lam
k
h
ℓ
:
ℝ
}
(
hfb
:
b
<
f
)
(
hb
:
0
<
b
)
(
hc
:
0
<
c
)
(
hlam
:
0
<
lam
)
(
hk
:
k
<
0
)
(
hh
:
0
<
h
)
(
hℓ
:
0
<
ℓ
)
:
0
<
heldA₂
f
lam
ℓ
∧
0
<
heldA₁
f
b
c
lam
k
ℓ
∧
heldA₀
f
b
c
lam
k
h
ℓ
<
heldA₂
f
lam
ℓ
*
heldA₁
f
b
c
lam
k
ℓ
source
theorem
MindFormal
.
CompanionAttention
.
held_boundary_identity
{
ν
p
w
γ
s
w'
f
b
c
lam
k
h
ℓ
:
ℝ
}
(
hf
:
f
=
ν
*
(
1
-
p
*
w
))
(
hb
:
b
=
ν
*
p
*
γ
)
(
hc
:
c
=
ν
*
p
*
s
)
(
hkh
:
k
+
h
=
ℓ
*
w'
)
:
heldA₀
f
b
c
lam
k
h
ℓ
=
lam
*
ℓ
*
ν
*
(
1
-
p
*
(
w
+
γ
+
s
*
w'
))