src/CTT/ex/elim.ML
author skalberg
Sun, 13 Feb 2005 17:15:14 +0100
changeset 15531 08c8dad8e399
parent 9251 bd57acd44fc1
child 15661 9ef583b08647
permissions -rw-r--r--
Deleted Library.option type.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1446
a8387e934fa7 Ran expandshort
paulson
parents: 281
diff changeset
     1
(*  Title:      CTT/ex/elim
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     2
    ID:         $Id$
1446
a8387e934fa7 Ran expandshort
paulson
parents: 281
diff changeset
     3
    Author:     Lawrence C Paulson, Cambridge University Computer Laboratory
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     4
    Copyright   1991  University of Cambridge
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     5
15531
08c8dad8e399 Deleted Library.option type.
skalberg
parents: 9251
diff changeset
     6
SOME examples taken from P. Martin-L\"of, Intuitionistic type theory
1446
a8387e934fa7 Ran expandshort
paulson
parents: 281
diff changeset
     7
        (Bibliopolis, 1984).
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     8
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
     9
by (safe_tac prems 1);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    10
by (step_tac prems 1);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    11
by (pc_tac prems 1);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    12
*)
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    13
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    14
writeln"Examples with elimination rules";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    15
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    16
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    17
writeln"This finds the functions fst and snd!"; 
9251
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
    18
Goal "A type ==> ?a : (A*A) --> A";
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
    19
by (pc_tac [] 1  THEN  fold_tac basic_defs);   (*puts in fst and snd*)
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    20
result();
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    21
writeln"first solution is fst;  backtracking gives snd";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    22
back(); 
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    23
back() handle ERROR => writeln"And there are indeed no others";  
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    24
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    25
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    26
writeln"Double negation of the Excluded Middle";
9251
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
    27
Goal "A type ==> ?a : ((A + (A-->F)) --> F) --> F";
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
    28
by (intr_tac []);
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    29
by (rtac ProdE 1);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    30
by (assume_tac 1);
9251
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
    31
by (pc_tac [] 1);
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    32
result();
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    33
9251
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
    34
Goal "[| A type;  B type |] ==> ?a : (A*B) --> (B*A)";
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
    35
by (pc_tac [] 1);
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    36
result();
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    37
(*The sequent version (ITT) could produce an interesting alternative
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    38
  by backtracking.  No longer.*)
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    39
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    40
writeln"Binary sums and products";
9251
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
    41
Goal "[| A type; B type; C type |] ==> ?a : (A+B --> C) --> (A-->C) * (B-->C)";
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
    42
by (pc_tac [] 1);
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    43
result();
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    44
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    45
(*A distributive law*)
9251
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
    46
Goal "[| A type;  B type;  C type |] ==> ?a : A * (B+C)  -->  (A*B + A*C)";
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
    47
by (pc_tac [] 1);
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    48
result();
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    49
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    50
(*more general version, same proof*)
9251
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
    51
val prems = Goal
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
    52
   "[| A type;  !!x. x:A ==> B(x) type;  !!x. x:A ==> C(x) type|] ==> \
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
    53
\      ?a : (SUM x:A. B(x) + C(x)) --> (SUM x:A. B(x)) + (SUM x:A. C(x))";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    54
by (pc_tac prems 1);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    55
result();
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    56
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    57
writeln"Construction of the currying functional";
9251
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
    58
Goal "[| A type;  B type;  C type |] ==> ?a : (A*B --> C) --> (A--> (B-->C))";
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
    59
by (pc_tac [] 1);
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    60
result();
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    61
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    62
(*more general goal with same proof*)
9251
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
    63
val prems = Goal
1446
a8387e934fa7 Ran expandshort
paulson
parents: 281
diff changeset
    64
    "[| A type; !!x. x:A ==> B(x) type;                         \
a8387e934fa7 Ran expandshort
paulson
parents: 281
diff changeset
    65
\               !!z. z: (SUM x:A. B(x)) ==> C(z) type           \
a8387e934fa7 Ran expandshort
paulson
parents: 281
diff changeset
    66
