Zulip Chat Archive

Stream: mathlib4

Topic: ModEq notation borked after bump


Kevin Buzzard (May 10 2024 at 12:22):

This is presumably a result of the nodot change:

import Mathlib.Data.Nat.ModEq

#check 1  2 [MOD 3] -- 1 ≡ 2 [MOD 3] : Prop

variable (a b c : ) in
#check a  b [MOD c] -- c.ModEq a b : Prop

(I'm sorry, I don't have a clue how to fix it, I'm just reporting)

Ruben Van de Velde (May 10 2024 at 12:24):

I suspect that will be fixed by changes that are in flight

Kevin Buzzard (May 10 2024 at 12:24):

I was proving ZHat lemmas :-)

Kyle Miller (May 10 2024 at 15:05):

In the meantime, you can turn off dot notation with set_option pp.fieldNotation.generalized false

Kyle Miller (May 10 2024 at 15:05):

(the official name for dot notation is "generalized field notation")

Kyle Miller (May 10 2024 at 15:06):

There's already a fix for this in what will be Lean 4.8.0-rc2 though


Last updated: May 02 2025 at 03:31 UTC