Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Betrothed numbers · IsBetrothed.symm

Source:Wikipedia lists of open problems
Sanity test Checks that the formal definitions behave as intended. First verified proof: +1 points.
Statement:reviewed
Statement:

IsBetrothed is symmetric.

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.07659 [math.NT] · NS.07659v1 for this version
Declaration:BetrothedNumbers.IsBetrothed.symm
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 1; accepted critique: up to 100
Statement hash:7a360f41fc2c13289cdca3f3a5c775c2421cc71d042eddb26ab126bd47956f35
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/Wikipedia/BetrothedNumbers.lean

Formal statement

theorem IsBetrothed.symm {m n : ℕ} (h : IsBetrothed m n) : IsBetrothed n m
Show the full Challenge.lean (82 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Betrothed numbers

*References:*
- [Wikipedia](https://en.wikipedia.org/wiki/Betrothed_numbers)
- [OEIS A005276](https://oeis.org/A005276)
-/

@[expose] public section

namespace BetrothedNumbers

open scoped ArithmeticFunction.sigma

/--
Two natural numbers $m$ and $n$ are **betrothed**  (or quasi-amicable) if $\sigma(m) = \sigma(n) = m + n + 1$,
where $\sigma$ is the sum-of-divisors function. Equivalently, the sum of the proper divisors
of $m$ equals $n + 1$, and the sum of the proper divisors of $n$ equals $m + 1$.
-/
@[mk_iff]
structure IsBetrothed (m n : ℕ) : Prop where
  left : σ 1 m = m + n + 1
  right : σ 1 n = m + n + 1

/-- The smallest known betrothed pair $(48, 75)$. -/
@[category test, AMS 11]
theorem betrothed_48_75 : IsBetrothed 48 75 := by
  constructor <;> decide

/-- `IsBetrothed` is symmetric. -/
@[category test, AMS 11]
theorem IsBetrothed.symm {m n : ℕ} (h : IsBetrothed m n) : IsBetrothed n m := by
  rw [isBetrothed_iff] at *
  omega

/--
**Same parity betrothed numbers conjecture.**
Do there exist betrothed numbers $(m, n)$ where both have the same parity
(both even or both odd)?

All known betrothed pairs consist of one even and one odd number.

The requirement $m \neq n$ is part of the question: $\mathrm{IsBetrothed}\ n\ n$ says
$\sigma(n) = 2n + 1$, i.e. that $n$ is quasiperfect, which is the separate open problem
`QuasiperfectNumbers.exists_quasiperfect`.
-/
@[category research open, question, AMS 11]
theorem same_parity_betrothed :
    ∃ m n : ℕ, m ≠ n ∧ IsBetrothed m n ∧ (Even m ↔ Even n) := by
  sorry

/--
**Infinitude of betrothed numbers conjecture.**
Are there infinitely many betrothed number pairs?

-/
@[category research open, question, AMS 11]
theorem infinitely_many_betrothed :
    {p : ℕ × ℕ | p.1 < p.2 ∧ IsBetrothed p.1 p.2}.Infinite := by
  sorry

end BetrothedNumbers

To prove it: keep every definition of Challenge.lean unchanged and prove BetrothedNumbers.IsBetrothed.symm with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_symm : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry desk wikipedia-betrothednumbers--isbetrothed-symm      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch wikipedia-betrothednumbers--isbetrothed-symm
nosorry submit wikipedia-betrothednumbers--isbetrothed-symm nosorry/wikipedia-betrothednumbers--isbetrothed-symm/Solution.lean --wait

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.