lean2/tests/lean/559.lean
2015-04-24 15:09:23 -07:00

12 lines
278 B
Text

import algebra.ordered_field
open algebra
section sequence_c
parameter Q : Type
parameter lof_Q : linear_ordered_field Q
definition to_lof [instance] : linear_ordered_field Q := lof_Q
include to_lof
theorem foo (a b : Q) : a + b = b + a := !add.comm
end sequence_c