1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
15 include "static_2/syntax/term_vector.ma".
16 include "static_2/syntax/teqo_simple.ma".
18 (* SORT-IRRELEVANT OUTER EQUIVALENCE FOR TERMS ******************************)
20 (* Advanced inversion lemmas with simple (neutral) terms ********************)
22 (* Basic_1: was only: iso_flats_lref_bind_false iso_flats_flat_bind_false *)
23 (* Basic_2A1: was: tsts_inv_bind_applv_simple *)
24 lemma teqo_inv_applv_bind_simple (p) (I):
25 ∀Vs,V2,T1,T2. ⒶVs.T1 ~ ⓑ[p,I]V2.T2 → 𝐒❨T1❩ → ⊥.
26 #p #I #Vs #V2 #T1 #T2 #H elim (teqo_inv_pair2 … H) -H
27 #V0 #T0 elim Vs -Vs normalize
28 [ #H destruct #H /2 width=5 by simple_inv_bind/
29 | #V #Vs #_ #H destruct