Skip to content

Notes from my testing up to Intermediate level 3/6 #1

Description

@Vierkantor

I have to go now, so hopefully these short notes help!

Intro Level 1/4

As discussed: rw does a refl and rewrite does not.

Note the first word lemma is a keyword (highlighted in blue) and means we are stating a new lemma.

This is not blue for me. Maybe you need to enable syntax highlighting for the code snippets? I think you can write:

```lean
lemma add_comm : ∀ (x : ℕ) (y : ℕ), x + y = y + x
```

Intro Level 3/4

The following sequence of tactics causes a goal that the player cannot solve:

rewrite [hPQ]
rewrite [hQR]
rewrite [not_not]
rewrite [iff_self]
rewrite [iff_true]
rewrite [iff_self]

Maybe you can add a hint saying how to undo the last move (to do rfl instead)?

Intro Level 4/4

Should there be a note that P ∧ Q ∧ R = P ∧ (Q ∧ R)? Otherwise they might get confused why their rewrites are not working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions