Skip to content

Commit

Permalink
apply suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoLuccioli committed Aug 6, 2024
1 parent 1b1f98c commit c8050ed
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions TestingLowerBounds/ForMathlib/EReal.lean
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ namespace EReal

instance : CharZero EReal := inferInstanceAs (CharZero (WithBot (WithTop ℝ)))

lemma eq_coe_of_ne_top_of_ne_bot {x : EReal} (hx : x ≠ ⊤) (hx' : x ≠ ⊥) : ∃ r : ℝ, x = r := by
induction x <;> tauto

lemma coe_ennreal_toReal {x : ℝ≥0∞} (hx : x ≠ ∞) : (x.toReal : EReal) = x := by
lift x to ℝ≥0 using hx
rfl
Expand Down

0 comments on commit c8050ed

Please sign in to comment.