Skip to content

Commit

Permalink
Add some more true implications
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Jun 7, 2018
1 parent a07195d commit 4ef4c7f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/coll.gd
Original file line number Diff line number Diff line change
Expand Up @@ -1415,9 +1415,10 @@ InstallFactorMaintenance( IsTrivial,
##
DeclareProperty( "IsNonTrivial", IsCollection );

# true methods to avoid immediate methods
InstallTrueMethod(HasIsTrivial,IsNonTrivial);
InstallTrueMethod(HasIsNonTrivial,IsTrivial);
InstallTrueMethod( IsNonTrivial, IsEmpty );
InstallTrueMethod( HasIsTrivial, IsNonTrivial );
InstallTrueMethod( HasIsEmpty, IsTrivial );
InstallTrueMethod( HasIsNonTrivial, IsTrivial );


#############################################################################
Expand Down Expand Up @@ -1451,6 +1452,7 @@ InstallFactorMaintenance( IsFinite,
IsCollection and IsFinite, IsObject, IsCollection );

InstallTrueMethod( IsFinite, IsTrivial );
InstallTrueMethod( IsFinite, IsEmpty );


#############################################################################
Expand Down

0 comments on commit 4ef4c7f

Please sign in to comment.