-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
28 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,11 @@ | ||
# rel | ||
|
||
needs: `import Mathlib.Tactic.GCongr` | ||
|
||
named after: 関係(relation) | ||
|
||
`rel` は,不等式を代入して適用し,不等式を示します. | ||
|
||
```lean | ||
{{#include ../Examples/Rel.lean:first}} | ||
``` | ||
`rel` は,一般化された合同性を用いてゴールを分解し,命題を代入することで示すタクティクです.ゴールが関係(relation)について述べているときに使用できます. | ||
|
||
`rel` は,たとえば整数 `x: Int` に対して `0 ≤ x ^ 2` であることを自動的に適用するなど, 多少の推論を行います. | ||
典型的には不等式を代入して適用し,不等式を示します. | ||
|
||
```lean | ||
{{#include ../Examples/Rel.lean:guess}} | ||
{{#include ../Examples/Rel.lean}} | ||
``` |