exact upper_bound_exploreεClosure h inv'
nfa : NFA
pos : String.Pos
next : SparseSet nfa.nodes.size
currentSave : Array (Option String.Pos)
matched : Option (Array (Option String.Pos))
saveSlots : Data.Vec (Array (Option String.Pos)) nfa.nodes.size
target : Fin nfa.nodes.size
stack : Array (StackEntry nfa.nodes.size)
matched' : Option (Array (Option String.Pos))
next' : SparseSet nfa.nodes.size
saveSlots' : Data.Vec (Array (Option String.Pos)) nfa.nodes.size
i : Fin nfa.nodes.size
inv : UpperInvExploreεClosure nfa i target stack
h✝ : target ∉ next
target' : ℕ
hn : nfa[↑target] = Node.epsilon target'
h :
  exploreεClosure nfa pos (next.insert target) currentSave matched saveSlots ⟨target', ⋯⟩ stack =
    (matched', next', saveSlots')
isLt : (Node.epsilon target').inBounds nfa.nodes.size
inv' : UpperInvExploreεClosure nfa i ⟨target', isLt⟩ stack
⊢ UpperBoundεClosure nfa i (next.insert target) next'
no goals