diff options
| author | Frédéric Besson | 2019-09-24 15:30:13 +0200 |
|---|---|---|
| committer | Frédéric Besson | 2019-09-24 15:30:13 +0200 |
| commit | 092fa59dd892ea99ee17cae03da9dffe5ab3007f (patch) | |
| tree | 559a5d11ff9ce849619564f2e03ee4e0e7d006bf /test-suite | |
| parent | 90553b5ca20f2acc9803baf0cf487eb34b6c8f12 (diff) | |
| parent | e7b83e2a07fffaba0b19c62ef1a02c40d6ef603a (diff) | |
Merge PR #10774: Make `zify` does work for `Z.to_N`
Reviewed-by: Zimmi48
Reviewed-by: fajb
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/micromega/bug_9162.v | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test-suite/micromega/bug_9162.v b/test-suite/micromega/bug_9162.v new file mode 100644 index 0000000000..4aedf57faf --- /dev/null +++ b/test-suite/micromega/bug_9162.v @@ -0,0 +1,8 @@ +Require Import ZArith Lia. +Local Open Scope Z_scope. + +Goal Z.of_N (Z.to_N 0) = 0. +Proof. lia. Qed. + +Goal forall q, (Z.of_N (Z.to_N 0) = 0 -> q = 0) -> Z.of_N (Z.to_N 0) = q. +Proof. lia. Qed. |
