Class:
Navigation:
 0-0     
Instance:
Relationship:
Domain:
Links:
Automated Pattern Deduction for Connect 4 in 3 Moves (version 0.128 2024-12-20)

Step 0. Initial
game.connects4InMoves(player, 3) = true 
Step 1. The system substitutes game.connects4InMoves(player, 3) with its predefined equivalence definition <=>
Ǝ xExistsMove: (Start Exists Move Concept)
  xExistsMove >= 0 and 
  xExistsMove < xMax:
  game.afterMove(xExistsMove).connects4InMoves(player, 2) = true
Ǝend xExistsMove (End Exists Move Concept) and 
game.connects4InMoves(player, 1) = false 
Step 2. The system substitutes connects4InMoves(player, 2) and connects4InMoves(player, 1) with their deduced equivalence definitions. <=>
Ǝ xExistsMove: (Start Exists Move Concept)
  xExistsMove >= 0 and 
  xExistsMove < xMax:
  ((∀ xMove: (Start For All Move Concept)
    xMove >= 0 and 
    xMove < xMax and 
    game.afterMove(xExistsMove).matrix.yEmpty(xMove) < yMax - 1:
    game.afterMove(xExistsMove).matrix.reppp(player, 1, xMove) = true
  ∀end xMove (End For All Move Concept) and 
  game.afterMove(xExistsMove).matrix.reppp(player, 1, rex) = true) or 
  (x1 != x2 and 
  game.afterMove(xExistsMove).matrix.reppp(player, 0, x1) = true and 
  game.afterMove(xExistsMove).matrix.reppp(player, 0, x2) = true) or 
  (game.afterMove(xExistsMove).matrix.reppp(player, 1, xs) = true and 
  game.afterMove(xExistsMove).matrix.reppp(player, 0, xs) = true)) and 
  game.afterMove(xExistsMove).toMove = opponent(player) and 
  game.afterMove(xExistsMove).matrix.reppp(opponent(player), 0, rex) = false and 
  game.afterMove(xExistsMove).matrix.pppp(opponent(player)) = false
Ǝend xExistsMove (End Exists Move Concept) and 
(game.matrix.reppp(player, 0, rex) = false or 
game.toMove = opponent(player) or 
game.matrix.pppp(opponent(player)) = true) 
Step 3. The system substitutes the game.afterMove(xMove).* functions with their deduced equivalence definitions <=>
Ǝ xExistsMove: (Start Exists Move Concept)
  xExistsMove >= 0 and 
  xExistsMove < xMax:
  ((∀ xMove: (Start For All Move Concept)
    xMove >= 0 and 
    xMove < xMax and 
    game.afterMove(xExistsMove).matrix.yEmpty(xMove) < yMax - 1:
    ((xExistsMove = xMove and 
    game.matrix.reppp(player, 2, xExistsMove) = true) or 
    (xExistsMove != xMove and 
    game.matrix.reppp(player, 1, xMove) = true) or 
    (game.toMove = player and 
    game.matrix.rerepp(player, 0, xExistsMove, 1, xMove) = true))
  ∀end xMove (End For All Move Concept) and 
  game.afterMove(xExistsMove).matrix.reppp(player, 1, rex) = true) or 
  (x1 != x2 and 
  (((xExistsMove = x1 and 
  game.matrix.reppp(player, 1, xExistsMove) = true) or 
  (xExistsMove != x1 and 
  game.matrix.reppp(player, 0, x1) = true) or 
  (game.toMove = player and 
  game.matrix.rerepp(player, 0, xExistsMove, 0, re2xa) = true) or 
  (game.toMove = player and 
  game.matrix.vrep(player, 1, xExistsMove) = true))) and 
  (((xExistsMove = x2 and 
  game.matrix.reppp(player, 1, xExistsMove) = true) or 
  (xExistsMove != x2 and 
  game.matrix.reppp(player, 0, x2) = true) or 
  (game.toMove = player and 
  game.matrix.rerepp(player, 0, xExistsMove, 0, re2xb) = true) or 
  (game.toMove = player and 
  game.matrix.vrep(player, 1, xExistsMove) = true)))) or 
  ((((xExistsMove = xs and 
  game.matrix.reppp(player, 2, xExistsMove) = true) or 
  (xExistsMove != xs and 
  game.matrix.reppp(player, 1, xs) = true) or 
  (game.toMove = player and 
  game.matrix.rerepp(player, 0, xExistsMove, 1, xs) = true))) and 
  (((xExistsMove = xs and 
  game.matrix.reppp(player, 1, xExistsMove) = true) or 
  (xExistsMove != xs and 
  game.matrix.reppp(player, 0, xs) = true) or 
  (game.toMove = player and 
  game.matrix.rerepp(player, 0, xExistsMove, 0, re2x) = true) or 
  (game.toMove = player and 
  game.matrix.vrep(player, 1, xExistsMove) = true))))) and 
  game.toMove = player and 
  ((xExistsMove != rexOpp or 
  game.matrix.reppp(opponent(player), 1, xExistsMove) = false) and 
  (xExistsMove = rexOpp or 
  game.matrix.reppp(opponent(player), 0, rexOpp) = false) and 
  (game.toMove = player or 
  game.matrix.rerepp(opponent(player), 0, xExistsMove, 0, re2x) = false) and 
  (game.toMove = player or 
  game.matrix.vrep(opponent(player), 1, xExistsMove) = false)) and 
  ((game.matrix.reppp(opponent(player), 0, xExistsMove) = false or 
  game.toMove = player) and 
  game.matrix.pppp(opponent(player)) = false)
