Zulip Chat Archive

Stream: lean4

Topic: Missing Fin to UInt coercions


Francisco Giordano (Oct 15 2024 at 00:33):

I'd expect these coercions to come by default with Lean. Is there a reason why they shouldn't?

instance : Coe (Fin UInt8.size) UInt8 := UInt8.mk
instance : Coe (Fin UInt16.size) UInt16 := UInt16.mk
-- etc

Last updated: May 02 2025 at 03:31 UTC