Skip to content

ahmedkhalf/TheProofIsTrivial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TheProofIsTrivial

Python port of the javascript based website TheProofIsTrivial.

Installation

pip install theproofistrivial

Usage

Python Library

import theproofistrivial

quote = theproofistrivial.QuoteGenerator()
output = quote.create()

print(output)

The result is a list:

['The proof is trivial! Just biject it to a',
 'combinatorial',
 'field',
 'whose elements are',
 'associative',
 'linear transformations']

You can then process the list to make a single string or leave as is:

# Single line string
output = " ".join(output)

# Multi line string
output = "\n".join(output)

Command Line

theproofistrivial -h
usage: __main__.py [-h] [-o]

optional arguments:
  -h, --help     show this help message and exit
  -o, --oneline  show output as a single line
theproofistrivial
The proof is trivial! Just view the problem as a
computable
hypergraph
whose elements are
total
unbounded-fan-in circuits
theproofistrivial -o
The proof is trivial! Just biject it to an associative semigroup whose elements are perfect manifolds

About

Python port of TheProofIsTrivial

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages