File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ variable {R M A} [Semiring R] [Monoid M] [AddMonoid A]
44section Notation
55open scoped MonoidAlgebra AddMonoidAlgebra
66
7- set_option pp.mvars false
7+ set_option pp.mvars.anonymous false
88-- TODO: could resolve ambiguity based on Monoid / AddMonoid
99/--
1010error: Ambiguous term
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ section delaborator
1010#guard_msgs in
1111#check !₂[1 , 2 , 3 ]
1212
13- set_option pp.mvars false in
13+ set_option pp.mvars.anonymous false in
1414/-- info: !₀[] : WithLp 0 (Fin 0 → ?_) -/
1515#guard_msgs in
1616#check !₀[]
Original file line number Diff line number Diff line change 55
66import Mathlib
77
8- set_option pp.mvars false
8+ set_option pp.mvars.anonymous false
99
1010-- We first verify that there is no global coercion from `Nat` to `Fin n`.
1111-- Such a coercion would frequently introduce unexpected modular arithmetic.
Original file line number Diff line number Diff line change 11import Mathlib.Util.PrintSorries
22
3- set_option pp.mvars false
3+ set_option pp.mvars.anonymous false
44
55/-!
66Direct use of `sorry`
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ h : R (2 • myId x) (2 • myId x)
179179⊢ True
180180-/
181181#guard_msgs (trace) in
182- set_option pp.mvars false in
182+ set_option pp.mvars.anonymous false in
183183example (x : ℤ) (R : ℤ → ℤ → Prop ) (hR : Reflexive R) : True := by
184184 have h : R (myId x + x) (x + myId x) := hR ..
185185 abel_nf at h
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ example : 1 = Nat.log2 4 → False := by
154154 test "/0/1/1"
155155 exact test_sorry
156156
157- set_option pp.mvars false in
157+ set_option pp.mvars.anonymous false in
158158/--
159159info: `conv?` would output:
160160conv =>
Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ open Nat' (γ) in
194194#guard_msgs in #check testsub(ᵧ ₙ)
195195
196196/- The delaborator should reject metavariables. -/
197- set_option pp.mvars false in
197+ set_option pp.mvars.anonymous false in
198198/-- info: checkSubscript ?_ : Unit -/
199199#guard_msgs in #check checkSubscript ?_
200200
You can’t perform that action at this time.
0 commit comments