@[instance_reducible]
instance
MindFormal.CompanionTransactions.supportClosedDecidable
{Q : Type u_1}
[Fintype Q]
[DecidableEq Q]
(P : Q → Q → ENNReal)
[DecidableRel fun (x y : Q) => 0 < P x y]
(D : Finset Q)
:
Decidable (SupportClosed P ↑D)
Closure is decidable by inspecting all finitely many supported edges.
Equations
- MindFormal.CompanionTransactions.supportClosedDecidable P D = { decide := decide (∀ a ∈ Finset.univ, (fun (x : Q) => x ∈ D → ∀ (y : Q), 0 < P x y → y ∈ D) a), reflects_decide := ⋯ }
@[instance_reducible]
instance
MindFormal.CompanionTransactions.recurrentClassDecidable
{Q : Type u_1}
[Fintype Q]
[DecidableEq Q]
(P : Q → Q → ENNReal)
[DecidableRel fun (x y : Q) => 0 < P x y]
(D : Finset Q)
:
Minimal nonempty closed sets can be tested by finite enumeration of subsets.
Equations
- One or more equations did not get rendered due to their size.
def
MindFormal.CompanionTransactions.classDecision
{Q : Type u_1}
[Fintype Q]
[DecidableEq Q]
(P : Q → Q → ENNReal)
[DecidableRel fun (x y : Q) => 0 < P x y]
(S A : Finset Q)
:
Effective closed-class test, using only equality, finite initial/accepting sets and the supplied decidable positive-support relation. No real-weight comparison or eventual-acceptance oracle occurs in this procedure.
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
MindFormal.CompanionTransactions.classDecision_correct
{Q : Type u_1}
[Fintype Q]
[DecidableEq Q]
(P : Q → Q → ENNReal)
[DecidableRel fun (x y : Q) => 0 < P x y]
(S A : Finset Q)
:
classDecision P S A = true ↔ ∀ (D : Finset Q), ClosedRecurrentClass P D → (∃ x ∈ S, ∃ y ∈ D, ∃ (n : ℕ), supportPath P n x y) → D ⊆ A