let pre_beta =prove_by_refinement (`!g u' v'. (?f. (!u v. f { u, v } = (g:A->A->B) u v)) ==> ((\ { u, v}. g u v) {u',v'} = g u' v')`,let WELLDEFINED_FUNCTION_2 =prove_by_refinement( `(?f:C->D. (!x:A y:B. f(s x y) = t x y)) <=> (!x x' y y'. (s x y = s x' y') ==> t x y = t x' y')`,let well_defined_unordered_pair =prove_by_refinement (`(?f. (!u v. f { u, v} = (g:A->A->B) u v)) <=> (! u v. g u v = g v u)`,let BETA_PAIR_THM =prove_by_refinement( `!g u' v'. (!u v. (g:A->A->B) u v = g v u) ==> ((\ { u, v}. g u v) {u',v'} = g u' v')`,