blob: 565c9a33dc4b914f0f8a7b1fc57ca5b29ab0447a [file]
structure A where
a : Nat
structure B extends A where
b : Nat
w : a = b
def x : A where a := 37
@[simp] theorem x_a : x.a = 37 := rfl
def y : B := { x with b := 37, w := by simp }