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
add pred has-mixin-instance o:cs-key, o:mixinname, o:gref. and store that instead of mixin-src in the data base
We already have a list of clauses like mixin-src Ty M I, we map it to a list of clauses has-mixin-instance K M Ihd where
term->gref Ty K and term->gref I Ihd
from has-mixin-instance generate conditional clauses like mixin-src {{ list lp:T }} Mixin {{ src lp:I }} :- find-instance T Structure I where i : forall T : Structure, Mixin (list T)
use coq.unify with a well chosen problem to infer the structure on T, eg Structure.sort _ = T
TODO: detail steps by @CohenCyril
The text was updated successfully, but these errors were encountered: