diff options
| author | coqbot-app[bot] | 2020-11-20 16:10:14 +0000 |
|---|---|---|
| committer | GitHub | 2020-11-20 16:10:14 +0000 |
| commit | 6479926c576a1ab6aaa2f0524407f4383fcc1838 (patch) | |
| tree | bc61e6ce93f47a1ad3f97fb3f5bbdb58b482a6f8 /test-suite/output | |
| parent | 614675fa5337cca0621ae7a65d4fd47a6ad8f788 (diff) | |
| parent | d13abaf2b7789aecccd607e014025b6c8b9ae094 (diff) | |
Merge PR #12965: Fixes #9569: in notations with binders, prevent collisions between variable and non-qualified global references
Reviewed-by: ejgallego
Ack-by: maximedenes
Ack-by: gares
Diffstat (limited to 'test-suite/output')
| -rw-r--r-- | test-suite/output/bug_9569.out | 16 | ||||
| -rw-r--r-- | test-suite/output/bug_9569.v | 18 |
2 files changed, 34 insertions, 0 deletions
diff --git a/test-suite/output/bug_9569.out b/test-suite/output/bug_9569.out new file mode 100644 index 0000000000..2d474e4933 --- /dev/null +++ b/test-suite/output/bug_9569.out @@ -0,0 +1,16 @@ +1 subgoal + + ============================ + exists I : True, I = Logic.I +1 subgoal + + ============================ + f True False True False (Logic.True /\ Logic.False) +1 subgoal + + ============================ + [I | I = Logic.I; I = Logic.I] = [I | I = Logic.I; I = Logic.I] +1 subgoal + + ============================ + [I & I = Logic.I | I = Logic.I; Logic.I = I] diff --git a/test-suite/output/bug_9569.v b/test-suite/output/bug_9569.v new file mode 100644 index 0000000000..ee5b052811 --- /dev/null +++ b/test-suite/output/bug_9569.v @@ -0,0 +1,18 @@ +Goal exists I, I = Logic.I. +Show. +Abort. + +Notation f x y p q r := ((forall x, p /\ r) /\ forall y, q /\ r). +Goal f True False True False (Logic.True /\ Logic.False). +Show. +Abort. + +Notation "[ x | y ; z ; .. ; t ]" := (pair .. (pair (forall x, y) (forall x, z)) .. (forall x, t)). +Goal [ I | I = Logic.I ; I = Logic.I ] = [ I | I = Logic.I ; I = Logic.I ]. +Show. +Abort. + +Notation "[ x & p | y ; .. ; z ; t ]" := (forall x, p -> y -> .. (forall x, p -> z -> forall x, p -> t) ..). +Goal [ I & I = Logic.I | I = Logic.I ; Logic.I = I ]. +Show. +Abort. |
