Skip to content

Commit 4e37cf4

Browse files
committed
Fix the spelling of quantifier
1 parent 6f2d647 commit 4e37cf4

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

source/air/src/profiler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ impl Profiler {
9595
let instantiation_graph =
9696
compute_instantiation_graph.then(|| Self::make_instantiation_graph(&model));
9797

98-
// Analyze the quantifer costs
98+
// Analyze the quantifier costs
9999
let quant_costs = model.quant_costs();
100100
let mut user_quant_costs = quant_costs
101101
.into_iter()

source/rust_verify_test/tests/summer_school.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ fn e13_pass() {
504504

505505
proof fn forall_lemma() {
506506
// NB: The original version here fails with:
507-
// "Could not automatically infer triggers for this quantifer."
507+
// "Could not automatically infer triggers for this quantifier."
508508
// We decided that this use case -- a forall that can be proven but
509509
// never used (in any reasonable setting because no way is Chris
510510
// gonna trigger on '+'!) -- is extremely rare. Relevant in teaching,
@@ -793,7 +793,7 @@ test_verify_one_file_with_options! {
793793
reveal_with_fuel(fibo, 11);
794794
}
795795

796-
// TODO(chris): "Could not automatically infer triggers for this quantifer." but there's fibo
796+
// TODO(chris): "Could not automatically infer triggers for this quantifier." but there's fibo
797797
// RIGHT THERE! Error should say "matching loop" instead.
798798
// assume(forall(|i:nat| fibo(i) < fibo(i+1)));
799799

source/vir/src/triggers_auto.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ pub(crate) fn build_triggers(
804804
} else {
805805
Err(error(
806806
span,
807-
"Could not automatically infer triggers for this quantifer. Use #[trigger] annotations to manually mark trigger terms instead.",
807+
"Could not automatically infer triggers for this quantifier. Use #[trigger] annotations to manually mark trigger terms instead.",
808808
))
809809
}
810810
}

0 commit comments

Comments
 (0)