Received: from mail-vk0-f56.google.com ([209.85.213.56]:43554) by stodi.digitalkingdom.org with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from ) id 1e2blL-0003V1-5C for lojban-list-archive@lojban.org; Thu, 12 Oct 2017 04:34:53 -0700 Received: by mail-vk0-f56.google.com with SMTP id g69sf1925334vke.2 for ; Thu, 12 Oct 2017 04:34:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=rXSZ0w8ToE1RgKOQxqSd/InlyuKzvDCW9cjSySEXuXY=; b=aGBmLg7ztvARnx8AxPyfLmHnXopCY+BQ8vyjQzGf6emTG40hra+aEscjaLWEuqe5eA swQMvJKau4hPuyMQFrKJKCTJDqHtRjELIRkrIuy7OZUU8owLUJqQ1EfnkdRjWEVujcVm 4C8hC9TPGn8OKS0hE0fa7VpVZHL9aWtp0wWSTPeSs8LR6RjgAcSPod1sym/X+wxteqJa T8rpz3Hwole4UPwi19vbJ4NTL86WnVIgniG5quxxKm2kvXlzuiPCoxahij6c2jKQ8Y+q ip+ReJfgAqw+Qz48qYnvFA0KWBHscpXQhGgmhtPs2F64eqYWULJq1iDMfsKSDvewzB4t Y2gw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=rXSZ0w8ToE1RgKOQxqSd/InlyuKzvDCW9cjSySEXuXY=; b=exZ1ZCA/jqR2HBkRDQidSKquf2jbYogdJWA2KroG21qHkx/Ez4qypK+63NZGXwrh67 ioDr9ad/K0HeCkPC1GXD9v0F7cH5llhVOd2L8lHSxqNywyJCb5hMKR/KtpC/0/OGHHeU kkXq20SSvdmr/ylArXV+93wi/IQp3pFD0WIAbqjgAR6PmvWbvrji0nLLMRKmDsOdVLXB rbDOjJDSMm/6eDgGy1BKetuT1+5Ocifvs7zI6BFUPbT4VHihq8I7BBNQyty4dax3+cxJ dOVjki4QkBdTwItzKIyfl8ufhMtPPyrFkQBnneLkiMRKjdqz/U58qK1PxST7bx4jgtJ/ bh7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=rXSZ0w8ToE1RgKOQxqSd/InlyuKzvDCW9cjSySEXuXY=; b=H88vtg5tsIyfcA+zSrgMkCbaG0l8e9nokSXhIMOKXTv2jrnXY3Ftc3+jjZt7kEOLO2 /JultodH59eXKq7rGSDGbMkSnFQQMwtBbff9zRVYc9/g7jMeya1ww7uvzbpCEUoT9ZLL dAzA/+Ev7j2Baa/NhBDmJqBQujcpP1qfInGxoWmJLbQm0lytctaGUJRj+YARA/V2deyd UcZ7j7Ku5fJAd+62tHIkwXLBtbvNXPtOHKousDMDQ8+hEnGLhBvEyp5ExQVBknVtvwPX To9i4rZDHeXdgp63EypmM1GXFO63uHH5ZXM6ewZEFo9HY8OVgYS4ViptxsKR7krobUdn z6fA== Sender: lojban@googlegroups.com X-Gm-Message-State: AMCzsaVw5adhNMzh8LqLAkgXzCTbFvHa79mxwaRjMoX5OShfAGILCsYV sq0henNL8DsCIW//eiENSPA= X-Google-Smtp-Source: AOwi7QDL44LWSziJw1wKUSMCia3gwA7Q5jO/TvPuKD9zJYF9Wl9pt4/7dZUVKfa+/U+QOYRSUwFDbA== X-Received: by 10.31.7.137 with SMTP id 131mr1187791vkh.5.1507808084693; Thu, 12 Oct 2017 04:34:44 -0700 (PDT) X-BeenThere: lojban@googlegroups.com Received: by 10.31.153.88 with SMTP id b85ls185249vke.20.gmail; Thu, 12 Oct 2017 04:34:44 -0700 (PDT) X-Received: by 10.31.96.146 with SMTP id u140mr1026025vkb.2.1507808084211; Thu, 12 Oct 2017 04:34:44 -0700 (PDT) Date: Thu, 12 Oct 2017 04:34:43 -0700 (PDT) From: gleki.is.my.name@gmail.com To: lojban Message-Id: <9c0abcfd-8983-499f-a2c9-96e00aaa372e@googlegroups.com> In-Reply-To: <4d97c659-51f8-42f8-b920-a3ba3022bc90@googlegroups.com> References: <88be99ba-76f2-44dc-8848-4cae7374eb40@googlegroups.com> <4d97c659-51f8-42f8-b920-a3ba3022bc90@googlegroups.com> Subject: [lojban] Re: How many gismu possible? MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_10834_1936038635.1507808083931" X-Original-Sender: gleki.is.my.name@gmail.com Reply-To: lojban@googlegroups.com Precedence: list Mailing-list: list lojban@googlegroups.com; contact lojban+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: lojban@googlegroups.com X-Google-Group-Id: 1004133512417 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Score: -1.3 (-) X-Spam_score: -1.3 X-Spam_score_int: -12 X-Spam_bar: - ------=_Part_10834_1936038635.1507808083931 Content-Type: multipart/alternative; boundary="----=_Part_10835_27698378.1507808083931" ------=_Part_10835_27698378.1507808083931 Content-Type: text/plain; charset="UTF-8" Em quarta-feira, 11 de outubro de 2017 14:17:10 UTC+3, Jeremy Hussell escreveu: > > I'm willing to bet that the highest count you got for experimental gismu > is exactly the number of possible 4-letter rafsi, less the number of > official gismu. So, 19,295 - 1,392 = 17,903 by my count. > > Why? 1) No two gismu can have the same 4-letter rafsi, otherwise they > would differ only in the final vowel, which is one of the blocking rules. > 2) Two gismu with different 4-letter rafsi can only block each other if > they have the same final vowel and differ by exactly one consonant, because > two differences is enough to unblock. 3) The blocking rules have > disconnected groups of consonants which only block each other (bfpv, cjsz, > dt, gkx, and lmnr). Therefore, any group of gismu which differ in the same > consonant and block each other can be unblocked by making the final vowels > different, since the largest such group will contain at most 4 gismu and > there are 5 possible final vowels. > > The above argument strongly suggests (but doesn't prove) that it's > possible to pick gismu in an optimal way, such that they use all the > possible 4-letter rafsi. > Unfortunately, my algorithm was straightforward, without much optimizations, without any tricky math involved. The result is that the algorithm is slow even for one round of filling the free gismu space, (every possible order of candidate gismy forms will combinatorically ~ infinite time). > If I understand your algorithm, and it's bug-free > Well, the code is included, comments are added to it, one can check anytime. I tried to make it as simple as possible to get results for one round of filling the space in a human-bearable time (several minutes on my pcs) > , I think you've proved that it's possible - and probable - to pick gismu > in a sub-optimal way, such that as many as 15 fewer would be available than > the highest number possible. If you did indeed get a high count of 17,903 > then you've also proved that the trivial upper bound can be achieved. > > It's possible the broda-brode-brodi-brodo-brodu group, which are an > exception to the "can't differ only in the final vowel" rule, are causing > some trouble. > I simply included them as already existing official gismu. > Do your results change if you leave all but one of them out of the list of > existing gismu? > Well, I doubt this would change significantly. I was surprised that any reshuffling resulting in a new arbitrary order of gismu doesn't change the resulting number of possible gismu +/-10. So removing brodV must change the number within ~10 gismu, I suppose. -- You received this message because you are subscribed to the Google Groups "lojban" group. To unsubscribe from this group and stop receiving emails from it, send an email to lojban+unsubscribe@googlegroups.com. To post to this group, send email to lojban@googlegroups.com. Visit this group at https://groups.google.com/group/lojban. For more options, visit https://groups.google.com/d/optout. ------=_Part_10835_27698378.1507808083931 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Em quarta-feira, 11 de outubro de 2017 14:17:10 UT= C+3, Jeremy Hussell escreveu:
=
I'm willing to bet that the highest count you got for = experimental gismu is exactly the number of possible 4-letter rafsi, less t= he number of official gismu. So, 19,295 - 1,392 =3D 17,903 by my count.
=
Why? 1) No two gismu can have the same 4-letter rafsi, otherwise they w= ould differ only in the final vowel, which is one of the blocking rules. 2)= Two gismu with different 4-letter rafsi can only block each other if they = have the same final vowel and differ by exactly one consonant, because two = differences is enough to unblock. 3) The blocking rules have disconnected g= roups of consonants which only block each other (bfpv, cjsz, dt, gkx, and l= mnr). Therefore, any group of gismu which differ in the same consonant and = block each other can be unblocked by making the final vowels different, sin= ce the largest such group will contain at most 4 gismu and there are 5 poss= ible final vowels.

