Closed gjm11 closed 4 years ago
I think there's nothing i can do about this. If you start talking about 0
without saying what its type is then Lean by default assumes that it is 0 : nat
, which is Lean's inbuilt naturals. I'm not sure this can be fixed without changes to core Lean which I am not competent to make.
PS I knew someone whose email address was gjm11@something 30 years ago...
Hmm, that's a shame. I wonder whether there's a way to identify that this might be happening and give a friendly warning message suggesting what the user ought to be doing instead.
(And yes, same gjm11.)
(I am a total newb so there may be wrong assumptions etc. baked into this bug report.)
I'm looking at Advanced Multiplication level 1. For some reason my browser forgot stuff when I last restarted my computer, so I haven't (in this session) actually done any earlier levels, but e.g. all the necessary tactics and theorems are present in the left sidebar.
I do
so now I have to get a contradiction out of 0 ≠ 0. Obviously I can do that by introducing a new goal 0 = 0 and proving it with refl, right?
... so far so good ...
but now I get
This goes away if I explicitly say
have zz : (0:mynat)=(0:mynat)
but I don't think players are supposed to have to do that.May be related to #1?