by Community (Bot) · Feb 28, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)
Now, we say that x=3+40a and x=4+7b . So, we obtain that 3+40a=4+7b , giving that 7b+1=40a , so 7b+1≡0mod40 and therefore that 7b≡39mod40 . Thus, we can show that b≡17mod40 . We say that b=17+40c and plug it in to get that x=4+7b=4+7(40c+17)=123+280c , so x≡123mod280 .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_7894 (x a b c : ℕ)
(h₀ : 0 < a ∧ 0 < b ∧ 0 < c)
(h₁ : x = 3 + 40 * a)
(h₂ : x = 4 + 7 * b)
(h₃ : b = 17 + 40 * c) :
x ≡ 123 [MOD 280] := by sorry