SpAce wrote:eleven wrote:- Code: Select all
...or.....................or.......
/ / \or
6r1c2<= -6r3c2<= -4r3c9 <= .............. -2r2c9 <= -1r2c7 <= -7r2c8 <= -7r7c6 <= -4r8c6 <= -4r9c2
\ / or /
\ <= -6r4c7 <= -79r19c7 / or
\ / /
<= -4r4c4 ...........................................
Excellent! As far as I see it matches my diagram, but is more convincing because it does the reversal in-place.
--
So, can we all finally agree that all correctly written chains and nets, regardless of their complexity and manner of expression, are in fact bidirectional?
No. If everything is reversible, then "reversible" doesn't mean anything.
SpAce wrote:I see no logical reason how the opposite could be true, and no irrefutable counter-example has been presented either. Thus the myth that bidirectionality is somehow a special superpower reserved for AICs only is now busted, as far as I'm concerned. AICs have other advantages but this is not one of them.
There's only one way out of all the nonsense around reversibility:
define a pattern to be reversible if the reversed pattern belongs to the same family, as I do in PBCS.
xy-chains, bivalue-chains, g-bivalue-chains, basic AICs, AICs with inner whips[1], AICs with inner Subsets, AICs with inner whips[1] and innerSubsets, are reversible in this sense. (The latter three cases are not obvious at all, in particular how to define the reversed patterns, but I've proven all this in detail in PBCS.)
Whips, braids, g-whips, g-braids, S-whips, S-braids, W-whips, B-braids, forcing-whips and forcing-braids are NOT reversible in this sense.
Now, about about general networks of inferences.
The main point about such a network is whether it is an AND, an OR or a mixed network. When considering forward inferences, an AND network is much simpler than an OR or a mixed network.
An AND network corresponds to a single stream of reasoning. An OR network corresponds to reasoning by cases.As an aside,
all the above mentioned non-reversible patterns (whips, braids, g-whips, g-braids, S-whips, S-braids, W-whips and B-braids) correspond to pure AND networks. Forcing-whips and forcing-braids correspond to mixed networks, with OR-branching only at the start.
There is a permanent confusion on this forum and often a deliberate will to obliterate the difference between AND and OR networks.
AND-networks become OR-netwokks after reversion (and conversely). So,
neither AND- nor OR- networks are reversible.
Mixed networks (which are the most complex of all) are obviously reversible in my sense - which suddenly makes the property of being reversible, even as restricted as I made it, much less enticing in and of itself, if a pattern is not further restricted by other properties.
The natural further property that comes to mind is: no OR-branching (but this must somehow be further refined, so that for instance inner g-candidates or inner Subsets are not consider as OR-branching).
After these necessary preliminaries aimed at clearing the background, let's go back to the topic of this thread. What about TDP? After the discussion in the tdp-versus-forcing-braids thread (
http://forum.enjoysudoku.com/tdp-versus-forcing-braids-t37379.html), it appears that TDP is basically DFS (Depth-First-Search, with propagation of constraints between two choices of candidates before deepening the search). Obviously, DFS relies on a mixed network (but it is not a pattern).
As a result, TDP can be said reversible, but obviously not in the positive sense usually associated with this word.
DFS is the fastest known algorithm for solving a puzzle and, as such, it is very important in Sudoku (especially when generating puzzles). But I can hardly see it as a basis for the type of pattern-based resolution that most players are looking for. A player usually doesn't want to use T&E. DFS cumulates the disadvantages of recursive T&E and those of OR-branching.