Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
| Download
Try doing some basic maths questions in the Lean Theorem Prover. Functions, real numbers, equivalence relations and groups. Click on README.md and then on "Open in CoCalc with one click".
Project: Xena
Views: 23839License: APACHE
import data.real.basic namespace challenges -- basic definitions def upper_bounds (S : set ℝ) : set ℝ := { b | ∀s ∈ S, s ≤ b } def lower_bounds (S : set ℝ) : set ℝ := { b | ∀s ∈ S, b ≤ s } def is_least (S : set ℝ) (l : ℝ) : Prop := l ∈ S ∧ l ∈ lower_bounds S def is_lub (S : set ℝ) (l : ℝ) : Prop := is_least (upper_bounds S) l /-- A set has at most one least upper bound -/ theorem challenge2 (S : set ℝ) (a b : ℝ) (ha : is_lub S a) (hb : is_lub S b) : a = b := begin sorry end end challenges