File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,11 +83,11 @@ in specific circumstances.
8383
8484For example, `ZMod p` is a field if and only if `p` is a prime number.
8585In order to be able to find this field instance automatically by type class search,
86- we have to turn `p.prime ` into an instance implicit assumption.
86+ we have to turn `p.Prime ` into an instance implicit assumption.
8787
88- On the other hand, making `Nat.prime ` a class would require a major refactoring of the library,
89- and it is questionable whether making `Nat.prime ` a class is desirable at all.
90- The compromise is to add the assumption `[Fact p.prime ]` to `ZMod.field `.
88+ On the other hand, making `Nat.Prime ` a class would require a major refactoring of the library,
89+ and it is questionable whether making `Nat.Prime ` a class is desirable at all.
90+ The compromise is to add the assumption `[Fact p.Prime ]` to `ZMod.instField `.
9191
9292In particular, this class is not intended for turning the type class system
9393into an automated theorem prover for first-order logic. -/
You can’t perform that action at this time.
0 commit comments