Zulip Chat Archive
Stream: Is there code for X?
Topic: Mathlib's log and Core's log
Tomaz Mascarenhas (Dec 04 2024 at 15:53):
Is there a proof somewhere that the logarithm defined in mathlib is equal to log2
defined in core?
Mathlib's log: https://github.com/leanprover-community/mathlib4/blob/master/Mathlib/Data/Nat/Log.lean#L41
Core's log2: https://github.com/leanprover/lean4/blob/master/src/Init/Data/Nat/Log2.lean
Markus Himmel (Dec 04 2024 at 15:54):
(deleted)
Markus Himmel (Dec 04 2024 at 15:54):
@loogle Nat.log, Nat.log2
loogle (Dec 04 2024 at 15:54):
:search: Nat.log2_eq_log_two
Tomaz Mascarenhas (Dec 04 2024 at 15:54):
oh, thank you!
Last updated: May 02 2025 at 03:31 UTC