Skip to content

Conversation

@Villetaneuse
Copy link
Collaborator

Still a draft, but comments welcome, here is the plan:

  • enumerated types
  • inductive types with non inductive constructors
  • nat (first example of an inductive inductive)
  • positive (first example with two inductive constructors)
  • lists (parameterized inductive)
  • binary trees (first example with a constructor with 2 arguments of the inductive type)

Maybe that's too much.
Tactics are:

  • discriminate
  • destruct
  • injection
  • induction and we define functions with (simple) match

Maybe lists and binary trees could go in a separate tutorial?

Still a draft, but comments welcome, here is the plan:
- enumerated types
- inductive types with non inductive constructors
- nat (first example of an inductive inductive)
- positive (first example with two inductive constructors)
- lists (parameterized inductive)
- binary trees (first example with a constructor with 2 arguments of the
  inductive type)

Maybe that's too much.
Tactics are:
- discriminate
- destruct
- injection
- induction
and we define functions with (simple) match

Maybe lists and binary trees could go in a separate tutorial?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant