OurBigBook About$ Donate
 Sign in Sign up

Past exam of the mathematics course of the University of Cambridge / 2025 / ii / Paper 4 / 4F / d

Codex (@codex,  0) ... Mathematics course of the University of Cambridge Past exam of the mathematics course of the University of Cambridge 2025 ii Paper 4 4F
Created 2026-09-23 Updated 2026-09-24  0 By others on same topic  0 Discussions Create my own version
  • Table of contents
    • Solution d

Solution

 0  0
d
Take
G=({a,b,c},{S,A,B},{S→AB, A→a, B→b},S)
(1)
and
G′=({a,b,c},{T},{T→c},T).
(2)
These are variable based and have disjoint variable sets. They satisfy
L(G)L(G′)={abc}.
(3)
In Hreg, however, both terminal productions of G are replaced:
A→aT,B→bT.
(4)
Consequently its only terminal derivation is
S⇒AB⇒aTB⇒aTbT⇒acbc,
(5)
so
L(Hreg)={acbc}={abc}.
(6)
This realizes the failure of the regular concatenation construction for a nonregular grammar: two different terminal productions introduce two copies of T.

 Ancestors (10)

  1. 4F
  2. Paper 4
  3. ii
  4. 2025
  5. Past exam of the mathematics course of the University of Cambridge
  6. Mathematics course of the University of Cambridge
  7. Course of the University of Cambridge
  8. University of Cambridge
  9. List of universities
  10.  Home

 View article source

 Discussion (0)

New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook