src/HOL/Multivariate_Analysis/normarith.ML
changeset 42793 88bee9f6eec7
parent 42361 23f352990944
child 43333 2bdec7f430d3
equal deleted inserted replaced
42792:85fb70b0c5e8 42793:88bee9f6eec7
   382   in Thm.equal_elim (Drule.arg_cong_rule @{cterm Trueprop} (Thm.symmetric th))
   382   in Thm.equal_elim (Drule.arg_cong_rule @{cterm Trueprop} (Thm.symmetric th))
   383                 (pure ctxt' (Thm.rhs_of th))
   383                 (pure ctxt' (Thm.rhs_of th))
   384  end
   384  end
   385 
   385 
   386  fun norm_arith_tac ctxt =
   386  fun norm_arith_tac ctxt =
   387    clarify_tac HOL_cs THEN'
   387    clarify_tac (put_claset HOL_cs ctxt) THEN'
   388    Object_Logic.full_atomize_tac THEN'
   388    Object_Logic.full_atomize_tac THEN'
   389    CSUBGOAL ( fn (p,i) => rtac (norm_arith ctxt (Thm.dest_arg p )) i);
   389    CSUBGOAL ( fn (p,i) => rtac (norm_arith ctxt (Thm.dest_arg p )) i);
   390 
   390 
   391 end;
   391 end;