Debian Codegraph @

test-suite/output/PrintingParentheses.out

raw
1 ((1 + (2 * 3), 4), 5)
2 : (nat * nat) * nat
3 mult_n_Sm =
4 fun n m : nat =>
5 nat_ind (fun n0 : nat => ((n0 * m) + n0) = (n0 * (S m)))
6 (eq_refl : ((0 * m) + 0) = (0 * (S m)))
7 (fun (p : nat) (H : ((p * m) + p) = (p * (S m))) =>
8 (let n0 := p * (S m) in
9 match H in _ = n1 return ((m + (p * m)) + (S p)) = (S (m + n1)) with
10 | eq_refl =>
11 eq_ind (S ((m + (p * m)) + p))
12 (fun n1 : nat => n1 = (S (m + ((p * m) + p))))
13 (eq_S ((m + (p * m)) + p) (m + ((p * m) + p))
14 (nat_ind
15 (fun n1 : nat => ((n1 + (p * m)) + p) = (n1 + ((p * m) + p)))
16 (eq_refl : ((0 + (p * m)) + p) = (0 + ((p * m) + p)))
17 ((fun (n1 : nat)
18 (H0 : ((n1 + (p * m)) + p) = (n1 + ((p * m) + p))) =>
19 f_equal_nat nat S ((n1 + (p * m)) + p)
20 (n1 + ((p * m) + p)) H0)
21 :
22 forall n1 : nat,
23 (((n1 + (p * m)) + p) = (n1 + ((p * m) + p))) ->
24 ((((S n1) + (p * m)) + p) = ((S n1) + ((p * m) + p))))
25 m
26 :
27 ((m + (p * m)) + p) = (m + ((p * m) + p))))
28 ((m + (p * m)) + (S p)) (plus_n_Sm (m + (p * m)) p)
29 end)
30 :
31 (((S p) * m) + (S p)) = ((S p) * (S m)))
32 n
33 : forall n m : nat, ((n * m) + n) = (n * (S m))
34
35 Arguments mult_n_Sm (n m)%_nat_scope
36 1 :: (2 :: [3; 4])
37 : list nat
38 {0 = 1} + {2 <= (4 + 5)}
39 : Set
40 forall x y z : nat, [(x + y) + z] = [x + y + z]
41 : Prop
42 forall x y z : nat, [(x + y) + z] = [x + (y + z)]
43 : Prop