on master help sign in
Merge pull request #1284 from bmsherman/verifiedRing

Fix definition of VerifiedRing

commit9593ae6e0f140ac794d52133f68926c515c89548 authorEdwin Brady <edwin.brady@gmail.com> dateWed 4 Jun 2014, 20:52 (12 years ago) parentf1e36be11e4d57
1 file changed+1−1
libs/prelude/Prelude/Algebra.idr+1−1
libs/prelude/Prelude/Algebra.idr+1−1
@@ -106,7 +106,7 @@ class AbelianGroup a => Ring a where
106106class (VerifiedAbelianGroup a, Ring a) => VerifiedRing a where
107107 total ringOpIsAssociative : (l, c, r : a) -> l <*> (c <*> r) = (l <*> c) <*> r
108108 total ringOpIsDistributiveL : (l, c, r : a) -> l <*> (c <+> r) = (l <*> c) <+> (l <*> r)
109− total ringOpIsDistributiveR : (l, c, r : a) -> (l <+> c) <*> r = (l <*> r) <+> (l <*> c)
109+ total ringOpIsDistributiveR : (l, c, r : a) -> (l <+> c) <*> r = (l <*> r) <+> (c <*> r)
110110
111111||| Sets equipped with two binary operations, one associative and commutative
112112||| supplied with a neutral element, and the other associative supplied with a