(* Advanced inversion lemmas ************************************************)
lemma cnuw_inv_abbr_pos (h) (G) (L):
(* Advanced inversion lemmas ************************************************)
lemma cnuw_inv_abbr_pos (h) (G) (L):
#h #G #L #V1 #T1 #n #X #H
elim (cpms_inv_abbr_sn_dx … H) -H *
[ #V2 #T2 #_ #_ #H destruct /1 width=1 by tweq_abbr_neg/
#h #G #L #V1 #T1 #n #X #H
elim (cpms_inv_abbr_sn_dx … H) -H *
[ #V2 #T2 #_ #_ #H destruct /1 width=1 by tweq_abbr_neg/
-lemma cnuw_abst (h) (p) (G) (L): â\88\80W,T. â¦\83G,Lâ¦\84 â\8a¢ â\9e¡ð\9d\90\8dð\9d\90\96*[h] â\93\9b{p}W.T.
+lemma cnuw_abst (h) (p) (G) (L): â\88\80W,T. â\9dªG,Lâ\9d« â\8a¢ â\9e¡ð\9d\90\8dð\9d\90\96*[h] â\93\9b[p]W.T.
#h #p #G #L #W1 #T1 #n #X #H
elim (cpms_inv_abst_sn … H) -H #W2 #T2 #_ #_ #H destruct
/1 width=1 by tweq_abst/
qed.
lemma cnuw_cpms_trans (h) (n) (G) (L):
#h #p #G #L #W1 #T1 #n #X #H
elim (cpms_inv_abst_sn … H) -H #W2 #T2 #_ #_ #H destruct
/1 width=1 by tweq_abst/
qed.
lemma cnuw_cpms_trans (h) (n) (G) (L):
- â\88\80T1. â¦\83G,Lâ¦\84 ⊢ ➡𝐍𝐖*[h] T1 →
- â\88\80T2. â¦\83G,Lâ¦\84 â\8a¢ T1 â\9e¡*[n,h] T2 â\86\92 â¦\83G,Lâ¦\84 ⊢ ➡𝐍𝐖*[h] T2.
+ â\88\80T1. â\9dªG,Lâ\9d« ⊢ ➡𝐍𝐖*[h] T1 →
+ â\88\80T2. â\9dªG,Lâ\9d« â\8a¢ T1 â\9e¡*[n,h] T2 â\86\92 â\9dªG,Lâ\9d« ⊢ ➡𝐍𝐖*[h] T2.
#h #n1 #G #L #T1 #HT1 #T2 #HT12 #n2 #T3 #HT23
/4 width=5 by cpms_trans, tweq_canc_sn/
qed-.
lemma cnuw_dec_ex (h) (G) (L):
#h #n1 #G #L #T1 #HT1 #T2 #HT12 #n2 #T3 #HT23
/4 width=5 by cpms_trans, tweq_canc_sn/
qed-.
lemma cnuw_dec_ex (h) (G) (L):
- â\88\80T1. â\88¨â\88¨ â¦\83G,Lâ¦\84 ⊢ ➡𝐍𝐖*[h] T1
- | â\88\83â\88\83n,T2. â¦\83G,Lâ¦\84 ⊢ T1 ➡*[n,h] T2 & (T1 ≅ T2 → ⊥).
+ â\88\80T1. â\88¨â\88¨ â\9dªG,Lâ\9d« ⊢ ➡𝐍𝐖*[h] T1
+ | â\88\83â\88\83n,T2. â\9dªG,Lâ\9d« ⊢ T1 ➡*[n,h] T2 & (T1 ≅ T2 → ⊥).
#h #G #L #T1 elim T1 -T1 *
[ #s /3 width=5 by cnuw_sort, or_introl/
| #i elim (drops_F_uni L i)
[ /3 width=7 by cnuw_atom_drops, or_introl/
| * * [ #I | * #V ] #K #HLK
[ /3 width=8 by cnuw_unit_drops, or_introl/
#h #G #L #T1 elim T1 -T1 *
[ #s /3 width=5 by cnuw_sort, or_introl/
| #i elim (drops_F_uni L i)
[ /3 width=7 by cnuw_atom_drops, or_introl/
| * * [ #I | * #V ] #K #HLK
[ /3 width=8 by cnuw_unit_drops, or_introl/
@or_intror @(ex2_2_intro … W) [1,2: /2 width=7 by cpms_delta_drops/ ] #H
lapply (tweq_inv_lref_sn … H) -H #H destruct
/2 width=5 by lifts_inv_lref2_uni_lt/
@or_intror @(ex2_2_intro … W) [1,2: /2 width=7 by cpms_delta_drops/ ] #H
lapply (tweq_inv_lref_sn … H) -H #H destruct
/2 width=5 by lifts_inv_lref2_uni_lt/
@or_intror @(ex2_2_intro … W) [1,2: /2 width=7 by cpms_ell_drops/ ] #H
lapply (tweq_inv_lref_sn … H) -H #H destruct
/2 width=5 by lifts_inv_lref2_uni_lt/
@or_intror @(ex2_2_intro … W) [1,2: /2 width=7 by cpms_ell_drops/ ] #H
lapply (tweq_inv_lref_sn … H) -H #H destruct
/2 width=5 by lifts_inv_lref2_uni_lt/
@or_intror @(ex2_2_intro … n (ⓐV1.T2)) [ /2 width=1 by cpms_appl_dx/ ] #H
lapply (tweq_inv_appl_bi … H) -H /2 width=1 by/
]
@or_intror @(ex2_2_intro … n (ⓐV1.T2)) [ /2 width=1 by cpms_appl_dx/ ] #H
lapply (tweq_inv_appl_bi … H) -H /2 width=1 by/
]
- | elim (lifts_total V1 ð\9d\90\94â\9d´1â\9dµ) #X1 #HVX1
- @or_intror @(ex2_2_intro … (ⓓ{p}W1.ⓐX1.U1)) [1,2: /2 width=3 by cpms_theta/ ] #H
+ | elim (lifts_total V1 ð\9d\90\94â\9d¨1â\9d©) #X1 #HVX1
+ @or_intror @(ex2_2_intro … (ⓓ[p]W1.ⓐX1.U1)) [1,2: /2 width=3 by cpms_theta/ ] #H
elim (tweq_inv_appl_sn … H) -H #X1 #X2 #_ #H destruct
]
| @or_intror @(ex2_2_intro … T1) [1,2: /2 width=2 by cpms_eps/ ] #H
elim (tweq_inv_appl_sn … H) -H #X1 #X2 #_ #H destruct
]
| @or_intror @(ex2_2_intro … T1) [1,2: /2 width=2 by cpms_eps/ ] #H