File: mapToParameterTheory.expected

package info (click to toggle)
maude 3.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,480 kB
  • sloc: cpp: 133,192; makefile: 2,180; yacc: 1,984; sh: 1,373; lex: 886
file content (92 lines) | stat: -rw-r--r-- 2,386 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
fmod TEST is
  sorts Bar Foo{V2} Baz{V{V2}} .
  op a : -> Bar .
  op f : Bar -> Foo{V2} .
  op g : Bar -> Baz{V{V2}} .
endfm
fmod TEST is
  sorts Bar Foo{V2} Baz{V{V2}} .
  op a : -> Bar .
  op f : Bar -> Foo{V2} .
  op g : Bar -> Baz{V{V2}} .
endfm
fmod TEST is
  sorts Elt Foo{V2} Baz{V{V2}} .
  op a : -> Elt .
  op f : Elt -> Foo{V2} .
  op g : Elt -> Baz{V{V2}} .
endfm
fmod TEST is
  sorts Elt Foo{V2} Baz{V{V2}} .
  op a : -> Elt .
  op f : Elt -> Foo{V2} .
  op g : Elt -> Baz{V{V2}} .
endfm
fmod TEST is
  sort Bar .
  op summation : Bar Bar -> Bar .
  op g : Bar -> Bar .
  op h : Bar Bar -> Bar .
  eq g(X:Bar) = summation(X:Bar, X:Bar) .
  eq h(X:Bar, Y:Bar) = summation(X:Bar, Y:Bar) .
endfm
fmod TEST is
  sort Bar .
  op summation : Bar Bar -> Bar .
  op g : Bar -> Bar .
  op h : Bar Bar -> Bar .
  eq g(X:Bar) = summation(X:Bar, X:Bar) .
  eq h(X:Bar, Y:Bar) = summation(X:Bar, Y:Bar) .
endfm
fmod TEST is
  sort Bar .
  op summation : Bar Bar -> Bar .
  op g : Bar -> Bar .
  op h : Bar Bar -> Bar .
  eq g(X:Bar) = summation(X:Bar, X:Bar) .
  eq h(X:Bar, Y:Bar) = summation(X:Bar, g(Y:Bar)) .
endfm
fmod TEST is
  sort Bar .
  op summation : Bar Bar -> Bar .
  op inv : Bar -> Bar .
  op g : Bar -> Bar .
  op h : Bar Bar -> Bar .
  eq g(X:Bar) = summation(inv(X:Bar), inv(X:Bar)) .
  eq h(X:Bar, Y:Bar) = summation(inv(Y:Bar), inv(X:Bar)) .
endfm
fmod TEST is
  sort Bar .
  op summation : Bar Bar -> Bar .
  op inv : Bar -> Bar .
  op g : Bar -> Bar .
  op h : Bar Bar Bar -> Bar .
  eq g(X:Bar) = summation(inv(X:Bar), inv(X:Bar)) .
  eq h(X:Bar, Y:Bar, Z:Bar) = summation(inv(X:Bar), inv(Z:Bar)) .
endfm
fmod TEST is
  sort Bar .
  op summation : Bar Bar -> Bar .
  op inv : Bar -> Bar .
  op g : Bar -> Bar .
  op h : Bar Bar Bar Bar -> Bar .
  eq g(X:Bar) = summation(inv(X:Bar), inv(X:Bar)) .
  eq h(W:Bar, X:Bar, Y:Bar, Z:Bar) = summation(inv(X:Bar), inv(Z:Bar)) .
endfm
fmod TEST is
  sorts Bar One{V2} Two{V2} MySort .
  op h : Bar Universal -> Universal [poly (2 0)] .
  op 1 : -> Bar .
  op 2 : -> Bar .
  op g1 : One{V2} -> One{V2} .
  op g2 : Two{V2} -> Two{V2} .
  op p : Bar MySort -> MySort .
  eq g1(X:One{V2}) = h(1, X:One{V2}) .
  eq g2(Y:Two{V2}) = h(2, Y:Two{V2}) .
  eq p(X:Bar, Y:MySort) = h(X:Bar, Y:MySort) .
endfm
==========================================
reduce in TEST : p(1, A:MySort) .
rewrites: 1
result [MySort]: h(1, A:MySort)
Bye.