Debian Codegraph @

tests/ResolvedBugs/arityRenamingMarch2023.expected

raw
1 fmod BAZ is
2 sorts Bool Foo .
3 op if_then_else_fi : Bool Universal Universal -> Universal [poly (2 3 0) prec
4 0 gather (& & &) special (
5 id-hook BranchSymbol
6 term-hook 1 (true)
7 term-hook 2 (false))] .
8 op _==_ : Universal Universal -> Bool [poly (1 2) prec 51 gather (E E)
9 special (
10 id-hook EqualitySymbol
11 term-hook equalTerm (true)
12 term-hook notEqualTerm (false))] .
13 op _=/=_ : Universal Universal -> Bool [poly (1 2) prec 51 gather (E E)
14 special (
15 id-hook EqualitySymbol
16 term-hook equalTerm (false)
17 term-hook notEqualTerm (true))] .
18 op true : -> Bool [ctor special (
19 id-hook SystemTrue)] .
20 op false : -> Bool [ctor special (
21 id-hook SystemFalse)] .
22 op _and_ : Bool Bool -> Bool [assoc comm prec 55 gather (e E)] .
23 op _or_ : Bool Bool -> Bool [assoc comm prec 59 gather (e E)] .
24 op _xor_ : Bool Bool -> Bool [assoc comm prec 57 gather (e E)] .
25 op not_ : Bool -> Bool [prec 53 gather (E)] .
26 op _implies_ : Bool Bool -> Bool [prec 61 gather (e E)] .
27 op g : -> Foo .
28 op h : Foo -> Foo .
29 op q : -> Foo .
30 eq true and A:Bool = A:Bool .
31 eq false and A:Bool = false .
32 eq A:Bool and A:Bool = A:Bool .
33 eq false xor A:Bool = A:Bool .
34 eq A:Bool xor A:Bool = false .
35 eq A:Bool and (B:Bool xor C:Bool) = A:Bool and B:Bool xor A:Bool and C:Bool .
36 eq not A:Bool = true xor A:Bool .
37 eq A:Bool or B:Bool = A:Bool and B:Bool xor A:Bool xor B:Bool .
38 eq A:Bool implies B:Bool = not (A:Bool xor A:Bool and B:Bool) .
39 eq q = h(g) .
40 endfm
41 Bye.