Skip to content
Snippets Groups Projects
Commit ea682699 authored by Octavian-Eugen Ganea's avatar Octavian-Eugen Ganea
Browse files

No commit message

No commit message
parent bf0ad70a
Branches
Tags
No related merge requests found
......@@ -33,6 +33,10 @@ object Naturals {
plus(Zero(), x) == plus(x, Zero())
} holds
// induction is made on first parameter
//induction on x works here!
//induction on y = stack overflow
@induct
def oneCommut(x : Nat, y : Nat) : Boolean = {
Succ(plus(x,y)) == plus(x, Succ(y))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment