jello icon indicating copy to clipboard operation
jello copied to clipboard

BUG: Combinator tree is wrong for Dyadic separators

Open tom-huntington opened this issue 1 year ago • 1 comments

I was trying to add the output of two trees using dyadic separators (i.e. two dyadic trees feeding into Φ₁), but noticed a bug.

Here's a minimal reproducible example. l is a stand in for the left tree, r for the right tree. The answer should be Φ₁, but Jello is giving BB. The BB is the right answer in the monadic case m-m-m (i.e. a 1-1-1 chain).

> 1 2 :: l : + : r
         ḷ ð + ð ṛ
   ḷ     1 2 ➡️  1
   ḷð+   1 2 ➡️  1
   ḷð+ðṛ 1 2 ➡️  3
    This is a 2-s-2-s-2 dyadic chain (dBB)
              │   │   │
              d   d   d
              └─┬─┘   ⋮
                B     ⋮
                └──┬──┘
                   B

tom-huntington avatar Jan 05 '24 09:01 tom-huntington

You are definitely correct about this. Will plan to fix at some point.

codereport avatar Feb 21 '24 03:02 codereport