Ǝend xExistsMove (End Exists Move Concept) and 
(game.matrix.reppp(player, 0, rex) = false or 
game.toMove = opponent(player) or 
game.matrix.pppp(opponent(player)) = true) 
Step 4. The system eliminates all rules based on game.toMove = player and game.matrix.pppp(opponent(player)) = false being true. It also eliminates xExistsMove != rexOpp because rexOpp is not bound to anything else in this case. See green and red above. <=>
Ǝ xExistsMove: (Start Exists Move Concept)
  xExistsMove >= 0 and 
  xExistsMove < xMax:
  ((∀ xMove: (Start For All Move Concept)
    xMove >= 0 and 
    xMove < xMax and 
    game.afterMove(xExistsMove).matrix.yEmpty(xMove) < yMax - 1:
    ((xExistsMove = xMove and 
    game.matrix.reppp(player, 2, xExistsMove) = true) or 
    (xExistsMove != xMove and 
    game.matrix.reppp(player, 1, xMove) = true) or 
    game.matrix.rerepp(player, 0, xExistsMove, 1, xMove) = true)
  ∀end xMove (End For All Move Concept) and 
  game.afterMove(xExistsMove).matrix.reppp(player, 1, rex) = true) or 
  (x1 != x2 and 
  (((xExistsMove = x1 and 
  game.matrix.reppp(player, 1, xExistsMove) = true) or 
  (xExistsMove != x1 and 
  game.matrix.reppp(player, 0, x1) = true) or 
  game.matrix.rerepp(player, 0, xExistsMove, 0, re2xa) = true or 
  game.matrix.vrep(player, 1, xExistsMove) = true)) and 
  (((xExistsMove = x2 and 
  game.matrix.reppp(player, 1, xExistsMove) = true) or 
  (xExistsMove != x2 and 
  game.matrix.reppp(player, 0, x2) = true) or 
  game.matrix.rerepp(player, 0, xExistsMove, 0, re2xb) = true or 
  game.matrix.vrep(player, 1, xExistsMove) = true))) or 
  ((((xExistsMove = xs and 
  game.matrix.reppp(player, 2, xExistsMove) = true) or 
  (xExistsMove != xs and 
  game.matrix.reppp(player, 1, xs) = true) or 
  game.matrix.rerepp(player, 0, xExistsMove, 1, xs) = true)) and 
  (((xExistsMove = xs and 
  game.matrix.reppp(player, 1, xExistsMove) = true) or 
  (xExistsMove != xs and 
  game.matrix.reppp(player, 0, xs) = true) or 
  game.matrix.rerepp(player, 0, xExistsMove, 0, re2x) = true or 
  game.matrix.vrep(player, 1, xExistsMove) = true)))) and 
  game.toMove = player and 
  game.matrix.reppp(opponent(player), 1, xExistsMove) = false and 
  (xExistsMove = rexOpp or 
  game.matrix.reppp(opponent(player), 0, rexOpp) = false) and 
  game.matrix.pppp(opponent(player)) = false
Ǝend xExistsMove (End Exists Move Concept) and 
game.matrix.reppp(player, 0, rex) = false 
Step 5. The system eliminates all rules based on game.matrix.reppp(player, 0, rex) = false being true. See green and red above. <=>
Ǝ xExistsMove: (Start Exists Move Concept)
  xExistsMove >= 0 and 
  xExistsMove < xMax:
  ((∀ xMove: (Start For All Move Concept)
    xMove >= 0 and 
    xMove < xMax and 
    game.afterMove(xExistsMove).matrix.yEmpty(xMove) < yMax - 1:
    ((xExistsMove = xMove and 
    game.matrix.reppp(player, 2, xExistsMove) = true) or 
    (xExistsMove != xMove and 
    game.matrix.reppp(player, 1, xMove) = true) or 
    game.matrix.rerepp(player, 0, xExistsMove, 1, xMove) = true)
  ∀end xMove (End For All Move Concept) and 
  game.afterMove(xExistsMove).matrix.reppp(player, 1, rex) = true) or 
  (x1 != x2 and 
  (((xExistsMove = x1 and 
  game.matrix.reppp(player, 1, xExistsMove) = true) or 
  game.matrix.rerepp(player, 0, xExistsMove, 0, re2xa) = true or 
  game.matrix.vrep(player, 1, xExistsMove) = true)) and 
  (((xExistsMove = x2 and 
  game.matrix.reppp(player, 1, xExistsMove) = true) or 
  game.matrix.rerepp(player, 0, xExistsMove, 0, re2xb) = true or 
  game.matrix.vrep(player, 1, xExistsMove) = true))) or 
  ((((xExistsMove = xs and 
  game.matrix.reppp(player, 2, xExistsMove) = true) or 
  (xExistsMove != xs and 
  game.matrix.reppp(player, 1, xs) = true) or 
  game.matrix.rerepp(player, 0, xExistsMove, 1, xs) = true)) and 
  (((xExistsMove = xs and 
  game.matrix.reppp(player, 1, xExistsMove) = true) or 
  game.matrix.rerepp(player, 0, xExistsMove, 0, re2x) = true or 
  game.matrix.vrep(player, 1, xExistsMove) = true)))) and 
  game.toMove = player and 
  game.matrix.reppp(opponent(player), 1, xExistsMove) = false and 
  (xExistsMove = rexOpp or 
  game.matrix.reppp(opponent(player), 0, rexOpp) = false) and 
  game.matrix.pppp(opponent(player)) = false
Ǝend xExistsMove (End Exists Move Concept) and 
game.matrix.reppp(player, 0, rex) = false 
Step 6. The system exports game.matrix.reppp(player, 2, xExistsMove) = true out of the all move concept and ors it with game.matrix.yEmpty(xExistsMove) = yMax - 2 to account for the case the player moves on a column with just one empty position making it full (this is closed) after this move. The latter rule is anded with game.afterMove(xExistsMove).matrix.reppp(player, 1, rex) = true from which as such .afterMove(xExistsMove) is removed. As such the system adds xExistsMove != xMove as a delimiter rule to the all move concept. As such the system can remove afterMove(xExistsMove) from the existing delimiter rule game.afterMove(xExistsMove).matrix.yEmpty(xMove) < yMax - 1 to obtain game.matrix.yEmpty(xMove) < yMax - 1. As such the system keeps game.matrix.reppp(player, 1, xMove) = true as a non delimiter rule of the for all move concept. The system ors the latter rule with game.matrix.rerepp(player, 0, xExistsMove, 1, xMove) = true to account for the winning move that closes a column and at the same time creates for another column a re1ppp pattern from the re0re1pp pattern. For the x1 != x2 part, split off from the for all move concept in the 4 in 2 moves deduction, the system deduces the following three pattern combinations as shown below and described here: 1. Combination of a re1ppp and a re0re0pp pattern sharing a rotatable empty position (re) on which the player moves (xExistsMove). 2. Combination of two re0re0pp patterns sharing a rotatable empty position (re) on which the player moves. 3. Combination of a vertical re0re1pp and a re0re0pp pattern sharing a rotatable empty position with depth 0 (re0) on which the player moves. For the xs (xShared) part, split off from the for all move concept in the 4 in 2 moves deduction, the system deduces the following three pattern combinations as shown below and described here: 1. Combination of a re2ppp and a re1ppp pattern sharing the rotatable empty position (re) on which the player moves. 2. Combination of a re1ppp and a re0re0pp pattern sharing a rotatable empty position (re). The player moves on the unshared re of the re0re0pp pattern. 3. Combination of a re0re1pp and a re0re0pp pattern sharing a rotatable empty position (re0) on which the player moves. This move creates re1ppp and re0ppp patterns on top of eachother (same re) enabling the player to win. <=>
Ǝ xExistsMove: (Start Exists Move Concept)
  xExistsMove >= 0 and 
  xExistsMove < xMax:
  ((∀ xMove: (Start For All Move Concept)
    xMove >= 0 and 
    xMove < xMax and 
    game.matrix.yEmpty(xMove) < yMax - 1 and 
    xExistsMove != xMove:
    (game.matrix.reppp(player, 1, xMove) = true or 
    game.matrix.rerepp(player, 0, xExistsMove, 1, xMove) = true)
  ∀end xMove (End For All Move Concept) and 
  ((game.matrix.reppp(player, 1, rex) = true and 
  game.matrix.yEmpty(xExistsMove) = yMax - 2) or 
  game.matrix.reppp(player, 2, xExistsMove) = true or 
  game.matrix.rerepp(player, 0, xExistsMove, 1, re2x) = true)) or 
  ((game.matrix.reppp(player, 1, xExistsMove) = true and 
  game.matrix.rerepp(player, 0, xExistsMove, 0, re2xb) = true) or 
  (game.matrix.rerepp(player, 0, xExistsMove, 0, re2xa) = true and 
  game.matrix.rerepp(player, 0, xExistsMove, 0, re2xb) = true) or 
  (game.matrix.rerepp(player, 0, xExistsMove, 0, re2xa) = true and 
  game.matrix.vrep(player, 1, xExistsMove) = true)) or 
  ((game.matrix.reppp(player, 2, xExistsMove) = true and 
  game.matrix.reppp(player, 1, xExistsMove) = true) or 
  (game.matrix.reppp(player, 1, xs) = true and 
  game.matrix.rerepp(player, 0, xExistsMove, 0, xs) = true) or 
  (game.matrix.rerepp(player, 0, xExistsMove, 1, xs) = true and 
  game.matrix.rerepp(player, 0, xExistsMove, 0, xs) = true))) and 
  game.toMove = player and 
  game.matrix.reppp(opponent(player), 1, xExistsMove) = false and 
  (xExistsMove = rexOpp or 
  game.matrix.reppp(opponent(player), 0, rexOpp) = false) and 
  game.matrix.pppp(opponent(player)) = false
Ǝend xExistsMove (End Exists Move Concept) and 
game.matrix.reppp(player, 0, rex) = false 
Step 7. The system also eliminates unneeded parenthesis. The system moves game.matrix.pppp(opponent(player)) = false out of the exists move concept because it does not depend on xExistsMove. This is the final step of the 4 in 3 moves automated deduction. <=>
Ǝ xExistsMove: (Start Exists Move Concept)
  xExistsMove >= 0 and 
  xExistsMove < xMax:
  ((∀ xMove: (Start For All Move Concept)
    xMove >= 0 and 
    xMove < xMax and 
    game.matrix.yEmpty(xMove) < yMax - 1 and 
    xExistsMove != xMove:
    (game.matrix.reppp(player, 1, xMove) = true or 
    game.matrix.rerepp(player, 0, xExistsMove, 1, xMove) = true)
  ∀end xMove (End For All Move Concept) and 
  ((game.matrix.reppp(player, 1, rex) = true and 
  game.matrix.yEmpty(xExistsMove) = yMax - 2) or 
  game.matrix.reppp(player, 2, xExistsMove) = true or 
  game.matrix.rerepp(player, 0, xExistsMove, 1, re2x) = true)) or 
  (game.matrix.reppp(player, 1, xExistsMove) = true and 
  game.matrix.rerepp(player, 0, xExistsMove, 0, re2xb) = true) or 
  (game.matrix.rerepp(player, 0, xExistsMove, 0, re2xa) = true and 
  game.matrix.rerepp(player, 0, xExistsMove, 0, re2xb) = true) or 
  (game.matrix.rerepp(player, 0, xExistsMove, 0, re2xa) = true and 
  game.matrix.vrep(player, 1, xExistsMove) = true) and 
  (game.matrix.reppp(player, 2, xExistsMove) = true and 
  game.matrix.reppp(player, 1, xExistsMove) = true) or 
  (game.matrix.reppp(player, 1, xs) = true and 
  game.matrix.rerepp(player, 0, xExistsMove, 0, xs) = true) or 
  (game.matrix.rerepp(player, 0, xExistsMove, 1, xs) = true and 
  game.matrix.rerepp(player, 0, xExistsMove, 0, xs) = true)) and 
  game.toMove = player and 
  game.matrix.reppp(opponent(player), 1, xExistsMove) = false and 
  (xExistsMove = rexOpp or 
  game.matrix.reppp(opponent(player), 0, rexOpp) = false)
Ǝend xExistsMove (End Exists Move Concept) and 
game.matrix.reppp(player, 0, rex) = false or 
game.matrix.pppp(opponent(player)) = false 

Connect Four Classes, Rules, Quantifiers and Predefined and Deduced Pattern Functions
xMax = 7
yMax = 6
conn = 4
opponent(1) = 2
opponent(2) = 1

game.connects4InMoves(player, 1) <=> (Predefined Pattern Function)
Ǝ xMove: (Start Exists Move Concept)
  xMove >= 0 and 
  xMove < xMax:
  game.afterMove(xMove).connects4InMoves(player, 0) = true
