fix(doc/lua): markup
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
c0b82412db
commit
5f3ac6287f
1 changed files with 3 additions and 3 deletions
|
@ -455,7 +455,7 @@ expressions are equivalent. The Lua API also contains the methdo
|
|||
`is_geq` that can be used to check whether a level expression
|
||||
represents a universe bigger than or equal another one.
|
||||
|
||||
```lean
|
||||
```lua
|
||||
local l = mk_param_univ("l")
|
||||
local u = mk_global_univ("u")
|
||||
assert(max_univ(l, 1, u+1):is_equivalent(max_univ(u+1, 1, l)))
|
||||
|
@ -473,7 +473,7 @@ assert(e1:is_geq(max(l, u)))
|
|||
We say a universe level is _explicit_ iff it is of the form
|
||||
`succ^k(zero)`
|
||||
|
||||
```lean
|
||||
```lua
|
||||
local zero = level()
|
||||
assert(zero:is_explicit())
|
||||
local two = zero+2
|
||||
|
@ -485,7 +485,7 @@ assert(not l:is_explicit())
|
|||
The Lua dictionary `level_kind` contains the id for all universe level
|
||||
kinds.
|
||||
|
||||
```lean
|
||||
```lua
|
||||
local zero = level()
|
||||
local one = zero+1
|
||||
local l = mk_param_univ("l")
|
||||
|
|
Loading…
Reference in a new issue