The library has been tested using Agda 2.8.0.
-
Modules that previously used
--cubical-compatibleonce again use--without-K. -
The notation for
Decidablerelations has been (partially) standardised: thus_≡?_(atinfix 4) forDecidableEquality_≈?_(ditto.) for the generalIsDecEquivalence
At present, the old fieldname
_≟_has been retained, in order to avoid a non-backwards compatible/breaking change of fieldname, which will plan to do in Version 3.0, with accompanying deprecation of that name, against its eventual removal in subsequent versions.The change leads to a number of (trivial) renamings/deprecations, others more substantive in
Data.{Nat|Fin}.Propertiesfor the concrete datatypes, which are summarised below, but are not each documented for all affected modules.
- Fix a bug in
Data.List.Base'slinesBy(the last empty line would be dropped).
-
issue #2547 The names of the implicit binders in the following definitions have been rectified to be consistent with the rest of
Relation.Binary.Definitions:Transitive,Antisym, andAntisymmetric. -
Issue #2548 Consistent with other names (such as
∙-cong,ε-homoetc.) inAlgebra.*, the field name of the basic homomorphism propertyhomoinAlgebra.Morphism.Structures.IsMagmaHomomorphismhas been renamed to∙-homo.
- In
Induction.WellFoudned, the final parameter ofAcchas been changed to an index.
-
In
Algebra.Morphism.Structures:homo ↦ ∙-homo
-
In
Data.Fin.Properties:_≟_ ↦ _≡?_ inj⇒≟ ↦ inj⇒≡? ≟-≡ ↦ ≡?-≡ ≟-≡-refl ↦ ≡?-≡-refl ≟-≢ ↦ ≡?-≢
-
In
Data.Integer.GCD:gcd[0,0]≡0 ↦ gcd[i,i]≡∣i∣
-
In
Data.Nat.GCD:gcd[0,0]≡0 ↦ gcd[n,n]≡n
-
In
Data.Nat.Properties:_≟_ ↦ _≡?_ ≟-diag ↦ ≡?-≡ ≟-≡ ↦ ≡?-≢ ≟?-≡-refl ↦ ≡?-≡-refl
-
In
Effect.Monad.Partiality:_≟-Kind_ ↦ _≡?-Kind_
-
In
Reflection.AST.AlphaEquality:≟⇒α ↦ ≡?⇒α
-
In
Relation.Binary.PropositionalEquality:≡-≟-identity ↦ ≡-≡?-identity ≢-≟-identity ↦ ≢-≡?-identity
-
In
Relation.Nary:≟-mapₙ ↦ ≡?-mapₙ
-
Codata.Guarded.Stream.Relation.Unary.Linkedfor a proof that each pair of consecutive elements of a stream are related. -
Data.Bool.ListAction.Propertiesfor properties of conjunction and disjunction of lists. -
A new type of lists that grow on the right. This is typically useful to model contexts of typing rules or type accumulators that need to be reversed in the base case.
Data.SnocList.Base
-
In
Data.Integer.GCD:gcd[i,i]≡∣i∣ : ∀ i → gcd i i ≡ + ∣i∣
-
In
Data.Nat.GCD:gcd[n,n]≡n : ∀ n → gcd n n ≡ n
-
In
Data.Rational.Properties:↥[i/1]≡i : (i : ℤ) → ↥ (i / 1) ≡ i ↧ₙ[i/1]≡1 : (i : ℤ) → ↧ₙ (i / 1) ≡ 1 n/n≡1 : ∀ (n : ℕ) .{{_ : ℕ.NonZero n}} → + n / n ≡ 1ℚ -i/n≡-[i/n] : ∀ (i : ℤ) (n : ℕ) .{{_ : ℕ.NonZero n}} → ℤ.- i / n ≡ - (i / n) *-cancelˡ-/ : ∀ p {q r} .{{_ : ℕ.NonZero r}} .{{_ : ℕ.NonZero (p ℕ.* r)}} → (+ p ℤ.* q) / (p ℕ.* r) ≡ q / r *-cancelʳ-/ : ∀ p {q r} .{{_ : ℕ.NonZero r}} .{{_ : ℕ.NonZero (r ℕ.* p)}} → (q ℤ.* + p) / (r ℕ.* p) ≡ q / r i/n+j/n≡[i+j]/n : ∀ (i j : ℤ) (n : ℕ) .{{_ : ℕ.NonZero n }} → i / n + j / n ≡ (i ℤ.+ j) / n