Skip to content
The Lumenary

Each worksheet prints cleanly on A4 or Letter. Answer keys are on a separate page.

The Lumenary · Advanced undergraduate

Mathematical writing

Name: ______________________

Date: ______________________

You will learn to

  • Rewrite a correct but unclear proof so that its structure, assumptions and key steps are explicit
  • Define every symbol before use, state every hypothesis, and control quantifier order and scope
  • Typeset definitions, theorems and proofs in LaTeX with consistent notation, labels and cross-references
  • Write a short expository note that states precisely which results are proved, which are cited and which are conjectured
  • Explain what formalisation in a proof assistant forces a writer to make explicit
  1. 1.

    You prove an auxiliary result whose main purpose is to be used in the proof of your main theorem. What is it conventionally called?

    • A.A lemma
    • B.A corollary
    • C.A conjecture
    • D.A remark
  2. 2.

    A draft says: "If x2=4x^2 = 4, then x=2x = 2." Which revision is a correct, complete statement?

    • A."If xx is a natural number and x2=4x^2 = 4, then x=2x = 2."
    • B."If xx is an integer and x2=4x^2 = 4, then x=2x = 2."
    • C."Clearly, if x2=4x^2 = 4 then x=2x = 2."
    • D."x2=4⇒x=2x^2 = 4 \Rightarrow x = 2."
  3. 3.

    For a function f:R→Rf : \R \to \R, which property does this sentence define? "For every ε>0\varepsilon > 0 there is δ>0\delta > 0 such that for all x,y∈Rx, y \in \R with ∣x−y∣<δ|x - y| < \delta we have ∣f(x)−f(y)∣<ε|f(x) - f(y)| < \varepsilon."

    • A.Uniform continuity
    • B.Continuity (at every point)
    • C.Lipschitz continuity
    • D.Constancy
  4. 4.

    "Suppose there are finitely many primes p1,…,pkp_1, \dots, p_k. (1) Let N=p1⋯pk+1N = p_1 \cdots p_k + 1. (2) No pip_i divides NN. (3) Therefore NN is prime. (4) But NN is larger than every pip_i, a contradiction." Read as general facts, which step is false?

    • A.Step (3)
    • B.Step (2)
    • C.Step (1)
    • D.Step (4)
  5. 5.

    Your note proves Proposition 4 using an earlier statement labelled "Conjecture 2" (not proved by anyone). How should Proposition 4 be presented?

    • A.As a conditional result: "Assuming Conjecture 2, …", stated in the proposition itself.
    • B.As a theorem, since its own proof is complete.
    • C.As a conjecture as well.
    • D.As a theorem, with the dependence explained in a footnote.
  6. 6.

    Which of these sentences follow the lesson's guidelines? (Select all that apply.)

    • A."Since n>2n > 2, we have n2>4n^2 > 4."
    • B."ff is continuous, so it attains a maximum on [0,1][0, 1]."
    • C."By the extreme value theorem, the continuous function ff attains a maximum on the closed bounded interval [0,1][0, 1]."
    • D."Obviously ∀ε>0 ∃N\forall \varepsilon > 0\ \exists N with ∣an−L∣<ε|a_n - L| < \varepsilon."
    • E."We argue by contradiction: suppose that 2=a/b\sqrt 2 = a/b with a,ba, b positive integers having no common factor."
  7. 7.

    The Lean file records Goldbach's conjecture as def GoldbachConjecture : Prop := ∀ n : ℕ, 2 < n → Even n → ∃ p q : ℕ, p.Prime ∧ q.Prime ∧ p + q = n and separately proves goldbach_up_to_60. Why not write theorem goldbach : ∀ n : ℕ, 2 < n → … := sorry?

    • A.A theorem … := sorry asserts the statement while admitting it is unproved; a def … : Prop merely names the statement, claiming nothing — exactly the difference between "Theorem" and "Conjecture".
    • B.Because Lean cannot express statements about all natural numbers.
    • C.Because goldbach_up_to_60 already proves the conjecture.
    • D.Because sorry makes Lean reject the file.
  8. 8.

    Model a text as a list of sentences, each a pair (defines, uses) of sets of symbol names. Write used_before_defined(sentences) returning a list of pairs (i, symbol) — in order of i, and alphabetical within a sentence — for each symbol used in sentence i that is not defined in an earlier sentence (or in sentence i itself).

    Computational — Practice

Code: Apache-2.0 · Content: CC BY-SA 4.0