(* This program is free software; you can redistribute it and/or      *)
(* modify it under the terms of the GNU Lesser General Public License *)
(* as published by the Free Software Foundation; either version 2.1   *)
(* of the License, or (at your option) any later version.             *)
(*                                                                    *)
(* This program is distributed in the hope that it will be useful,    *)
(* but WITHOUT ANY WARRANTY; without even the implied warranty of     *)
(* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the      *)
(* GNU General Public License for more details.                       *)
(*                                                                    *)
(* You should have received a copy of the GNU Lesser General Public   *)
(* License along with this program; if not, write to the Free         *)
(* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA *)
(* 02110-1301 USA                                                     *)
(* INIT *)
(* description de la situation initiale *)
Require Export DistributedReferenceCounting.machine0.machine.
Require Export counting.
Section INITIALIZATION.
Definition time_init : nat := 0.
Definition date_init : Date_table := fun _ : Site => 0.
Definition send_init : Send_table := fun _ : Site => 0%Z.
Definition rec_init : Rec_table := fun _ : Site => false.
Definition bag_init : Bag_of_message := fun _ _ : Site => empty Message.
Definition config_init : Config :=
mkconfig time_init date_init send_init rec_init bag_init.
End INITIALIZATION.
Section INIT_COUNT.

Lemma init_le_dt_time :
forall s0 : Site, dt config_init s0 <= time config_init.