src/HOL/mono.ML
changeset 1849 bec272e3e888
parent 1760 6f41a494f3b1
child 2922 580647a879cf
equal deleted inserted replaced
1848:e251196383cd 1849:bec272e3e888
    42 (*The inclusion is POSITIVE! *)
    42 (*The inclusion is POSITIVE! *)
    43 val [prem] = goal Set.thy
    43 val [prem] = goal Set.thy
    44     "[| !!x. f(x)<=g(x) |] ==> (INT x. f(x)) <= (INT x. g(x))";
    44     "[| !!x. f(x)<=g(x) |] ==> (INT x. f(x)) <= (INT x. g(x))";
    45 by (fast_tac (!claset addIs [prem RS subsetD]) 1);
    45 by (fast_tac (!claset addIs [prem RS subsetD]) 1);
    46 qed "INT1_mono";
    46 qed "INT1_mono";
       
    47 
       
    48 goal Set.thy "!!C D. C<=D ==> insert a C <= insert a D";
       
    49 by (Fast_tac 1);
       
    50 qed "insert_mono";
    47 
    51 
    48 goal Set.thy "!!A B. [| A<=C;  B<=D |] ==> A Un B <= C Un D";
    52 goal Set.thy "!!A B. [| A<=C;  B<=D |] ==> A Un B <= C Un D";
    49 by (Fast_tac 1);
    53 by (Fast_tac 1);
    50 qed "Un_mono";
    54 qed "Un_mono";
    51 
    55