Learn

Learning preferences

Make learning more comfortable. Changes apply immediately.

Enlarges page content, including diagrams and their labels. You can also use your browser’s zoom.

Choose the colours that are easiest for you to distinguish. Applies to lesson diagrams and lab plots. Labels, shapes, hatching and line patterns also distinguish meanings. Source photographs and raw image brightness stay unchanged; mask-only views are available for image overlays.

ExampleComparisonSample link

Saved in this browser on this device. Preferences are separate from progress backups.

Mathematics · unit version 1

Structural induction: constructions, recursion and parsing

Build finite objects, choose induction hypotheses, prove recursive functions correct and distinguish a generated word from its construction. Written arguments need review; finite traces do not establish a universal theorem.

Open any lesson. Completion records participation; automatic practice checks and human judgment of written arguments are separate. This unit retains its own versioned requirements.

Readiness and preparation

Check your starting point

Try these short questions on paper, then compare your reasoning. They are optional self-checks, not a placement score or a navigation requirement. Use a targeted review when useful and return with your browser’s Back control.

What makes an induction step valid?

A recursive object can have several smaller children, each needing its own hypothesis.

Compare reasoning and find a refresher

Prove the base cases, then assume the claim for the smaller inputs used by a constructor and prove it for the resulting object. Finite examples cannot replace a general step.

Review induction and its hypotheses

How do you prove two descriptions define the same set?

Generated words must be compared in both directions.

Compare reasoning and find a refresher

Prove every object generated by the first description satisfies the second, and that every object satisfying the second can be generated by the first.

Review set equality by double inclusion

Loading saved mathematics work…

Unfamiliar constructions and recursive proofs

The mixed assessment has separate response history and review criteria; it does not change lesson participation records.

Lesson sequence

Each linked lesson opens on its own page. Expand its details here when you want to check the objectives before choosing.

  1. Constructors and tree invariants

    Lesson details and objectives

    Define finite ordered full binary trees, compute counts recursively and prove a statement for every permitted construction.

    • Distinguish a finite constructor tree from a unary tree, a shared-node graph or an infinite branching object.
    • Compute leaf and internal-node counts by the Leaf and Node clauses and justify why the recursion terminates.
    • Prove and repair structural invariants using a base case and both arbitrary child hypotheses.

    6 practice tasks.

  2. Define recursive functions and strengthen the claim that proves them

    Lesson details and objectives

    Trace finite tree recursion, prove a mirror law and a sharp leaf bound, and generalize a word-reversal invariant when a weak induction hypothesis fails.

    • Define total recursive functions by constructor cases and justify termination on proper subtrees or shorter words.
    • Prove mirror involution and a height-dependent leaf bound using both subtree hypotheses.
    • Strengthen an accumulator claim to quantify over every suffix and prove it using append laws.

    8 practice tasks.

  3. Generated words, balance and unique parsing

    Lesson details and objectives

    Prove that a recursive grammar describes exactly the balanced parenthesis words, then use unique first-return parsing to justify recursive definitions.

    • Prove both inclusions between a generated set and a prefix-balance description.
    • Recover and prove uniqueness of the first-return decomposition of any nonempty balanced word.
    • Distinguish functions on derivations from well-defined functions on words when a grammar is ambiguous.

    6 practice tasks.