lean4-htt/old_tests/tests/lean/run/simp_univ_poly.lean
2018-04-10 12:56:55 -07:00

25 lines
790 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace test
universes u v
def equinumerous (α : Type u) (β : Type v) :=
∃ f : α → β, function.bijective f
local infix ` ≈ ` := equinumerous
@[refl] lemma refl {α} : αα := sorry
@[trans] lemma trans {α β γ} :
α ≈ β → β ≈ γαγ := sorry
@[congr] lemma equinumerous.congr_eqn {α α' β β'} :
αα' → β ≈ β' → (α ≈ β) = (α' ≈ β') := sorry
@[congr] lemma congr_sum {α α' β β'} :
αα' → β ≈ β' → (α ⊕ β) ≈ (α' ⊕ β') := sorry
@[simp] lemma eqn_ulift {α} : ulift αα := sorry
@[simp] lemma sum_empty {α} : (α ⊕ empty) ≈ α := sorry
-- rewriting `ulift empty` ==> `empty` changes the universe level
example {α : Type u} : (α ⊕ ulift empty) ≈ α := by simp
end test