Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Setoid rewriting for type families?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Setoid rewriting for type families?


Chronological Thread 
  • From: Christian Doczkal <christian.doczkal AT ens-lyon.fr>
  • To: coq-club AT inria.fr
  • Subject: [Coq-Club] Setoid rewriting for type families?
  • Date: Fri, 6 Oct 2017 12:58:47 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=christian.doczkal AT ens-lyon.fr; spf=Neutral smtp.mailfrom=christian.doczkal AT ens-lyon.fr; spf=None smtp.helo=postmaster AT labbe.ens-lyon.fr
  • Ironport-phdr: 9a23:3Wd7UxCh95RRnKxZcRQMUyQJP3N1i/DPJgcQr6AfoPdwSP38p8bcNUDSrc9gkEXOFd2Crakb26yL6+jJYi8p39WoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6i760TlHERLmcAFxO+7dG4jIjs3x2frh1YfUZlBjhCC8eq9zJRP+gQLapMofhcM2IaYrywDVo3JOPehRznFrLFa7khDno8Oh+5gl/T4G6KFpzNJJTaivJ/dwdrdfFjlza20=

Hello everyone,

Is it possible to use setoid rewriting when constructing inhabitants of
type families (X -> Type).

I have some developments proving meta-theoretic properties of proof
systems (e.g., Hilbert style systems or sequent systems). So far I've
been formalizing proof systems as inductive predicates of type:

formula (or sequent) -> Prop

The main reason for this is that I make extensive use of setoid
rewriting to replace formulas by provably equivalent ones.

However, treating proofs of deeply embedded calculi as computational
objects seems more natural to me. Moreover, this allow defining
functions from proofs to nat (e.g, for the size of a proof). However, I
would still want to use setoid rewriting where the shape of the proof is
irrelevant.

I recall being told that prior to the introduction of universe
polymorphism, setoid could not be used for type families. So now that we
have universe polymorphism, is this reasonable now? If so, what would I
need to do to set this up?

Thanks in advance,
Christian



Archive powered by MHonArc 2.6.18.

Top of Page