Skip to content

Commit 45078bd

Browse files
committed
Add missing 4.2 definition
1 parent 1a501c7 commit 45078bd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

analysis/Analysis/Section_4_2.lean

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,9 @@ instance Rat.instField : Field Rat where
237237

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

240+
/-- Definition of subtraction -/
241+
theorem Rat.sub_eq (a b:Rat) : a - b = a + (-b) := by rfl
242+
240243
def Rat.coe_int_hom : ℤ →+* Rat where
241244
toFun n := (n:Rat)
242245
map_zero' := rfl

0 commit comments

Comments
 (0)