apply False.elim ((of_decide_eq_true rfl : ¬1 < 0) gt1)
case mp.succ.zero
R : Type u
inst✝¹ : CommRing R
inst✝ : IsDomain R
p : ℕ
gt1 : 1 < Nat.zero
a : ℤ
hval :
  (match p, natAbs a with
    | x, 0 => ⊤
    | 0, Nat.succ n => 0
    | 1, Nat.succ x => ⊤
    | Nat.succ (Nat.succ q), Nat.succ m => nat_valuation_aux (q + 2) (_ : Nat.succ 0 < Nat.succ (q + 1)) (m + 1)) =
    ⊤
n : ℕ
abs_a : natAbs a = Nat.succ n
hp : p = Nat.zero
⊢ a = 0
no goals