Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion Analysis/Section_4_1.lean
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ instance Int.instCommRing : CommRing Int where
zero_mul := by sorry
mul_zero := by sorry

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

theorem Int.sub_eq_formal_sub (a b:ℕ) : (a:Int) - (b:Int) = a —— b := by sorry
Expand Down
2 changes: 1 addition & 1 deletion Analysis/Section_4_2.lean
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ instance Rat.instField : Field Rat where

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

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

def Rat.coe_int_hom : ℤ →+* Rat where
Expand Down
Loading