src/HOL/SetInterval.thy
author berghofe
Thu, 10 Oct 2002 14:18:01 +0200
changeset 13635 c41e88151b54
parent 11609 3f3d1add4d94
child 13735 7de9342aca7a
permissions -rw-r--r--
Added functions Suml and Sumr which are useful for constructing datatypes involving function types.

(*  Title:      HOL/SetInterval.thy
    ID:         $Id$
    Author:     Tobias Nipkow
    Copyright   2000  TU Muenchen

lessThan, greaterThan, atLeast, atMost
*)

SetInterval = NatArith + 

constdefs
  lessThan    :: "('a::ord) => 'a set"	("(1{.._'(})")
  "{..u(} == {x. x<u}"

  atMost      :: "('a::ord) => 'a set"	("(1{.._})")
  "{..u} == {x. x<=u}"

  greaterThan :: "('a::ord) => 'a set"	("(1{')_..})")
  "{)l..} == {x. l<x}"

  atLeast     :: "('a::ord) => 'a set"	("(1{_..})")
  "{l..} == {x. l<=x}"

end