FormalConjectures/OEIS/62567.lean

GitHub source file

Explanation legend Lean4 Domain Explanation Language (L4DEL)

L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.

L4DEL
Lean4 Domain Explanation Language

Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.

Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1

10 declarations, 1 contain sorry, 0 declared as axioms

Reversible multiples $a(3^n) = 10^{3^{n-2}} - 1$ for powers of $3$

First multiple of $n$ whose reverse is also divisible by $n$, or 0 if no such multiple exists.

References:

Imports (1)
  1. def OeisA62567.reverseNat The number whose digits in base 10 are $n$'s digits reversed line 39 source

    Source documentation

    The number whose digits in base 10 are $n$'s digits reversed.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat

    Proof uses: Nat.ofDigits, OfNat.ofNat, List.reverse, Nat.digits

    2 instances, coercions and auxiliary constants left out.

    def reverseNat (k : ℕ) : ℕ :=
    …
  2. def OeisA62567.a First multiple of $n$ whose reverse is also divisible by $n$, or 0 if no such multiple exists line 47 source

    Source documentation

    First multiple of $n$ whose reverse is also divisible by $n$, or 0 if no such multiple exists.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat

    Proof uses: ite, Eq, OfNat.ofNat, And, GT.gt, Dvd.dvd, OeisA62567.reverseNat, HMul.hMul, dite, Exists, Classical.propDecidable, Nat.find, Not

    9 instances, coercions and auxiliary constants left out.

    noncomputable def a (n : ℕ) : ℕ :=
    …
  3. lemma OeisA62567.a_eq_self line 64 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat, GT.gt, OfNat.ofNat, Dvd.dvd, OeisA62567.reverseNat, Eq, OeisA62567.a

    Proof uses: id, Eq.mpr, ite, And, HMul.hMul, dite, Exists, Classical.propDecidable, Nat.find, Not, congrArg, if_neg, Exists.intro, And.intro, Decidable.byContradiction, one_mul, dif_pos, LT.lt, propext, Nat.find_eq_iff and 17 more

    30 instances, coercions and auxiliary constants left out.

    Tactic trace: 19 steps

    Open to load the checked before-and-after goal states.

  4. lemma OeisA62567.reverseNat_of_lt line 79 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat, Ne, OfNat.ofNat, LT.lt, Eq, OeisA62567.reverseNat

    Proof uses: id, Eq.mpr, Nat.ofDigits, List.reverse, Nat.digits, List.cons, List.nil, congrArg, List, Nat.digits_of_lt, Eq.refl

    5 instances, coercions and auxiliary constants left out.

    Tactic trace: 3 steps

    Open to load the checked before-and-after goal states.

  5. lemma OeisA62567.a_1 line 85 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Eq, Nat, OeisA62567.a, OfNat.ofNat

    Proof uses: OeisA62567.a_eq_self, Decidable.byContradiction, GT.gt, Not, Eq.mpr, Dvd.dvd, OeisA62567.reverseNat, id, congrArg, OeisA62567.reverseNat_of_lt, of_decide_eq_true, Ne, Bool, Decidable.decide, Bool.true, Eq.refl, LT.lt, dvd_refl

    9 instances, coercions and auxiliary constants left out.

    Tactic trace: 5 steps

    Open to load the checked before-and-after goal states.

  6. lemma OeisA62567.a_2 line 89 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Eq, Nat, OeisA62567.a, OfNat.ofNat

    Proof uses: OeisA62567.a_eq_self, Decidable.byContradiction, GT.gt, Not, Eq.mpr, Dvd.dvd, OeisA62567.reverseNat, id, congrArg, OeisA62567.reverseNat_of_lt, of_decide_eq_true, Ne, Bool, Decidable.decide, Bool.true, Eq.refl, LT.lt, dvd_refl

    9 instances, coercions and auxiliary constants left out.

    Tactic trace: 5 steps

    Open to load the checked before-and-after goal states.

  7. lemma OeisA62567.a_3 line 93 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Eq, Nat, OeisA62567.a, OfNat.ofNat

    Proof uses: OeisA62567.a_eq_self, Decidable.byContradiction, GT.gt, Not, Eq.mpr, Dvd.dvd, OeisA62567.reverseNat, id, congrArg, OeisA62567.reverseNat_of_lt, of_decide_eq_true, Ne, Bool, Decidable.decide, Bool.true, Eq.refl, LT.lt, dvd_refl

    9 instances, coercions and auxiliary constants left out.

    Tactic trace: 5 steps

    Open to load the checked before-and-after goal states.

  8. lemma OeisA62567.a_4 line 97 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Eq, Nat, OeisA62567.a, OfNat.ofNat

    Proof uses: OeisA62567.a_eq_self, Decidable.byContradiction, GT.gt, Not, Eq.mpr, Dvd.dvd, OeisA62567.reverseNat, id, congrArg, OeisA62567.reverseNat_of_lt, of_decide_eq_true, Ne, Bool, Decidable.decide, Bool.true, Eq.refl, LT.lt, dvd_refl

    9 instances, coercions and auxiliary constants left out.

    Tactic trace: 5 steps

    Open to load the checked before-and-after goal states.

  9. lemma OeisA62567.a_5 line 101 source

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Eq, Nat, OeisA62567.a, OfNat.ofNat

    Proof uses: OeisA62567.a_eq_self, Decidable.byContradiction, GT.gt, Not, Eq.mpr, Dvd.dvd, OeisA62567.reverseNat, id, congrArg, OeisA62567.reverseNat_of_lt, of_decide_eq_true, Ne, Bool, Decidable.decide, Bool.true, Eq.refl, LT.lt, dvd_refl

    9 instances, coercions and auxiliary constants left out.

    Tactic trace: 5 steps

    Open to load the checked before-and-after goal states.

  10. theorem OeisA62567.a_three_pow_eq sorry line 115 source

    depends on sorry what this means

    Statement uses: Nat, LE.le, OfNat.ofNat, Iff, Eq, OeisA62567.a, HPow.hPow, HSub.hSub, Or

    Proof uses: sorryAx, Lean.Name, Bool.false, Lean.Name.num, Lean.Name.str, Lean.Name.anonymous

    16 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

    Open to load the checked before-and-after goal states.