\    |] ==> ?a : PROD f: (PROD z : (SUM x:A . B(x)) . C(z)).    \
281
f1f96b9e6285 CTT/ex/elim.ML: in the two proofs of Axiom of Choice, changed X-->Y to PROD
lcp
parents: 0
diff changeset
    67
\                     (PROD x:A . PROD y:B(x) . C(<x,y>))";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    68
by (pc_tac prems 1);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    69
result();
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    70
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    71
writeln"Martin-Lof (1984), page 48: axiom of sum-elimination (uncurry)";
9251
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
    72
Goal "[| A type;  B type;  C type |] ==> ?a : (A --> (B-->C)) --> (A*B --> C)";
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
    73
by (pc_tac [] 1);
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    74
result();
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    75
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    76
(*more general goal with same proof*)
9251
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
    77
val prems = Goal 
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
    78
 "[| A type; !!x. x:A ==> B(x) type; !!z. z: (SUM x:A . B(x)) ==> C(z) type|] \
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    79
\  ==> ?a : (PROD x:A . PROD y:B(x) . C(<x,y>)) \
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    80
\       --> (PROD z : (SUM x:A . B(x)) . C(z))";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    81
by (pc_tac prems 1);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    82
result();
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    83
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    84
writeln"Function application";
9251
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
    85
Goal "[| A type;  B type |] ==> ?a : ((A --> B) * A) --> B";
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
    86
by (pc_tac [] 1);
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    87
result();
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    88
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    89
writeln"Basic test of quantifier reasoning";
9251
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
    90
val prems = Goal  
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    91
    "[| A type;  B type;  !!x y.[| x:A;  y:B |] ==> C(x,y) type |] ==> \
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    92
\    ?a :     (SUM y:B . PROD x:A . C(x,y))  \
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    93
\         --> (PROD x:A . SUM y:B . C(x,y))";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    94
by (pc_tac prems 1);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    95
result();
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    96
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    97
(*faulty proof attempt, stripping the quantifiers in wrong sequence
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    98
by (intr_tac[]);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
    99
by (pc_tac prems 1);        ...fails!!  *)
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   100
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   101
writeln"Martin-Lof (1984) pages 36-7: the combinator S";
9251
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
   102
val prems = Goal  
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   103
    "[| A type;  !!x. x:A ==> B(x) type;  \
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   104
\       !!x y.[| x:A; y:B(x) |] ==> C(x,y) type |] \
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   105
\    ==> ?a :    (PROD x:A. PROD y:B(x). C(x,y)) \
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   106
\            --> (PROD f: (PROD x:A. B(x)). PROD x:A. C(x, f`x))";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   107
by (pc_tac prems 1);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   108
result();
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   109
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   110
writeln"Martin-Lof (1984) page 58: the axiom of disjunction elimination";
9251
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
   111
val prems = Goal
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   112
    "[| A type;  B type;  !!z. z: A+B ==> C(z) type|] ==> \
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   113
\    ?a : (PROD x:A. C(inl(x))) --> (PROD y:B. C(inr(y)))  \
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   114
\         --> (PROD z: A+B. C(z))";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   115
by (pc_tac prems 1);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   116
result();
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   117
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   118
(*towards AXIOM OF CHOICE*)
9251
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
   119
Goal "[| A type; B type; C type |] ==> ?a : (A --> B*C) --> (A-->B) * (A-->C)";
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
   120
by (pc_tac [] 1);
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   121
by (fold_tac basic_defs);   (*puts in fst and snd*)
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   122
result();
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   123
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   124
(*Martin-Lof (1984) page 50*)
9251
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
   125
writeln"AXIOM OF CHOICE!  Delicate use of elimination rules";
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
   126
val prems = Goal   
1446
a8387e934fa7 Ran expandshort
paulson
parents: 281
diff changeset
   127
    "[| A type;  !!x. x:A ==> B(x) type;                        \
a8387e934fa7 Ran expandshort
paulson
parents: 281
diff changeset
   128
\       !!x y.[| x:A;  y:B(x) |] ==> C(x,y) type                \
a8387e934fa7 Ran expandshort
paulson
parents: 281
diff changeset
   129
\    |] ==> ?a : PROD h: (PROD x:A. SUM y:B(x). C(x,y)).        \
281
f1f96b9e6285 CTT/ex/elim.ML: in the two proofs of Axiom of Choice, changed X-->Y to PROD
lcp
parents: 0
diff changeset
   130
\                        (SUM f: (PROD x:A. B(x)). PROD x:A. C(x, f`x))";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   131
by (intr_tac prems);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   132
by (add_mp_tac 2);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   133
by (add_mp_tac 1);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   134
by (etac SumE_fst 1);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   135
by (rtac replace_type 1);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   136
by (rtac subst_eqtyparg 1);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   137
by (resolve_tac comp_rls 1);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   138
by (rtac SumE_snd 4);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   139
by (typechk_tac (SumE_fst::prems));
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   140
result();
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   141
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   142
writeln"Axiom of choice.  Proof without fst, snd.  Harder still!"; 
9251
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
   143
