Skip to main content

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…

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…