Phase 1 review corrections — four bugs fixed
- relationships.pl: Replace recursive complementary_mitzvot/2 symmetry clause with explicit reverse facts (infinite loop in Prolog) - mitzvot.pl: Remove duplicate mitzvah(2, prohibition, no_other_gods) that caused double-counting in total_encoded/1 - resolve.pl: Add missing use_module(root_meanings) import — root_domain/2 was undefined, failing resolve_produces_result test - shoresh-engine: Generate and commit cabal.project.freeze for exact version pinning (Construction spec §1) All tests pass: 76 Elixir, 33 Haskell, 57 Prolog — 0 failures. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
af7522e977
commit
ae78ed26d1
4 files changed
+122
-3
No files matched your search
@@ -34,6 +34,7 @@
|
||||
:- use_module('../specification/mitzvot').
|
||||
:- use_module('../specification/torah_text').
|
||||
:- use_module('../specification/relationships').
|
||||
:- use_module('../specification/root_meanings').
|
||||
|
||||
%% ============================================================
|
||||
%% DIALECTICAL RESOLUTION
|
||||
|
||||
@@ -65,7 +65,7 @@ mitzvah(136, positive, release_debts_in_shmitah, when(seventh_year)).
|
||||
%% ============================================================
|
||||
|
||||
%% Avodah Zarah — idolatry / misattributed authority
|
||||
mitzvah(2, prohibition, no_other_gods, always). % already declared above
|
||||
%% mitzvah(2) already declared in Beliefs section above
|
||||
mitzvah(14, prohibition, not_make_idols, always).
|
||||
mitzvah(15, prohibition, not_make_idols_for_others, always).
|
||||
mitzvah(16, prohibition, not_worship_idols, always).
|
||||
|
||||
@@ -114,8 +114,13 @@ complementary_mitzvot(175, 179). % appoint_judges + judge_righteously
|
||||
complementary_mitzvot(289, 295). % not_murder + save_the_pursued
|
||||
complementary_mitzvot(125, 126). % bring_bikurim + recite_declaration
|
||||
|
||||
%% Symmetric
|
||||
complementary_mitzvot(A, B) :- complementary_mitzvot(B, A), A \= B.
|
||||
%% Symmetric — explicit reverse facts (no recursive rule, which loops in Prolog)
|
||||
complementary_mitzvot(3, 1). % unity_of_hashem + know_hashem
|
||||
complementary_mitzvot(5, 4). % fear_hashem + love_hashem
|
||||
complementary_mitzvot(156, 154). % sanctify_shabbat + rest_on_shabbat
|
||||
complementary_mitzvot(179, 175). % judge_righteously + appoint_judges
|
||||
complementary_mitzvot(295, 289). % save_the_pursued + not_murder
|
||||
complementary_mitzvot(126, 125). % recite_declaration + bring_bikurim
|
||||
|
||||
%% ============================================================
|
||||
%% QUERIES
|
||||
|
||||
Reference in new issue
Block a user