case mp
n m : ℕ
inst✝ : NeZero n
⊢ 0 = 1 → n = 1

case mpr
n m : ℕ
inst✝ : NeZero n
⊢ n = 1 → 0 = 1
n m : ℕ
inst✝ : NeZero n
⊢ 0 = 1 ↔ n = 1
constructor
case mp
n m : ℕ
inst✝ : NeZero n
h : 0 = 1
⊢ n = 1
case mp
n m : ℕ
inst✝ : NeZero n
⊢ 0 = 1 → n = 1
intro h
case mp
n m : ℕ
inst✝ : NeZero n
h : 0 = 1
this : ↑0 = ↑1
⊢ n = 1
case mp
n m : ℕ
inst✝ : NeZero n
h : 0 = 1
⊢ n = 1
have := congr_arg ((↑) : Fin n → ℕ) h
case mp
n m : ℕ
inst✝ : NeZero n
h : 0 = 1
this : n ∣ 1
⊢ n = 1
case mp
n m : ℕ
inst✝ : NeZero n
h : 0 = 1
this : ↑0 = ↑1
⊢ n = 1
simp only [val_zero, val_one', @eq_comm _ 0, ← Nat.dvd_iff_mod_eq_zero] at this
no goals
case mp
n m : ℕ
inst✝ : NeZero n
h : 0 = 1
this : n ∣ 1
⊢ n = 1
exact eq_one_of_dvd_one this
case mpr
m : ℕ
inst✝ : NeZero 1
⊢ 0 = 1
case mpr
n m : ℕ
inst✝ : NeZero n
⊢ n = 1 → 0 = 1
rintro rfl
no goals
case mpr
m : ℕ
inst✝ : NeZero 1
⊢ 0 = 1
rfl