test-suite/success/congruence_prim.v
raw| 1 | Require Import Corelib.Numbers.Cyclic.Int63.PrimInt63. |
| 2 | Require Import Corelib.Strings.PrimString. |
| 3 | Require Import Corelib.Floats.PrimFloat. |
| 4 | |
| 5 | Inductive Box (A : Type) := box : A -> Box A. |
| 6 | |
| 7 | Arguments box {A}. |
| 8 | |
| 9 | Goal box 0%uint63 = box 1%uint63 -> False. |
| 10 | Proof. |
| 11 | congruence. |
| 12 | Abort. |
| 13 | |
| 14 | Goal box "true"%pstring = box "false"%pstring -> False. |
| 15 | Proof. |
| 16 | congruence. |
| 17 | Qed. |
| 18 | |
| 19 | Goal box 1.0%float = box 2.0%float -> False. |
| 20 | Proof. |
| 21 | congruence. |
| 22 | Qed. |