Skip to content

Commit

Permalink
Remove temporary code fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JOSHCLUNE committed Oct 13, 2024
1 parent e566ef6 commit bc731f0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Auto/Translation/LamReif.lean
Original file line number Diff line number Diff line change
Expand Up @@ -1158,17 +1158,11 @@ def processSimpleApp (fn arg : Expr) : ReifM (Option LamTerm) := do
throwError "processSimpleApp :: Attribute should have one level"
return .some (.base (.ocst (.smtAttr1T attrName (← reifType arg) (.base .prop))))
if let .some tcon := reifMapIL.find? name then
/-
**TODO** Discuss the purpose of this code with Yicheng and determine whether it should
be included. Notably, including this code causes the following simple example to fail:
example : x + Nat.zero = x := by duper [Nat.add] {portfolioInstance := 1}
if name == ``Embedding.forallF then
let [lvl₁, lvl₂] := lvls
| throwError "processSimpleApp :: Auto.Embedding.forallF should have two levels"
if !(← Meta.isLevelDefEq lvl₂ .zero) then
return .none
-/
return .some (.base (tcon (← reifType arg)))
return .none
| [arg₁, arg₂] =>
Expand Down

0 comments on commit bc731f0

Please sign in to comment.