Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm always needing to learn more about GAP. Can anyone help me on the following question? Question: I have a list of 500 sublists where each sublist consists of six groups. Is there a command to display or renumber only those sublists with trivial intersection? Is there a function in GAP can solve this?

This questioning arose when I studied a problem on coverage of finite groups.

share|cite|improve this question
    
Just how is this set-theory related? – Asaf Karagila Jan 16 '11 at 19:25
1  
This is off-topic here, I think. Why not ask it in the GAP forum instead? gap-system.org/Contacts/Forum/forum.html – Arturo Magidin Jan 16 '11 at 20:42
3  
coreFreeList := Filtered( list, sublist -> IsTrivial( Intersection( sublist ) ) );; – Jack Schmidt Jan 17 '11 at 0:08
1  
Thanks Jack Schmidt! This command solved the problem! Thank you very much. – user5802 Jan 20 '11 at 0:40

This question is in fact answered in the comment by Jack Schmidt (thanks!):

coreFreeList := Filtered( list, sublist -> IsTrivial( Intersection( sublist ) ) );;

so I'm just answering it formally to prevent it from appearing in the list of unanswered questions.

share|cite|improve this answer
1  
$\LARGE{+1}$ for my GAPy friend. :-) – Babak S. May 3 '13 at 16:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.