MindFormal v1.0.0One Mind

MindFormal.Tools.CompanionTransactions.AbsorbingGraph

theorem MindFormal.CompanionTransactions.finite_orbit_hit {Q : Type u_1} [Fintype Q] (f : Q → Q) (accept : Set Q) (x : Q) :
(∃ (n : ℕ), f^[n] x ∈ accept) ↔ ∃ n < Fintype.card Q, f^[n] x ∈ accept

Following an autonomous finite orbit needs at most the cardinality of its state space to find its first accepting state.

def MindFormal.CompanionTransactions.orbitDecision {Q : Type u_1} [Fintype Q] (f : Q → Q) (accept : Set Q) [DecidablePred fun (x : Q) => x ∈ accept] (x : Q) :

Before accepting or repeating, all visited states are distinct. The finite Boolean procedure is the actual bounded orbit search.

Equations
Instances For
    theorem MindFormal.CompanionTransactions.orbitDecision_correct {Q : Type u_1} [Fintype Q] (f : Q → Q) (accept : Set Q) [DecidablePred fun (x : Q) => x ∈ accept] (x : Q) :
    orbitDecision f accept x = true ↔ ∃ (n : ℕ), f^[n] x ∈ accept
    structure MindFormal.CompanionTransactions.DeterministicCertificate (History : Type u_1) (Q : Type u_2) (advance : History → History) (accept : Set History) :
    Type (max u_1 u_2)

    A certified quotient projects ALL complete histories and intertwines their actual deterministic evolution with one fixed finite map. Acceptance is retained by the quotient; autonomy is not inferred from a price label.

    Instances For
      @[instance_reducible]
      instance MindFormal.CompanionTransactions.instDecidablePredMemSetMarked {H : Type u_1} {Q : Type u_2} {advance : H → H} {accept : Set H} (C : DeterministicCertificate H Q advance accept) :
      DecidablePred fun (x : Q) => x ∈ C.marked
      Equations
      theorem MindFormal.CompanionTransactions.DeterministicCertificate.iterate {H : Type u_1} {Q : Type u_2} {advance : H → H} {accept : Set H} (C : DeterministicCertificate H Q advance accept) (n : ℕ) (h : H) :
      C.read (advance^[n] h) = C.step^[n] (C.read h)
      theorem MindFormal.CompanionTransactions.DeterministicCertificate.decides {H : Type u_1} {Q : Type u_2} [Fintype Q] {advance : H → H} {accept : Set H} (C : DeterministicCertificate H Q advance accept) (h : H) :
      (orbitDecision C.step C.marked (C.read h) = true ↔ ∃ (n : ℕ), advance^[n] h ∈ accept) ∧ ((∃ (n : ℕ), advance^[n] h ∈ accept) ↔ ∃ n < Fintype.card Q, advance^[n] h ∈ accept)