From 95c915ce89cc168ec34ab36797c78de94fcc0a18 Mon Sep 17 00:00:00 2001 From: Guillaume Melquiond Date: Wed, 17 Sep 2014 17:45:39 +0200 Subject: Add some missing Proof statements. --- theories/Reals/DiscrR.v | 3 +++ 1 file changed, 3 insertions(+) (limited to 'theories/Reals/DiscrR.v') diff --git a/theories/Reals/DiscrR.v b/theories/Reals/DiscrR.v index 1ec399d19..3c738e984 100644 --- a/theories/Reals/DiscrR.v +++ b/theories/Reals/DiscrR.v @@ -11,16 +11,19 @@ Require Import Omega. Local Open Scope R_scope. Lemma Rlt_R0_R2 : 0 < 2. +Proof. change 2 with (INR 2); apply lt_INR_0; apply lt_O_Sn. Qed. Notation Rplus_lt_pos := Rplus_lt_0_compat (only parsing). Lemma IZR_eq : forall z1 z2:Z, z1 = z2 -> IZR z1 = IZR z2. +Proof. intros; rewrite H; reflexivity. Qed. Lemma IZR_neq : forall z1 z2:Z, z1 <> z2 -> IZR z1 <> IZR z2. +Proof. intros; red; intro; elim H; apply eq_IZR; assumption. Qed. -- cgit v1.2.3