∀ (toTermInfo : Lean.Elab.TermInfo) (location? : Option Lean.DeclarationLocation) (docString? : Option String)
  (explicit : Bool),
  sizeOf { toTermInfo := toTermInfo, location? := location?, docString? := docString?, explicit := explicit } =
    1 + sizeOf toTermInfo + sizeOf location? + sizeOf docString? + sizeOf explicit