structure
definition
KeyLengthCert
show as:
view math explainer →
open explainer
Read the cached plain-language explainer.
open lean source
IndisputableMonolith.Cryptography.KeyLengthFromPhiLadder on GitHub at line 59.
browse module
All declarations in this module, on Recognition.
explainer page
depends on
used by
formal source
56theorem keyLength_doubling : keyLength128 * 2 = keyLength256 := by
57 unfold keyLength128 keyLength256; norm_num
58
59structure KeyLengthCert where
60 ratio_pos : 0 < securityLevelRatio
61 ratio_gt_one : 1 < securityLevelRatio
62 key_doubling : keyLength128 * 2 = keyLength256
63
64noncomputable def cert : KeyLengthCert where
65 ratio_pos := securityLevelRatio_pos
66 ratio_gt_one := securityLevelRatio_gt_one
67 key_doubling := keyLength_doubling
68
69theorem cert_inhabited : Nonempty KeyLengthCert := ⟨cert⟩
70
71end
72end KeyLengthFromPhiLadder
73end Cryptography
74end IndisputableMonolith