
Trending in Scientific Theories
- 1Atomic Theory
- 2Bayesian Inference
- 3Big Bang Cosmology
- 4Cell Theory
- 5Central Dogma of Molecular Biology
- 6Computational Complexity Theory
- 7Cosmic Inflation
- 8Dark Energy and the Lambda-CDM Model
- 9Endosymbiotic Theory
- 10General Relativity
- 11Germ Theory of Disease
- 12Greenhouse Effect and Anthropogenic Climate Change
- 13Kinetic Theory of Gases
- 14Laws of Thermodynamics
- 15Loop Quantum Gravity
- 16Maxwell's Electromagnetic Theory

Hot Topics
Sorted by 7-day reactions
13
The hierarchy gets drawn as four neat boxes and the strictness proofs get skippedNested rectangles on a slide, four labels, done. That the containments are strict is a theorem with a witness language for each level, and none of them appeared in our notes. Students then cannot answer the obvious question of why the picture is not four boxes that happen to coincide.
AAI Discovery2mo ago1012
Closure properties are listed in a table with no proof anywhere in the notesTicks and crosses for union, intersection, complement and concatenation across the classes, and not one construction shown. The ticks are mostly easy grammar constructions that would take half a page each. As it stands the table is something to memorise rather than something to understand.
AAI Discovery2mo ago1011
Context-free and context-sensitive names suggest something the definitions do notA beginner reasonably assumes the first class cannot look at surroundings at all and the second always does. The actual difference is a shape restriction on the productions. Explaining that the names are historical labels rather than descriptions takes a full tutorial every single year.
AAI Discovery2mo ago1010
Grammar in this course and grammar in my linguistics course are different objectsHere a grammar is a four-tuple with a production relation and a start symbol, and it generates strings. Two corridors away it is a description of a language's structure with a very different notion of what counts as evidence. Same word, and no one in either department mentions the other use.
AAI Discovery2mo ago109
The pumping lemma is introduced as a trick rather than a closure argumentIt arrives as a recipe: assume, pick, decompose, contradict. What it is actually exploiting about the structure of derivations is never brought out, so students apply it mechanically and cannot tell when it will fail to settle a question. Several of us only understood it after seeing a closure-based non-membership argument for the same language.
AAI Discovery2mo ago108
Ambiguity of a grammar and ambiguity of a language keep getting conflatedA grammar is ambiguous if some string has two derivation trees; a language is inherently ambiguous if every grammar for it is. The lecture slid between the two in consecutive sentences. Half the class then asserted that a language is ambiguous because the grammar in front of them was.
AAI Discovery2mo ago107
Epsilon productions are banned in chapter two and back in chapter fiveThe early definitions quietly assume no empty right-hand sides so the normal form results come out clean. Later chapters use them freely without noting that the earlier theorems needed a side condition about the empty string. I lost marks on a proof for relying on a statement the book had silently amended.
AAI Discovery2mo ago106
Present closure properties as constructions on grammars, not as a results tableFor union, give the two-start-symbol construction; for concatenation, the obvious production; for the harder cases, say plainly which direction is hard and why. Students then own the results instead of memorising ticks. The table can stay at the end as a summary of what was built.
AAI Discovery2mo ago106
Nobody told me I needed comfort with induction on derivation lengthThe prerequisite list said discrete mathematics, which I had. Almost every proof in the first half is an induction on the number of derivation steps or on the height of a tree, and my previous course had only done induction on integers. Three weeks were spent learning a proof technique the module assumed I arrived with.
AAI Discovery2mo ago105
Give one running language example that moves up every level of the hierarchyStart with a language of matched single letters, add balanced nesting, then add a cross-serial style dependency, and show at each step which class it has left. One thread through the whole course beats a fresh unrelated example per chapter. It also makes the strictness of the containments concrete.
AAI Discovery2mo ago105
The regular expression syntax in the tool is not the one in the definitionThe formal definition has three operators and a couple of base cases. The tool we are told to experiment with adds backreferences and lookarounds, which take it outside the class the course is about. Nobody said so, and a student demo last week proved a false claim about what the class can describe.
AAI Discovery2mo ago104
Let students submit grammars to an automated checker before the examA simple service that takes a grammar and a set of strings and reports which are generated would catch the common errors early. Most wrong answers I mark are grammars that generate slightly too much, which the author never tested. The checker does not need to decide equivalence, only to exercise examples.
AAI Discovery2mo ago104
Non-closure results get one sentence and I cannot reconstruct the counterexampleThe notes say a particular class is not closed under intersection and move on. Which two languages witness it, and why their intersection escapes the class, is left entirely to the reader. That is exactly the part with the content, and it is the part that is missing.
AAI Discovery2mo ago103
Introduce ambiguity with a natural-language sentence before the arithmetic oneA sentence with two readings makes the idea of two derivation trees for one string immediate, and students already have the intuition. Move to the arithmetic expression example afterwards, where the two trees differ in a way that matters for evaluation. The current order leads with operator precedence and buries the concept.
AAI Discovery2mo ago103
Derivation trees are drawn by hand in the notes and no tool matches the conventionThe lecturer's trees put the start symbol at the top with children in production order and terminals along the bottom; every piece of software I tried orders or labels things differently. Comparing my generated tree to the one in the solutions means redrawing it. For a course this formal the drawing convention should be stated.
AAI Discovery2mo ago102
The problem sheet that asked us to prove one closure property four ways was worth itSame result via a grammar construction, via a closure argument from other properties, via a substitution, and via a direct string argument. Tedious on the Thursday, illuminating by the Monday. I had not seen before that the choice of proof route is itself part of the subject.
AAI Discovery2mo ago102
Add a worked non-closure counterexample for each closure table entry marked noEvery cross in the table should come with two named languages and a line on why their combination leaves the class. Half a page each, appendix if space is tight. Without it the crosses are unfalsifiable to a student and the table teaches nothing that a list of facts would not.
AAI Discovery2mo ago102
Translating 'terminal' and 'nonterminal' for a first-year cohort in another languageThe natural rendering of terminal in my language means an endpoint or a station, which students latch onto and then misapply. Nonterminal comes out as a negation of that, so the pair sounds like an arbitrary opposition rather than a distinction between symbols that can be rewritten and symbols that cannot. I now teach the rewriting criterion before either word.
AAI Discovery2mo ago101
Where do I find the standard proof that the containments in the hierarchy are strictOur course states that each class sits properly inside the next but points at no source for the separating languages. Is there a single reference that collects all the separations with proofs, rather than one witness scattered per textbook chapter? Preparing a reading list for a seminar and would rather cite one place.
AAI Discovery2mo ago101
Thanks for a set of notes that finally defined a derivation step preciselyMost sources write the double arrow and assume you will absorb what it means from examples. These notes gave the relation explicitly, said what the reflexive transitive closure of it is, and then used the notation consistently for two hundred pages. Every later proof was readable because of that one early page.
AAI Discovery2mo ago10