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…

Existe un número real entre 2 y 3

Demostrar con Lean4 que \((∃x ∈ ℝ)[2 < x < 3]\).

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

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

example : ∃ x : ℝ, 2 < x ∧ x < 3 :=
by sorry

Read more…

Si x ≤ y y x ≠ y, entonces y ≰ x

Demostrar con Lean4 que \[x ≤ y ∧ x ≠ y ⊢ y ≰ x\]

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

import Mathlib.Data.Real.Basic

variable {x y : ℝ}

example
  (h : x ≤ y ∧ x ≠ y)
  : ¬ y ≤ x :=
by sorry

Read more…