{P : Sort u} →
  {textDocument : Lean.Lsp.TextDocumentIdentifier} →
    {text? : Option String} →
      {textDocument' : Lean.Lsp.TextDocumentIdentifier} →
        {text?' : Option String} →
          { textDocument := textDocument, text? := text? } = { textDocument := textDocument', text? := text?' } →
            (textDocument = textDocument' → text? = text?' → P) → P