X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=components%2Ftactics%2Finversion.ml;h=e610212440ac9e71840859f2c76dccf14330f276;hb=6e01bb1ae52fe45ce77a7f950efb5feb295e82b1;hp=19d0c739ae87816ac9c26f6fded33d04f681ab37;hpb=fbdd1cc46819d19ed135391a4a954c19d1b92c0c;p=helm.git diff --git a/components/tactics/inversion.ml b/components/tactics/inversion.ml index 19d0c739a..e61021244 100644 --- a/components/tactics/inversion.ml +++ b/components/tactics/inversion.ml @@ -336,8 +336,8 @@ let inversion_tac ~term = for n = 1 to arity_consno do a := (Cic.Implicit None)::(!a) done; - (* apply i_inv ? ...? H). *) - Cic.Appl ([Cic.Const(uri,[])] @ !a @ [Cic.Rel 1]) + (* apply i_inv ? ...? H). *) + Cic.Appl ([Cic.Const(uri,[])] @ !a @ [term]) in let t = appl_term (arity_length + (List.length cons_list)) inversor_uri in let (t1,metasenv,_subst,t3,t4, attrs) = proof in