The above argument strongly suggests (but doesn&#= 39;t prove) that it's possible to pick gismu in an optimal way, such th= at they use all the possible 4-letter rafsi.
Unfortunately, my algorithm was straightforward, without much o= ptimizations, without any tricky math involved. The result is that the algo= rithm is slow even for one round of filling the free gismu space, (every po= ssible order of candidate gismy forms will combinatorically ~ infinite time= ).


If I understand your algorithm, and it's bug-free

Well, the code is included, comments are add= ed to it, one can check anytime. I tried to make it as simple as possible t= o get results for one round of filling the space in a human-bearable time (= several minutes on my pcs)

=C2=A0
, I think you've pro= ved that it's possible - and probable - to pick gismu in a sub-optimal = way, such that as many as 15 fewer would be available than the highest numb= er possible. If you did indeed get a high count of 17,903 then you've a= lso proved that the trivial upper bound can be achieved.

It's po= ssible the broda-brode-brodi-brodo-brodu group, which are an exception to t= he "can't differ only in the final vowel" rule, are causing s= ome trouble.

I simply included them a= s already existing official gismu.
=C2=A0
Do your results change if you= leave all but one of them out of the list of existing gismu?

Well, I doubt this would change significantly.= I was surprised that any reshuffling resulting in a new arbitrary order of= gismu doesn't change the resulting number of possible gismu +/-10. So = removing brodV must change the number within ~10 gismu, I suppose.
=C2=A0

--
You received this message because you are subscribed to the Google Groups &= quot;lojban" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to lojban+unsub= scribe@googlegroups.com.
To post to this group, send email to lojban@googlegroups.com.
Visit this group at http= s://groups.google.com/group/lojban.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_10835_27698378.1507808083931-- ------=_Part_10834_1936038635.1507808083931--