def
definition
def or abbrev
mortonLocality
show as:
view Lean formalization →
formal statement (Lean)
158def mortonLocality (n : Nat) (level : OctantLevel) (octant : OctantIndex) : Prop :=
proof body
Definition body.
159 ∀ v ∈ octantVars n level octant,
160 if level = 0 then True
161 else v.val / (n / (8 ^ level).max 1) = octant % ((8 ^ level).min n)
162