File tree Expand file tree Collapse file tree
Mathlib/Tactic/CCC/Lambda Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -869,7 +869,7 @@ mutual
869869
870870def RConv.toNormal {ι : Type u} {κ : Type v} {ζ : κ → Object ι} {ctx : List (Object ι)}
871871 {tt : Object ι} {t : LambdaTerm ι κ} {satt : Typing ζ ctx t tt} (rc : RConv satt) :
872- { c : Normal ζ ctx tt // Convertible satt c.toTyping} :=
872+ { c : Normal ζ ctx tt // Convertible satt c.toTyping } :=
873873 match tt with
874874 | .of _ => rc
875875 | .unit => ⟨.unit ctx, .unit_eta satt⟩
@@ -886,7 +886,7 @@ def RConv.toNormal {ι : Type u} {κ : Type v} {ζ : κ → Object ι} {ctx : Li
886886
887887def RConv.ofNeutral {ι : Type u} {κ : Type v} {ζ : κ → Object ι} {ctx : List (Object ι)}
888888 {tt : Object ι} {t : LambdaTerm ι κ} {satt : Typing ζ ctx t tt}
889- (ne : { c : Neutral ζ ctx tt // Convertible satt c.toTyping}) :
889+ (ne : { c : Neutral ζ ctx tt // Convertible satt c.toTyping }) :
890890 RConv satt :=
891891 match tt with
892892 | .of _ => ⟨.ofNeutral ne.1 , ne.2 ⟩
901901
902902def LambdaTerm.normalize {ι : Type u} {κ : Type v} {ζ : κ → Object ι} (ctx : List (Object ι))
903903 (tt : Object ι) (t : LambdaTerm ι κ) (satt : Typing ζ ctx t tt) :
904- { c : Normal ζ ctx tt // Convertible satt c.toTyping} :=
904+ { c : Normal ζ ctx tt // Convertible satt c.toTyping } :=
905905 RConv.toNormal (.congr (.of_eq (replace_of_bvar t) _ _) (RConv.replace (fun k => .of k ctx)
906906 (fun n hn => .bvar n ctx[n] (Option.mem_def.2 (List.getElem?_eq_getElem hn))) satt
907907 (fun k => RConv.ofNeutral ⟨.of k ctx, .refl (.of k ctx)⟩)
You can’t perform that action at this time.
0 commit comments