-
Notifications
You must be signed in to change notification settings - Fork 257
Closed
Labels
Description
I’m working on a collection of proofs for submission to Data.Fin.Properties
. I can phrase & prove via cast
or via subst Fin
. For my own use, I need the subst
versions, to fit into a setting more general than Fin
. If cast
is a better fit for Fin
, I’m happy to adapt via an equivalence property cast≗subst : ∀ {m n} (m≡n : m ≡ n) → cast m≡n ≗ subst Fin m≡n
(which could also go into Data.Fin.Properties
).
Going with cast
, I also need some properties of cast
corresponding to ones about subst
in Relation.Binary.PropositionalEquality.Properties
, such as subst-sym-subst
(which I’m calling cast-sym-cast
for now). I don’t imagine we’d want to replicate all subst
properties for cast
, though.
Thoughts?