val prems = Goal   
3837
d7f033c74b38 fixed dots;
wenzelm
parents: 1446
diff changeset
   144
    "[| A type;  !!x. x:A ==> B(x) type;                         \
1446
a8387e934fa7 Ran expandshort
paulson
parents: 281
diff changeset
   145
\       !!x y.[| x:A;  y:B(x) |] ==> C(x,y) type                \
a8387e934fa7 Ran expandshort
paulson
parents: 281
diff changeset
   146
\    |] ==> ?a : PROD h: (PROD x:A. SUM y:B(x). C(x,y)).        \
281
f1f96b9e6285 CTT/ex/elim.ML: in the two proofs of Axiom of Choice, changed X-->Y to PROD
lcp
parents: 0
diff changeset
   147
\                        (SUM f: (PROD x:A. B(x)). PROD x:A. C(x, f`x))";
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   148
by (intr_tac prems);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   149
(*Must not use add_mp_tac as subst_prodE hides the construction.*)
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   150
by (resolve_tac [ProdE RS SumE] 1  THEN  assume_tac 1);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   151
by (TRYALL assume_tac);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   152
by (rtac replace_type 1);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   153
by (rtac subst_eqtyparg 1);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   154
by (resolve_tac comp_rls 1);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   155
by (etac (ProdE RS SumE) 4);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   156
by (typechk_tac prems);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   157
by (rtac replace_type 1);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   158
by (rtac subst_eqtyparg 1);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   159
by (resolve_tac comp_rls 1);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   160
by (typechk_tac prems);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   161
by (assume_tac 1);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   162
by (fold_tac basic_defs);  (*puts in fst and snd*)
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   163
result();
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   164
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   165
writeln"Example of sequent_style deduction"; 
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   166
(*When splitting z:A*B, the assumption C(z) is affected;  ?a becomes
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   167
    lam u. split(u,%v w.split(v,%x y.lam z. <x,<y,z>>) ` w)     *)
9251
bd57acd44fc1 more tidying. also generalized some tactics to prove "Type A" and
paulson
parents: 3837
diff changeset
   168
val prems = Goal   
0
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   169
    "[| A type;  B type;  !!z. z:A*B ==> C(z) type |] ==>  \
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   170
\    ?a : (SUM z:A*B. C(z)) --> (SUM u:A. SUM v:B. C(<u,v>))";
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   171
by (resolve_tac intr_rls 1);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   172
by (biresolve_tac safe_brls 2);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   173
(*Now must convert assumption C(z) into antecedent C(<kd,ke>) *)
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   174
by (res_inst_tac [ ("a","y") ] ProdE 2);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   175
by (typechk_tac prems);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   176
by (rtac SumE 1  THEN  assume_tac 1);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   177
by (intr_tac[]);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   178
by (TRYALL assume_tac);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   179
by (typechk_tac prems);
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   180
result();
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   181
a5a9c433f639 Initial revision
clasohm
parents:
diff changeset
   182
writeln"Reached end of file.";