checkpoint
This commit is contained in:
parent
72d851d71b
commit
5bf920da3a
@ -1081,9 +1081,6 @@ defmodule Tdd do
|
||||
type_none()
|
||||
|
||||
{var, y, n, d} ->
|
||||
# --- START OF THE CRUCIAL NEW LOGIC ---
|
||||
# Special check for list head/tail vs. all_elements contradiction.
|
||||
# This logic MUST be here because it requires calling TDD operations (intersect).
|
||||
contradiction =
|
||||
case var do
|
||||
{5, :head, head_predicate} ->
|
||||
@ -1125,8 +1122,6 @@ defmodule Tdd do
|
||||
# The 'yes' branch is impossible. The node simplifies to its 'no' branch.
|
||||
simplify(n, constraints)
|
||||
else
|
||||
# --- END OF NEW LOGIC ---
|
||||
# Proceed with the original simplification logic.
|
||||
case Map.get(constraints, var) do
|
||||
true ->
|
||||
simplify(y, constraints)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user