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 @@ -387,8 +387,7 @@ theorem Neutral.toLambdaTerm_injective {ι : Type u} {κ : Type v} {ζ : κ →
387387 (hb : LambdaTerm.of k₁ = b.toLambdaTerm),
388388 ht ▸ Neutral.of k₁ ctx = b) (fun t ht b hb =>
389389 match t, b with
390- | _, .of k₂ _ => by cases hb; rfl
391- ) (ζ k₁) rfl b hab
390+ | _, .of k₂ _ => by cases hb; rfl) (ζ k₁) rfl b hab
392391 | _, .app fn₁ arg₁ =>
393392 match b with
394393 | .app fn₂ arg₂ => by
Original file line number Diff line number Diff line change @@ -214,8 +214,7 @@ theorem Neutralu.toNeutral_injective {ι : Type u} {κ : Type v} {ζ : κ → Ob
214214 change _ = some k₂ at hf
215215 rewrite! [← ht] at hf
216216 cases hf
217- rfl
218- ) (ζ k₁) rfl b hab
217+ rfl) (ζ k₁) rfl b hab
219218 | _, .bvar n _ _ =>
220219 match b with
221220 | .bvar _ _ _ => by cases hab; rfl
@@ -1008,12 +1007,21 @@ def Neutralu.separateOfArgNe {ι : Type u} [DecidableEq ι] {κ : Type v} [Decid
10081007 ((ht₁ ▸ Neutralu.app fn₁ arg₁).detelescope (ss.map _) as).toNeutral.toTyping)
10091008 (((ht₂ ▸ Neutralu.app fn₂ arg₂).detelescope (ss.map _) as).toNeutral.toLambdaTerm.read
10101009 (fun u ↦ Fin (2 ^ f u)) rk sc ci (.of i)
1011- ((ht₂ ▸ Neutralu.app fn₂ arg₂).detelescope (ss.map _) as).toNeutral.toTyping) :=
1012- ⟨extendI k.1 i,
1010+ ((ht₂ ▸ Neutralu.app fn₂ arg₂).detelescope (ss.map _) as).toNeutral.toTyping) := by
1011+ refine ⟨extendI k.1 i,
10131012 fun g => extendSingleFVarHead ((ht₂ ▸ Neutralu.app fn₂ arg₂).detelescope (ss.map _) as)
10141013 (Neutralu.fullSepFun ht₁ ht₂ ht huTyp k) g (k.2 .1 g),
10151014 extendSingleBVarHead ((ht₂ ▸ Neutralu.app fn₂ arg₂).detelescope (ss.map _) as)
1016- (Neutralu.fullSepFun ht₁ ht₂ ht huTyp k) k.2 .2 .1 , .up (.up sorry )⟩
1015+ (Neutralu.fullSepFun ht₁ ht₂ ht huTyp k) k.2 .2 .1 , .up (.up ?_)⟩
1016+ apply ne_of_apply_ne (Fin.cast (by simp [Nat.pow_succ] : 2 ^ extendI k.fst i i = 2 ^ k.fst i * 2 ))
1017+ apply ne_of_apply_ne finProdFinEquiv.symm
1018+ apply ne_of_apply_ne Prod.snd
1019+ refine calc
1020+ _ = 0 := ?_
1021+ @Ne (Fin 2 ) 0 1 := Fin.zero_ne_one
1022+ 1 = _ := Eq.symm ?_
1023+ · sorry
1024+ · sorry
10171025#exit
10181026mutual
10191027
You can’t perform that action at this time.
0 commit comments