1 set "baseuri" "cic:/matita/tests/replace/".
2 alias id "nat" = "cic:/Coq/Init/Datatypes/nat.ind#xpointer(1/1)".
3 alias num (instance 0) = "natural number".
4 alias symbol "eq" (instance 0) = "leibnitz's equality".
5 alias symbol "plus" (instance 0) = "natural plus".
6 alias symbol "times" (instance 0) = "natural times".
7 alias id "mult_n_O" = "cic:/Coq/Init/Peano/mult_n_O.con".
8 alias id "plus_n_O" = "cic:/Coq/Init/Peano/plus_n_O.con".
10 theorem t: \forall x:nat. x * (x + 0) = (0 + x) * (x + x * 0).
12 replace in \vdash (? ? (? ? %) (? % %)) with x.