Habr
β
How to become an author
My feed
All streams
Search
Write a publication
Settings
Login
Pull to refresh
0
0
Alex Gryzlov
@clayrat
Proof engineer
Follow
Send message
Profile
Articles
Posts
News
Comments
1
More
Dropdown
Bookmarks
Followers
Following
Copy RSS link
Изоморфизм спешит на помощь
clayrat
Jan 22 2019 at 11:21
Как уже отмечали, такие компиляторы существуют, и в них можно формализовать изоморфизмы для многих типов:
github.com/idris-lang/Idris-dev/blob/master/libs/base/Control/Isomorphism.idr
github.com/idris-lang/Idris-dev/tree/master/libs/contrib/Control/Isomorphism
А с переходом к гомотопическим типам можно полноценно формализовать и изоморфизмы для функций:
github.com/clayrat/redtt/blob/isos/library/cool/isos.red#L60
Information
Rating
Does not participate
Location
Литва
Registered
January 21 2019
Activity
June 23 2021 at 16:30
github.com/idris-lang/Idris-dev/blob/master/libs/base/Control/Isomorphism.idr
github.com/idris-lang/Idris-dev/tree/master/libs/contrib/Control/Isomorphism
А с переходом к гомотопическим типам можно полноценно формализовать и изоморфизмы для функций:
github.com/clayrat/redtt/blob/isos/library/cool/isos.red#L60