MindFormal v1.0.0One Mind

MindFormal.Tools.CompanionTransactions.FiniteReach

def MindFormal.CompanionTransactions.graphStep {Q : Type u_1} [Fintype Q] [DecidableEq Q] (edge : Q → Q → Prop) [DecidableRel edge] (S : Finset Q) :
Equations
Instances For
    theorem MindFormal.CompanionTransactions.supportPath_append {Q : Type u_1} (P : Q → Q → ENNReal) {n m : ℕ} {x y z : Q} (h : supportPath P n x y) (k : supportPath P m y z) :
    supportPath P (n + m) x z
    theorem MindFormal.CompanionTransactions.supportPath_last {Q : Type u_1} (P : Q → Q → ENNReal) {n : ℕ} {x y : Q} (h : supportPath P (n + 1) x y) :
    ∃ (z : Q), supportPath P n x z ∧ 0 < P z y
    theorem MindFormal.CompanionTransactions.graphStep_orbit {Q : Type u_1} [Fintype Q] [DecidableEq Q] (P : Q → Q → ENNReal) [DecidableRel fun (x y : Q) => 0 < P x y] (S : Finset Q) (n : ℕ) (y : Q) :
    y ∈ (graphStep fun (x y : Q) => 0 < P x y)^[n] S ↔ ∃ x ∈ S, ∃ k ≤ n, supportPath P k x y
    def MindFormal.CompanionTransactions.graphDecision {Q : Type u_1} [Fintype Q] [DecidableEq Q] (edge : Q → Q → Prop) [DecidableRel edge] (S A : Finset Q) :

    An executable finite graph search. The generous bound is the number of subsets, so it also follows directly from the proved orbit certificate.

    Equations
    Instances For
      theorem MindFormal.CompanionTransactions.graphDecision_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) :
      graphDecision (fun (x y : Q) => 0 < P x y) S A = true ↔ ∃ x ∈ S, ∃ y ∈ A, ∃ (n : ℕ), supportPath P n x y