@anonymous/

StrangeLiquidPolyhedron

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
class Human(object):

  def __eq__(self, other):
    # Force violation of Identity
    if id(self) == id(other):
      return False
    # Let the parent handle everything else
    else:
      return super(Human, self).__eq__(other)

A = Human()

# Definitions of LAWS
IDENTITY = ( ( A == A ) == True )
LEM =  ( ( A or not A ) == True )
LNC = ( A and not A )

# Definitions of VIOLATIONS
IDENTITY_VIOLATION = ( ( A == A ) == False)
LEM_VIOLATION = ( ( A or not A) == False )
LNC_VIOLATION = ( ( A and not A ) == True)

print("PREMISE: IF we violate identity THEN we will also violate the LNC.")
PREMISE=( ( IDENTITY_VIOLATION and LNC_VIOLATION) == True )

print('Did we violate Identity?')
print(IDENTITY_VIOLATION)

print('Did we violate LEM?')
print(LEM_VIOLATION)

print('Did we violate LNC?')
print(LNC_VIOLATION)

print('The premise is...')
print(PREMISE)