Congruences_on_Rational_Numbers
Provedcongruence-relationsproofwikirational-numbers
There are only two congruence relations on the field of rational numbers The diagonal relation The trivial relation .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem Congruences_on_Rational_Numbers (r : Setoid ℚ) (hmul : ∀ a b c d : ℚ, r.r a b → r.r c d → r.r (a * c) (b * d)) (hadd : ∀ a b c d : ℚ, r.r a b → r.r c d → r.r (a + c) (b + d)) : (∀ a b : ℚ, r.r a b) ∨ (∀ a b : ℚ, r.r a b → a = b) := by sorry
Source