∀ {V : Type u_1} {G : SimpleGraph V} {E : Type u_3} [inst : MetricSpace E] [inst_1 : SizeOf V] [inst_2 : SizeOf E]
  (p : V ↪ E) (unit_dist : ∀ {u v : V}, G.Adj u v → dist (p u) (p v) = 1),
  sizeOf { p := p, unit_dist := unit_dist } = 1 + sizeOf p