src/HOL/Quot/FRACT.ML
author wenzelm
Mon, 22 Jun 1998 17:26:46 +0200
changeset 5069 3ea049f7979d
parent 4089 96fba19bcbe2
child 5858 beddc19c107a
permissions -rw-r--r--
isatool fixgoal;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2906
171dedbc9bdb Example for higher order quotients: Fractionals
slotosch
parents:
diff changeset
     1
(*  Title:      HOL/Quot/FRACT.ML
171dedbc9bdb Example for higher order quotients: Fractionals
slotosch
parents:
diff changeset
     2
    ID:         $Id$
171dedbc9bdb Example for higher order quotients: Fractionals
slotosch
parents:
diff changeset
     3
    Author:     Oscar Slotosch
171dedbc9bdb Example for higher order quotients: Fractionals
slotosch
parents:
diff changeset
     4
    Copyright   1997 Technische Universitaet Muenchen
171dedbc9bdb Example for higher order quotients: Fractionals
slotosch
parents:
diff changeset
     5
171dedbc9bdb Example for higher order quotients: Fractionals
slotosch
parents:
diff changeset
     6
*)
171dedbc9bdb Example for higher order quotients: Fractionals
slotosch
parents:
diff changeset
     7
open FRACT;
171dedbc9bdb Example for higher order quotients: Fractionals
slotosch
parents:
diff changeset
     8
5069
3ea049f7979d isatool fixgoal;
wenzelm
parents: 4089
diff changeset
     9
Goalw [per_def,per_NP_def]
3842
b55686a7b22c fixed dots;
wenzelm
parents: 2906
diff changeset
    10
"(op ===)=(%x y. fst(rep_NP x)*snd(rep_NP y)=fst(rep_NP y)*snd(rep_NP x))";
2906
171dedbc9bdb Example for higher order quotients: Fractionals
slotosch
parents:
diff changeset
    11
fr refl;
171dedbc9bdb Example for higher order quotients: Fractionals
slotosch
parents:
diff changeset
    12
qed "inst_NP_per";
171dedbc9bdb Example for higher order quotients: Fractionals
slotosch
parents:
diff changeset
    13
171dedbc9bdb Example for higher order quotients: Fractionals
slotosch
parents:
diff changeset
    14
5069
3ea049f7979d isatool fixgoal;
wenzelm
parents: 4089
diff changeset
    15
Goalw [half_def] "half = <[abs_NP(n,2*n)]>";
2906
171dedbc9bdb Example for higher order quotients: Fractionals
slotosch
parents:
diff changeset
    16
fr per_class_eqI;
4089
96fba19bcbe2 isatool fixclasimp;
wenzelm
parents: 3842
diff changeset
    17
by (simp_tac (simpset() addsimps [inst_NP_per]) 1);
2906
171dedbc9bdb Example for higher order quotients: Fractionals
slotosch
parents:
diff changeset
    18
qed "test";