Skip to main content

Si |x + 3| < 5, entonces -8 < x < 2

Demostrar con Lean4 que si \(|x + 3| < 5\), entonces \(-8 < x < 2\).

Para ello, completar la siguiente teoría de Lean4:

import Mathlib.Data.Real.Basic
variable (x y : )

example
  : |x + 3| < 5  -8 < x  x < 2 :=
by sorry

Read more…

En ℝ, x² + y² = 0 ↔ x = 0 ∧ y = 0

Demostrar con Lean4 que si \(x, y ∈ ℝ\), entonces \[ x^2 + y^2 = 0 ↔ x = 0 ∧ y = 0 \]

Para ello, completar la siguiente teoría de Lean4:

import Mathlib.Data.Real.Basic
import Mathlib.Tactic

variable {x y : }

example : x^2 + y^2 = 0  x = 0  y = 0 :=
by sorry

Read more…

En ℝ, si x ≤ y, entonces y ≰ x ↔ x ≠ y

Demostrar con Lean4 que si \(x\) e \(y\) son números reales tales que \(x ≤ y\), entonces \(y ≰ x ↔ x ≠ y\).

Para ello, completar la siguiente teoría de Lean4:

import Mathlib.Data.Real.Basic
variable {x y : }

example
  (h : x  y)
  : ¬y  x  x  y :=
by sorry

Read more…

Existen números primos m y n tales que 4 < m < n < 10

Demostrar con Lean4 que existen números primos \(m\) y \(n\) tales que \(4 < m < n < 10\).

Para ello, completar la siguiente teoría de Lean4:

import Mathlib.Data.Nat.Prime.Defs
import Mathlib.Tactic

example :
   m n : , 4 < m  m < n  n < 10  Nat.Prime m  Nat.Prime n :=
by sorry

Read more…

Si (∃z ∈ ℝ)[x < z < y], entonces x < y.

Demostrar con Lean4 que si \((∃z ∈ ℝ)[x < z < y]\), entonces \(x < y\).

Para ello, completar la siguiente teoría de Lean4:

import Mathlib.Data.Real.Basic
variable (x y : )

example : ( z : , x < z  z < y)  x < y :=
by sorry

Read more…