Download proof/networks/Paper/SecLevel_Recursion.lean from cfahlgren1/lean-anthropic-eth: direct link, hf CLI and curl.
- Browser
- Download file 1.61 kB
-
https://huggingface.co/datasets/cfahlgren1/lean-anthropic-eth/resolve/main/proof/networks/Paper/SecLevel_Recursion.lean
- Command line
-
hf download hf://datasets/cfahlgren1/lean-anthropic-eth/proof/networks/Paper/SecLevel_Recursion.lean
-
curl -L -o SecLevel_Recursion.lean https://huggingface.co/datasets/cfahlgren1/lean-anthropic-eth/resolve/main/proof/networks/Paper/SecLevel_Recursion.lean
1.61 kB
| /- | |
| Copyright (c) 2026 Anthropic, PBC. All rights reserved. | |
| Released under Apache 2.0 license as described in the file LICENSE. | |
| SPDX-License-Identifier: Apache-2.0 | |
| -/ | |
| module | |
| public import Paper.SecNetworks_Networks | |
| public import Paper.SecLevel_Grid | |
| public import StepMachines.Prog.GridLoop | |
| public import StepMachines.Prog.SidePresents | |
| public import ToTuring.Poly.GridSide | |
| public import NetworkStatements | |
| public import Mathlib.Algebra.Polynomial.Coeff | |
| /-! # Section 5 of the paper: two facts on e*, the infimum defined after Definition 4, from the last paragraph of the proof of Proposition 3 | |
| If e > e*, then (K, e) is achievable for infinitely many K; and if (K, e) is achievable for | |
| infinitely many K, then e* ≤ e. -/ | |
| public section | |
| namespace Paper | |
| open Groundwork Groundwork.Prog | |
| /-! ### e*, as in the last paragraph of the proof of Proposition 3 -/ | |
| /-- "Let e > e*; then (K, e) is achievable for infinitely many K." -/ | |
| theorem achievable_of_eStar_lt {e : ℝ} (he : eStar < e) (K₀ : ℕ) : ∃ K, K₀ ≤ K ∧ Achievable K e := by | |
| obtain ⟨e₀, ⟨-, h⟩, hlt⟩ := exists_lt_of_csInf_lt | |
| (s := {e : ℝ | 0 ≤ e ∧ ∀ K₀ : ℕ, ∃ K, K₀ ≤ K ∧ Achievable K e}) | |
| ⟨1 / 2, by norm_num, fun K₀ => ⟨K₀, le_rfl, achievable_half K₀⟩⟩ he | |
| obtain ⟨K, hK, hA⟩ := h K₀ | |
| exact ⟨K, hK, hA.mono hlt.le⟩ | |
| /-- If (K, e) is achievable for infinitely many K, then e* ≤ e. -/ | |
| theorem eStar_le {e : ℝ} (h0 : 0 ≤ e) (h : ∀ K₀ : ℕ, ∃ K, K₀ ≤ K ∧ Achievable K e) : eStar ≤ e := | |
| csInf_le ⟨0, fun _ he => he.1⟩ ⟨h0, h⟩ | |
| end Paper | |