url
stringclasses
147 values
commit
stringclasses
147 values
file_path
stringlengths
7
101
full_name
stringlengths
1
94
start
stringlengths
6
10
end
stringlengths
6
11
tactic
stringlengths
1
11.2k
state_before
stringlengths
3
2.09M
state_after
stringlengths
6
2.09M
input
stringlengths
73
2.09M
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.index_destruct
[59, 1]
[66, 10]
rw [←pgfp.unfold] at wf
I : Type uβ‚€ C : IContainer I i : I x✝ : M C i m : Container.M (toContainer C) wf : ↑(pgfp (WellFormedF C)) βŠ₯ i m ⊒ i = (Container.M.destruct ↑{ val := m, property := wf }).fst.fst
I : Type uβ‚€ C : IContainer I i : I x✝ : M C i m : Container.M (toContainer C) wf✝ : ↑(pgfp (WellFormedF C)) βŠ₯ i m wf : ↑(WellFormedF C) (βŠ₯ βŠ” ↑(pgfp (WellFormedF C)) βŠ₯) i m ⊒ i = (Container.M.destruct ↑{ val := m, property := wf✝ }).fst.fst
Please generate a tactic in lean4 to solve the state. STATE: I : Type uβ‚€ C : IContainer I i : I x✝ : M C i m : Container.M (toContainer C) wf : ↑(pgfp (WellFormedF C)) βŠ₯ i m ⊒ i = (Container.M.destruct ↑{ val := m, property := wf }).fst.fst TACTIC:
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.index_destruct
[59, 1]
[66, 10]
simp only [CompleteLattice.bot_sup] at wf
I : Type uβ‚€ C : IContainer I i : I x✝ : M C i m : Container.M (toContainer C) wf✝ : ↑(pgfp (WellFormedF C)) βŠ₯ i m wf : ↑(WellFormedF C) (βŠ₯ βŠ” ↑(pgfp (WellFormedF C)) βŠ₯) i m ⊒ i = (Container.M.destruct ↑{ val := m, property := wf✝ }).fst.fst
I : Type uβ‚€ C : IContainer I i : I x✝ : M C i m : Container.M (toContainer C) wf✝ : ↑(pgfp (WellFormedF C)) βŠ₯ i m wf : ↑(WellFormedF C) (↑(pgfp (WellFormedF C)) βŠ₯) i m ⊒ i = (Container.M.destruct ↑{ val := m, property := wf✝ }).fst.fst
Please generate a tactic in lean4 to solve the state. STATE: I : Type uβ‚€ C : IContainer I i : I x✝ : M C i m : Container.M (toContainer C) wf✝ : ↑(pgfp (WellFormedF C)) βŠ₯ i m wf : ↑(WellFormedF C) (βŠ₯ βŠ” ↑(pgfp (WellFormedF C)) βŠ₯) i m ⊒ i = (Container.M.destruct ↑{ val := m, property := wf✝ }).fst.fst TACTIC:
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.index_destruct
[59, 1]
[66, 10]
have ⟨x, _⟩ := wf
I : Type uβ‚€ C : IContainer I i : I x✝ : M C i m : Container.M (toContainer C) wf✝ : ↑(pgfp (WellFormedF C)) βŠ₯ i m wf : ↑(WellFormedF C) (↑(pgfp (WellFormedF C)) βŠ₯) i m ⊒ i = (Container.M.destruct ↑{ val := m, property := wf✝ }).fst.fst
I : Type uβ‚€ C : IContainer I i : I x✝ : M C i m : Container.M (toContainer C) wf✝ : ↑(pgfp (WellFormedF C)) βŠ₯ i m wf : ↑(WellFormedF C) (↑(pgfp (WellFormedF C)) βŠ₯) i m x : (Container.M.destruct m).fst.fst = i right✝ : βˆ€ (x : B C (Container.M.destruct m).fst.fst (Container.M.destruct m).fst.snd), ↑(pgfp (WellForme...
Please generate a tactic in lean4 to solve the state. STATE: I : Type uβ‚€ C : IContainer I i : I x✝ : M C i m : Container.M (toContainer C) wf✝ : ↑(pgfp (WellFormedF C)) βŠ₯ i m wf : ↑(WellFormedF C) (↑(pgfp (WellFormedF C)) βŠ₯) i m ⊒ i = (Container.M.destruct ↑{ val := m, property := wf✝ }).fst.fst TACTIC:
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.index_destruct
[59, 1]
[66, 10]
apply Eq.symm
I : Type uβ‚€ C : IContainer I i : I x✝ : M C i m : Container.M (toContainer C) wf✝ : ↑(pgfp (WellFormedF C)) βŠ₯ i m wf : ↑(WellFormedF C) (↑(pgfp (WellFormedF C)) βŠ₯) i m x : (Container.M.destruct m).fst.fst = i right✝ : βˆ€ (x : B C (Container.M.destruct m).fst.fst (Container.M.destruct m).fst.snd), ↑(pgfp (WellForme...
case h I : Type uβ‚€ C : IContainer I i : I x✝ : M C i m : Container.M (toContainer C) wf✝ : ↑(pgfp (WellFormedF C)) βŠ₯ i m wf : ↑(WellFormedF C) (↑(pgfp (WellFormedF C)) βŠ₯) i m x : (Container.M.destruct m).fst.fst = i right✝ : βˆ€ (x : B C (Container.M.destruct m).fst.fst (Container.M.destruct m).fst.snd), ↑(pgfp (We...
Please generate a tactic in lean4 to solve the state. STATE: I : Type uβ‚€ C : IContainer I i : I x✝ : M C i m : Container.M (toContainer C) wf✝ : ↑(pgfp (WellFormedF C)) βŠ₯ i m wf : ↑(WellFormedF C) (↑(pgfp (WellFormedF C)) βŠ₯) i m x : (Container.M.destruct m).fst.fst = i right✝ : βˆ€ (x : B C (Container.M.destruct m).fst...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.index_destruct
[59, 1]
[66, 10]
exact x
case h I : Type uβ‚€ C : IContainer I i : I x✝ : M C i m : Container.M (toContainer C) wf✝ : ↑(pgfp (WellFormedF C)) βŠ₯ i m wf : ↑(WellFormedF C) (↑(pgfp (WellFormedF C)) βŠ₯) i m x : (Container.M.destruct m).fst.fst = i right✝ : βˆ€ (x : B C (Container.M.destruct m).fst.fst (Container.M.destruct m).fst.snd), ↑(pgfp (We...
no goals
Please generate a tactic in lean4 to solve the state. STATE: case h I : Type uβ‚€ C : IContainer I i : I x✝ : M C i m : Container.M (toContainer C) wf✝ : ↑(pgfp (WellFormedF C)) βŠ₯ i m wf : ↑(WellFormedF C) (↑(pgfp (WellFormedF C)) βŠ₯) i m x : (Container.M.destruct m).fst.fst = i right✝ : βˆ€ (x : B C (Container.M.destruct...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
intro ⟨x, wfx⟩ ⟨y, wfy⟩ h₁
I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I ⊒ βˆ€ (x y : M C i), R i x y β†’ x ...
I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x : Container.M (toContainer C)...
Please generate a tactic in lean4 to solve the state. STATE: I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
suffices h: x = y by induction h rfl
I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x : Container.M (toContainer C)...
I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x : Container.M (toContainer C)...
Please generate a tactic in lean4 to solve the state. STATE: I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
apply Container.M.bisim (Ξ» x y => βˆƒ i, βˆƒ (wfx: WellFormed i x) (wfy:WellFormed i y), R i ⟨x, wfx⟩ ⟨y, wfy⟩)
I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x : Container.M (toContainer C)...
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x : Container.M (toCont...
Please generate a tactic in lean4 to solve the state. STATE: I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
. intro x y ⟨i, wfx, wfy, r⟩ have ⟨node, k₁, kβ‚‚, h₁, hβ‚‚, hβ‚ƒβŸ© := hβ‚€ i ⟨x, wfx⟩ ⟨y, wfy⟩ r let ix := (Container.M.destruct x).1.1 let nx := (Container.M.destruct x).1.2 let kx := (Container.M.destruct x).2 let iy := (Container.M.destruct y).1.1 let ny := (Container.M.destruct y).1.2 let ky := (Container.M.d...
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x : Container.M (toCont...
case a I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x : Container.M (toConta...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node),...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
exists i
case a I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x : Container.M (toConta...
case a I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x : Container.M (toConta...
Please generate a tactic in lean4 to solve the state. STATE: case a I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
exists wfx
case a I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x : Container.M (toConta...
case a I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x : Container.M (toConta...
Please generate a tactic in lean4 to solve the state. STATE: case a I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
exists wfy
case a I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x : Container.M (toConta...
no goals
Please generate a tactic in lean4 to solve the state. STATE: case a I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
induction h
I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x : Container.M (toContainer C)...
case refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x : Container.M (toCo...
Please generate a tactic in lean4 to solve the state. STATE: I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
rfl
case refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x : Container.M (toCo...
no goals
Please generate a tactic in lean4 to solve the state. STATE: case refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
intro x y ⟨i, wfx, wfy, r⟩
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x : Container.M (toCont...
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node),...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
have ⟨node, k₁, kβ‚‚, h₁, hβ‚‚, hβ‚ƒβŸ© := hβ‚€ i ⟨x, wfx⟩ ⟨y, wfy⟩ r
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node),...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
let ix := (Container.M.destruct x).1.1
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node),...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
let nx := (Container.M.destruct x).1.2
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node),...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
let kx := (Container.M.destruct x).2
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node),...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
let iy := (Container.M.destruct y).1.1
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node),...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
let ny := (Container.M.destruct y).1.2
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node),...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
let ky := (Container.M.destruct y).2
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node),...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
have hix := index_destruct ⟨x, wfx⟩
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node),...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
have hiy := index_destruct ⟨y, wfy⟩
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node),...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
have wfx' : βˆ€ a:B C ix nx, WellFormed (C.N ix nx a) (kx a) := wf_destruct ⟨x, wfx⟩
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node),...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
have wfy' : βˆ€ a:B C iy ny, WellFormed (C.N iy ny a) (ky a) := wf_destruct ⟨y, wfy⟩
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node),...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
simp only at hix hiy wfx wfy
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node),...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
exists ⟨_, node⟩
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node),...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
exists Ξ» x => (k₁ x).1
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node),...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
exists Ξ» x => (kβ‚‚ x).1
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node),...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
constructor
case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toCo...
case hβ‚€.left I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M ...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€ I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node),...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
. cases hix have hnx: nx = node := by apply congrArg Sigma.fst h₁ cases hnx have h₁ := Sigma.snd_equals _ _ _ h₁ rw [← h₁] rfl
case hβ‚€.left I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M ...
case hβ‚€.right I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€.left I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i n...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
. constructor . cases hiy have hny: ny = node := by apply congrArg Sigma.fst hβ‚‚ cases hny have hβ‚‚ := Sigma.snd_equals _ _ _ hβ‚‚ rw [← hβ‚‚] rfl . intro a exists C.N i node a simp only [toContainer] at a exists (by cases hix have : nx = node := by apply co...
case hβ‚€.right I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M...
no goals
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€.right I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
cases hix
case hβ‚€.left I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M ...
case hβ‚€.left.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Containe...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€.left I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i n...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
have hnx: nx = node := by apply congrArg Sigma.fst h₁
case hβ‚€.left.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Containe...
case hβ‚€.left.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Containe...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€.left.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
cases hnx
case hβ‚€.left.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Containe...
case hβ‚€.left.refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Con...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€.left.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
have h₁ := Sigma.snd_equals _ _ _ h₁
case hβ‚€.left.refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Con...
case hβ‚€.left.refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Con...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€.left.refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
rw [← h₁]
case hβ‚€.left.refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Con...
case hβ‚€.left.refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Con...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€.left.refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
rfl
case hβ‚€.left.refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Con...
no goals
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€.left.refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
apply congrArg Sigma.fst h₁
I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Container.M (toContainer C...
no goals
Please generate a tactic in lean4 to solve the state. STATE: I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
constructor
case hβ‚€.right I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M...
case hβ‚€.right.left I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Contai...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€.right I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
. cases hiy have hny: ny = node := by apply congrArg Sigma.fst hβ‚‚ cases hny have hβ‚‚ := Sigma.snd_equals _ _ _ hβ‚‚ rw [← hβ‚‚] rfl
case hβ‚€.right.left I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Contai...
case hβ‚€.right.right I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Conta...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€.right.left I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
. intro a exists C.N i node a simp only [toContainer] at a exists (by cases hix have : nx = node := by apply congrArg Sigma.fst h₁ cases this have h₁ := Sigma.snd_equals _ _ _ h₁ have wfx' := wfx' a cases h₁ exact wfx' ) exists (by cases hiy have...
case hβ‚€.right.right I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Conta...
no goals
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€.right.right I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
cases hiy
case hβ‚€.right.left I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Contai...
case hβ‚€.right.left.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Co...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€.right.left I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
have hny: ny = node := by apply congrArg Sigma.fst hβ‚‚
case hβ‚€.right.left.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Co...
case hβ‚€.right.left.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Co...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€.right.left.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
cases hny
case hβ‚€.right.left.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Co...
case hβ‚€.right.left.refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€.right.left.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
have hβ‚‚ := Sigma.snd_equals _ _ _ hβ‚‚
case hβ‚€.right.left.refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝...
case hβ‚€.right.left.refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€.right.left.refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
rw [← hβ‚‚]
case hβ‚€.right.left.refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝...
case hβ‚€.right.left.refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€.right.left.refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
rfl
case hβ‚€.right.left.refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝...
no goals
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€.right.left.refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
apply congrArg Sigma.fst hβ‚‚
I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Container.M (toContainer C...
no goals
Please generate a tactic in lean4 to solve the state. STATE: I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
intro a
case hβ‚€.right.right I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Conta...
case hβ‚€.right.right I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Conta...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€.right.right I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
exists C.N i node a
case hβ‚€.right.right I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Conta...
case hβ‚€.right.right I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Conta...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€.right.right I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
simp only [toContainer] at a
case hβ‚€.right.right I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Conta...
case hβ‚€.right.right I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Conta...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€.right.right I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
exists (by cases hix have : nx = node := by apply congrArg Sigma.fst h₁ cases this have h₁ := Sigma.snd_equals _ _ _ h₁ have wfx' := wfx' a cases h₁ exact wfx' )
case hβ‚€.right.right I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Conta...
case hβ‚€.right.right I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Conta...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€.right.right I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
exists (by cases hiy have : ny = node := by apply congrArg Sigma.fst hβ‚‚ cases this have hβ‚‚ := Sigma.snd_equals _ _ _ hβ‚‚ have wfy' := wfy' a cases hβ‚‚ exact wfy' )
case hβ‚€.right.right I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Conta...
case hβ‚€.right.right I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Conta...
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€.right.right I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
exact h₃ a
case hβ‚€.right.right I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Conta...
no goals
Please generate a tactic in lean4 to solve the state. STATE: case hβ‚€.right.right I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
cases hix
I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toContainer ...
case refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Container.M (toC...
Please generate a tactic in lean4 to solve the state. STATE: I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
have : nx = node := by apply congrArg Sigma.fst h₁
case refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Container.M (toC...
case refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Container.M (toC...
Please generate a tactic in lean4 to solve the state. STATE: case refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
cases this
case refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Container.M (toC...
case refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Container.M...
Please generate a tactic in lean4 to solve the state. STATE: case refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
have h₁ := Sigma.snd_equals _ _ _ h₁
case refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Container.M...
case refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Container.M...
Please generate a tactic in lean4 to solve the state. STATE: case refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
have wfx' := wfx' a
case refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Container.M...
case refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Container.M...
Please generate a tactic in lean4 to solve the state. STATE: case refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
cases h₁
case refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Container.M...
case refl.refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Contai...
Please generate a tactic in lean4 to solve the state. STATE: case refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
exact wfx'
case refl.refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Contai...
no goals
Please generate a tactic in lean4 to solve the state. STATE: case refl.refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
apply congrArg Sigma.fst h₁
I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Container.M (toContainer C...
no goals
Please generate a tactic in lean4 to solve the state. STATE: I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
cases hiy
I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i✝ : I x✝ : Container.M (toContainer ...
case refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Container.M (toC...
Please generate a tactic in lean4 to solve the state. STATE: I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
have : ny = node := by apply congrArg Sigma.fst hβ‚‚
case refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Container.M (toC...
case refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Container.M (toC...
Please generate a tactic in lean4 to solve the state. STATE: case refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
cases this
case refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Container.M (toC...
case refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Container.M...
Please generate a tactic in lean4 to solve the state. STATE: case refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
have hβ‚‚ := Sigma.snd_equals _ _ _ hβ‚‚
case refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Container.M...
case refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Container.M...
Please generate a tactic in lean4 to solve the state. STATE: case refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
have wfy' := wfy' a
case refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Container.M...
case refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Container.M...
Please generate a tactic in lean4 to solve the state. STATE: case refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
cases hβ‚‚
case refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Container.M...
case refl.refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Contai...
Please generate a tactic in lean4 to solve the state. STATE: case refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
exact wfy'
case refl.refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Contai...
no goals
Please generate a tactic in lean4 to solve the state. STATE: case refl.refl.refl I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/MIdx.lean
IContainer.M.bisim
[85, 1]
[162, 13]
apply congrArg Sigma.fst hβ‚‚
I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C i node z) (k₁ z) (kβ‚‚ z) i : I x✝ : Container.M (toContainer C...
no goals
Please generate a tactic in lean4 to solve the state. STATE: I : Type uβ‚€ C : IContainer I R : (i : I) β†’ M C i β†’ M C i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M C i), R i x y β†’ βˆƒ node k₁ kβ‚‚, destruct x = { fst := node, snd := k₁ } ∧ destruct y = { fst := node, snd := kβ‚‚ } ∧ βˆ€ (z : B C i node), R (N C ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IQPF.M.congr.coinduction
[55, 1]
[66, 13]
intro hβ‚€ i x y h₁
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop ⊒ (βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y) β†’ βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ congr F i x y
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y i : I x y : M (C F) i h₁ : p i x y ⊒ congr F i x y
Please generate a tactic in lean4 to solve the state. STATE: I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop ⊒ (βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y) β†’ βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ congr F i x y TACTIC:
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IQPF.M.congr.coinduction
[55, 1]
[66, 13]
simp only [congr, pcongr]
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y i : I x y : M (C F) i h₁ : p i x y ⊒ congr F i x y
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y i : I x y : M (C F) i h₁ : p i x y ⊒ ↑(pgfp (precongr F)) βŠ₯ i x y
Please generate a tactic in lean4 to solve the state. STATE: I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y i : I x y : M (C F) i h₁ : p i x y ⊒ congr F i x y TACTIC:
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IQPF.M.congr.coinduction
[55, 1]
[66, 13]
have := (pgfp.coinduction (precongr F) p).2
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y i : I x y : M (C F) i h₁ : p i x y ⊒ ↑(pgfp (precongr F)) βŠ₯ i x y
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y i : I x y : M (C F) i h₁ : p i x y this : p ≀ ↑(precongr F) (p βŠ” ↑(pgfp (precongr F)) p) β†’ p ≀ ↑(pgfp (precongr F)) βŠ₯ ⊒ ↑(pgfp (precongr F)) βŠ₯ i x y
Please generate a tactic in lean4 to solve the state. STATE: I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y i : I x y : M (C F) i h₁ : p i x y ⊒ ↑(pgfp (precongr F)) βŠ₯ i x y TACTIC:
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IQPF.M.congr.coinduction
[55, 1]
[66, 13]
apply this
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y i : I x y : M (C F) i h₁ : p i x y this : p ≀ ↑(precongr F) (p βŠ” ↑(pgfp (precongr F)) p) β†’ p ≀ ↑(pgfp (precongr F)) βŠ₯ ⊒ ↑(pgfp (precongr F)) βŠ₯ i x y
case a I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y i : I x y : M (C F) i h₁ : p i x y this : p ≀ ↑(precongr F) (p βŠ” ↑(pgfp (precongr F)) p) β†’ p ≀ ↑(pgfp (precongr F)) βŠ₯ ⊒ p ≀ ↑(precongr F) (p βŠ” ↑(p...
Please generate a tactic in lean4 to solve the state. STATE: I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y i : I x y : M (C F) i h₁ : p i x y this : p ≀ ↑(precongr F) (p βŠ” ↑(pgfp (precongr F)) p) β†’ p...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IQPF.M.congr.coinduction
[55, 1]
[66, 13]
have : p ≀ p βŠ” pgfp (precongr F) p := by simp
case a I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y i : I x y : M (C F) i h₁ : p i x y this : p ≀ ↑(precongr F) (p βŠ” ↑(pgfp (precongr F)) p) β†’ p ≀ ↑(pgfp (precongr F)) βŠ₯ ⊒ p ≀ ↑(precongr F) (p βŠ” ↑(p...
case a I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y i : I x y : M (C F) i h₁ : p i x y this✝ : p ≀ ↑(precongr F) (p βŠ” ↑(pgfp (precongr F)) p) β†’ p ≀ ↑(pgfp (precongr F)) βŠ₯ this : p ≀ p βŠ” ↑(pgfp (prec...
Please generate a tactic in lean4 to solve the state. STATE: case a I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y i : I x y : M (C F) i h₁ : p i x y this : p ≀ ↑(precongr F) (p βŠ” ↑(pgfp (precongr F))...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IQPF.M.congr.coinduction
[55, 1]
[66, 13]
have := (precongr F).2 this
case a I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y i : I x y : M (C F) i h₁ : p i x y this✝ : p ≀ ↑(precongr F) (p βŠ” ↑(pgfp (precongr F)) p) β†’ p ≀ ↑(pgfp (precongr F)) βŠ₯ this : p ≀ p βŠ” ↑(pgfp (prec...
case a I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y i : I x y : M (C F) i h₁ : p i x y this✝¹ : p ≀ ↑(precongr F) (p βŠ” ↑(pgfp (precongr F)) p) β†’ p ≀ ↑(pgfp (precongr F)) βŠ₯ this✝ : p ≀ p βŠ” ↑(pgfp (pr...
Please generate a tactic in lean4 to solve the state. STATE: case a I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y i : I x y : M (C F) i h₁ : p i x y this✝ : p ≀ ↑(precongr F) (p βŠ” ↑(pgfp (precongr F)...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IQPF.M.congr.coinduction
[55, 1]
[66, 13]
apply le_trans _ this
case a I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y i : I x y : M (C F) i h₁ : p i x y this✝¹ : p ≀ ↑(precongr F) (p βŠ” ↑(pgfp (precongr F)) p) β†’ p ≀ ↑(pgfp (precongr F)) βŠ₯ this✝ : p ≀ p βŠ” ↑(pgfp (pr...
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y i : I x y : M (C F) i h₁ : p i x y this✝¹ : p ≀ ↑(precongr F) (p βŠ” ↑(pgfp (precongr F)) p) β†’ p ≀ ↑(pgfp (precongr F)) βŠ₯ this✝ : p ≀ p βŠ” ↑(pgfp (precongr ...
Please generate a tactic in lean4 to solve the state. STATE: case a I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y i : I x y : M (C F) i h₁ : p i x y this✝¹ : p ≀ ↑(precongr F) (p βŠ” ↑(pgfp (precongr F...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IQPF.M.congr.coinduction
[55, 1]
[66, 13]
apply hβ‚€
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y i : I x y : M (C F) i h₁ : p i x y this✝¹ : p ≀ ↑(precongr F) (p βŠ” ↑(pgfp (precongr F)) p) β†’ p ≀ ↑(pgfp (precongr F)) βŠ₯ this✝ : p ≀ p βŠ” ↑(pgfp (precongr ...
case a I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y i : I x y : M (C F) i h₁ : p i x y this : p ≀ ↑(precongr F) (p βŠ” ↑(pgfp (precongr F)) p) β†’ p ≀ ↑(pgfp (precongr F)) βŠ₯ ⊒ p i x y
Please generate a tactic in lean4 to solve the state. STATE: I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y i : I x y : M (C F) i h₁ : p i x y this✝¹ : p ≀ ↑(precongr F) (p βŠ” ↑(pgfp (precongr F)) p) β†’...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IQPF.M.congr.coinduction
[55, 1]
[66, 13]
assumption
case a I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y i : I x y : M (C F) i h₁ : p i x y this : p ≀ ↑(precongr F) (p βŠ” ↑(pgfp (precongr F)) p) β†’ p ≀ ↑(pgfp (precongr F)) βŠ₯ ⊒ p i x y
no goals
Please generate a tactic in lean4 to solve the state. STATE: case a I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y i : I x y : M (C F) i h₁ : p i x y this : p ≀ ↑(precongr F) (p βŠ” ↑(pgfp (precongr F))...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IQPF.M.congr.coinduction
[55, 1]
[66, 13]
simp
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y i : I x y : M (C F) i h₁ : p i x y this : p ≀ ↑(precongr F) (p βŠ” ↑(pgfp (precongr F)) p) β†’ p ≀ ↑(pgfp (precongr F)) βŠ₯ ⊒ p ≀ p βŠ” ↑(pgfp (precongr F)) p
no goals
Please generate a tactic in lean4 to solve the state. STATE: I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F p : (i : I) β†’ M (C F) i β†’ M (C F) i β†’ Prop hβ‚€ : βˆ€ (i : I) (x y : M (C F) i), p i x y β†’ ↑(precongr F) p i x y i : I x y : M (C F) i h₁ : p i x y this : p ≀ ↑(precongr F) (p βŠ” ↑(pgfp (precongr F)) p) β†’ p...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IQPF.M.destruct_corec
[97, 1]
[103, 47]
simp only [IQPF.M.destruct, IQPF.M.corec, destruct.f, IContainer.M.destruct_corec, inst.abs_imap, inst.abs_repr]
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F Ξ± : I β†’ Type u₁ f : (i : I) β†’ Ξ± i β†’ F Ξ± i i : I xβ‚€ : Ξ± i ⊒ destruct (corec f xβ‚€) = IFunctor.imap (fun i x => corec f x) (f i xβ‚€)
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F Ξ± : I β†’ Type u₁ f : (i : I) β†’ Ξ± i β†’ F Ξ± i i : I xβ‚€ : Ξ± i ⊒ IFunctor.imap (fun x x_1 => Quot.mk (congr F x) x_1) (IFunctor.imap (fun i => IContainer.M.corec fun i x => repr (f i x)) (f i xβ‚€)) = IFunctor.imap (fun i x => Quot.mk (congr F i) (IContainer.M...
Please generate a tactic in lean4 to solve the state. STATE: I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F Ξ± : I β†’ Type u₁ f : (i : I) β†’ Ξ± i β†’ F Ξ± i i : I xβ‚€ : Ξ± i ⊒ destruct (corec f xβ‚€) = IFunctor.imap (fun i x => corec f x) (f i xβ‚€) TACTIC:
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IQPF.M.destruct_corec
[97, 1]
[103, 47]
rw [←inst.abs_repr (f i xβ‚€)]
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F Ξ± : I β†’ Type u₁ f : (i : I) β†’ Ξ± i β†’ F Ξ± i i : I xβ‚€ : Ξ± i ⊒ IFunctor.imap (fun x x_1 => Quot.mk (congr F x) x_1) (IFunctor.imap (fun i => IContainer.M.corec fun i x => repr (f i x)) (f i xβ‚€)) = IFunctor.imap (fun i x => Quot.mk (congr F i) (IContainer.M...
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F Ξ± : I β†’ Type u₁ f : (i : I) β†’ Ξ± i β†’ F Ξ± i i : I xβ‚€ : Ξ± i ⊒ IFunctor.imap (fun x x_1 => Quot.mk (congr F x) x_1) (IFunctor.imap (fun i => IContainer.M.corec fun i x => repr (f i x)) (abs (repr (f i xβ‚€)))) = IFunctor.imap (fun i x => Quot.mk (congr F i) ...
Please generate a tactic in lean4 to solve the state. STATE: I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F Ξ± : I β†’ Type u₁ f : (i : I) β†’ Ξ± i β†’ F Ξ± i i : I xβ‚€ : Ξ± i ⊒ IFunctor.imap (fun x x_1 => Quot.mk (congr F x) x_1) (IFunctor.imap (fun i => IContainer.M.corec fun i x => repr (f i x)) (f i xβ‚€)) = ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IQPF.M.destruct_corec
[97, 1]
[103, 47]
cases repr (f i xβ‚€) with | mk n k => simp only [←inst.abs_imap, IContainer.Map]
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F Ξ± : I β†’ Type u₁ f : (i : I) β†’ Ξ± i β†’ F Ξ± i i : I xβ‚€ : Ξ± i ⊒ IFunctor.imap (fun x x_1 => Quot.mk (congr F x) x_1) (IFunctor.imap (fun i => IContainer.M.corec fun i x => repr (f i x)) (abs (repr (f i xβ‚€)))) = IFunctor.imap (fun i x => Quot.mk (congr F i) ...
no goals
Please generate a tactic in lean4 to solve the state. STATE: I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F Ξ± : I β†’ Type u₁ f : (i : I) β†’ Ξ± i β†’ F Ξ± i i : I xβ‚€ : Ξ± i ⊒ IFunctor.imap (fun x x_1 => Quot.mk (congr F x) x_1) (IFunctor.imap (fun i => IContainer.M.corec fun i x => repr (f i x)) (abs (repr (f ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IQPF.M.destruct_corec
[97, 1]
[103, 47]
simp only [←inst.abs_imap, IContainer.Map]
case mk I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F Ξ± : I β†’ Type u₁ f : (i : I) β†’ Ξ± i β†’ F Ξ± i i : I xβ‚€ : Ξ± i n : IContainer.A (C F) i k : (y : IContainer.B (C F) i n) β†’ Ξ± (IContainer.N (C F) i n y) ⊒ IFunctor.imap (fun x x_1 => Quot.mk (congr F x) x_1) (IFunctor.imap (fun i => IContainer.M.corec fun...
no goals
Please generate a tactic in lean4 to solve the state. STATE: case mk I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F Ξ± : I β†’ Type u₁ f : (i : I) β†’ Ξ± i β†’ F Ξ± i i : I xβ‚€ : Ξ± i n : IContainer.A (C F) i k : (y : IContainer.B (C F) i n) β†’ Ξ± (IContainer.N (C F) i n y) ⊒ IFunctor.imap (fun x x_1 => Quot.mk (congr F ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IQPF.M.imap_spec
[118, 1]
[124, 40]
conv => congr <;> rw [←inst.abs_repr x]
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F i : I Ξ± Ξ² Ξ³ : I β†’ Type u₁ f : (i : I) β†’ Ξ² i β†’ Ξ³ i g : (i : I) β†’ Ξ± i β†’ Ξ² i x : F Ξ± i ⊒ IFunctor.imap (fun i => f i ∘ g i) x = IFunctor.imap f (IFunctor.imap g x)
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F i : I Ξ± Ξ² Ξ³ : I β†’ Type u₁ f : (i : I) β†’ Ξ² i β†’ Ξ³ i g : (i : I) β†’ Ξ± i β†’ Ξ² i x : F Ξ± i ⊒ IFunctor.imap (fun i => f i ∘ g i) (abs (repr x)) = IFunctor.imap f (IFunctor.imap g (abs (repr x)))
Please generate a tactic in lean4 to solve the state. STATE: I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F i : I Ξ± Ξ² Ξ³ : I β†’ Type u₁ f : (i : I) β†’ Ξ² i β†’ Ξ³ i g : (i : I) β†’ Ξ± i β†’ Ξ² i x : F Ξ± i ⊒ IFunctor.imap (fun i => f i ∘ g i) x = IFunctor.imap f (IFunctor.imap g x) TACTIC:
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IQPF.M.imap_spec
[118, 1]
[124, 40]
cases repr x
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F i : I Ξ± Ξ² Ξ³ : I β†’ Type u₁ f : (i : I) β†’ Ξ² i β†’ Ξ³ i g : (i : I) β†’ Ξ± i β†’ Ξ² i x : F Ξ± i ⊒ IFunctor.imap (fun i => f i ∘ g i) (abs (repr x)) = IFunctor.imap f (IFunctor.imap g (abs (repr x)))
case mk I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F i : I Ξ± Ξ² Ξ³ : I β†’ Type u₁ f : (i : I) β†’ Ξ² i β†’ Ξ³ i g : (i : I) β†’ Ξ± i β†’ Ξ² i x : F Ξ± i fst✝ : IContainer.A (C F) i snd✝ : (y : IContainer.B (C F) i fst✝) β†’ Ξ± (IContainer.N (C F) i fst✝ y) ⊒ IFunctor.imap (fun i => f i ∘ g i) (abs { fst := fst✝, snd := snd✝ ...
Please generate a tactic in lean4 to solve the state. STATE: I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F i : I Ξ± Ξ² Ξ³ : I β†’ Type u₁ f : (i : I) β†’ Ξ² i β†’ Ξ³ i g : (i : I) β†’ Ξ± i β†’ Ξ² i x : F Ξ± i ⊒ IFunctor.imap (fun i => f i ∘ g i) (abs (repr x)) = IFunctor.imap f (IFunctor.imap g (abs (repr x))) TACTIC:
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IQPF.M.imap_spec
[118, 1]
[124, 40]
simp [←inst.abs_imap, IContainer.Map]
case mk I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F i : I Ξ± Ξ² Ξ³ : I β†’ Type u₁ f : (i : I) β†’ Ξ² i β†’ Ξ³ i g : (i : I) β†’ Ξ± i β†’ Ξ² i x : F Ξ± i fst✝ : IContainer.A (C F) i snd✝ : (y : IContainer.B (C F) i fst✝) β†’ Ξ± (IContainer.N (C F) i fst✝ y) ⊒ IFunctor.imap (fun i => f i ∘ g i) (abs { fst := fst✝, snd := snd✝ ...
no goals
Please generate a tactic in lean4 to solve the state. STATE: case mk I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F i : I Ξ± Ξ² Ξ³ : I β†’ Type u₁ f : (i : I) β†’ Ξ² i β†’ Ξ³ i g : (i : I) β†’ Ξ± i β†’ Ξ² i x : F Ξ± i fst✝ : IContainer.A (C F) i snd✝ : (y : IContainer.B (C F) i fst✝) β†’ Ξ± (IContainer.N (C F) i fst✝ y) ⊒ IFunct...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IContainer.Map_spec
[126, 1]
[129, 24]
cases x
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F i : I Ξ± Ξ² Ξ³ : I β†’ Type u₁ f : (i : I) β†’ Ξ² i β†’ Ξ³ i g : (i : I) β†’ Ξ± i β†’ Ξ² i x : Obj (IQPF.C F) Ξ± i ⊒ Map (fun i => f i ∘ g i) x = Map f (Map g x)
case mk I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F i : I Ξ± Ξ² Ξ³ : I β†’ Type u₁ f : (i : I) β†’ Ξ² i β†’ Ξ³ i g : (i : I) β†’ Ξ± i β†’ Ξ² i fst✝ : A (IQPF.C F) i snd✝ : (y : B (IQPF.C F) i fst✝) β†’ Ξ± (N (IQPF.C F) i fst✝ y) ⊒ Map (fun i => f i ∘ g i) { fst := fst✝, snd := snd✝ } = Map f (Map g { fst := fst✝, snd := snd✝...
Please generate a tactic in lean4 to solve the state. STATE: I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F i : I Ξ± Ξ² Ξ³ : I β†’ Type u₁ f : (i : I) β†’ Ξ² i β†’ Ξ³ i g : (i : I) β†’ Ξ± i β†’ Ξ² i x : Obj (IQPF.C F) Ξ± i ⊒ Map (fun i => f i ∘ g i) x = Map f (Map g x) TACTIC:
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IContainer.Map_spec
[126, 1]
[129, 24]
simp [IContainer.Map]
case mk I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F i : I Ξ± Ξ² Ξ³ : I β†’ Type u₁ f : (i : I) β†’ Ξ² i β†’ Ξ³ i g : (i : I) β†’ Ξ± i β†’ Ξ² i fst✝ : A (IQPF.C F) i snd✝ : (y : B (IQPF.C F) i fst✝) β†’ Ξ± (N (IQPF.C F) i fst✝ y) ⊒ Map (fun i => f i ∘ g i) { fst := fst✝, snd := snd✝ } = Map f (Map g { fst := fst✝, snd := snd✝...
no goals
Please generate a tactic in lean4 to solve the state. STATE: case mk I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F i : I Ξ± Ξ² Ξ³ : I β†’ Type u₁ f : (i : I) β†’ Ξ² i β†’ Ξ³ i g : (i : I) β†’ Ξ± i β†’ Ξ² i fst✝ : A (IQPF.C F) i snd✝ : (y : B (IQPF.C F) i fst✝) β†’ Ξ± (N (IQPF.C F) i fst✝ y) ⊒ Map (fun i => f i ∘ g i) { fst := ...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IQPF.M.bisim_lemma
[131, 1]
[183, 13]
intro i x
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F r : (i : I) β†’ M F i β†’ M F i β†’ Prop hβ‚€ : βˆ€ (i : I) (x : M F i), r i x x h₁ : βˆ€ (i : I) (x y : M F i), r i x y β†’ IFunctor.imap (fun i => Quot.mk (r i)) (destruct x) = IFunctor.imap (fun i => Quot.mk (r i)) (destruct y) ⊒ βˆ€ (i : I) (x y : M F i), r i x y β†’ x ...
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F r : (i : I) β†’ M F i β†’ M F i β†’ Prop hβ‚€ : βˆ€ (i : I) (x : M F i), r i x x h₁ : βˆ€ (i : I) (x y : M F i), r i x y β†’ IFunctor.imap (fun i => Quot.mk (r i)) (destruct x) = IFunctor.imap (fun i => Quot.mk (r i)) (destruct y) i : I x : M F i ⊒ βˆ€ (y : M F i), r i x ...
Please generate a tactic in lean4 to solve the state. STATE: I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F r : (i : I) β†’ M F i β†’ M F i β†’ Prop hβ‚€ : βˆ€ (i : I) (x : M F i), r i x x h₁ : βˆ€ (i : I) (x y : M F i), r i x y β†’ IFunctor.imap (fun i => Quot.mk (r i)) (destruct x) = IFunctor.imap (fun i => Quot.m...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IQPF.M.bisim_lemma
[131, 1]
[183, 13]
apply Quot.inductionOn (motive := _) x
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F r : (i : I) β†’ M F i β†’ M F i β†’ Prop hβ‚€ : βˆ€ (i : I) (x : M F i), r i x x h₁ : βˆ€ (i : I) (x y : M F i), r i x y β†’ IFunctor.imap (fun i => Quot.mk (r i)) (destruct x) = IFunctor.imap (fun i => Quot.mk (r i)) (destruct y) i : I x : M F i ⊒ βˆ€ (y : M F i), r i x ...
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F r : (i : I) β†’ M F i β†’ M F i β†’ Prop hβ‚€ : βˆ€ (i : I) (x : M F i), r i x x h₁ : βˆ€ (i : I) (x y : M F i), r i x y β†’ IFunctor.imap (fun i => Quot.mk (r i)) (destruct x) = IFunctor.imap (fun i => Quot.mk (r i)) (destruct y) i : I x : M F i ⊒ βˆ€ (a : IContainer.M (...
Please generate a tactic in lean4 to solve the state. STATE: I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F r : (i : I) β†’ M F i β†’ M F i β†’ Prop hβ‚€ : βˆ€ (i : I) (x : M F i), r i x x h₁ : βˆ€ (i : I) (x y : M F i), r i x y β†’ IFunctor.imap (fun i => Quot.mk (r i)) (destruct x) = IFunctor.imap (fun i => Quot.m...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IQPF.M.bisim_lemma
[131, 1]
[183, 13]
clear x
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F r : (i : I) β†’ M F i β†’ M F i β†’ Prop hβ‚€ : βˆ€ (i : I) (x : M F i), r i x x h₁ : βˆ€ (i : I) (x y : M F i), r i x y β†’ IFunctor.imap (fun i => Quot.mk (r i)) (destruct x) = IFunctor.imap (fun i => Quot.mk (r i)) (destruct y) i : I x : M F i ⊒ βˆ€ (a : IContainer.M (...
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F r : (i : I) β†’ M F i β†’ M F i β†’ Prop hβ‚€ : βˆ€ (i : I) (x : M F i), r i x x h₁ : βˆ€ (i : I) (x y : M F i), r i x y β†’ IFunctor.imap (fun i => Quot.mk (r i)) (destruct x) = IFunctor.imap (fun i => Quot.mk (r i)) (destruct y) i : I ⊒ βˆ€ (a : IContainer.M (C F) i) (y...
Please generate a tactic in lean4 to solve the state. STATE: I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F r : (i : I) β†’ M F i β†’ M F i β†’ Prop hβ‚€ : βˆ€ (i : I) (x : M F i), r i x x h₁ : βˆ€ (i : I) (x y : M F i), r i x y β†’ IFunctor.imap (fun i => Quot.mk (r i)) (destruct x) = IFunctor.imap (fun i => Quot.m...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IQPF.M.bisim_lemma
[131, 1]
[183, 13]
intro x y
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F r : (i : I) β†’ M F i β†’ M F i β†’ Prop hβ‚€ : βˆ€ (i : I) (x : M F i), r i x x h₁ : βˆ€ (i : I) (x y : M F i), r i x y β†’ IFunctor.imap (fun i => Quot.mk (r i)) (destruct x) = IFunctor.imap (fun i => Quot.mk (r i)) (destruct y) i : I ⊒ βˆ€ (a : IContainer.M (C F) i) (y...
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F r : (i : I) β†’ M F i β†’ M F i β†’ Prop hβ‚€ : βˆ€ (i : I) (x : M F i), r i x x h₁ : βˆ€ (i : I) (x y : M F i), r i x y β†’ IFunctor.imap (fun i => Quot.mk (r i)) (destruct x) = IFunctor.imap (fun i => Quot.mk (r i)) (destruct y) i : I x : IContainer.M (C F) i y : M F ...
Please generate a tactic in lean4 to solve the state. STATE: I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F r : (i : I) β†’ M F i β†’ M F i β†’ Prop hβ‚€ : βˆ€ (i : I) (x : M F i), r i x x h₁ : βˆ€ (i : I) (x y : M F i), r i x y β†’ IFunctor.imap (fun i => Quot.mk (r i)) (destruct x) = IFunctor.imap (fun i => Quot.m...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IQPF.M.bisim_lemma
[131, 1]
[183, 13]
apply Quot.inductionOn (motive := _) y
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F r : (i : I) β†’ M F i β†’ M F i β†’ Prop hβ‚€ : βˆ€ (i : I) (x : M F i), r i x x h₁ : βˆ€ (i : I) (x y : M F i), r i x y β†’ IFunctor.imap (fun i => Quot.mk (r i)) (destruct x) = IFunctor.imap (fun i => Quot.mk (r i)) (destruct y) i : I x : IContainer.M (C F) i y : M F ...
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F r : (i : I) β†’ M F i β†’ M F i β†’ Prop hβ‚€ : βˆ€ (i : I) (x : M F i), r i x x h₁ : βˆ€ (i : I) (x y : M F i), r i x y β†’ IFunctor.imap (fun i => Quot.mk (r i)) (destruct x) = IFunctor.imap (fun i => Quot.mk (r i)) (destruct y) i : I x : IContainer.M (C F) i y : M F ...
Please generate a tactic in lean4 to solve the state. STATE: I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F r : (i : I) β†’ M F i β†’ M F i β†’ Prop hβ‚€ : βˆ€ (i : I) (x : M F i), r i x x h₁ : βˆ€ (i : I) (x y : M F i), r i x y β†’ IFunctor.imap (fun i => Quot.mk (r i)) (destruct x) = IFunctor.imap (fun i => Quot.m...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IQPF.M.bisim_lemma
[131, 1]
[183, 13]
clear y
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F r : (i : I) β†’ M F i β†’ M F i β†’ Prop hβ‚€ : βˆ€ (i : I) (x : M F i), r i x x h₁ : βˆ€ (i : I) (x y : M F i), r i x y β†’ IFunctor.imap (fun i => Quot.mk (r i)) (destruct x) = IFunctor.imap (fun i => Quot.mk (r i)) (destruct y) i : I x : IContainer.M (C F) i y : M F ...
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F r : (i : I) β†’ M F i β†’ M F i β†’ Prop hβ‚€ : βˆ€ (i : I) (x : M F i), r i x x h₁ : βˆ€ (i : I) (x y : M F i), r i x y β†’ IFunctor.imap (fun i => Quot.mk (r i)) (destruct x) = IFunctor.imap (fun i => Quot.mk (r i)) (destruct y) i : I x : IContainer.M (C F) i ⊒ βˆ€ (a :...
Please generate a tactic in lean4 to solve the state. STATE: I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F r : (i : I) β†’ M F i β†’ M F i β†’ Prop hβ‚€ : βˆ€ (i : I) (x : M F i), r i x x h₁ : βˆ€ (i : I) (x y : M F i), r i x y β†’ IFunctor.imap (fun i => Quot.mk (r i)) (destruct x) = IFunctor.imap (fun i => Quot.m...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IQPF.M.bisim_lemma
[131, 1]
[183, 13]
intro y hβ‚‚
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F r : (i : I) β†’ M F i β†’ M F i β†’ Prop hβ‚€ : βˆ€ (i : I) (x : M F i), r i x x h₁ : βˆ€ (i : I) (x y : M F i), r i x y β†’ IFunctor.imap (fun i => Quot.mk (r i)) (destruct x) = IFunctor.imap (fun i => Quot.mk (r i)) (destruct y) i : I x : IContainer.M (C F) i ⊒ βˆ€ (a :...
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F r : (i : I) β†’ M F i β†’ M F i β†’ Prop hβ‚€ : βˆ€ (i : I) (x : M F i), r i x x h₁ : βˆ€ (i : I) (x y : M F i), r i x y β†’ IFunctor.imap (fun i => Quot.mk (r i)) (destruct x) = IFunctor.imap (fun i => Quot.mk (r i)) (destruct y) i : I x y : IContainer.M (C F) i hβ‚‚ : r...
Please generate a tactic in lean4 to solve the state. STATE: I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F r : (i : I) β†’ M F i β†’ M F i β†’ Prop hβ‚€ : βˆ€ (i : I) (x : M F i), r i x x h₁ : βˆ€ (i : I) (x y : M F i), r i x y β†’ IFunctor.imap (fun i => Quot.mk (r i)) (destruct x) = IFunctor.imap (fun i => Quot.m...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IQPF.M.bisim_lemma
[131, 1]
[183, 13]
apply Quot.sound
I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F r : (i : I) β†’ M F i β†’ M F i β†’ Prop hβ‚€ : βˆ€ (i : I) (x : M F i), r i x x h₁ : βˆ€ (i : I) (x y : M F i), r i x y β†’ IFunctor.imap (fun i => Quot.mk (r i)) (destruct x) = IFunctor.imap (fun i => Quot.mk (r i)) (destruct y) i : I x y : IContainer.M (C F) i hβ‚‚ : r...
case a I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F r : (i : I) β†’ M F i β†’ M F i β†’ Prop hβ‚€ : βˆ€ (i : I) (x : M F i), r i x x h₁ : βˆ€ (i : I) (x y : M F i), r i x y β†’ IFunctor.imap (fun i => Quot.mk (r i)) (destruct x) = IFunctor.imap (fun i => Quot.mk (r i)) (destruct y) i : I x y : IContainer.M (C F) i...
Please generate a tactic in lean4 to solve the state. STATE: I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F r : (i : I) β†’ M F i β†’ M F i β†’ Prop hβ‚€ : βˆ€ (i : I) (x : M F i), r i x x h₁ : βˆ€ (i : I) (x y : M F i), r i x y β†’ IFunctor.imap (fun i => Quot.mk (r i)) (destruct x) = IFunctor.imap (fun i => Quot.m...
https://github.com/RemyCiterin/LeanCoInd.git
69d305ae769624f460f9c1ee6a0351917f4b74cf
CoInd/QPF/MIdx.lean
IQPF.M.bisim_lemma
[131, 1]
[183, 13]
let r' i x y := r i (Quot.mk _ x) (Quot.mk _ y)
case a I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F r : (i : I) β†’ M F i β†’ M F i β†’ Prop hβ‚€ : βˆ€ (i : I) (x : M F i), r i x x h₁ : βˆ€ (i : I) (x y : M F i), r i x y β†’ IFunctor.imap (fun i => Quot.mk (r i)) (destruct x) = IFunctor.imap (fun i => Quot.mk (r i)) (destruct y) i : I x y : IContainer.M (C F) i...
case a I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F r : (i : I) β†’ M F i β†’ M F i β†’ Prop hβ‚€ : βˆ€ (i : I) (x : M F i), r i x x h₁ : βˆ€ (i : I) (x y : M F i), r i x y β†’ IFunctor.imap (fun i => Quot.mk (r i)) (destruct x) = IFunctor.imap (fun i => Quot.mk (r i)) (destruct y) i : I x y : IContainer.M (C F) i...
Please generate a tactic in lean4 to solve the state. STATE: case a I : Type u₁ F : (I β†’ Type u₁) β†’ I β†’ Type u₁ inst : IQPF F r : (i : I) β†’ M F i β†’ M F i β†’ Prop hβ‚€ : βˆ€ (i : I) (x : M F i), r i x x h₁ : βˆ€ (i : I) (x y : M F i), r i x y β†’ IFunctor.imap (fun i => Quot.mk (r i)) (destruct x) = IFunctor.imap (fun i =>...