Skip to content

Commit

Permalink
chore(SetTheory/Ordinal/NaturalOps): fix argument implicitness (#16900)
Browse files Browse the repository at this point in the history
  • Loading branch information
vihdzp committed Sep 18, 2024
1 parent 3896897 commit a5f2999
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Mathlib/SetTheory/Ordinal/NaturalOps.lean
Original file line number Diff line number Diff line change
Expand Up @@ -106,19 +106,19 @@ theorem toOrdinal_one : toOrdinal 1 = 1 :=
rfl

@[simp]
theorem toOrdinal_eq_zero (a) : toOrdinal a = 0 ↔ a = 0 :=
theorem toOrdinal_eq_zero {a} : toOrdinal a = 0 ↔ a = 0 :=
Iff.rfl

@[simp]
theorem toOrdinal_eq_one (a) : toOrdinal a = 1 ↔ a = 1 :=
theorem toOrdinal_eq_one {a} : toOrdinal a = 1 ↔ a = 1 :=
Iff.rfl

@[simp]
theorem toOrdinal_max {a b : NatOrdinal} : toOrdinal (max a b) = max (toOrdinal a) (toOrdinal b) :=
theorem toOrdinal_max (a b : NatOrdinal) : toOrdinal (max a b) = max (toOrdinal a) (toOrdinal b) :=
rfl

@[simp]
theorem toOrdinal_min {a b : NatOrdinal} : toOrdinal (min a b) = min (toOrdinal a) (toOrdinal b) :=
theorem toOrdinal_min (a b : NatOrdinal) : toOrdinal (min a b) = min (toOrdinal a) (toOrdinal b) :=
rfl

theorem succ_def (a : NatOrdinal) : succ a = toNatOrdinal (toOrdinal a + 1) :=
Expand Down

0 comments on commit a5f2999

Please sign in to comment.