Created
January 4, 2024 19:58
-
-
Save kmicinski/8490940b3a48b9df0c488f8cb0453059 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- ------ u | |
-- P | |
-- ------ ∧I ------- k | |
-- P × P R | |
-- ------------- ∨I2 ------- ∨I₁ | |
-- (R ⊎ (P × P)) (R ⊎ (P × P)) | |
-- k ---------- ------------------------------- | |
-- (P ⊎ R) (R ⊎ (P × P)) | |
-- ∨Eᵘᵐ ---------------------------------- | |
-- (R ⊎ (P × P)) | |
-- I→ᵏ -------------------------- | |
-- (P ⊎ R) → (R ⊎ (P × P)) | |
-- | |
thm : ∀ (P R : Set) → (P ⊎ R) → (R ⊎ (P × P)) | |
thm P R (inj₁ ev_P) = inj₂ ⟨ ev_P , ev_P ⟩ | |
thm P R (inj₂ ev_R) = inj₁ ev_R |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment