Cancelling injective and surjective terms
Lax149335.Cancellation · concepts/Lax149335/Cancellation.lean · lax-149335
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
Lemma 5.5. For all terms ,
Concept map
Lean source view on GitHub
| 1 | import Lax149335.InjectiveSurjectiveTerms |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Cancelling injective and surjective terms |
| 6 | type: lemma |
| 7 | --- |
| 8 | **Lemma 5.5.** For all terms , |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | -/ |
| 18 | |
| 19 | namespace Lax149335.Cancellation |
| 20 | |
| 21 | open Lax149335.Types Lax149335.Terms Lax149335.EquationalTheory Lax149335.InjectiveSurjectiveTerms |
| 22 | |
| 23 | /-- **Lemma 5.5.** Injective terms can be cancelled on the right and surjective terms on |
| 24 | the left. -/ |
| 25 | axiom cancel {A B : Ty} (g₁ g₂ : Term A B) : |
| 26 | (∀ (C : Ty) (f : Term B C), ProvablyInjective f → (g₁ ≡ₜ g₂ ↔ (g₁ ⨟ f) ≡ₜ (g₂ ⨟ f))) ∧ |
| 27 | (∀ (C : Ty) (f : Term C A), ProvablySurjective f → (g₁ ≡ₜ g₂ ↔ (f ⨟ g₁) ≡ₜ (f ⨟ g₂))) |
| 28 | |
| 29 | end Lax149335.Cancellation |
| 30 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments