Zulip Chat Archive
Stream: lean4
Topic: chaining expressions with arrows
Arthur Paulino (Mar 18 2022 at 15:05):
Suppose I have es : Array Expr. How build an Expr for es₁ → es₂ → ⋯?
Edward Ayers (Mar 18 2022 at 15:12):
To make a single arrow you can use Lean.mkForall, or Lean.Meta.mkArrow. I think for multiple you want Lean.Meta.mkForallFVars, which also does some bookkeeping for metavariables.
Last updated: May 02 2025 at 03:31 UTC