Ǝend xMove (End Exists Move Concept) and 
game.toMove = player and 
game.matrix.pppp(opponent(player)) = false
game.connects4InMoves(player, 2) <=> (Predefined Pattern Function) ∀ xMove: (Start For All Move Concept) xMove >= 0 and xMove < xMax and game.matrix.yEmpty(xMove) < yMax - 1: game.afterMove(xMove).connects4InMoves(player, 1) = true ∀end xMove (End For All Move Concept)
game.connects4InMoves(player, 3) <=> (Predefined Pattern Function) Ǝ xExistsMove: (Start Exists Move Concept) xExistsMove >= 0 and xExistsMove < xMax: game.afterMove(xExistsMove).connects4InMoves(player, 2) = true Ǝend xExistsMove (End Exists Move Concept) and game.connects4InMoves(player, 1) = false
game.connects4InMoves(player, 4) <=> (Predefined Pattern Function) ∀ xAll4Move: (Start For All Move Concept) xAll4Move >= 0 and xAll4Move < xMax and game.matrix.yEmpty(xAll4Move) < yMax - 1: game.afterMove(xAll4Move).connects4InMoves(player, 3) = true ∀end xAll4Move (End For All Move Concept)
matrix.pppp(player) <=> (Predefined Pattern Function) Ǝ x0, y0: (Start Vertical Pattern with bottom coordinates x0, y0) x0 >= 0 and x0 < xMax and y0 >= 0 and y0 < yMax - conn: ∀ extent: (Start All Extent: Connect in a Vertical Row Pattern) extent >= 0 and extent < conn: matrix(x0, y0 + extent) = player ∀end extent (End All Extent: Connect in a Vertical Row Pattern) and matrix.yEmpty(x0) = y0 + conn Ǝend x0, y0 (End Vertical Pattern with bottom coordinates x0, y0) or Ǝ x0, y0: (Start Horizontal Pattern with left coordinates x0, y0) x0 >= 0 and x0 < xMax - conn and y0 >= 0 and y0 < yMax: ∀ extent: (Start All Extent: Connect in a Horizontal Row Pattern) extent >= 0 and extent < conn: matrix(x0 + extent, y0) = player ∀end extent (End All Extent: Connect in a Horizontal Row Pattern) and Ǝ pmEx: (Start Exists Previous Move Extent with Empty Position Above) pmEx >= 0 and pmEx < conn: matrix.yEmpty(x0 + pmEx) = y0 + 1 Ǝend pmEx (End Exists Previous Move Extent with Empty Position Above) Ǝend x0, y0 (End Horizontal Pattern with left coordinates x0, y0) or Ǝ x0, y0: (Start Diagonal Up Pattern with bottom-left coordinates x0, y0) x0 >= 0 and x0 < xMax - conn and y0 >= 0 and y0 < yMax - conn: ∀ extent: (Start All Extent: Connect in a Diagonal Up Row Pattern) extent >= 0 and extent < conn: matrix(x0 + extent, y0 + extent) = player ∀end extent (End All Extent: Connect in a Diagonal Up Row Pattern) and Ǝ pmEx: (Start Exists Previous Move Extent with Empty Position Above) pmEx >= 0 and pmEx < conn: matrix.yEmpty(x0 + pmEx) = y0 + pmEx + 1 Ǝend pmEx (End Exists Previous Move Extent with Empty Position Above) Ǝend x0, y0 (End Diagonal Up Pattern with bottom-left coordinates x0, y0) or Ǝ x0, y0: (Start Diagonal Down Pattern with top-left coordinates x0, y0) x0 >= 0 and x0 < xMax - conn and y0 >= conn and y0 < yMax: ∀ extent: (Start All Extent: Connect in a Diagonal Down Row Pattern) extent >= 0 and extent < conn: matrix(x0 + extent, y0 - extent) = player ∀end extent (End All Extent: Connect in a Diagonal Down Row Pattern) and Ǝ pmEx: (Start Exists Previous Move Extent with Empty Position Above) pmEx >= 0 and pmEx < conn: matrix.yEmpty(x0 + pmEx) = y0 - pmEx + 1 Ǝend pmEx (End Exists Previous Move Extent with Empty Position Above) Ǝend x0, y0 (End Diagonal Down Pattern with top-left coordinates x0, y0)
game.connects4InMoves(player, 0) <=> (Predefined Pattern Function) game.matrix.pppp(player) = true and game.toMove = opponent(player)
game.afterMove(xMove) <=> (Predefined Pattern Function) game.matrix.yEmpty(xMove) < yMax - 1 and game.afterMove(xMove).toMove = opponent(game.toMove) and game.afterMove(xMove).matrix(xMove, game.matrix.yEmpty(xMove)) = game.toMove and game.afterMove(xMove).matrix.yEmpty(xMove) = game.matrix.yEmpty(xMove) + 1 and ∀ x, y: (Start Matrix after move equals matrix before move except the new Disk) x >= 0 and x < xMax and y >= 0 and y < yMax and (x != xMove or y != game.matrix.yEmpty(xMove)): game.afterMove(xMove).matrix(x, y) = game.matrix(x, y) ∀end x, y (End Matrix after move equals matrix before move except the new Disk)
matrix.reppp(player, red, rex) <=> (Predefined Pattern Function) Ǝ x0, y0: (Start Vertical Pattern with bottom coordinates x0, y0) x0 >= 0 and x0 < xMax and y0 >= 0 and y0 < yMax - conn: ∀ extent: (Start All Extent: Connect in a Vertical Row Pattern) extent >= 0 and extent < conn - 1: matrix(x0, y0 + extent) = player ∀end extent (End All Extent: Connect in a Vertical Row Pattern) and matrix.yEmpty(rex) = y0 + conn - 1 - red and rex = x0 Ǝend x0, y0 (End Vertical Pattern with bottom coordinates x0, y0) or Ǝ x0, y0: (Start Horizontal Pattern with left coordinates x0, y0) x0 >= 0 and x0 < xMax - conn and y0 >= 0 and y0 < yMax: ∀ extent: (Start All Extent: Connect in a Horizontal Row Pattern) extent >= 0 and extent < conn and extent != rexEx: matrix(x0 + extent, y0) = player ∀end extent (End All Extent: Connect in a Horizontal Row Pattern) and Ǝ rexEx: (Start re0 Extent: Extent of the Rotatable Empty position in the re0ppp Pattern) rexEx >= 0 and rexEx < conn: matrix.yEmpty(rex) = y0 - red and rex = x0 + rexEx Ǝend rexEx (End re0 Extent: Extent of the Rotatable Empty position in the re0ppp Pattern) Ǝend x0, y0 (End Horizontal Pattern with left coordinates x0, y0) or Ǝ x0, y0: (Start Diagonal Up Pattern with bottom-left coordinates x0, y0) x0 >= 0 and x0 < xMax - conn and y0 >= 0 and y0 < yMax - conn: ∀ extent: (Start All Extent: Connect in a Diagonal Up Row Pattern) extent >= 0 and extent < conn and extent != rexEx: matrix(x0 + extent, y0 + extent) = player ∀end extent (End All Extent: Connect in a Diagonal Up Row Pattern) and Ǝ rexEx: (Start re0 Extent: Extent of the Rotatable Empty position in the re0ppp Pattern) rexEx >= 0 and rexEx < conn: matrix.yEmpty(rex) = y0 + rexEx - red and rex = x0 + rexEx Ǝend rexEx (End re0 Extent: Extent of the Rotatable Empty position in the re0ppp Pattern) Ǝend x0, y0 (End Diagonal Up Pattern with bottom-left coordinates x0, y0) or Ǝ x0, y0: (Start Diagonal Down Pattern with top-left coordinates x0, y0) x0 >= 0 and x0 < xMax - conn and y0 >= conn and y0 < yMax: ∀ extent: (Start All Extent: Connect in a Diagonal Down Row Pattern) extent >= 0 and extent < conn and extent != rexEx: matrix(x0 + extent, y0 - extent) = player ∀end extent (End All Extent: Connect in a Diagonal Down Row Pattern) and Ǝ rexEx: (Start re0 Extent: Extent of the Rotatable Empty position in the re0ppp Pattern) rexEx >= 0 and rexEx < conn: matrix.yEmpty(rex) = y0 - rexEx - red and rex = x0 + rexEx Ǝend rexEx (End re0 Extent: Extent of the Rotatable Empty position in the re0ppp Pattern) Ǝend x0, y0 (End Diagonal Down Pattern with top-left coordinates x0, y0)
game.connects4InMoves(player, 1) = true <=> (Deduced Pattern) game.matrix.reppp(player, 0, rex) = true and game.toMove = player and game.matrix.pppp(opponent(player)) = false
game.afterMove(xMove).matrix.pppp(player) = true <=> (Deduced Pattern) ((game.matrix.reppp(player, 0, xMove) = true and game.toMove = player) or game.matrix.pppp(player) = true)
game.afterMove(xMove).matrix.reppp(player, 0, rex) = true <=> (Deduced Pattern) ((xMove = rex and game.matrix.reppp(player, 1, xMove) = true) or (xMove != rex and game.matrix.reppp(player, 0, rex) = true) or (game.toMove = player and game.matrix.rerepp(player, 0, xMove, 0, re2x) = true) or (game.toMove = player and game.matrix.vrep(player, 1, xMove) = true))
game.afterMove(xMove).matrix.reppp(player, 1, rex) = true <=> (Deduced Pattern) ((xMove = rex and game.matrix.reppp(player, 2, xMove) = true) or (xMove != rex and game.matrix.reppp(player, 1, rex) = true) or (game.toMove = player and game.matrix.rerepp(player, 0, xMove, 1, rex) = true))
game.afterMove(xMove).matrix.reppp(player, 2, rex) = true <=> (Deduced Pattern) ((xMove = rex and game.matrix.reppp(player, 3, xMove) = true) or (xMove != rex and game.matrix.reppp(player, 2, rex) = true) or (game.toMove = player and game.matrix.rerepp(player, 0, xMove, 2, rex) = true))
game.afterMove(xMove).matrix.rerepp(player, 0, re1x, 1, re2x) = true <=> (Deduced Pattern) ((xMove = re1x and game.matrix.rerepp(player, 1, xMove, 1, re2x) = true) or (xMove = re2x and game.matrix.rerepp(player, 0, re1x, 2, xMove) = true) or (xMove != re1x and xMove != re2x and game.matrix.rerepp(player, 0, re1x, 1, re2x) = true) or (game.toMove = player and game.matrix.rererep(player, 0, xMove, 0, re2x, 1, re3x) = true) or (game.toMove = player and game.matrix.rererep(player, 0, re1x, 0, xMove, 1, re3x) = true) or (game.toMove = player and game.matrix.vrep(player, 2, xMove) = true))
game.afterMove(xMove).toMove = player <=> (Deduced Pattern) game.toMove = opponent(player)
game.afterMove(xMove).toMove = opponent(player) <=> (Deduced Pattern) game.toMove = player
game.connects4InMoves(player, 2) <=> (Deduced Pattern) ((∀ xMove: (Start For All Move Concept) xMove >= 0 and xMove < xMax and game.matrix.yEmpty(xMove) < yMax - 1: game.matrix.reppp(player, 1, xMove) = true ∀end xMove (End For All Move Concept) and game.matrix.reppp(player, 1, rex) = true) or (x1 != x2 and game.matrix.reppp(player, 0, x1) = true and game.matrix.reppp(player, 0, x2) = true) or (game.matrix.reppp(player, 1, xs) = true and game.matrix.reppp(player, 0, xs) = true)) and game.toMove = opponent(player) and game.matrix.reppp(opponent(player), 0, rex) = false and game.matrix.pppp(opponent(player)) = false
game.connects4InMoves(player, 3) <=> (Deduced Pattern) Ǝ xExistsMove: (Start Exists Move Concept) xExistsMove >= 0 and xExistsMove < xMax: ((∀ xMove: (Start For All Move Concept) xMove >= 0 and xMove < xMax and game.matrix.yEmpty(xMove) < yMax - 1 and xExistsMove != xMove: (game.matrix.reppp(player, 1, xMove) = true or game.matrix.rerepp(player, 0, xExistsMove, 1, xMove) = true) ∀end xMove (End For All Move Concept) and ((game.matrix.reppp(player, 1, rex) = true and game.matrix.yEmpty(xExistsMove) = yMax - 2) or game.matrix.reppp(player, 2, xExistsMove) = true or game.matrix.rerepp(player, 0, xExistsMove, 1, re2x) = true)) or (game.matrix.reppp(player, 1, xExistsMove) = true and game.matrix.rerepp(player, 0, xExistsMove, 0, re2xb) = true) or (game.matrix.rerepp(player, 0, xExistsMove, 0, re2xa) = true and game.matrix.rerepp(player, 0, xExistsMove, 0, re2xb) = true) or (game.matrix.rerepp(player, 0, xExistsMove, 0, re2xa) = true and game.matrix.vrep(player, 1, xExistsMove) = true) and (game.matrix.reppp(player, 2, xExistsMove) = true and game.matrix.reppp(player, 1, xExistsMove) = true) or (game.matrix.reppp(player, 1, xs) = true and game.matrix.rerepp(player, 0, xExistsMove, 0, xs) = true) or (game.matrix.rerepp(player, 0, xExistsMove, 1, xs) = true and game.matrix.rerepp(player, 0, xExistsMove, 0, xs) = true)) and game.toMove = player and game.matrix.reppp(opponent(player), 1, xExistsMove) = false and (xExistsMove = rexOpp or game.matrix.reppp(opponent(player), 0, rexOpp) = false) Ǝend xExistsMove (End Exists Move Concept) and game.matrix.reppp(player, 0, rex) = false or game.matrix.pppp(opponent(player)) = false
Informational Add: More Dangerous Sars-Cov-2 variants by creating biological niches for those variants and by Vaids?

