.
ORk-Forcing-Whips
I introduced ordinary Forcing-Whips (based on a bivalue relation) long ago in PBCS1
I introduced Tridagon-Forcing-Whips (based on a tridagon link) more recently here: http://forum.enjoysudoku.com/the-tridagon-rule-t39859-31.html
The more general idea of ORk-Forcing-Whips is trivial, but there are small subtleties about complexity.
When an OR relation between k candidates (Z1 Z2 ... Zk, k > 1) has been proven, if there are k partial whips (of respective lengths p1, p2, ... pk), with respective targets Z1, Z2 ... Zk, then:
- if the last (right-linking) candidate of all the k partial whips is the same, then one can assert it as True;
- if a candidate is linked to the ends (i.e. the last right-linking candidates) of all the k partial whips, then it can be eliminated.
This is a trivial case of "reasoning by cases".
(For simplicity of formulation, a direct contradiction link between two candidates is considered as a partial-whip[0])
As k streams of reasoning must be followed in parallel and complexity is more or less exponential in the length of chains, the global length of the ORk-Forcing-Whip can be defined consistently in two and only two ways:
1) either consider that the OK-k relation has been proven independently and doesn't have to be counted in the complexity of the Forcing-Whip, in which case the total length is 1 + p1 + p2 ...+ pk (the +1 for consistency with the basic forcing-whips.
2) or consider that the OK-k relation doesn't lead to any elimination and must therefore be counted in the complexity of the Forcing-Whip, in which case the total length must be (length of the ORk relation) + p1 + p2 ...+ pk.
In the definition of Tridagon-Forcing-Whips, I have adopted the second view.
In the definition of the general ORk-Forcing-Whips, I'll adopt the first view. This corresponds to an extended resolution model, where OR relations can be asserted as intermediate results (in addition to only values and candidates). This is mainly intended for use with exotic patterns that lead to ORk relations. Typically in such cases, one wants to give some priority to the exotic pattern and to what can be deduced from it (while maintaining some consistency with the complexities of the ingredients, i.e. partial-whips)
(For Tridagon-Forcing-Whips, one will be able to choose any of the two views.)
[Edit]:added ORk-Contrad-Whips in the title.
[Edit2]:added ORk-Whips in the title.