kevinsullivan / cs6501s23

Formal Mathematics for Software Design
6 stars 6 forks source link

Chapter 5 Notes #46

Open RoboticMind opened 1 year ago

RoboticMind commented 1 year ago

chapter 5

Think the * needs to be escaped here on this line since it's missing inside of the brakets

and * as a notation for op in a multiplicative monoid, such as ⟨nat, , 1⟩.

Looks like there's a typo on this line:

In practce, Lean provides mechanisms for writing one definition and then cloning it automatically to produce the code for the other.

5.3.6. Example: default typeclass

The solution is already given for the exercise on the notes here. I think that was a mistake?

5.3.8. Typeclass inheritance

Might be good to copy paste the source code definition if this is going to be left in. The actually types themselves are just Type u -> Type u