Informational Add: Pattern Deduction AI in Connect Four in 3 Moves 2024-09-24: An AI trying to do it the Human way - Patterns re0re1pp, re0re0pp, re2ppp, re1ppp, re0ppp and pppp
I think the concept of pattern deduction will be a central and main paradigm in AI because it does not depend on huge computing power and memory size as brute force AI does. In fact pattern deduction is an attempt to simulate a more human and as such smarter form of modelling and reasoning than brute force: an AI trying to do it the human way.

Informational Add: Estimated Extra Deaths 31 Million and Estimated  Adverse Effects 1.9 Billion for 3 Years of Covid Killing Protocols, Sars-Cov-2 Virus and Vaccine Bioweapons. By country. Audio-video version.

Informational Add: Timelapse of almost 8 hours of relentless persistent trailing, chemtrailing, wavering and hazing trails. I'm hoping somebody can send me the detailed science about trails, about how long types of trails can last under which conditions?
#2024-02-01 8:30 AM - #Beautiful #Skies+#Clouds+#Trails
of #Sint-#Lievens-#Houtem - #Belgium East-#Flanders
#FHD #Speed x 256: 7:45:04->1:49 - #BeautifulSkies

Informational Add: Skateboarding Hardflip

Informational Add: Vlaams LekkerBos 2023: 160m2 wild voedselbos en voedseltuin - tussenstand 2023-11-06

