You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
inductiveSortGasCell : Type where
| mk (val : SortGas) : SortGasCell
generate
structureSortGasCell : Type where
val : SortGas
Due to circular dependencies between sorts, this is not straightforward. What can be attempted:
Find the SCCs in the dependency graph of sorts (where sorts that map to an abbrev are represented by their parameter sorts (see step 3).
Topologically sort the SCCs.
Generate a mutual for each SCC, in topological order. For each sort that depends on a sort that maps to an abbrev, inline the abbrev's definition. This is necessary because an abbrev cannot be defined in the same mutual as inductive-s / structure-s.
The text was updated successfully, but these errors were encountered:
I.e. instead of
generate
Due to circular dependencies between sorts, this is not straightforward. What can be attempted:
abbrev
are represented by their parameter sorts (see step 3).mutual
for each SCC, in topological order. For each sort that depends on a sort that maps to anabbrev
, inline theabbrev
's definition. This is necessary because anabbrev
cannot be defined in the samemutual
asinductive
-s /structure
-s.The text was updated successfully, but these errors were encountered: