Modulesยง
- conv ๐
- Conversion from types in
fhirto types inrty - errors ๐
- wf ๐
- Checks type well-formedness
Structsยง
- Opaque
TyParam ๐Collector - Collects the refinement params mentioned in the bounds of opaque types.
- Param
Collector ๐ - Collects all refinement params mentioned in the visited nodes.
Functionsยง
- adt_def ๐
- adt_
sort_ ๐def_ of - assoc_
refinement_ ๐body - assoc_
refinements_ ๐of - check_
wf ๐ - conjoin_
bind_ ๐exprs - constant_
info ๐ - default_
assoc_ ๐refinement_ body - flux_
def_ ๐ident_ span - fn_sig ๐
- func_
sort ๐ - generics_
of ๐ - invariants_
of ๐ - Errors are reported at the definition of the adt. If the invariants fail to convert, we continue as if the adt had no invariants. This is sound because the invariants are then neither checked (when constructing the adt) nor assumed (when using it).
- item_
bounds ๐ - late_
bound_ ๐refinement_ params - See
GlobalEnv::late_bound_refinement_params - normalized_
defns ๐ - predicates_
of ๐ - prim_
rel ๐ - primop_
props ๐ - provide
- qualifiers ๐
- refinement_
generics_ ๐of - sort_
decl_ ๐param_ count - sort_
of_ ๐assoc_ reft - static_
info ๐ - try_
invariants_ ๐of - try_
normalized_ ๐defns - ty_
param_ ๐owner - type_of ๐
- variants_
of ๐