Informational Add: Fake Opposition: Elitarian Puppets Pretending to Oppose the Elitarian Puppets on the other side but in fact both sides acting for the same agenda of Totalitarian Control and for their Controlling Elitarian Masters. As such they keep on fooling the people, hiding the most important truths and advance more and more the Totalitarian Control agenda of their Elitarian Masters.

Informational Add: Why deflate the parasitic system? Because the parasitic-destructiveness of oversized states and corporations always leads to decay, corruption, injustice, ..., to the destruction of its many hosts, the people, the working and creative people, the maimed and dying slaves of the elites. See examples below.

Informational Add: Pattern Deduction AI in Connect Four 2023-09-21: An AI trying to do it the Human way - Pattern re0ppp
I think the concept of pattern deduction will be a central and main paradigm in AI because it does not depend on huge computing power and memory size as brute force AI does. In fact pattern deduction is an attempt to simulate a more human and as such smarter form of modelling and reasoning than brute force: an AI trying to do it the human way.

Informational Add: The Parasitic System 2024-08-07: They simply evolve their-selves to extinction. Darwin at work.

Informational Add: Lokaal ruilen is een onontbeerlijke methode om het parasitaire systeem te deflateren!

Informational Add: Flemish Tasty Forest 2023: 160 m2 wild food forest and food garden - harvest score 2023-11-06

