Skip to content

Commit

Permalink
feat(set_theory/ordinal_arithmetic): out_nonempty_iff_ne_zero (#12223)
Browse files Browse the repository at this point in the history
  • Loading branch information
vihdzp committed Feb 22, 2022
1 parent e50ebde commit f7b6f42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/set_theory/ordinal.lean
Expand Up @@ -775,6 +775,9 @@ begin
exact not_lt_of_le (ordinal.zero_le _) this
end

@[simp] theorem out_nonempty_iff_ne_zero {o : ordinal} : nonempty o.out.α ↔ o ≠ 0 :=
by rw [←not_iff_not, ←not_is_empty_iff, not_not, not_not, out_empty_iff_eq_zero]

instance : has_one ordinal :=
⟨⟦⟨punit, empty_relation, by apply_instance⟩⟧⟩

Expand Down

0 comments on commit f7b6f42

Please sign in to comment.