src/HOL/Algebra/abstract/order.ML
changeset 15661 9ef583b08647
parent 15531 08c8dad8e399
child 16706 3a7eee8cc0ff
equal deleted inserted replaced
15660:255055554c67 15661:9ef583b08647
    58 fun ring_ord a =
    58 fun ring_ord a =
    59   find_index_eq a ["0", "op +", "uminus", "op -", "1", "op *"];
    59   find_index_eq a ["0", "op +", "uminus", "op -", "1", "op *"];
    60 
    60 
    61 fun termless_ring (a, b) = (term_lpo ring_ord (a, b) = LESS);
    61 fun termless_ring (a, b) = (term_lpo ring_ord (a, b) = LESS);
    62 
    62 
    63 (* SOME code useful for debugging
    63 (* Some code useful for debugging
    64 
    64 
    65 val intT = HOLogic.intT;
    65 val intT = HOLogic.intT;
    66 val a = Free ("a", intT);
    66 val a = Free ("a", intT);
    67 val b = Free ("b", intT);
    67 val b = Free ("b", intT);
    68 val c = Free ("c", intT);
    68 val c = Free ("c", intT);