Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Aether Catalog definitions — Cryptography_QuantumSecurity_HDWalletCascade

Definition
Cryptography_QuantumSecurity_HDWalletCascade

by raver1975 · Sep 17, 2026 · Mathlib c5ea003 (Lean v4.30.0)

aether-catalogcryptography

Definition bundle for the Aether Catalog module Cryptography.QuantumSecurity.HDWalletCascade, transplanted by skeleton subtraction; supplies the types and constants the catalog's theorems import.

Definition code
-- Def bundle generated from Cryptography/QuantumSecurity/HDWalletCascade.lean by skeleton subtraction
import Mathlib

/-! # CatalogBuild.Cryptography.QuantumSecurity.HDWalletCascade

Auto-generated from theorem catalog database.
Domain: Cryptography/QuantumSecurity
Declarations: 19
-/

variable {n : ℕ}

/-- BIP-32 non-hardened child key derivation in ZMod n. -/
def bip32_child_key (parent_key offset : ZMod n) : ZMod n :=
  parent_key + offset



/-- Multi-level derivation: grandchild from parent through child. -/
def bip32_grandchild_key (parent_key offset₁ offset₂ : ZMod n) : ZMod n :=
  bip32_child_key (bip32_child_key parent_key offset₁) offset₂




/-- Number of non-hardened child keys per parent in BIP-32. -/
def bip32_children_per_level : ℕ := 2^31

/-- BIP-44 non-hardened keys: change (2) × address_index (2^31). -/
def bip44_nonhardened_keys : ℕ := 2 * 2^31






/-- Key derivation type -/
inductive DerivationType where
  | hardened
  | nonHardened
  deriving DecidableEq, Repr





View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me