Skip to content

Commit

Permalink
rm Idioms
Browse files Browse the repository at this point in the history
  • Loading branch information
affeldt-aist committed Oct 26, 2023
1 parent f37595d commit 835f2d9
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Contribution Guide for the mathcomp-analysis library (WIP)
# Contribution Guide for the mathcomp-analysis library (WIP)

The purpose of this file is to document coding styles to be
used when contributing to mathcomp-analysis. It comes as an addition
Expand Down Expand Up @@ -65,22 +65,3 @@ short name, and the `{mono ...}` lemma gets the suffix `in`.

- The construction `_ !=set0` corresponds to suffix `nonempty`
- The construction `_ != set0` corresponds to suffix `neq0`

## Idioms

### How to introduce a positive real number?

When introducing a positive real number, it is best to turn it into a
`posnum` whose type is equipped with better automation. There is an
idiomatic way to perform such an introduction. Given a goal of the
form
```
==========================
forall e : R, 0 < e -> G
```
the tactic `move=> _/posnumP[e]` performs the following introduction
```
e : {posnum R}
==========================
G
```

0 comments on commit 835f2d9

Please sign in to comment.