Closed jaewooklee93 closed 9 years ago
?
._
and see if what happens :-)I already tried several ways which seem reasonable, but
destruct a1 as [n1||||]; try destruct n1;
gave
Syntax error: "|" or "]" expected (in [disjunctive_intropattern])
.
and
destruct a1 as [n1|_|_|_|_]; try destruct n1;
or
destruct a1 as [n1|_|_ _|_ _|_ _]; try destruct n1;
gave
Error: _ is used in conclusion.
But
destruct a1 as [n1|?|?|?|?]; try destruct n1;
,
you suggested, works well.
Ah, ||
is interpreted as Prop
ositional OR. You should give a space like: [| |]
.
Jeehoon
Thank you. I think [n1|?|?|?|?]
is preferable, since it may be the most readable.
In homework, I tried to write
However, I only need
n1
and the remaining names are not necessary. Can I just leave them blank? like[n1||||]
, or is it impossible?