Documentation

HexPermGroup.Search.BoundedFirst

inductive Hex.PermGroup.Search.BoundedFirst.Decision {n : Nat} {G : Group n} {test : Perm n → Bool} (C : Pruner G test) (t : Node G) (budget : Budget) :
Instances For
    def Hex.PermGroup.Search.BoundedFirst.finish {n : Nat} {G : Group n} {test : Perm n → Bool} {budget : Budget} (C : Pruner G test) (t : Node G) (certificate : Unit → Certificate C.Reason) (checked : checkFailure C t (certificate ()) = true) (m : Meter budget) :
    Decision C t budget
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      inductive Hex.PermGroup.Search.BoundedFirst.Children {n : Nat} {G : Group n} {test : Perm n → Bool} (C : Pruner G test) {size : Nat} (nodes : Fin size → Node G) (k : Nat) (hk : k ≤ size) (budget : Budget) :
      Instances For
        def Hex.PermGroup.Search.BoundedFirst.collect {n : Nat} {G : Group n} {test : Perm n → Bool} {budget : Budget} (C : Pruner G test) {size : Nat} (nodes : Fin size → Node G) (visit : Meter budget → (i : Fin size) → Decision C (nodes i) budget) (m : Meter budget) (k : Nat) (hk : k ≤ size) :
        Children C nodes k hk budget
        Equations
        Instances For
          @[irreducible]
          def Hex.PermGroup.Search.BoundedFirst.visit {n : Nat} {G : Group n} {test : Perm n → Bool} {budget : Budget} (C : Pruner G test) (Q : Evaluator test budget) (t : Node G) (m : Meter budget) :
          Decision C t budget

          Exhaustion propagates immediately without becoming a negative answer. Successful leaves stop child traversal before constructing a witness program.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            inductive Hex.PermGroup.Search.AnswerOutcome {n : Nat} {G : Group n} {test : Perm n → Bool} (C : Pruner G test) (budget : Budget) :

            Incomplete existence search exposes no negative answer. A complete answer retains either its checked witness or its full nonexistence certificate.

            Instances For
              def Hex.PermGroup.Search.firstBudgeted {n : Nat} (budget : Budget) {G : Group n} {test : Perm n → Bool} (C : Pruner G test) (Q : Evaluator test budget) :
              AnswerOutcome C budget
              Equations
              • One or more equations did not get rendered due to their size.
              Instances For