Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions analysis/Analysis/Section_4_2.lean
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,9 @@ instance Rat.instField : Field Rat where

example : (3//4) / (5//6) = 9 // 10 := by sorry

/-- Definition of subtraction -/
theorem Rat.sub_eq (a b:Rat) : a - b = a + (-b) := by rfl

def Rat.coe_int_hom : ℤ →+* Rat where
toFun n := (n:Rat)
map_zero' := rfl
Expand Down