coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Benjamin Werner <benjamin.werner AT inria.fr>
- To: Michel.Levy AT imag.fr (Michel Levy)
- Cc: david.delahaye AT inria.fr, rbauer AT rational.com, coq-club AT pauillac.inria.fr
- Subject: Re: beginner's question 2
- Date: Thu, 11 Oct 2001 16:17:29 +0200 (MET DST)
Hi Michel,
You are right. Notice however that solving intuitionistic tautoligies
is in general more complex than solving their classical counter-parts.
So for complex formulae, one could imagine that going back to
intuitionistic procedures may be cumbersome ; in that case, one might
want a specificaly classical procedure. But this would only apply
to particulary big formulae.
Cheers,
Benjamin
> Hi,
>
> There is no need of a tactic dedicated to classical logic. As you can
> read in the book "Logic and Structure of Van Dalen" p174 , in
> propositionnal logic you have the Glivenko's theorem :
>
> P is classically provable iff ~~P is intuitionistically provable.
>
> So as you can guess with the Coq tutorial, you can prove any classically
> valid P with :
>
> Require Classical.
> Goal P.
> Apply NNPP; Tauto.
>
> I explain, NNPP is defined in the Classical Module as
> NNPP : (p:Prop)~~p -> p
> When you apply NNPP to big P, you get the new goal ~~P, which is
> instuitionistically valid. So you can use Tauto to solve automatically
> your problem.
>
- beginner's question 2, Bauer, Robert
- Re: beginner's question 2,
David Delahaye
- Re: beginner's question 2,
Michel Levy
- Re: beginner's question 2, Benjamin Werner
- Re: beginner's question 2,
Michel Levy
- Re: beginner's question 2,
David Delahaye
Archive powered by MhonArc 2.6.16.