Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PratherConid committed Sep 28, 2024
1 parent 45fc6c6 commit 28543ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Auto/Translation/LamReif.lean
Original file line number Diff line number Diff line change
Expand Up @@ -1161,7 +1161,7 @@ def processSimpleApp (fn arg : Expr) : ReifM (Option LamTerm) := do
if name == ``Embedding.forallF then
let [lvl₁, lvl₂] := lvls
| throwError "processSimpleApp :: Auto.Embedding.forallF should have two levels"
if !(← Meta.isLevelDefEq lvl₁ .zero) || !(← Meta.isLevelDefEq lvl₂ .zero) then
if !(← Meta.isLevelDefEq lvl₂ .zero) then
return .none
return .some (.base (tcon (← reifType arg)))
return .none
Expand Down

0 comments on commit 28543ee

Please sign in to comment.