diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-12-17 15:54:54 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2020-12-17 15:54:54 -0500 |
| commit | f413a35977d9b7aef77a023b4a1b378434473b05 (patch) | |
| tree | 3c290ed9ce985ee1ed9a46074b54b5d565807995 /src | |
| parent | 0f6efafbf69a4eb8f2cea1037671fbf304c06ab8 (diff) | |
Extend required inverse support to any 3-train with a constant left or right tine
Diffstat (limited to 'src')
| -rw-r--r-- | src/r.bqn | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -659,8 +659,8 @@ Mod2Inverse ← INF˙ _lookup_ ⟨ } TrainInverse ← { f‿g‿h←𝕩 - K←¬IsConstant⊸∧⟜((⊑⟨⊢⟩)⊸=) - f K◶⟨{𝕨G⁼⊢},K˜◶⟨{𝕩G˜⁼⊢},INF˙⟩⟩ h + K←¬IsConstant + f K∘⊣◶⟨{𝕏⁼𝕨G⁼⊢},K∘⊢◶⟨{𝕎⁼𝕩G˜⁼⊢},INF˙⟩⟩ h } FuncInverse ← (⊑ ⊣◶⟨ PrimInverse∘⊑⊢ # 0 primitive |
