(* 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                                                     *)
Unset Standard Proposition Elimination Names.
(** Divisibility *)
Inductive divide (a b : Z) : Prop :=
divide_intro : forall q : Z, b = (q * a)%Z -> divide a b.
Notation "( x | y )" := (divide x y) (at level 0) : Z_scope.
Local Open Scope Z_scope.
(** Results *)
Hint Resolve divide_refl one_divide divide_0.
Hint Resolve divide_mult_left divide_mult_right.

Lemma divide_left : forall a b c : Z, (a | b) -> (a | b * c).