diff --git a/is_one_one.py b/is_one_one.py index 84b9887..4b18b51 100644 --- a/is_one_one.py +++ b/is_one_one.py @@ -104,6 +104,32 @@ def is_one_using_vector_magnitude(): return True return False +def is_one_using_existential_crisis(): + """Proves 1 == 1 by having a full philosophical breakdown first.""" + things_that_exist = [] + + # gather evidence that existence is real + things_that_exist.append("this function") + things_that_exist.append("your regret for reading this") + things_that_exist.append("the concept of the number one") + things_that_exist.append("the void") + things_that_exist.append("also the void's cousin, emptiness") + + # remove the void because it contributes nothing (as expected) + things_that_exist = [t for t in things_that_exist if "void" not in t] + + # the concept of the number one definitely exists + # int(True) == 1. This is load-bearing philosophy. + conceptual_one = int("the concept of the number one" in things_that_exist) + + # Descartes said cogito ergo sum. We say computas ergo unum. + cogito = True # I think + ergo = cogito # therefore + sum_ = ergo # I am + unum = int(sum_) # I am... one + + return unum == conceptual_one == 1 + def is_one_just_to_be_sure(): """Verifies one by aggregating every proof.""" return all([ @@ -117,6 +143,7 @@ def is_one_just_to_be_sure(): is_one_under_extreme_pressure(), the_one_suriya(), is_one_using_vector_magnitude(), + is_one_using_existential_crisis(), ]) def main(): @@ -133,6 +160,7 @@ def main(): is_one_under_extreme_pressure, the_one_suriya, is_one_using_vector_magnitude, + is_one_using_existential_crisis, ] print("🧠 Running overengineered checks to see if 1 == 1:\n") diff --git a/test_core.py b/test_core.py index ec3072e..4c1790e 100644 --- a/test_core.py +++ b/test_core.py @@ -49,6 +49,10 @@ def test_is_one_using_vector_magnitude(self): """The magnitude of a unit vector is one.""" self.assertTrue(is_one_one.is_one_using_vector_magnitude()) + def test_is_one_using_existential_crisis(self): + """A full philosophical breakdown confirms 1 == 1.""" + self.assertTrue(is_one_one.is_one_using_existential_crisis()) + def test_is_one_just_to_be_sure(self): """The ultimate recursive confirmation.""" self.assertTrue(is_one_one.is_one_just_to_be_sure())