| 1 |
(* coq-prog-args: ("-top" "modul") *) |
| 2 |
Module M. |
| 3 |
Parameter rel : nat -> nat -> Prop. |
| 4 |
|
| 5 |
Axiom w : forall n : nat, rel 0 (S n). |
| 6 |
|
| 7 |
#[export] Hint Resolve w. |
| 8 |
|
| 9 |
(* <Warning> : Grammar is replaced by Notation *) |
| 10 |
|
| 11 |
Print Hint *. |
| 12 |
|
| 13 |
Lemma w1 : rel 0 1. |
| 14 |
auto. |
| 15 |
Qed. |
| 16 |
|
| 17 |
End M. |
| 18 |
|
| 19 |
Locate Module M. |
| 20 |
|
| 21 |
(*Lemma w1 : (M.rel O (S O)). |
| 22 |
Auto. |
| 23 |
*) |
| 24 |
|
| 25 |
Import M. |
| 26 |
|
| 27 |
Lemma w1 : rel 0 1. |
| 28 |
auto. |
| 29 |
Qed. |
| 30 |
|
| 31 |
Check (rel 0 0). |
| 32 |
Locate rel. |
| 33 |
|
| 34 |
Locate Module M. |
| 35 |
|
| 36 |
Module N := modul.M. |