Zulip Chat Archive

Stream: maths

Topic: Easy simplification of linear equation


Anirudh Suresh (Mar 30 2025 at 16:39):

import Mathlib
open scoped Matrix


theorem ha (a b c d:) (m00 m01 m10 m11:Matrix (Fin (4)) (Fin (1)) ) : (4:)  a  (2:)⁻¹  (2:)⁻¹  m00 +
    ((4:)  b  (2:)⁻¹  (2:)⁻¹  m01 + ((4:)  c  (2:)⁻¹  (2:)⁻¹  m11 + (4:)  d  (2:)⁻¹  (2:)⁻¹  m10)) =
  a  m00 + (b  m01 + (c  m11 + d  m10)):= by {

  }

Is there some way in Lean where we can directly prove linear equations like this easily without using a bunch of rewrites?

Bhavik Mehta (Mar 30 2025 at 17:34):

Yes, use module


Last updated: May 02 2025 at 03:31 UTC