theorem
MindFormal.CompanionTransactions.finite_orbit_hit
{Q : Type u_1}
[Fintype Q]
(f : Q → Q)
(accept : Set Q)
(x : Q)
:
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
- MindFormal.CompanionTransactions.orbitDecision f accept x = decide (∃ (n : Fin (Fintype.card Q)), f^[↑n] x ∈ accept)
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)
:
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.
- read : History → Q
- step : Q → Q
- marked : Set Q
- decidableMarked : DecidablePred fun (x : Q) => x ∈ self.marked
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
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)
: