énoncés
By Pr. El Hadiq Zouhair
Match each term with the right definition: axiom, conjecture, lemma, theorem, corollary, proof.
Prove that if $a, b$ are odd, then $a + b$ is even. Then verify in Python on a range.
Write the direct proof, then check three random pairs of rationals in Python with fractions.Fraction.
Prove by contraposition that for every $n \in \mathbb{Z}$, if $n^2$ is even then $n$ is even.
Prove by contraposition for $a, b \in \mathbb{R}$.
Reproduce the classical proof in 4 steps. Verify the conclusion symbolically with SymPy.
Reproduce Euclid's argument. Then write Python code that, for a list of "all" primes $L = [2, 3, 5, \dots, p_n]$, builds $q = 1 + \prod L$ and verifies that $q$ has a prime factor not in $L$ (for $n \leq 6$).
Prove by cases and verify on a range.
Prove that for every $n \in \mathbb{Z}$, $n^2 \equiv 0$ or $1 \pmod 4$.
Show that $(\neg x \vee y \vee z) \wedge (x \vee \neg y \vee z) \wedge (x \vee y \vee \neg z) \wedge (x \vee y \vee z)$ is satisfiable by exhibiting an assignment.
Show existence and uniqueness; back it up with a Python scan up to 10 000.
Someone claims: "For every $n \in \mathbb{N}$, $n^2 + n + 41$ is prime." Use Python to either confirm it or find the smallest counterexample.
sympy.logic.inference.satisfiable to check a 4-variable CNF and find all satisfying assignments via all_models=True.Open the main lesson for the matching theory.