diff options
| author | Jasper Hugunin | 2020-10-09 15:36:18 -0700 |
|---|---|---|
| committer | Jasper Hugunin | 2020-10-09 15:36:18 -0700 |
| commit | 6e0585f4b05c92f3dfebdd0bc6907e1b0cce1f4a (patch) | |
| tree | 2bc1ab9fc7106acabdd35a01da1be12508963071 | |
| parent | d5c202a71004f8f4b2ef7f0f8fc398a8ebcf8065 (diff) | |
Modify Bool/Sumbool.v to compile with -mangle-names
| -rw-r--r-- | theories/Bool/Sumbool.v | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/theories/Bool/Sumbool.v b/theories/Bool/Sumbool.v index bea14480f8..52605a4667 100644 --- a/theories/Bool/Sumbool.v +++ b/theories/Bool/Sumbool.v @@ -16,7 +16,7 @@ (** A boolean is either [true] or [false], and this is decidable *) Definition sumbool_of_bool : forall b:bool, {b = true} + {b = false}. - destruct b; auto. + intros b; destruct b; auto. Defined. Hint Resolve sumbool_of_bool: bool. @@ -24,13 +24,13 @@ Hint Resolve sumbool_of_bool: bool. Definition bool_eq_rec : forall (b:bool) (P:bool -> Set), (b = true -> P true) -> (b = false -> P false) -> P b. - destruct b; auto. + intros b; destruct b; auto. Defined. Definition bool_eq_ind : forall (b:bool) (P:bool -> Prop), (b = true -> P true) -> (b = false -> P false) -> P b. - destruct b; auto. + intros b; destruct b; auto. Defined. |
