Skip to main content

Unión con su diferencia

Demostrar con Lean4 que \[ (s \setminus t) ∪ t = s ∪ t \]

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

import Mathlib.Data.Set.Basic
open Set

variable {α : Type}
variable (s t : Set α)

example : (s \\setminus t)  t = s  t :=
by sorry

Read more…

Unión con su intersección

Demostrar con Lean4 que \[ s ∪ (s ∩ t) = s \]

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

import Mathlib.Data.Set.Basic
open Set
variable {α : Type}
variable (s t : Set α)

example : s  (s  t) = s :=
by sorry

Read more…

Conmutatividad de la intersección

Demostrar con Lean4 que \[ s ∩ t = t ∩ s \]

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

import Mathlib.Data.Set.Basic
open Set
variable {α : Type}
variable (s t : Set α)

example : s  t = t  s :=
by sorry

Read more…

Diferencia de diferencia de conjuntos (2)

Demostrar con Lean4 que \[ s \setminus (t ∪ u) ⊆ (s \setminus t) \setminus u \]

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

import Mathlib.Data.Set.Basic
open Set
variable {α : Type}
variable (s t u : Set α)

example : s \ (t  u)  (s \ t) \ u :=
by sorry

Read more…

Diferencia de diferencia de conjuntos

Demostrar con Lean4 que \[ (s \setminus t) \setminus u ⊆ s \setminus (t ∪ u) \]

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

import Mathlib.Data.Set.Basic
import Mathlib.Tactic

open Set
variable {α : Type}
variable (s t u : Set α)

example : (s \ t) \ u  s \ (t  u) :=
by sorry

Read more…

Propiedad de monotonía de la intersección

Demostrar con Lean4 que "Si \(s ⊆ t\), entonces \(s ∩ u ⊆ t ∩ u\)".

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

import Mathlib.Data.Set.Basic
import Mathlib.Tactic
open Set
variable {α : Type}
variable (s t u : Set α)

example
  (h : s  t)
  : s  u  t  u :=
by sorry

Read more…

Teorema del emparedado

Demostrar con Lean4 el teorema del emparedado.

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

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

variable (u v w :   )
variable (a : )

def limite : (  )    Prop :=
  fun u c   ε > 0,  N,  n  N, |u n - c|  ε

example
  (hu : limite u a)
  (hw : limite w a)
  (h1 :  n, u n  v n)
  (h2 :  n, v n  w n) :
  limite v a :=
by sorry

Read more…

Intersección con su unión

Demostrar con Lean4 que \[ s ∩ (s ∪ t) = s \]

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

import Mathlib.Data.Set.Basic
import Mathlib.Tactic
open Set
variable {α : Type}
variable (s t : Set α)

example : s  (s  t) = s :=
by sorry

Read more…