Zulip Chat Archive

Stream: new members

Topic: teaching module about charP


Yakov Pechersky (Feb 27 2025 at 17:12):

Would it be possible to extend the module tactic to know about char p rings? Example:

import Mathlib

lemma foo (a k : ZMod 2) : a - k + a = k := by
  have : (2 : ZMod 2) = 0 := rfl
  success_if_fail_with_msg "ring failed, ring expressions not equal
a k : ZMod 2
this : 2 = 0
⊢ 2 = 0" module
  sorry

Last updated: May 02 2025 at 03:31 UTC