coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Marcus Ramos <mvmramos AT gmail.com>
- To: "coq-club AT inria.fr" <coq-club AT inria.fr>
- Subject: [Coq-Club] Induction over ascii
- Date: Thu, 24 Oct 2013 14:46:41 -0200
Hi,
This is probably a very basic question, but since I have no teacher to ask about, I guess whether any of you would give me a hint on how to prove the following theorem (a reduced version of the problem I am working with):
Require Import Ascii.
Definition upper (c: ascii): ascii := ascii_of_nat ((nat_of_ascii c)-32).
Definition lower (c: ascii): ascii := ascii_of_nat ((nat_of_ascii c)+32).
Theorem t:
forall c: ascii,
upper (lower c) = c.
It has to do with proving by induction over ascii, but I have no idea on how to do it. Once again, sorry for bothering with basic questions...
Thanks in advance,
Marcus.
- [Coq-Club] Induction over ascii, Marcus Ramos, 10/24/2013
- Re: [Coq-Club] Induction over ascii, t x, 10/24/2013
- Re: [Coq-Club] Induction over ascii, Marcus Ramos, 10/24/2013
- Re: [Coq-Club] Induction over ascii, AUGER Cédric, 10/24/2013
- Re: [Coq-Club] Induction over ascii, Marcus Ramos, 10/24/2013
- Re: [Coq-Club] Induction over ascii, AUGER Cédric, 10/24/2013
- Re: [Coq-Club] Induction over ascii, Marcus Ramos, 10/24/2013
- Re: [Coq-Club] Induction over ascii, AUGER Cédric, 10/24/2013
- Re: [Coq-Club] Induction over ascii, Marcus Ramos, 10/24/2013
- Re: [Coq-Club] Induction over ascii, AUGER Cédric, 10/24/2013
- Re: [Coq-Club] Induction over ascii, Marcus Ramos, 10/24/2013
- <Possible follow-up(s)>
- Re: [Coq-Club] Induction over ascii, txrev319, 10/24/2013
- Re: [Coq-Club] Induction over ascii, Marcus Ramos, 10/24/2013
- Re: [Coq-Club] Induction over ascii, Chris Dams, 10/24/2013
- Re: [Coq-Club] Induction over ascii, Marcus Ramos, 10/24/2013
- Re: [Coq-Club] Induction over ascii, t x, 10/24/2013
Archive powered by MHonArc 2.6.18.