Skip to main content

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…

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

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

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

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

variable {x y : }

example
  (h1 : x  y)
  (h2 : ¬y  x)
  : x  y  x  y :=
by sorry

Read more…

Si ¬(∀a)(∃x)[f(x) > a]​, entonces f está acotada superiormente

Demostrar con Lean4 que si \(¬(∀a)(∃x)[f(x) > a]\)​, entonces \(f\) está acotada superiormente.

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

import Mathlib.Data.Real.Basic

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

def acotadaSup (f :   ) :=
   a, CotaSuperior f a

variable (f :   )

example
  (h : ¬∀ a,  x, f x > a)
  : acotadaSup f :=
by sorry

Read more…

Si f no está acotada superiormente, entonces (∀a)(∃x)[f(x) > a]

Demostrar con Lean4 que si \(f\) no está acotada superiormente, entonces \((∀a)(∃x)[f(x) > a]​\).

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

import Mathlib.Data.Real.Basic

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

def acotadaSup (f :   ) :=
   a, CotaSuperior f a

variable (f :   )

example
  (h : ¬acotadaSup f)
  :  a,  x, f x > a :=
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…