Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # These are the Dedekind(4) = 168 monotonic Boolean functions of arity 4.
- # weight: sum of the binary vector
- # bec: the functions' big equivalence class (index number of rational order)
- # rcv: ring count vector, i.e. a refined weight (first entry is the weight)
- # binary: the functions' vector of truth values
- monotonic_functions = {
- # weight 0 (1)
- 0: { 'weight': 0, 'bec': 0, 'rcv': ( 0, 0, 0, 0), 'binary': '0000000000000000' },
- # weight 1 (1)
- 1: { 'weight': 1, 'bec': 377, 'rcv': ( 1, 4, 4, 2), 'binary': '0000000000000001' },
- # weight 2 (4)
- 2: { 'weight': 2, 'bec': 17, 'rcv': ( 2, 7, 6, 3), 'binary': '0000000100000001' },
- 3: { 'weight': 2, 'bec': 17, 'rcv': ( 2, 7, 7, 3), 'binary': '0000000000010001' },
- 4: { 'weight': 2, 'bec': 17, 'rcv': ( 2, 7, 7, 4), 'binary': '0000000000000101' },
- 5: { 'weight': 2, 'bec': 17, 'rcv': ( 2, 7, 8, 4), 'binary': '0000000000000011' },
- # weight 3 (6)
- 6: { 'weight': 3, 'bec': 324, 'rcv': ( 3, 10, 9, 4), 'binary': '0000000100010001' },
- 7: { 'weight': 3, 'bec': 324, 'rcv': ( 3, 10, 9, 5), 'binary': '0000000100000101' },
- 8: { 'weight': 3, 'bec': 324, 'rcv': ( 3, 10, 10, 5), 'binary': '0000000000010101' },
- 9: { 'weight': 3, 'bec': 324, 'rcv': ( 3, 10, 10, 5), 'binary': '0000000100000011' },
- 10: { 'weight': 3, 'bec': 324, 'rcv': ( 3, 10, 11, 5), 'binary': '0000000000010011' },
- 11: { 'weight': 3, 'bec': 324, 'rcv': ( 3, 10, 11, 6), 'binary': '0000000000000111' },
- # weight 4 (6 + 4)
- 12: { 'weight': 4, 'bec': 4, 'rcv': ( 4, 12, 10, 4), 'binary': '0001000100010001' },
- 13: { 'weight': 4, 'bec': 4, 'rcv': ( 4, 12, 10, 6), 'binary': '0000010100000101' },
- 14: { 'weight': 4, 'bec': 4, 'rcv': ( 4, 12, 12, 6), 'binary': '0000000001010101' },
- 15: { 'weight': 4, 'bec': 4, 'rcv': ( 4, 12, 12, 6), 'binary': '0000001100000011' },
- 16: { 'weight': 4, 'bec': 4, 'rcv': ( 4, 12, 14, 6), 'binary': '0000000000110011' },
- 17: { 'weight': 4, 'bec': 4, 'rcv': ( 4, 12, 14, 8), 'binary': '0000000000001111' },
- 18: { 'weight': 4, 'bec': 201, 'rcv': ( 4, 13, 12, 6), 'binary': '0000000100010101' },
- 19: { 'weight': 4, 'bec': 201, 'rcv': ( 4, 13, 13, 6), 'binary': '0000000100010011' },
- 20: { 'weight': 4, 'bec': 201, 'rcv': ( 4, 13, 13, 7), 'binary': '0000000100000111' },
- 21: { 'weight': 4, 'bec': 201, 'rcv': ( 4, 13, 14, 7), 'binary': '0000000000010111' },
- # weight 5 (12 + 1)
- 22: { 'weight': 5, 'bec': 196, 'rcv': ( 5, 15, 13, 6), 'binary': '0001000100010101' },
- 23: { 'weight': 5, 'bec': 196, 'rcv': ( 5, 15, 13, 7), 'binary': '0000010100010101' },
- 24: { 'weight': 5, 'bec': 196, 'rcv': ( 5, 15, 14, 6), 'binary': '0001000100010011' },
- 25: { 'weight': 5, 'bec': 196, 'rcv': ( 5, 15, 14, 7), 'binary': '0000000101010101' },
- 26: { 'weight': 5, 'bec': 196, 'rcv': ( 5, 15, 14, 8), 'binary': '0000010100000111' },
- 27: { 'weight': 5, 'bec': 196, 'rcv': ( 5, 15, 15, 7), 'binary': '0000001100010011' },
- 28: { 'weight': 5, 'bec': 196, 'rcv': ( 5, 15, 15, 8), 'binary': '0000001100000111' },
- 29: { 'weight': 5, 'bec': 196, 'rcv': ( 5, 15, 16, 7), 'binary': '0000000100110011' },
- 30: { 'weight': 5, 'bec': 196, 'rcv': ( 5, 15, 16, 8), 'binary': '0000000001010111' },
- 31: { 'weight': 5, 'bec': 196, 'rcv': ( 5, 15, 16, 9), 'binary': '0000000100001111' },
- 32: { 'weight': 5, 'bec': 196, 'rcv': ( 5, 15, 17, 8), 'binary': '0000000000110111' },
- 33: { 'weight': 5, 'bec': 196, 'rcv': ( 5, 15, 17, 9), 'binary': '0000000000011111' },
- 34: { 'weight': 5, 'bec': 296, 'rcv': ( 5, 16, 16, 8), 'binary': '0000000100010111' },
- # weight 6 (12 + 6)
- 35: { 'weight': 6, 'bec': 10, 'rcv': ( 6, 17, 14, 7), 'binary': '0001010100010101' },
- 36: { 'weight': 6, 'bec': 10, 'rcv': ( 6, 17, 15, 7), 'binary': '0001000101010101' },
- 37: { 'weight': 6, 'bec': 10, 'rcv': ( 6, 17, 15, 8), 'binary': '0000010101010101' },
- 38: { 'weight': 6, 'bec': 10, 'rcv': ( 6, 17, 16, 7), 'binary': '0001001100010011' },
- 39: { 'weight': 6, 'bec': 10, 'rcv': ( 6, 17, 16, 9), 'binary': '0000011100000111' },
- 40: { 'weight': 6, 'bec': 10, 'rcv': ( 6, 17, 17, 7), 'binary': '0001000100110011' },
- 41: { 'weight': 6, 'bec': 10, 'rcv': ( 6, 17, 17, 10), 'binary': '0000010100001111' },
- 42: { 'weight': 6, 'bec': 10, 'rcv': ( 6, 17, 18, 8), 'binary': '0000001100110011' },
- 43: { 'weight': 6, 'bec': 10, 'rcv': ( 6, 17, 18, 10), 'binary': '0000001100001111' },
- 44: { 'weight': 6, 'bec': 10, 'rcv': ( 6, 17, 19, 9), 'binary': '0000000001110111' },
- 45: { 'weight': 6, 'bec': 10, 'rcv': ( 6, 17, 19, 10), 'binary': '0000000001011111' },
- 46: { 'weight': 6, 'bec': 10, 'rcv': ( 6, 17, 20, 10), 'binary': '0000000000111111' },
- 47: { 'weight': 6, 'bec': 333, 'rcv': ( 6, 18, 17, 8), 'binary': '0001000100010111' },
- 48: { 'weight': 6, 'bec': 333, 'rcv': ( 6, 18, 17, 9), 'binary': '0000010100010111' },
- 49: { 'weight': 6, 'bec': 333, 'rcv': ( 6, 18, 18, 9), 'binary': '0000000101010111' },
- 50: { 'weight': 6, 'bec': 333, 'rcv': ( 6, 18, 18, 9), 'binary': '0000001100010111' },
- 51: { 'weight': 6, 'bec': 333, 'rcv': ( 6, 18, 19, 9), 'binary': '0000000100110111' },
- 52: { 'weight': 6, 'bec': 333, 'rcv': ( 6, 18, 19, 10), 'binary': '0000000100011111' },
- # weight 7 (12 + 3 + 4)
- 53: { 'weight': 7, 'bec': 77, 'rcv': ( 7, 20, 18, 9), 'binary': '0001010100010111' },
- 54: { 'weight': 7, 'bec': 77, 'rcv': ( 7, 20, 19, 9), 'binary': '0001000101010111' },
- 55: { 'weight': 7, 'bec': 77, 'rcv': ( 7, 20, 19, 9), 'binary': '0001001100010111' },
- 56: { 'weight': 7, 'bec': 77, 'rcv': ( 7, 20, 19, 10), 'binary': '0000010101010111' },
- 57: { 'weight': 7, 'bec': 77, 'rcv': ( 7, 20, 19, 10), 'binary': '0000011100010111' },
- 58: { 'weight': 7, 'bec': 77, 'rcv': ( 7, 20, 20, 9), 'binary': '0001000100110111' },
- 59: { 'weight': 7, 'bec': 77, 'rcv': ( 7, 20, 20, 11), 'binary': '0000010100011111' },
- 60: { 'weight': 7, 'bec': 77, 'rcv': ( 7, 20, 21, 10), 'binary': '0000000101110111' },
- 61: { 'weight': 7, 'bec': 77, 'rcv': ( 7, 20, 21, 10), 'binary': '0000001100110111' },
- 62: { 'weight': 7, 'bec': 77, 'rcv': ( 7, 20, 21, 11), 'binary': '0000000101011111' },
- 63: { 'weight': 7, 'bec': 77, 'rcv': ( 7, 20, 21, 11), 'binary': '0000001100011111' },
- 64: { 'weight': 7, 'bec': 77, 'rcv': ( 7, 20, 22, 11), 'binary': '0000000100111111' },
- 65: { 'weight': 7, 'bec': 297, 'rcv': ( 7, 20, 20, 10), 'binary': '0000001101010111' },
- 66: { 'weight': 7, 'bec': 297, 'rcv': ( 7, 20, 20, 10), 'binary': '0000010100110111' },
- 67: { 'weight': 7, 'bec': 297, 'rcv': ( 7, 20, 20, 10), 'binary': '0001000100011111' },
- 68: { 'weight': 7, 'bec': 336, 'rcv': ( 7, 19, 16, 8), 'binary': '0001010101010101' },
- 69: { 'weight': 7, 'bec': 336, 'rcv': ( 7, 19, 19, 8), 'binary': '0001001100110011' },
- 70: { 'weight': 7, 'bec': 336, 'rcv': ( 7, 19, 19, 11), 'binary': '0000011100001111' },
- 71: { 'weight': 7, 'bec': 336, 'rcv': ( 7, 19, 22, 11), 'binary': '0000000001111111' },
- # weight 8 (4 + 4 + 12 + 4)
- 72: { 'weight': 8, 'bec': 2, 'rcv': ( 8, 20, 16, 8), 'binary': '0101010101010101' },
- 73: { 'weight': 8, 'bec': 2, 'rcv': ( 8, 20, 20, 8), 'binary': '0011001100110011' },
- 74: { 'weight': 8, 'bec': 2, 'rcv': ( 8, 20, 20, 12), 'binary': '0000111100001111' },
- 75: { 'weight': 8, 'bec': 2, 'rcv': ( 8, 20, 24, 12), 'binary': '0000000011111111' },
- 76: { 'weight': 8, 'bec': 19, 'rcv': ( 8, 22, 20, 10), 'binary': '0001011100010111' },
- 77: { 'weight': 8, 'bec': 19, 'rcv': ( 8, 22, 22, 10), 'binary': '0001000101110111' },
- 78: { 'weight': 8, 'bec': 19, 'rcv': ( 8, 22, 22, 12), 'binary': '0000010101011111' },
- 79: { 'weight': 8, 'bec': 19, 'rcv': ( 8, 22, 24, 12), 'binary': '0000001100111111' },
- 80: { 'weight': 8, 'bec': 203, 'rcv': ( 8, 22, 21, 10), 'binary': '0001001101010111' },
- 81: { 'weight': 8, 'bec': 203, 'rcv': ( 8, 22, 21, 10), 'binary': '0001010100110111' },
- 82: { 'weight': 8, 'bec': 203, 'rcv': ( 8, 22, 21, 11), 'binary': '0000011101010111' },
- 83: { 'weight': 8, 'bec': 203, 'rcv': ( 8, 22, 21, 11), 'binary': '0001010100011111' },
- 84: { 'weight': 8, 'bec': 203, 'rcv': ( 8, 22, 22, 11), 'binary': '0000010101110111' },
- 85: { 'weight': 8, 'bec': 203, 'rcv': ( 8, 22, 22, 11), 'binary': '0000011100110111' },
- 86: { 'weight': 8, 'bec': 203, 'rcv': ( 8, 22, 22, 11), 'binary': '0001000101011111' },
- 87: { 'weight': 8, 'bec': 203, 'rcv': ( 8, 22, 22, 11), 'binary': '0001001100011111' },
- 88: { 'weight': 8, 'bec': 203, 'rcv': ( 8, 22, 23, 11), 'binary': '0000001101110111' },
- 89: { 'weight': 8, 'bec': 203, 'rcv': ( 8, 22, 23, 11), 'binary': '0001000100111111' },
- 90: { 'weight': 8, 'bec': 203, 'rcv': ( 8, 22, 23, 12), 'binary': '0000001101011111' },
- 91: { 'weight': 8, 'bec': 203, 'rcv': ( 8, 22, 23, 12), 'binary': '0000010100111111' },
- 92: { 'weight': 8, 'bec': 365, 'rcv': ( 8, 22, 20, 10), 'binary': '0001010101010111' },
- 93: { 'weight': 8, 'bec': 365, 'rcv': ( 8, 22, 22, 10), 'binary': '0001001100110111' },
- 94: { 'weight': 8, 'bec': 365, 'rcv': ( 8, 22, 22, 12), 'binary': '0000011100011111' },
- 95: { 'weight': 8, 'bec': 365, 'rcv': ( 8, 22, 24, 12), 'binary': '0000000101111111' },
- # weight 9 (12 + 3 + 4)
- 96: { 'weight': 9, 'bec': 92, 'rcv': ( 9, 24, 22, 11), 'binary': '0001011101010111' },
- 97: { 'weight': 9, 'bec': 92, 'rcv': ( 9, 24, 23, 11), 'binary': '0001010101110111' },
- 98: { 'weight': 9, 'bec': 92, 'rcv': ( 9, 24, 23, 11), 'binary': '0001011100110111' },
- 99: { 'weight': 9, 'bec': 92, 'rcv': ( 9, 24, 23, 12), 'binary': '0001010101011111' },
- 100: { 'weight': 9, 'bec': 92, 'rcv': ( 9, 24, 23, 12), 'binary': '0001011100011111' },
- 101: { 'weight': 9, 'bec': 92, 'rcv': ( 9, 24, 24, 11), 'binary': '0001001101110111' },
- 102: { 'weight': 9, 'bec': 92, 'rcv': ( 9, 24, 24, 13), 'binary': '0000011101011111' },
- 103: { 'weight': 9, 'bec': 92, 'rcv': ( 9, 24, 25, 12), 'binary': '0001000101111111' },
- 104: { 'weight': 9, 'bec': 92, 'rcv': ( 9, 24, 25, 12), 'binary': '0001001100111111' },
- 105: { 'weight': 9, 'bec': 92, 'rcv': ( 9, 24, 25, 13), 'binary': '0000010101111111' },
- 106: { 'weight': 9, 'bec': 92, 'rcv': ( 9, 24, 25, 13), 'binary': '0000011100111111' },
- 107: { 'weight': 9, 'bec': 92, 'rcv': ( 9, 24, 26, 13), 'binary': '0000001101111111' },
- 108: { 'weight': 9, 'bec': 312, 'rcv': ( 9, 24, 24, 12), 'binary': '0000011101110111' },
- 109: { 'weight': 9, 'bec': 312, 'rcv': ( 9, 24, 24, 12), 'binary': '0001001101011111' },
- 110: { 'weight': 9, 'bec': 312, 'rcv': ( 9, 24, 24, 12), 'binary': '0001010100111111' },
- 111: { 'weight': 9, 'bec': 347, 'rcv': ( 9, 23, 20, 10), 'binary': '0101010101010111' },
- 112: { 'weight': 9, 'bec': 347, 'rcv': ( 9, 23, 23, 10), 'binary': '0011001100110111' },
- 113: { 'weight': 9, 'bec': 347, 'rcv': ( 9, 23, 23, 13), 'binary': '0000111100011111' },
- 114: { 'weight': 9, 'bec': 347, 'rcv': ( 9, 23, 26, 13), 'binary': '0000000111111111' },
- # weight 10 (12 + 6)
- 115: { 'weight': 10, 'bec': 11, 'rcv': (10, 25, 22, 11), 'binary': '0101011101010111' },
- 116: { 'weight': 10, 'bec': 11, 'rcv': (10, 25, 23, 11), 'binary': '0101010101110111' },
- 117: { 'weight': 10, 'bec': 11, 'rcv': (10, 25, 23, 12), 'binary': '0101010101011111' },
- 118: { 'weight': 10, 'bec': 11, 'rcv': (10, 25, 24, 11), 'binary': '0011011100110111' },
- 119: { 'weight': 10, 'bec': 11, 'rcv': (10, 25, 24, 13), 'binary': '0001111100011111' },
- 120: { 'weight': 10, 'bec': 11, 'rcv': (10, 25, 25, 11), 'binary': '0011001101110111' },
- 121: { 'weight': 10, 'bec': 11, 'rcv': (10, 25, 25, 14), 'binary': '0000111101011111' },
- 122: { 'weight': 10, 'bec': 11, 'rcv': (10, 25, 26, 12), 'binary': '0011001100111111' },
- 123: { 'weight': 10, 'bec': 11, 'rcv': (10, 25, 26, 14), 'binary': '0000111100111111' },
- 124: { 'weight': 10, 'bec': 11, 'rcv': (10, 25, 27, 13), 'binary': '0001000111111111' },
- 125: { 'weight': 10, 'bec': 11, 'rcv': (10, 25, 27, 14), 'binary': '0000010111111111' },
- 126: { 'weight': 10, 'bec': 11, 'rcv': (10, 25, 28, 14), 'binary': '0000001111111111' },
- 127: { 'weight': 10, 'bec': 346, 'rcv': (10, 26, 25, 12), 'binary': '0001011101110111' },
- 128: { 'weight': 10, 'bec': 346, 'rcv': (10, 26, 25, 13), 'binary': '0001011101011111' },
- 129: { 'weight': 10, 'bec': 346, 'rcv': (10, 26, 26, 13), 'binary': '0001010101111111' },
- 130: { 'weight': 10, 'bec': 346, 'rcv': (10, 26, 26, 13), 'binary': '0001011100111111' },
- 131: { 'weight': 10, 'bec': 346, 'rcv': (10, 26, 27, 13), 'binary': '0001001101111111' },
- 132: { 'weight': 10, 'bec': 346, 'rcv': (10, 26, 27, 14), 'binary': '0000011101111111' },
- # weight 11 (12 + 1)
- 133: { 'weight': 11, 'bec': 220, 'rcv': (11, 27, 25, 12), 'binary': '0101011101110111' },
- 134: { 'weight': 11, 'bec': 220, 'rcv': (11, 27, 25, 13), 'binary': '0101011101011111' },
- 135: { 'weight': 11, 'bec': 220, 'rcv': (11, 27, 26, 12), 'binary': '0011011101110111' },
- 136: { 'weight': 11, 'bec': 220, 'rcv': (11, 27, 26, 13), 'binary': '0101010101111111' },
- 137: { 'weight': 11, 'bec': 220, 'rcv': (11, 27, 26, 14), 'binary': '0001111101011111' },
- 138: { 'weight': 11, 'bec': 220, 'rcv': (11, 27, 27, 13), 'binary': '0011011100111111' },
- 139: { 'weight': 11, 'bec': 220, 'rcv': (11, 27, 27, 14), 'binary': '0001111100111111' },
- 140: { 'weight': 11, 'bec': 220, 'rcv': (11, 27, 28, 13), 'binary': '0011001101111111' },
- 141: { 'weight': 11, 'bec': 220, 'rcv': (11, 27, 28, 14), 'binary': '0001010111111111' },
- 142: { 'weight': 11, 'bec': 220, 'rcv': (11, 27, 28, 15), 'binary': '0000111101111111' },
- 143: { 'weight': 11, 'bec': 220, 'rcv': (11, 27, 29, 14), 'binary': '0001001111111111' },
- 144: { 'weight': 11, 'bec': 220, 'rcv': (11, 27, 29, 15), 'binary': '0000011111111111' },
- 145: { 'weight': 11, 'bec': 305, 'rcv': (11, 28, 28, 14), 'binary': '0001011101111111' },
- # weight 12 (6 + 4)
- 146: { 'weight': 12, 'bec': 5, 'rcv': (12, 28, 26, 12), 'binary': '0111011101110111' },
- 147: { 'weight': 12, 'bec': 5, 'rcv': (12, 28, 26, 14), 'binary': '0101111101011111' },
- 148: { 'weight': 12, 'bec': 5, 'rcv': (12, 28, 28, 14), 'binary': '0011111100111111' },
- 149: { 'weight': 12, 'bec': 5, 'rcv': (12, 28, 28, 14), 'binary': '0101010111111111' },
- 150: { 'weight': 12, 'bec': 5, 'rcv': (12, 28, 30, 14), 'binary': '0011001111111111' },
- 151: { 'weight': 12, 'bec': 5, 'rcv': (12, 28, 30, 16), 'binary': '0000111111111111' },
- 152: { 'weight': 12, 'bec': 260, 'rcv': (12, 29, 28, 14), 'binary': '0101011101111111' },
- 153: { 'weight': 12, 'bec': 260, 'rcv': (12, 29, 29, 14), 'binary': '0011011101111111' },
- 154: { 'weight': 12, 'bec': 260, 'rcv': (12, 29, 29, 15), 'binary': '0001111101111111' },
- 155: { 'weight': 12, 'bec': 260, 'rcv': (12, 29, 30, 15), 'binary': '0001011111111111' },
- # weight 13 (6)
- 156: { 'weight': 13, 'bec': 349, 'rcv': (13, 30, 29, 14), 'binary': '0111011101111111' },
- 157: { 'weight': 13, 'bec': 349, 'rcv': (13, 30, 29, 15), 'binary': '0101111101111111' },
- 158: { 'weight': 13, 'bec': 349, 'rcv': (13, 30, 30, 15), 'binary': '0011111101111111' },
- 159: { 'weight': 13, 'bec': 349, 'rcv': (13, 30, 30, 15), 'binary': '0101011111111111' },
- 160: { 'weight': 13, 'bec': 349, 'rcv': (13, 30, 31, 15), 'binary': '0011011111111111' },
- 161: { 'weight': 13, 'bec': 349, 'rcv': (13, 30, 31, 16), 'binary': '0001111111111111' },
- # weight 14 (4)
- 162: { 'weight': 14, 'bec': 21, 'rcv': (14, 31, 30, 15), 'binary': '0111111101111111' },
- 163: { 'weight': 14, 'bec': 21, 'rcv': (14, 31, 31, 15), 'binary': '0111011111111111' },
- 164: { 'weight': 14, 'bec': 21, 'rcv': (14, 31, 31, 16), 'binary': '0101111111111111' },
- 165: { 'weight': 14, 'bec': 21, 'rcv': (14, 31, 32, 16), 'binary': '0011111111111111' },
- # weight 15 (1)
- 166: { 'weight': 15, 'bec': 401, 'rcv': (15, 32, 32, 16), 'binary': '0111111111111111' },
- # weight 16 (1)
- 167: { 'weight': 16, 'bec': 1, 'rcv': (16, 32, 32, 16), 'binary': '1111111111111111' },
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement