categories - Category Theory list
 help / color / mirror / Atom feed
* Re: topos logic arising nicely
@ 2003-06-05 11:08 Thomas Streicher
  2003-06-06  9:29 ` Hendrik Tews
  0 siblings, 1 reply; 9+ messages in thread
From: Thomas Streicher @ 2003-06-05 11:08 UTC (permalink / raw)
  To: categories

Toby Bartels wrote

> That may be the only way that one can *construct* such a type,
> hence the only way that one can *prove* that such a type exists,
> but how do you know that some unspecified type variable \sigma
> doesn't refer to an uninhabited type to begin with?
> The answer will depend on the interpretation, I suppose;
> some logics simply aren't applicable to some semantics.
>
> >Of course, even if type sigma is inhabited from
> >    (1)   \forall x:\sigma. A(x)->B
> >one must not conclude
> >    (2)   \exists x:\sigma. A(x) /\ B
> >BUT only
> >    (3)  \exists x:\sigma. A(x) -> B
>
> Of course.  Only with \exists x:\sigma. A(x) will (2) follow.

Certainly, if you allow type variables then the problem crops up. I don't
really see the point why one would like to have type variables unless one
can perform constructions with types in a uniform way, e.g. when considering
logic on top of system F, system F\omega or even on top of a dependent type
theory (possibly with an impredicative universe). I guess that in case of HOL
type variables were rather motivated by the analogy to functional languages
with their "shallow" polymorphism.
The point of my mail rather was that so-called topos logic admits subtype
formation, i.e. that {x:A|phi(x)} is a type whenever \phi is a predicate on A.
This, of course, allows one to introduce types with undecided inhabitedness.
See W.Phoa's Edinburgh lecture notes for a calculus extending HOL with subtypes
(or Bart Jacob's book).
But I would be surprised if HOL has subtype formation as from a logical
point of view subtypes are neither necessary nor convenient. Adding subtypes
is only necessary for getting a topos out of a model of HOL.

Thomas





^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: topos logic arising nicely
@ 2003-06-09 20:03 Thomas Streicher
  0 siblings, 0 replies; 9+ messages in thread
From: Thomas Streicher @ 2003-06-09 20:03 UTC (permalink / raw)
  To: categories

Dear Steve,
>
> Coincidentally, for quite different reasons I have just been looking at
> the Fourman/Scott theory as a way to deal with partial functions.
>
> Scott's system for existence and identity is given a Hilbert style
> presentation, and I suppose - I may be wrong - that that is why
> Fourman's interpretation makes such heavy use of the higher order
> structure of toposes. Do you know of any sequent presentations?

I think it is straightforward to give a sequent style formulation of the
Fourman/Scott interpretation. BTW one has to take care of inhabitedness
of types (in the general case) because variables of type A range over A
whereas terms of type A receive there interpretation in \tilde{A}, the partial
map clasifier of A. See e.g. Troelstra and van Dalen 2nd Chapter for a
traetment of what they call E-logic. Just as example the rules for \forall
look as follows

     \Gamma |- A(x)  x \not\in FV(\Gamma)
   ---------------------------------------
          \Gamma |- \forall x. A(x)

       \Gamma |- \forall x. A(x)  \Gamma |- t\downarrow
    ------------------------------------------------------
                    \Gamma |- A[t/x]


where  t\downarrow  stand for "t defined".

What I meant with my remark is that if one allows partial terms then one need
not have subtypes.

Best, Thomas

PS Fourman and Scott exploit higher order aspects already at first order level
because \tilde{A} is a subobject of P(A) , namely the subsingletons.





^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: topos logic arising nicely
@ 2003-06-05 19:46 Thomas Streicher
  2003-06-09  9:18 ` Paul B Levy
  0 siblings, 1 reply; 9+ messages in thread
From: Thomas Streicher @ 2003-06-05 19:46 UTC (permalink / raw)
  To: categories

Hi Paul,

> "The neglect of sum types is the root of all evil."

To some extent this may be true for programming languages (but see recent
work of Jim Laird). For logics it is less clear. Actually you mean the
empty type, isn't it? Moreover, sunset types are slightly heavier than
ordinary sum types. Subset types are rather dependent sum types.

Thomas






^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: topos logic arising nicely
@ 2003-06-03 20:14 Thomas Streicher
  2003-06-04 15:20 ` Toby Bartels
  2003-06-04 15:42 ` Paul B Levy
  0 siblings, 2 replies; 9+ messages in thread
From: Thomas Streicher @ 2003-06-03 20:14 UTC (permalink / raw)
  To: categories

I don't know Isabelle too well BUT in Higher Order Logic one may
well assume inhabitedness of all types when these are built up from
N (and 1) via x,-> and P(-). In higher order logic one cannot form
subtypes in the logical sense and that's the only way how one can
build types that aren't inhabited.
Of course, even if type sigma is inhabited from

    (1)   \forall x:\sigma. A(x)->B

one must not conclude

    (2)   \exists x:\sigma. A(x) /\ B

BUT only

    (3)  \exists x:\sigma. A(x) -> B

BTW concluding (2) from (1) is false also classically.

Thomas





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-06-09 20:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-05 11:08 topos logic arising nicely Thomas Streicher
2003-06-06  9:29 ` Hendrik Tews
2003-06-08 11:39   ` Thomas Streicher
  -- strict thread matches above, loose matches on Subject: below --
2003-06-09 20:03 Thomas Streicher
2003-06-05 19:46 Thomas Streicher
2003-06-09  9:18 ` Paul B Levy
2003-06-03 20:14 Thomas Streicher
2003-06-04 15:20 ` Toby Bartels
2003-06-04 15:42 ` Paul B Levy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).