AZ
map-id₂ : ∀ {f : A → A} {xs} → All (λ x → f x ≡ x) xs → map f xs ≡ xs
map-id₂ [] = refl
map-id₂ (fx≡x ∷ pxs) = P.cong₂ _∷_ fx≡x (map-id₂ pxs)
Оригинал тут:
https://agda.github.io/agda-stdlib/v1.1/Data.List.Properties.html#2568
Size: a a a
AZ
map-id₂ : ∀ {f : A → A} {xs} → All (λ x → f x ≡ x) xs → map f xs ≡ xs
map-id₂ [] = refl
map-id₂ (fx≡x ∷ pxs) = P.cong₂ _∷_ fx≡x (map-id₂ pxs)
T
^/ — коммент через //, а ^shift+/ — через /**/.DS
Т8
r
AZ
Т8
DS
T
map-id₂ : ∀ {f : A → A} {xs} → All (λ x → f x ≡ x) xs → map f xs ≡ xs
map-id₂ [] = refl
map-id₂ (fx≡x ∷ pxs) = P.cong₂ _∷_ fx≡x (map-id₂ pxs)
DS
map-id : map id ≗ id {A = List A}
map-id [] = refl
map-id (x ∷ xs) = P.cong (x ∷_) (map-id xs)Т8
DF
AZ

DS
DF
DS
DS
В
T
p