Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Im confused by coursework 6, question 2. What is it asking for?

asking confused coursework
0
Posted

Im confused by coursework 6, question 2. What is it asking for?

0

Let’s start with some set theory. • N is a set of symbols (the nonterminals). • T is a set of symbols (the terminals). • (N ∪ T) is the set of nonterminals unioned with the set of terminals, so the set of all terminal and nonterminal symbols. • The star means zero or more elements of the set concatenated together, so (N ∪ T)* is the set of all possible strings made up of any number of terminal and nonterminal symbols (an infinite set). • × is the cartesian product of two sets. So in the case of this question, both of those sets are the same infinite set of strings (N ∪ T)*. The cartesian product is the set of all pairs such that the first element is drawn from the first set, and the second element is drawn from the second set. Formally, (N ∪ T)* × (N ∪ T)* = { (α,β) | α ∈ (N ∪ T)* ∧ β ∈ (N ∪ T)* } So this is another infinite set, made up of all possible pairings. • In set theory, sets of pairs are used to denote relations. Each pair relates the left element to the right element. So thi

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123