Skip to main content

Si (∃x)¬P(x), entonces ¬(∀x)P(x)

Demostrar con Lean4 que si \((∃x)¬P(x)\), entonces \(¬(∀x)P(x)\).

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

import Mathlib.Tactic
variable {α : Type _}
variable (P : α  Prop)

example
  (h :  x, ¬ P x)
  : ¬  x, P x :=
by sorry

Read more…

Si ¬(∀x)P(x), entonces (∃x)¬P(x)

Demostrar con Lean4 que si \(¬(∀x)P(x)\), entonces \((∃x)¬P(x)\).

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

import Mathlib.Tactic
variable {α : Type _}
variable (P : α  Prop)

example
  (h : ¬  x, P x)
  :  x, ¬ P x :=
by sorry

Read more…

Si (∀x)¬P(x), entonces ¬(∃x)P(x).

Demostrar con Lean4 que si \((∀x)¬P(x)\), entonces \(¬(∃x)P(x)\).

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

import Mathlib.Tactic
variable {α : Type _}
variable (P : α  Prop)

example
  (h :  x, ¬ P x)
  : ¬  x, P x :=
by sorry

Read more…

Si ¬(∃x)P(x), entonces (∀x)¬P(x)

Demostrar con Lean4 que si \(¬(∃x)P(x)\), entonces \((∀x)¬P(x)\).

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

import Mathlib.Tactic

variable {α : Type _}
variable (P : α  Prop)

example
  (h : ¬  x, P x)
  :  x, ¬ P x :=
by sorry

Read more…

Si (∀ε > 0)[x ≤ ε], entonces x ≤ 0

Demostrar con Lean4 que si \((∀ε > 0)[x ≤ ε]\), entonces \(x ≤ 0\).

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

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

example
  (h :  ε > 0, x  ε)
  : x  0 :=
by sorry

Read more…

Si f es monótona y f(a) < f(b), entonces a < b

Demostrar con Lean4 que si \(f\) es monótona y \(f(a) < f(b)\), entonces \(a < b\).

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

import Mathlib.Data.Real.Basic
variable (f :   )
variable (a b : )

example
  (h1 : Monotone f)
  (h2 : f a < f b)
  : a < b :=
by sorry

Read more…

Si para cada a existe un x tal que f(x) < a, entonces f no tiene cota inferior

Demostrar con Lean4 que si \(f\) es una función de \(ℝ\) en \(ℝ\) tal que para cada \(a\) existe un \(x\) tal que \(f(x) < a\), entonces \(f\) no tiene cota inferior.

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

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

def CotaInferior (f :   ) (a : ) : Prop :=
   x, a  f x

def acotadaInf (f :   ) : Prop :=
   a, CotaInferior f a

variable (f :   )

example
  (h :  a,  x, f x < a)
  : ¬ acotadaInf f :=
by sorry

Read more…