chore: make toBetaApp public (#12416)

This PR makes `Sym.Simp.toBetaApp` public. This is necessary for the
refactor of the main `cbv` simproc in #12417.
This commit is contained in:
Wojciech Różowski 2026-02-10 19:02:01 +00:00 committed by GitHub
parent fc4f51d759
commit a6ba7312cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -84,7 +84,7 @@ We produce:
where each `xᵢ'` has type `deps_type → Tᵢ` and `b'` contains applications `xᵢ' (deps)`.
-/
structure ToBetaAppResult where
public structure ToBetaAppResult where
/-- Type of the input `have`-expression. -/
α : Expr
/-- The universe level of `α`. -/
@ -147,7 +147,7 @@ For each `have xᵢ := vᵢ` where `vᵢ` depends on `xᵢ₁, ..., xᵢₖ` (ak
The proof is `rfl` since the transformation is definitionally equal.
-/
def toBetaApp (haveExpr : Expr) : SymM ToBetaAppResult := do
public def toBetaApp (haveExpr : Expr) : SymM ToBetaAppResult := do
go haveExpr #[] #[] #[] #[] #[] #[] {}
where
/--