Informational Add: The Parasitic System 2023-12-13: Lets Deflate the Parasitic System!

Informational Add: Pattern Deduction AI Connect 4 in 2 Moves: An AI trying to do it the Human way-re1ppp-re0ppp
I think the concept of pattern deduction will be a central and main paradigm in AI because it does not depend on huge computing power and memory size as brute force AI does. In fact pattern deduction is an attempt to simulate a more human and as such smarter form of modelling and reasoning than brute force: an AI trying to do it the human way.

Informational Add: Tumia.org is hosted and powered by One.com. Start your website with one.com - Start building your dream online with an easy-to-use and affordable website builder.
Design & Copyright 2010-2023: www.tumia.org - LAMP page generated in 0.012300 seconds. - Tribute to Mama, Papa, ... - 
Share
Informational Add Above
>>


Most hyperlinks for navigating on Tumia are implemented using Javascript. Nevertheless to enable crawlers to easily recognize those hyperlinks they also have been added in this section as plain html href hyperlinks. The latter hyperlinks are however not very useful and hence not recommended for navigating on Tumia.

|< <-- --> EN FR NL SW Ascot Residence Watamu of class Accommodation Brussels Airlines of class Airline Cat of class Animal The Belgian Monkey Caste of class Article Bamburi nature park of class Attraction Level 1 Internet Domains in Tumia of class Chart Earth Global Warming 2000 AD of class Climate Change Connect Four:PEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE of class Connect Four Connect Four Test Webpage of class Connect Four Test Australia of class Country Growing Beans of class Cultivation Hydroelectricity of class Energy 00e89d5.netsolhost.com of class Internet Domain java.lang.Object of class Java Class java Object.equals(java.lang.Object) checks an operator enum of class Java Code Example java.lang.Object.clone() of class Java Method Dentist Joblist in Belgium of class Joblist Airfare Comparison of class Knowledge The Dutch Language of class Language Articles in Dutch of class Learning Goal Pattern Deduction: Connect 4 in 1 Move of class Pattern Deduction Connect 4 Pattern Set 0.s.1 of class Pattern Set Connect 4 Ecosystem Pset Feed on Figs of class Pattern Set Ecosystem Bob Marley of class Person a Belgian Callbus of class Picture 's-Hertogenbosch of class Place Muffin of class Recipe Christianity of class Religion Advertising of class Sector Benelux of class Union of Countries Human-Caused Poisoning of Life and Earth: Poisoned Fields - Glyphosate, the underrated risk? of class Video Learning Geography: Maps of Belgium in Dutch of class Video Playlist Pattern Deduction: Connect 4 in 1 Move Pattern Deduction: Connect 4 in 2 Moves Pattern Deduction: Connect 4 in 3 Moves Pattern Deduction: Connect 4 in 4 Moves