by somewhereoutth · 6y ago · 0 comments
In programming, this is more commonly available, because we don't necessarily care about propositions, let alone classical logical proofs. The polymorphic identity function type `forall a. a -> a` in System F quantifies over all types including itself.
Normally you'd want to give each term a single type, rather than say that terms do or don't have a bunch of different predicate types.
> Is this still type theory, or something else?
If your predicates apply opaquely to complete expressions then it's not (nontrivial) type theory. The point of type theory is that your typing rules tell you the types of your expressions (or whether they're validly typed at all) in terms of the types of their subexpressions.