module TestModule
From file: TestDafnyDoc.dfy

{:options "--function-syntax:4"}
module TestModule

Test module. More about this test module.

Imports

import J = TestModule.MInner`E1
import L = TestModule.MInner`E2
import MInner = TestModule.MInner`MInner

Submodules

MInnerHidden stuff
P
Q
S

Types

class AHolds all the state.
class B<Z(0)>
datatype BB<*Q>
codatatype CD<Q>
datatype D<Q>Enumeration.
newtype Dup
iterator Gen
newtype Size
type SmallA small subset type
newtype SmallerA brand new type
type SmallS
type SmallW
type TA very abstract type.
trait T1<TR>A special trait
trait T2
trait T3
type TintA type synonym.
type TQ<Y>
type TTT<!Q(0)>
type WW

Constants

c : intNumber of items.
cc : realThe distance.
ccc : boolValid or not.
cccc : AThe internal state.
f1 : int -> int
f2 : set<int> ~> seq<int>
f3 : bool --> TQ<int>
tup0 : ()
tup2 : (B<real>,set<int>)

Functions

f(r: real, x: int := 0): intReturns a constant.
fif(nameonly z: A): Areturn a constant.
lp(): boolA copredicate
p(): boolAlways true.
pf(): boolAlways true.
pp(older a: A, ghost nameonly x: int): bool
ppp(s: seq<int>, ss: set<A>, mm: map<set<A>,seq<set<A>>>): boolAlways true.
tf(a: A, new b: A): intA two-state function

Methods

bump(i: int) returns (j: int)increments input
ModifyA(a: A)
zero() returns (z: int)Sets to zero.

Lemmas

IsX()always true
TS()