Structsยง
- Constraint
Formatter - LeanAdt ๐
- Lean
Ctxt - Lean
Data ๐Proj - Lean
Field ๐ - LeanK
Constraint - Lean
ThyFunc ๐ - With
Lean Ctxt
Staticsยง
- IMPL_RE ๐
Traitsยง
Functionsยง
- def_
id_ to_ pascal_ case - impl_
header_ ๐name - is_
reserved ๐ - sanitize_
name ๐ - snake_
case_ to_ pascal_ case - stable_
def_ ๐path - Like [
rustc_hir::definitions::DefPath::to_filename_friendly_no_crate], but names impl blocks by their header (e.g.,RawValIter_T_as_Iterator) instead of by their position in the enclosing module ({impl#10}). Lean names, and hence the names of user proof files, then stay the same when impl blocks are added, removed or reordered. - stable_
impl_ ๐name - A name for an impl block derived from its header:
SelfTy_as_Traitfor trait impls andSelfTyfor inherent impls. In the rare case where several impls in the same parent get the same name, e.g., because their generic parameters are named differently, they are suffixed with their index among those impls.