"takes longer"
Closed this issue · 1 comments
jariji commented
NNG4/Game/Levels/Multiplication/L07mul_add.lean
Lines 49 to 56 in 18e0aec
induction b with b hb
rw [zero_add, mul_zero, zero_add]
rfl
rw [succ_add, mul_succ, mul_succ, add_right_comm, hb]
rfl
Doesn't seem to take longer.
joneugster commented
changed to "might take longer".
I think in a historic version not all of the reversed statements (zero_add
, etc.) or add_right_comm
might have not been available. The pedagogical thought here was that one should always start induction on the last variable because +
is defined inductively on the second variable.