Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Difference between first and second order logic (when predicates are lambda terms)

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Difference between first and second order logic (when predicates are lambda terms)


Chronological Thread 
  • From: Marco Servetto <marco.servetto AT gmail.com>
  • To: "coq-club AT inria.fr" <coq-club AT inria.fr>
  • Subject: [Coq-Club] Difference between first and second order logic (when predicates are lambda terms)
  • Date: Wed, 8 Nov 2017 06:10:22 +1300
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=marco.servetto AT gmail.com; spf=Pass smtp.mailfrom=marco.servetto AT gmail.com; spf=None smtp.helo=postmaster AT mail-yw0-f176.google.com
  • Ironport-phdr: 9a23:RXjA7BDPVEafKqIazxRHUyQJP3N1i/DPJgcQr6AfoPdwSP3zo8bcNUDSrc9gkEXOFd2Crakb26yL6+jJYi8p39WoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6i760TlHUB74LE9+Ivn/Mo/UlcW+ke6osdWHaAJRwTG5fLlaLROsrAyXuNNA0qV4LaNk7xLTqXwAQOlM2250OVXbyxP1/My3uoVu6Tpdp+4m38FFWKT+Oa8/SOoLX3wdL2kp6Ziz5lH4RgyV6y5EXw==

Difference between first and second order logic
(when predicates are lambda terms)

Assume a simply typed lambda calculus, where the
conventional church encoding for True and False are typed in "Bool".
A predicate is a well typed lambda abstraction typed T1->..->Tn->Bool
All elements in all domains are well typed lambda abstraction (for some type)

Considering Execute[T0..Tn]
=lambda xo:T0,..,xn:Tn . x0..xn
and a second order logic on those predicates and elements,
Of course I can translate every
logic term of form "forall P P(x1..xn)"
into "forall P Execute[_](P,x1..xn)"
So, it seams like there is no real difference between first and second
order logic.

-Does this makes sense? I would expect this to be a well known result.

-Is this valid for COQ too? COQ is based on
calculus of inductive constructions, that is a variation of lambda
calculus.. but I would expect that there is a point where this
breaks...


Marco



Archive powered by MHonArc 2.6.18.

Top of Page