GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — More about `Data.Rational.Properties` · Issue #3136 · agda/agda-stdlib Open DescriptionTo consider:
To the first... I came down a bit hard on #3135 for introducing some (to my mind) below-Fairbairn-threshold lemmas concerning left-/right-/two-sided- respectfulness of a relation wrt propositional equality, on the basis that such <-respʳ-≡ : _<_ Respectsʳ _≡_ <-respʳ-≡ = subst (_ <_) <-respˡ-≡ : _<_ Respectsˡ _≡_ <-respˡ-≡ = subst (_< _) <-resp-≡ : _<_ Respects₂ _≡_ <-resp-≡ = <-respˡ-≡ , <-respʳ-≡ which does rather take the edge off my criticism. But to double down... I think these have no place in the library, and should (at least) be inlined? To the second, I also looked at ------------------------------------------------------------------------ -- Algebraic properties private module +-Monomorphism = GroupMonomorphisms toℚᵘ-isGroupMonomorphism-+ +-assoc : Associative _+_ +-assoc = +-Monomorphism.assoc ℚᵘ.+-isMagma ℚᵘ.+-assoc +-comm : Commutative _+_ +-comm = +-Monomorphism.comm ℚᵘ.+-isMagma ℚᵘ.+-comm +-identityˡ : LeftIdentity 0ℚ _+_ +-identityˡ = +-Monomorphism.identityˡ ℚᵘ.+-isMagma ℚᵘ.+-identityˡ +-identityʳ : RightIdentity 0ℚ _+_ +-identityʳ = +-Monomorphism.identityʳ ℚᵘ.+-isMagma ℚᵘ.+-identityʳ +-identity : Identity 0ℚ _+_ +-identity = +-identityˡ , +-identityʳ +-inverseˡ : LeftInverse 0ℚ -_ _+_ +-inverseˡ = +-Monomorphism.inverseˡ ℚᵘ.+-isMagma ℚᵘ.+-inverseˡ +-inverseʳ : RightInverse 0ℚ -_ _+_ +-inverseʳ = +-Monomorphism.inverseʳ ℚᵘ.+-isMagma ℚᵘ.+-inverseʳ +-inverse : Inverse 0ℚ -_ _+_ +-inverse = +-Monomorphism.inverse ℚᵘ.+-isMagma ℚᵘ.+-inverse -‿cong : Congruent₁ (-_) -‿cong = +-Monomorphism.⁻¹-cong ℚᵘ.+-isMagma ℚᵘ.-‿cong neg-distrib-+ : ∀ p q → - (p + q) ≡ (- p) + (- q) neg-distrib-+ = +-Monomorphism.⁻¹-distrib-∙ ℚᵘ.+-0-isAbelianGroup (ℚᵘ.≃-reflexive ∘₂ ℚᵘ.neg-distrib-+) and marvelled that we don't even re-export congruence in this list! Separately, the name of the UPDATED: see my comments on #3135 ... Maybe this is all evidence that Activity
MetadataMetadataAssigneesTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |