File "./output/bug_13942.v", line 102, characters 2-34:
The command has indeed failed with message:
The following term contains unresolved implicit arguments:
  (fi fu)
More precisely: 
- ?A: Cannot infer the implicit parameter A of fi whose type is 
  "Type" in
  environment:
  K : Type
  M : Type -> Type
  H : FMap K M
  A : Type
  B : Type
  i : Union (M A)
  i' : Union (M B)
  fi' : Insert K B (M B)
- ?hi: Cannot infer the implicit parameter hi of fi whose type is
  "Insert K ?A (M ?A)" (no type class instance found) in
  environment:
  K : Type
  M : Type -> Type
  H : FMap K M
  A : Type
  B : Type
  i : Union (M A)
  i' : Union (M B)
  fi' : Insert K B (M B)
- ?hu: Cannot infer the implicit parameter hu of fu whose type is
  "Union (M ?A)" (no type class instance found) in
  environment:
  K : Type
  M : Type -> Type
  H : FMap K M
  A : Type
  B : Type
  i : Union (M A)
  i' : Union (M B)
  fi' : Insert K B (M B)
File "./output/bug_13942.v", line 106, characters 2-39:
The command has indeed failed with message:
The following term contains unresolved implicit arguments:
  (fi fu)
More precisely: 
- ?hi: Cannot infer the implicit parameter hi of fi whose type is
  "Insert K A (M A)" (no type class instance found) in
  environment:
  K : Type
  M : Type -> Type
  H : FMap K M
  A : Type
  B : Type
  i : Union (M A)
  i' : Union (M B)
  fi' : Insert K B (M B)
File "./output/bug_13942.v", line 120, characters 2-34:
The command has indeed failed with message:
The following term contains unresolved implicit arguments:
  (fi fu)
More precisely: 
- ?A: Cannot infer the implicit parameter A of fi whose type is 
  "Type" in
  environment:
  K : Type
  M : Type -> Type
  H : FMap K M
  A : Type
  B : Type
  i' : Union (M B)
  fi' : Insert K B (M B)
  i : Union (M A)
- ?hi: Cannot infer the implicit parameter hi of fi whose type is
  "Insert K ?A (M ?A)" (no type class instance found) in
  environment:
  K : Type
  M : Type -> Type
  H : FMap K M
  A : Type
  B : Type
  i' : Union (M B)
  fi' : Insert K B (M B)
  i : Union (M A)
- ?hu: Cannot infer the implicit parameter hu of fu whose type is
  "Union (M ?A)" (no type class instance found) in
  environment:
  K : Type
  M : Type -> Type
  H : FMap K M
  A : Type
  B : Type
  i' : Union (M B)
  fi' : Insert K B (M B)
  i : Union (M A)
File "./output/bug_13942.v", line 124, characters 2-40:
The command has indeed failed with message:
The following term contains unresolved implicit arguments:
  (fi fu)
More precisely: 
- ?hi: Cannot infer the implicit parameter hi of fi whose type is
  "Insert K A (M A)" (no type class instance found) in
  environment:
  K : Type
  M : Type -> Type
  H : FMap K M
  A : Type
  B : Type
  i' : Union (M B)
  fi' : Insert K B (M B)
  i : Union (M A)
File "./output/bug_13942.v", line 140, characters 2-20:
The command has indeed failed with message:
In environment:
K : Type
M : Type -> Type
H : FMap K M
A : Type
B : Type
ifalse : Choose false -> Union (M B)
itrue : Choose true -> Union (M B)
ib : Insert K B (M B)
i : Choose false -> Union (M A)
Could not find an instance for the following existential variables:
?hi : Insert K ?A (M ?A)

?hu : Union (M ?A)
File "./output/bug_13942.v", line 145, characters 16-18:
The command has indeed failed with message:
Could not find an instance for "Union (M B)" in
environment:
K : Type
M : Type -> Type
H : FMap K M
A : Type
B : Type
ifalse : Choose false -> Union (M B)
itrue : Choose true -> Union (M B)
ib : Insert K B (M B)
i : Choose false -> Union (M A)

fi fu : B
     : B
File "./output/bug_13942.v", line 307, characters 20-31:
The command has indeed failed with message:
Could not find an instance for "Insert K K (M A)" in
environment:
K : Type
M : Type → Type
H : FMap M
H0 : ∀ A : Type, Lookup K A (M A)
Empty : Type → Type
H1 : ∀ A : Type, Empty (M A)
H2 : ∀ A : Type, PartialAlter K A (M A)
OMap : (Type → Type) → Type
OMap0 : OMap M
H3 : Merge M
H4 : ∀ A : Type, FinMapToList K A (M A)
EqDecision : Type → Type
EqDecision0 : EqDecision K
H5 : FinMap K M
A : Type
m1, m2 : M A
i : K
x : A

