SymPy
1.11.dev
SymPy Tutorial
SymPy Guides
Explanation
Reference Documentation
Basics
Code Generation
Logic
Matrices
Number Theory
Physics
Utilities
Topics
Basics
Code Generation
Logic
Logic
Sets
Matrices
Number Theory
Physics
Utilities
Topics
Miscellaneous
SymPy
»
Reference Documentation
»
Logic
View page source
Logic
Contents
Logic
Introduction
Forming logical expressions
Boolean functions
Simplification and equivalence-testing
Manipulating expressions
Truth tables and related functions
Inference
Sets
Basic Sets
Elementary Sets
Compound Sets
Singleton Sets
Special Sets
Power sets
Condition Sets
SetKind