Change the conversion rules to use Sub instead of Eq

This commit is contained in:
Yiyun Liu 2025-02-08 21:06:51 -05:00
parent f483d63f01
commit 916e0bcd75
2 changed files with 51 additions and 23 deletions

View file

@ -2528,4 +2528,11 @@ Module Sub.
eauto using Sub1.substing.
Qed.
Lemma substing n m (a b : PTm n) (ρ : fin n -> PTm m) :
R a b -> R (subst_PTm ρ a) (subst_PTm ρ b).
Proof.
rewrite /R.
move => [a0][b0][h0][h1]h2.
hauto ctrs:rtc use:REReds.cong', Sub1.substing.
Qed.
End Sub.