Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Induction justification #7

Open
CedricMeu opened this issue Nov 27, 2024 · 1 comment
Open

Induction justification #7

CedricMeu opened this issue Nov 27, 2024 · 1 comment

Comments

@CedricMeu
Copy link

CedricMeu commented Nov 27, 2024

Allow test case:

theorem sum-z-rh: forall n exists n + (z) = n.
  d1: n + (z) = n by induction on n:

    case z is
      d2: (z) + (z) = (z)	by rule sum-z
    end case
    
    case s n' is
      d3: n' + (z) = n'	by induction hypothesis on n'
      d4: (s n') + (z) = (s n')	by rule sum-s on d3
    end case

  end induction
end theorem
@CedricMeu
Copy link
Author

  • Show goal on each case.
  • Show derivations present in case.
  • Show cases left.

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

No branches or pull requests

1 participant