Documentation

LeanPool.LanguageGeneration.FiniteWitness.Width.Executable

Finite-search implementation of the bounded normalization #

def GenLimit.FiniteWitness.finiteCandidate {α : Type u_1} [DecidableEq α] [Encodable α] (F : List α → α) (S : Finset α) (n : ℕ) (p : List α) (k : ℕ) (q : List α) :

The decidable candidate test with bounded history length and observed checkpoints.

Equations
Instances For
    @[instance_reducible]
    instance GenLimit.FiniteWitness.instDecidableFiniteCandidate {α : Type u_1} [DecidableEq α] [Encodable α] (F : List α → α) (S : Finset α) (n : ℕ) (p : List α) (k : ℕ) (q : List α) :
    Equations
    • One or more equations did not get rendered due to their size.
    theorem GenLimit.FiniteWitness.finiteCandidate_iff {α : Type u_1} [DecidableEq α] [Encodable α] (F : List α → α) (S : Finset α) (n : ℕ) (p : List α) (k : ℕ) (q : List α) :
    finiteCandidate F S n p k q ↔ Candidate F S n p k q
    def GenLimit.FiniteWitness.candidateWords {α : Type u_1} [DecidableEq α] [Encodable α] (F : List α → α) (S : Finset α) (n : ℕ) (p : List α) (k : ℕ) :

    The finite set of candidate histories within the fixed length bound.

    Equations
    Instances For
      theorem GenLimit.FiniteWitness.mem_candidateWords {α : Type u_1} [DecidableEq α] [Encodable α] (F : List α → α) (S : Finset α) (n : ℕ) (p : List α) (k : ℕ) (q : List α) :
      q ∈ candidateWords F S n p k ↔ Candidate F S n p k q
      def GenLimit.FiniteWitness.pickWord {α : Type u_1} [Encodable α] (C : Finset (List α)) :
      List α

      Decode the smallest code in a finite candidate set. This definition is executable.

      Equations
      Instances For
        theorem GenLimit.FiniteWitness.pickWord_eq_leastCode {α : Type u_1} [Encodable α] {C : Finset (List α)} {P : List α → Prop} (hP : ∃ (q : List α), P q) (hC : ∀ (q : List α), q ∈ C ↔ P q) :
        def GenLimit.FiniteWitness.executableRun {α : Type u_1} [DecidableEq α] [Encodable α] (F : List α → α) (S : Finset α) (n : ℕ) :
        ℕ → List α

        Iterate bounded finite candidate searches, retaining the history when no candidate exists.

        Equations
        Instances For
          theorem GenLimit.FiniteWitness.executableRun_eq {α : Type u_1} [DecidableEq α] [Encodable α] (F : List α → α) (S : Finset α) (n k : ℕ) :
          executableRun F S n k = sampleRun F S n k
          def GenLimit.FiniteWitness.executableNormalized {α : Type u_1} [DecidableEq α] [Encodable α] (F : List α → α) (S : Finset α) :
          α

          Evaluate the finite-search history at the sample-size bound.

          Equations
          Instances For
            theorem GenLimit.FiniteWitness.executableNormalized_locks {α : Type u_1} [DecidableEq α] [Encodable α] (F : List α → α) (hF : Fresh F) {L : Set α} (hL : L.Infinite) (hvalid : EventuallyValid F L) :

            A computable fresh repair on the concrete natural-number universe.

            Equations
            Instances For
              theorem GenLimit.FiniteWitness.maxRepair_eventuallyValid {G : Generic.Generator ℕ} {L : Set ℕ} (hG : ∀ (stream : Generic.Stream ℕ), Generic.Presents stream L → ∃ (N : ℕ), ∀ n ≥ N, Generic.CorrectAt G L stream n) :

              An executable, target-independent normalization, with the whole input set as its argument.

              Equations
              Instances For