Skip to content
Snippets Groups Projects
Commit e1aace82 authored by Ralf Jung's avatar Ralf Jung
Browse files

Merge branch 'robbert/naming_as' into 'master'

Document convention to use `f_as_g` in naming.

See merge request iris/iris!990
parents f07a5c65 24c44378
No related branches found
No related tags found
No related merge requests found
...@@ -235,6 +235,7 @@ theories/base_logic/lib is for constructions in the base logic (using own) ...@@ -235,6 +235,7 @@ theories/base_logic/lib is for constructions in the base logic (using own)
M1_M2: M1 (M2 P) ⊣⊢ M2 (M1 P) M1_M2: M1 (M2 P) ⊣⊢ M2 (M1 P)
``` ```
* Monotonicity lemmas where the relation can be ambiguous are called `<f>_<relation>_mono`, e.g. `Some_included_mono`. * Monotonicity lemmas where the relation can be ambiguous are called `<f>_<relation>_mono`, e.g. `Some_included_mono`.
* For lemmas `f x = g ...` that give a definition of function `f` in terms of `g`, we use `f_as_g`. For example, `map_compose_as_omap : m ∘ₘ n = omap (m !!.) n`.
### Naming algebra libraries ### Naming algebra libraries
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment