Pumping lemma trainer: prove a language is not regular, every split checked

Free pumping lemma practice. Pick a language like aⁿbⁿ, choose your string, and beat every split xyz with a pumping i. Check a proof for every p from 1 to 10 and see exactly where it breaks.

Play the game

The trainer claims the language is regular and picks a pumping length p. You choose a string in the language; it splits it into x, y and z every legal way, hardest first, and you pump y until the string leaves the language.

Check a proof for every p

Write your string with p, like a^p b^p or a^(p+1) b^p. It is tried for every p from 1 to 10 and every split, and you see the first p and split where the proof fails, or that it holds.

The written proof

With a free account, every checked proof is written out step by step, the way markers expect it: assume regular, pick s, where y can be, pump, contradiction.