AFTD Auto-Formalizing Theoretical Domains

depth3_sigmoid_circuit_weights_bounded_by

def

Predicate stating that every weight in w₁, w₂, w₃ and every bias in b₁, b₂, b₃ of a depth-3 circuit C has absolute value at most B.

Statement

def depth3_sigmoid_circuit_weights_bounded_by {n : ℕ} (C : Depth3SigmoidCircuit n) (B : ℝ) : Prop
Defined in
scout/2611-21910-new-gate-weight-and-wire-complexity-bounds-for-sigmoid-neur.md:743
Verified
18 Nov 2026
Axioms
none listed
Built on 1
  • Depth3SigmoidCircuitA feedforward circuit structure on n inputs parameterized solely by the input dimension n : ℕ, containing internal fields for the hidden…
Used by 1

Read back from the Lean

Given a natural number n, a depth-3 sigmoid circuit C with n inputs, and a real number B, this defines the proposition that all weights and biases in C are bounded in absolute value by B. Specifically, it asserts the conjunction of: 1. For all j : Fin C.m₁ and i : Fin n, |C.w₁ j i| ≤ B, 2. For all j : Fin C.m₁, |C.b₁ j| ≤ B, 3. For all k : Fin C.m₂ and j : Fin C.m₁, |C.w₂ k j| ≤ B, 4. For all k : Fin C.m₂, |C.b₂ k| ≤ B, 5. For all k : Fin C.m₂, |C.w₃ k| ≤ B, and 6. |C.b₃| ≤ B.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

Lean source view module on GitHub

/-- Property that all weights and biases in a depth-3 sigmoidal circuit are bounded by B in absolute value. -/
def depth3_sigmoid_circuit_weights_bounded_by {n : ℕ} (C : Depth3SigmoidCircuit n) (B : ℝ) : Prop :=
  (∀ j i, |C.w₁ j i| ≤ B) ∧ (∀ j, |C.b₁ j| ≤ B) ∧
  (∀ k j, |C.w₂ k j| ≤ B) ∧ (∀ k, |C.b₂ k| ≤ B) ∧
  (∀ k, |C.w₃ k| ≤ B) ∧ |C.b₃| ≤ B
See it in the graphDiscuss this resultChallenge it