@@ -159,7 +159,7 @@ section CVal
159159 ∀ (n : Nat), ILLift.{u} ((lamILTy n).interp tyVal) :=
160160 fun n => ILLift.default ((lamILTy n).interp tyVal)
161161
162- def CVal.toLamTyVal (cv : CVal.{u} levt) : LamTyVal :=
162+ noncomputable def CVal.toLamTyVal (cv : CVal.{u} levt) : LamTyVal :=
163163 ⟨fun n => ((cv.var.get? n).getD ⟨.base .prop, GLift.up False⟩).fst,
164164 fun n => ((cv.il.get? n).getD ⟨.base .prop, ILLift.default _⟩).fst,
165165 fun n => (levt.get? n).getD (.base .prop)⟩
@@ -173,15 +173,15 @@ section CVal
173173 def CPVal.toLamVarTy (cpv : CPVal.{u}) : Nat → LamSort :=
174174 fun n => ((cpv.var.get? n).getD ⟨.base .prop, GLift.up False⟩).fst
175175
176- def CPVal.toLamILTy (cpv : CPVal.{u}) : Nat → LamSort :=
176+ noncomputable def CPVal.toLamILTy (cpv : CPVal.{u}) : Nat → LamSort :=
177177 fun n => ((cpv.il.get? n).getD ⟨.base .prop, ILLift.default _⟩).fst
178178
179- def CPVal.toLamTyValWithLamEVarTy (cpv : CPVal.{u}) (levt : Nat → LamSort) : LamTyVal :=
179+ noncomputable def CPVal.toLamTyValWithLamEVarTy (cpv : CPVal.{u}) (levt : Nat → LamSort) : LamTyVal :=
180180 ⟨fun n => ((cpv.var.get? n).getD ⟨.base .prop, GLift.up False⟩).fst,
181181 fun n => ((cpv.il.get? n).getD ⟨.base .prop, ILLift.default _⟩).fst,
182182 levt⟩
183183
184- def CPVal.toLamTyValEraseEtom (cpv : CPVal.{u}) : LamTyVal :=
184+ noncomputable def CPVal.toLamTyValEraseEtom (cpv : CPVal.{u}) : LamTyVal :=
185185 ⟨fun n => ((cpv.var.get? n).getD ⟨.base .prop, GLift.up False⟩).fst,
186186 fun n => ((cpv.il.get? n).getD ⟨.base .prop, ILLift.default _⟩).fst,
187187 fun _ => .base .prop⟩
@@ -422,7 +422,7 @@ abbrev importTablePSigmaβ (cpv : CPVal.{u}) (ie : ImportEntry) :=
422422abbrev importTablePSigmaMk (cpv : CPVal.{u}) :=
423423 @PSigma.mk ImportEntry (importTablePSigmaβ cpv)
424424
425- def ImportTable.importFacts (it : ImportTable cpv) : BinTree REntry :=
425+ noncomputable def ImportTable.importFacts (it : ImportTable cpv) : BinTree REntry :=
426426 it.mapOpt (fun ⟨ie, _⟩ =>
427427 match ie with
428428 | .valid p =>
@@ -2345,7 +2345,7 @@ theorem ChkSteps.run_correct
23452345 dsimp [ChkSteps.run]; apply BinTree.foldl_inv (fun (r : RTable) => ∃ eV', RTable.inv r ⟨cpv, eV'⟩) inv
23462346 intro r' (c, n) inv'; exact ChkStep.run_correct r' cpv inv' c n
23472347
2348- def ChkSteps.runFromBeginning (cpv : CPVal.{u}) (it : ImportTable cpv) (cs : ChkSteps) :=
2348+ noncomputable def ChkSteps.runFromBeginning (cpv : CPVal.{u}) (it : ImportTable cpv) (cs : ChkSteps) :=
23492349 ChkSteps.run cpv.toLamVarTy cpv.toLamILTy ⟨it.importFacts, 0 , .leaf⟩ cs
23502350
23512351/--
0 commit comments