Cic.Appl [
Cic.MutInd (HelmLibraryObjects.Logic.eq_URI, 0, []);
Cic.Implicit (Some `Type); t1; t2
- ]));
- DisambiguateChoices.add_symbol_choice "eq"
- ("equality over objects with sort Type",
- (fun interp _ args ->
- let t1, t2 =
- match args with
- | [t1; t2] -> t1, t2
- | _ -> raise DisambiguateChoices.Invalid_choice
- in
- Cic.Appl [
- Cic.MutInd (HelmLibraryObjects.Logic.eq_URI, 0, []);
- Cic.Implicit (Some `Type); t1; t2
- ]));
DisambiguateChoices.add_binary_op "and" "logical and"
(mutind HelmLibraryObjects.Logic.and_URI);
DisambiguateChoices.add_binary_op "or" "logical or"