{"step":"L-meta-1683","role":"counterexample discovery","strategy":"search under symmetry","claim":"checked","target":"lemma","lean_path":"lean/PEqualNP/Outside/L_meta_1683_or_network.lean","lean_text":"import PEqualNP.Defs\nimport Mathlib.Tactic\n\nnamespace PEqualNP.Outside.L_meta_1683_or_network\n\nabbrev inc (p w : Fin 13) : Prop :=\n  ∃ d ∈ ({0, 1, 3, 9} : Finset (Fin 13)), p = w + d\n\ndef line (w : Fin 13) : Finset (Fin 13) :=\n  Finset.univ.filter fun p => inc p w\n\nset_option maxRecDepth 100000 in\nset_option maxHeartbeats 0 in\nlemma line_card : ∀ w : Fin 13, (line w).card = 4 := by\n  decide\n\nset_option maxRecDepth 100000 in\nset_option maxHeartbeats 0 in\nlemma intersection_card : ∀ w v : Fin 13, w ≠ v → (line w ∩ line v).card = 1 := by\n  decide\n\nlemma no_shared_pair (T : Finset (Fin 13)) (hT : 2 ≤ T.card) (w v : Fin 13)\n    (hw : T ⊆ line w) (hv : T ⊆ line v) : w = v := by\n  by_contra h\n  have hc := Finset.card_le_card (Finset.subset_inter hw hv)\n  rw [intersection_card w v h] at hc\n  omega\n\nlemma shift_inc (p w t : Fin 13) : inc (p + t) (w + t) ↔ inc p w := by\n  constructor\n  · rintro ⟨d, hd, h⟩\n    refine ⟨d, hd, ?_⟩\n    rw [add_assoc, add_comm t d, ← add_assoc] at h\n    exact add_right_cancel h\n  · rintro ⟨d, hd, rfl⟩\n    exact ⟨d, hd, by ac_rfl⟩\n\n\ndef initial : List (Finset (Fin 13)) := List.ofFn fun i : Fin 13 => {i}\n\ndef combined (L : List (Finset (Fin 13))) (ab : ℕ × ℕ) : Finset (Fin 13) :=\n  L.getD ab.1 ∅ ∪ L.getD ab.2 ∅\n\ndef bump (S T : Finset (Fin 13)) : ℕ := if 2 ≤ T.card ∧ T ⊆ S then 1 else 0\n\ndef Cnt (S : Finset (Fin 13)) (t : ℕ) (L : List (Finset (Fin 13))) : Prop :=\n  ∀ W : Finset ℕ, (∀ j ∈ W, L.getD j ∅ ⊆ S) →\n    (W.biUnion fun j => L.getD j ∅).card ≤ t + W.card\n\nlemma getD_snoc_ne {α : Type} (L : List α) (s d : α) (j : ℕ) (h : j ≠ L.length) :\n    (L ++ [s]).getD j d = L.getD j d := by\n  by_cases hj : j < L.length\n  · exact List.getD_append _ _ _ _ hj\n  · rw [List.getD_eq_default _ _ (by simp; omega), List.getD_eq_default _ _ (by omega)]\n\nlemma getD_snoc_eq {α : Type} (L : List α) (s d : α) :\n    (L ++ [s]).getD L.length d = s := by simp\n\nlemma cnt_initial (S : Finset (Fin 13)) : Cnt S 0 initial := by\n  intro W _\n  refine le_trans Finset.card_biUnion_le ?_\n  rw [zero_add, Finset.card_eq_sum_ones]\n  apply Finset.sum_le_sum\n  intro j _\n  by_cases hj : j < 13\n  · change ((List.ofFn fun i : Fin 13 => ({i} : Finset (Fin 13))).getD j ∅).card ≤ 1\n    rw [List.getD_eq_getElem?_getD, List.getElem?_ofFn, dif_pos hj]\n    simp\n  · rw [List.getD_eq_default _ _ (by simp [initial]; omega)]\n    simp\n\nlemma cnt_append (S : Finset (Fin 13)) (t : ℕ) (L : List (Finset (Fin 13)))\n    (ab : ℕ × ℕ) (h : Cnt S t L) :\n    Cnt S (t + bump S (combined L ab)) (L ++ [combined L ab]) := by\n  intro W hsub\n  by_cases hW : L.length ∈ W\n  · have hsg : combined L ab ⊆ S := by\n      simpa only [getD_snoc_eq] using hsub L.length hW\n    have hpos : 1 ≤ W.card := Finset.card_pos.2 ⟨_, hW⟩\n    have herase : ∀ j ∈ W.erase L.length, L.getD j ∅ ⊆ S := by\n      intro j hj\n      obtain ⟨hne, hjW⟩ := Finset.mem_erase.mp hj\n      simpa only [getD_snoc_ne _ _ _ _ hne] using hsub j hjW\n    by_cases hlarge : 2 ≤ (combined L ab).card\n    · have hb : bump S (combined L ab) = 1 := by simp [bump, hlarge, hsg]\n      let V := W.erase L.length ∪ {ab.1, ab.2}\n      have hVsub : ∀ j ∈ V, L.getD j ∅ ⊆ S := by\n        intro j hj\n        rcases Finset.mem_union.mp hj with hj | hj\n        · exact herase j hj\n        · simp only [Finset.mem_insert, Finset.mem_singleton] at hj\n          rcases hj with rfl | rfl\n          · exact Finset.Subset.trans Finset.subset_union_left hsg\n          · exact Finset.Subset.trans Finset.subset_union_right hsg\n      have hUnion : (W.biUnion fun j => (L ++ [combined L ab]).getD j ∅) ⊆\n          V.biUnion fun j => L.getD j ∅ := by\n        intro p hp\n        obtain ⟨j, hj, hpj⟩ := Finset.mem_biUnion.mp hp\n        by_cases hje : j = L.length\n        · subst j\n          rw [getD_snoc_eq] at hpj\n          rcases Finset.mem_union.mp hpj with hp1 | hp2\n          · exact Finset.mem_biUnion.mpr ⟨ab.1, Finset.mem_union_right _ (by simp), hp1⟩\n          · exact Finset.mem_biUnion.mpr ⟨ab.2, Finset.mem_union_right _ (by simp), hp2⟩\n        · rw [getD_snoc_ne _ _ _ _ hje] at hpj\n          exact Finset.mem_biUnion.mpr ⟨j,\n            Finset.mem_union_left _ (Finset.mem_erase.mpr ⟨hje, hj⟩), hpj⟩\n      have hVcard : V.card ≤ W.card - 1 + 2 := by\n        calc\n          V.card ≤ (W.erase L.length).card + ({ab.1, ab.2} : Finset ℕ).card :=\n            Finset.card_union_le _ _\n          _ ≤ W.card - 1 + 2 := by\n            rw [Finset.card_erase_of_mem hW]\n            exact Nat.add_le_add_left (Finset.card_le_two) _\n      have := h V hVsub\n      have := Finset.card_le_card hUnion\n      omega\n    · have hb : bump S (combined L ab) = 0 := by simp [bump, hlarge]\n      have hsmall : (combined L ab).card ≤ 1 := by omega\n      have hUnion : (W.biUnion fun j => (L ++ [combined L ab]).getD j ∅) ⊆\n          (W.erase L.length).biUnion (fun j => L.getD j ∅) ∪ combined L ab := by\n        intro p hp\n        obtain ⟨j, hj, hpj⟩ := Finset.mem_biUnion.mp hp\n        by_cases hje : j = L.length\n        · subst j\n          rw [getD_snoc_eq] at hpj\n          exact Finset.mem_union_right _ hpj\n        · rw [getD_snoc_ne _ _ _ _ hje] at hpj\n          exact Finset.mem_union_left _\n            (Finset.mem_biUnion.mpr ⟨j, Finset.mem_erase.mpr ⟨hje, hj⟩, hpj⟩)\n      have hprev := h (W.erase L.length) herase\n      have hc := Finset.card_le_card hUnion\n      have hu := Finset.card_union_le\n        ((W.erase L.length).biUnion fun j => L.getD j ∅) (combined L ab)\n      rw [Finset.card_erase_of_mem hW] at hprev\n      omega\n  · have heq : (W.biUnion fun j => (L ++ [combined L ab]).getD j ∅) =\n        W.biUnion fun j => L.getD j ∅ := by\n      apply Finset.biUnion_congr rfl\n      intro j hj\n      exact getD_snoc_ne _ _ _ _ (fun he => hW (he ▸ hj))\n    have hold : ∀ j ∈ W, L.getD j ∅ ⊆ S := by\n      intro j hj\n      simpa only [getD_snoc_ne _ _ _ _ (fun he => hW (he ▸ hj))] using hsub j hj\n    rw [heq]\n    have := h W hold\n    omega\n\nlemma bump_sum (T : Finset (Fin 13)) : (∑ w : Fin 13, bump (line w) T) ≤ 1 := by\n  let Z : Finset (Fin 13) := Finset.univ.filter fun w => 2 ≤ T.card ∧ T ⊆ line w\n  have hc : Z.card ≤ 1 := by\n    apply Finset.card_le_one.mpr\n    intro w hw v hv\n    simp only [Z, Finset.mem_filter, Finset.mem_univ, true_and] at hw hv\n    exact no_shared_pair T hw.1 w v hw.2 hv.2\n  have heq : (∑ w : Fin 13, bump (line w) T) = Z.card := by\n    simp [bump, Z, Finset.sum_boole]\n  omega\n\ndef advance (state : List (Finset (Fin 13)) × (Fin 13 → ℕ)) (ab : ℕ × ℕ) :\n    List (Finset (Fin 13)) × (Fin 13 → ℕ) :=\n  (state.1 ++ [combined state.1 ab], fun w => state.2 w + bump (line w) (combined state.1 ab))\n\ndef run (gs : List (ℕ × ℕ)) : List (Finset (Fin 13)) × (Fin 13 → ℕ) :=\n  gs.foldl advance (initial, fun _ => 0)\n\nlemma run_invariant (gs : List (ℕ × ℕ)) (L : List (Finset (Fin 13))) (c : Fin 13 → ℕ)\n    (h : ∀ w : Fin 13, Cnt (line w) (c w) L) :\n    (∀ w : Fin 13, Cnt (line w) ((gs.foldl advance (L, c)).2 w)\n      (gs.foldl advance (L, c)).1) ∧\n    (∑ w : Fin 13, (gs.foldl advance (L, c)).2 w) ≤ (∑ w : Fin 13, c w) + gs.length := by\n  induction gs generalizing L c with\n  | nil => simp only [List.foldl_nil, List.length_nil, Nat.add_zero]; exact ⟨h, le_refl _⟩\n  | cons ab gs ih =>\n    have hn : ∀ w, Cnt (line w) (c w + bump (line w) (combined L ab)) (L ++ [combined L ab]) :=\n      fun w => cnt_append (line w) (c w) L ab (h w)\n    obtain ⟨hc, hsum⟩ := ih (L ++ [combined L ab])\n      (fun w => c w + bump (line w) (combined L ab)) hn\n    have hb := bump_sum (combined L ab)\n    simp only [Finset.sum_add_distrib] at hsum\n    constructor\n    · exact hc\n    · change (∑ w : Fin 13, (gs.foldl advance\n        (L ++ [combined L ab], fun w => c w + bump (line w) (combined L ab))).2 w) ≤ _\n      simp only [List.length_cons]\n      omega\n\nlemma network_bound (gs : List (ℕ × ℕ)) (out : Fin 13 → ℕ)\n    (hout : ∀ w : Fin 13, (run gs).1.getD (out w) ∅ = line w) :\n    39 ≤ gs.length := by\n  obtain ⟨hcnt, hsum⟩ := run_invariant gs initial (fun _ => 0) (fun w => cnt_initial (line w))\n  change (∀ w : Fin 13, Cnt (line w) ((run gs).2 w) (run gs).1) at hcnt\n  have hper : ∀ w : Fin 13, 3 ≤ (run gs).2 w := by\n    intro w\n    have hm : ∀ j ∈ ({out w} : Finset ℕ), (run gs).1.getD j ∅ ⊆ line w := by\n      intro j hj\n      simp only [Finset.mem_singleton] at hj\n      subst j\n      rw [hout w]\n    have hc := hcnt w {out w} hm\n    change (({out w} : Finset ℕ).biUnion fun j => (run gs).1.getD j ∅).card ≤ _ at hc\n    simp only [Finset.singleton_biUnion, Finset.card_singleton, hout w, line_card] at hc\n    omega\n  have hlo : 39 ≤ ∑ w : Fin 13, (run gs).2 w := by\n    calc\n      39 = ∑ _w : Fin 13, (3 : ℕ) := by decide\n      _ ≤ ∑ w : Fin 13, (run gs).2 w := Finset.sum_le_sum fun w _ => hper w\n  simp only [Finset.sum_const_zero, Nat.zero_add] at hsum\n  exact le_trans hlo hsum\n\nlemma fold_fst (gs : List (ℕ × ℕ)) (L : List (Finset (Fin 13))) (c : Fin 13 → ℕ) :\n    (gs.foldl advance (L, c)).1 =\n      gs.foldl (fun L ab => L ++ [combined L ab]) L := by\n  induction gs generalizing L c with\n  | nil => rfl\n  | cons ab gs ih =>\n    exact ih (L ++ [combined L ab]) (fun w => c w + bump (line w) (combined L ab))\n\n\ndef plainOr : List (ℕ × ℕ) := [(0, 1), (13, 3), (14, 9), (1, 2), (16, 4), (17, 10), (2, 3), (19, 5), (20, 11), (3, 4), (22, 6), (23, 12), (4, 5), (25, 7), (26, 0), (5, 6), (28, 8), (29, 1), (6, 7), (31, 9), (32, 2), (7, 8), (34, 10), (35, 3), (8, 9), (37, 11), (38, 4), (9, 10), (40, 12), (41, 5), (10, 11), (43, 0), (44, 6), (11, 12), (46, 1), (47, 7), (12, 0), (49, 2), (50, 8)]\n\nset_option maxRecDepth 100000 in\nset_option maxHeartbeats 0 in\nlemma witness_correct : ∀ w : Fin 13,\n    (plainOr.foldl (fun L ab => L ++ [combined L ab]) initial).getD (15 + 3 * w.val) ∅ = line w := by\n  decide\n\nend PEqualNP.Outside.L_meta_1683_or_network\ntheorem PEqualNP.Outside.L_meta_1683_or_network :\n    (∀ gs : List (ℕ × ℕ), ∀ out : Fin 13 → ℕ,\n      (∀ w : Fin 13,\n        (gs.foldl (fun (L : List (Finset (Fin 13))) ab =>\n          L ++ [L.getD ab.1 ∅ ∪ L.getD ab.2 ∅])\n          (List.ofFn fun i : Fin 13 => ({i} : Finset (Fin 13)))).getD (out w) ∅ =\n          Finset.univ.filter fun p => ∃ d ∈ ({0, 1, 3, 9} : Finset (Fin 13)), p = w + d) →\n      39 ≤ gs.length) ∧\n    (∃ gs : List (ℕ × ℕ), ∃ out : Fin 13 → ℕ, gs.length = 39 ∧\n      ∀ w : Fin 13,\n        (gs.foldl (fun (L : List (Finset (Fin 13))) ab =>\n          L ++ [L.getD ab.1 ∅ ∪ L.getD ab.2 ∅])\n          (List.ofFn fun i : Fin 13 => ({i} : Finset (Fin 13)))).getD (out w) ∅ =\n          Finset.univ.filter fun p => ∃ d ∈ ({0, 1, 3, 9} : Finset (Fin 13)), p = w + d) := by\n  constructor\n  · intro gs out h\n    apply PEqualNP.Outside.L_meta_1683_or_network.network_bound gs out\n    intro w\n    rw [PEqualNP.Outside.L_meta_1683_or_network.run,\n      PEqualNP.Outside.L_meta_1683_or_network.fold_fst]\n    exact h w\n  · refine ⟨PEqualNP.Outside.L_meta_1683_or_network.plainOr, fun w => 15 + 3 * w.val, rfl, ?_⟩\n    exact PEqualNP.Outside.L_meta_1683_or_network.witness_correct\n","generator":"","lean_sha256":"e8128f2fcb673d96de307fef3a4150dc5dfdb7168a8f48ff7cff3bde5da14092","claim_scope":"Checked supporting lemma only: the exact minimum is 39 gates for the explicitly stated 13-input, 13-output OR-support model. The posted 26-input, at-most-63-gate existence statement remains unresolved. The checker compared the file with lemma_statement, not posted_statement.","posted_statement":"∃ C : PEqualNP.CircuitLowerBounds.Circuit, PEqualNP.MetaComplexity.Monotone2 C ∧ C.size ≤ 63 ∧ (∀ p w : Fin 13, (∃ dd ∈ ({0, 1, 3, 9} : Finset (Fin 13)), p = w + dd) → PEqualNP.MetaComplexity.circuitFun (13 + 13) C (fun k => decide (k = Fin.castAdd 13 p ∨ k = Fin.natAdd 13 w)) = true) ∧ (∀ P : Finset (Fin 13), (∀ v : Fin 13, v ∉ P → ∃ w2 : Fin 13, (∀ pp ∈ P, ¬ (∃ dd ∈ ({0, 1, 3, 9} : Finset (Fin 13)), pp = w2 + dd)) ∧ (∃ dd ∈ ({0, 1, 3, 9} : Finset (Fin 13)), v = w2 + dd)) → ((∃ w3 : Fin 13, ∀ p3 ∈ P, (∃ dd ∈ ({0, 1, 3, 9} : Finset (Fin 13)), p3 = w3 + dd)) ∨ (∃ v4 : Fin 13, ∀ w4 : Fin 13, (∀ pp ∈ P, ¬ (∃ dd ∈ ({0, 1, 3, 9} : Finset (Fin 13)), pp = w4 + dd)) → (∃ dd ∈ ({0, 1, 3, 9} : Finset (Fin 13)), v4 = w4 + dd))) → PEqualNP.MetaComplexity.circuitFun (13 + 13) C (fun kk : Fin (13 + 13) => decide ((∃ pp ∈ P, kk = Fin.castAdd 13 pp) ∨ (∃ ww : Fin 13, kk = Fin.natAdd 13 ww ∧ (∀ pp ∈ P, ¬ (∃ dd ∈ ({0, 1, 3, 9} : Finset (Fin 13)), pp = ww + dd))))) = false)","posted_file":"lean/PEqualNP/Outside/L_meta_1683.lean","posted_module":"PEqualNP.Outside.L_meta_1683","posted_imports":["PEqualNP.Defs"],"posted_statement_source":"https://pequalnp.com/desk/row?gap=L-meta-1683","lemma_statement":"(∀ gs : List (ℕ × ℕ), ∀ out : Fin 13 → ℕ,\n  (∀ w : Fin 13,\n    (gs.foldl (fun (L : List (Finset (Fin 13))) ab =>\n      L ++ [L.getD ab.1 ∅ ∪ L.getD ab.2 ∅])\n      (List.ofFn fun i : Fin 13 => ({i} : Finset (Fin 13)))).getD (out w) ∅ =\n      Finset.univ.filter fun p => ∃ d ∈ ({0, 1, 3, 9} : Finset (Fin 13)), p = w + d) →\n  39 ≤ gs.length) ∧\n(∃ gs : List (ℕ × ℕ), ∃ out : Fin 13 → ℕ, gs.length = 39 ∧\n  ∀ w : Fin 13,\n    (gs.foldl (fun (L : List (Finset (Fin 13))) ab =>\n      L ++ [L.getD ab.1 ∅ ∪ L.getD ab.2 ∅])\n      (List.ofFn fun i : Fin 13 => ({i} : Finset (Fin 13)))).getD (out w) ∅ =\n      Finset.univ.filter fun p => ∃ d ∈ ({0, 1, 3, 9} : Finset (Fin 13)), p = w + d)","check_log":{"repository_commit":"cbe351cbac4c565641f691678c1d0b1d1ea4fa7c","lean_version":"Lean (version 4.36.0, x86_64-unknown-linux-gnu, commit 611c117bfaf7b7ae1cfcf246ce6fba31e8f509e9, Release)","mathlib_commit":"fc4f59e577feb1a4956671bc04ac18aaaf8cd842","setup":[{"command":"git clone --depth 1 https://github.com/open-goat/pequalnp-proofs.git test/scratch/pequalnp-proofs","last_line":"Updating files: 100% (10356/10356), done."},{"command":"download and extract https://github.com/leanprover/lean4/releases/download/v4.36.0/lean-4.36.0-linux.tar.zst; lean --version","last_line":"Lean (version 4.36.0, x86_64-unknown-linux-gnu, commit 611c117bfaf7b7ae1cfcf246ce6fba31e8f509e9, Release)"},{"command":"cd lean && lake exe cache get","last_line":"Already decompressed 9117 file(s)"}],"commands":[{"command":"cd lean && lake build PEqualNP.Outside.L_meta_1683_or_network","last_line":"Build completed successfully (6657 jobs)."},{"command":"node tools/check-lean.mjs lean/PEqualNP/Outside/L_meta_1683_or_network.lean ../or-network-exact-statement.txt check","last_line":"ACCEPTED (check): PEqualNP.Outside.L_meta_1683_or_network; axioms [propext, Quot.sound, Classical.choice]; kernel re-checked 1757 constants of [PEqualNP.Defs.Base, PEqualNP.Defs.Classes, PEqualNP.Defs.CircuitLowerBounds, PEqualNP.Defs.MetaComplexity, PEqualNP.Defs.MetaComplexityLocal, PEqualNP.Defs.MetaComplexitySparse, PEqualNP.Defs.MetaComplexityMinimal, PEqualNP.Defs.MetaComplexityLgp, PEqualNP.Defs.MetaComplexityLgpMono, PEqualNP.Defs.BinaryCircuit, PEqualNP.Defs.MetaComplexityCoverCircuit, PEqualNP.Defs.ProofComplexity, PEqualNP.Defs.ProofComplexityLin, PEqualNP.Defs.ProofComplexityLinK, PEqualNP.Defs.ProofComplexityLift, PEqualNP.Defs.ProofComplexityResK, PEqualNP.Defs.ProofComplexityRestrict, PEqualNP.Defs.ProofComplexityBit, PEqualNP.Defs.ProofComplexityPC, PEqualNP.Defs.ProofComplexityMoment, PEqualNP.Defs.ProofComplexityChain, PEqualNP.Defs.ProofComplexityGeneral, PEqualNP.Defs.Search, PEqualNP.Defs.SearchQ, PEqualNP.Defs.SearchQTree, PEqualNP.Defs.SearchCP, PEqualNP.Defs.SearchRUP, PEqualNP.Defs.SearchQSyn, PEqualNP.Defs.SearchSoS, PEqualNP.Defs.Gct, PEqualNP.Defs.Oracle, PEqualNP.Defs.Algebraic, PEqualNP.Defs.Expanders, PEqualNP.Defs.RiffleRank, PEqualNP.Defs.TimeAlt, PEqualNP.Defs.CoverPromise, PEqualNP.Defs.SingleLevel, PEqualNP.Defs.DeMorganFormula, PEqualNP.Defs.MetaComplexityTypedRank, PEqualNP.Defs.Pebble, PEqualNP.Defs.Subdivision, PEqualNP.Defs.AndCountCircuit, PEqualNP.Defs.PebbleThreeWay, PEqualNP.Defs.CoLevel, PEqualNP.Defs.Peelable, PEqualNP.Defs.NestedCoverCircuit, PEqualNP.Defs.LiteralPartition, PEqualNP.Defs.MinimumComplex, PEqualNP.Defs.PendantBit, PEqualNP.Defs.BorrowedCoverCircuit, PEqualNP.Defs.LineDegree, PEqualNP.Defs.CircuitMoves, PEqualNP.Defs.LowMerge, PEqualNP.Defs.NewLowMerge, PEqualNP.Defs.AffinePlane, PEqualNP.Defs.EdgeOwnership, PEqualNP.Defs.PencilGate, PEqualNP.Defs.BlindGate, PEqualNP.Defs.BicliqueBlockCost, PEqualNP.Defs.SharingOrder, PEqualNP.Defs.NotPremium, PEqualNP.Defs.NotBracket, PEqualNP.Defs.PairShadow, PEqualNP.Defs.SplitCount, PEqualNP.Defs.InvisibleWire, PEqualNP.Defs.SharedOr, PEqualNP.Defs.CleanedNonEdge, PEqualNP.Defs.MergeCost, PEqualNP.Defs.CarriedProduct, PEqualNP.Defs.TopForm, PEqualNP.Defs.SyntacticMultilinear, PEqualNP.Defs.TopFormNames, PEqualNP.Defs.HeptadCover, PEqualNP.Defs.ReadK, PEqualNP.Defs.GenericRejection, PEqualNP.Defs.CrossAnd, PEqualNP.Defs.ReadKJoin, PEqualNP.Defs.SharedBlockCost, PEqualNP.Defs.ReadTwo, PEqualNP.Defs.LratEncoding, PEqualNP.Defs.Core, PEqualNP.Defs.PointTypes, PEqualNP.Defs.FactorSubst, PEqualNP.Defs.TwoColour, PEqualNP.Defs.Represents, PEqualNP.Defs.BranchingProgram, PEqualNP.Defs, PEqualNP.Outside.L_meta_1683_or_network]"},{"command":"python3 test/scratch/research.py local","last_line":"{\"stats\": {\"positive\": 52, \"negative\": 236, \"maximal_false\": 704, \"positive_orbits\": [8193, 8194, 8200, 8704], \"negative_orbits\": [8191, 15860, 31200, 46544, 77220, 107904, 146756, 277652, 292992, 539952, 1093712, 1124388, 1996800, 3060736, 3338304, 4942080, 5711876, 10268688, 12513280, 67100672], \"negative_distribution\": [[[0, 13], 1], [[1, 9], 13], [[2, 6], 78], [[3, 3], 52], [[6, 2], 78], [[9, 1], 13], [[13, 0], 1]]}, \"counts\": {\"shapes\": 300, \"candidates\": 1104000, \"passed\": 0}, \"best\": {\"dual\": false, \"tree\": 0, \"top\": \"chain\", \"order\": \"natural\", \"removed_gate\": 0, \"replacement_wire\": 3, \"wrong\": 1, \"first_failed_input\": 8704}, \"seconds\": 11.554915926186368, \"least_size_passed\": 64}"},{"command":"python3 test/scratch/symmetry_enum.py","last_line":"{\"shape\": \"1, 2 or 3 phase-normalized 13-gate shift orbits followed by OR of final orbit\", \"gate_counts\": [25, 38, 51], \"parameter_counts\": [78, 156, 260], \"candidates\": [78, 12168, 3163680], \"passed\": [0, 0, 0], \"tests\": 24, \"expanded_tests\": 288, \"seconds\": 8.313514936016873}"},{"command":"g++ -O3 -std=c++17 test/scratch/local-two-all.cpp -o test/scratch/local-two-all && test/scratch/local-two-all","last_line":"{\"shape\":299,\"fanin_rewires\":25969671,\"operation_flips\":231840,\"semantically_unchanged_gate_edits\":9853,\"passed\":0,\"best_errors\":1,\"best_edit\":[0,0,1,0,13],\"elapsed_seconds\":1079.25}"},{"command":"python3 test/scratch/independent_check.py","last_line":"{\"independent_negative_sets\": 236, \"all_maximal_sets\": 704, \"scalar_smt64_cases\": 288, \"scalar_best_edit_cases\": 86400, \"best_edit_shapes\": 300, \"status\": \"PASS\"}"}],"offline_replay_smoke_check":{"command":"python3 test/scratch/reproduce.py in a separate scratch replay directory","last_line":"{\"checked_layouts\": 4, \"fanin_rewire_candidates\": 103878684, \"operation_flip_candidates\": 927360, \"least_passing_size\": 64, \"status\": \"PASS\"}"},"axioms":["propext","Quot.sound","Classical.choice"],"checker_mode":"check against the explicit supporting-lemma statement","source_sha256_matches_checker_manifest":true,"integrity":"The pinned configuration, checker and definitions were unchanged. No lake update, pnp.sh, GitHub authentication, desk mutation, lease or submission was used.","independent_review":"A separate set-based enumeration reproduced all promised false inputs; scalar Boolean evaluation checked the 64-gate witness and every recorded best local-edit circuit. A second exhaustive implementation agreed with the three-orbit SMT UNSAT result."},"discoveries":["The exact posted promise has 52 incident pairs and 236 degenerate maximal false inputs, among 704 maximal false inputs.","Simultaneous cyclic translation has four positive orbits and twenty promised-negative orbits, giving 24 representatives.","The least passing size found was 64; no tested circuit of at most 63 gates passed.","The checked lemma proves the exact minimum of 39 OR gates for computing the thirteen four-point neighborhoods as supports; an explicit 39-gate witness is included in the proof.","This rules out saving a gate in the separated architecture consisting of that OR network, thirteen fixed line AND gates and twelve final OR gates: its size is at least 64.","The per-line charging proof adapts L_meta_1680's support-union invariant; a nontrivial support can belong to only one line because distinct lines intersect in one point.","Enumeration found 936 minimal additional nonincident true sets permitted by the promise, all of size six with three points and three lines; they form 72 cyclic orbits.","Consequently any monotone solution must reject every nonincident input with at most five true bits; this last consequence is computational/combinatorial research, not the checked Lean theorem."],"dead_ends":["All 1,104,000 single-gate bypasses failed across the 300 specified baseline layouts.","All 7,860,453,300 deletion-plus-one-rewire-or-operation-flip parameter assignments failed across the same layouts; duplicate circuits are counted as separate assignments.","All 78 one-orbit, 12,168 two-orbit and 3,163,680 three-orbit normalized selector templates failed.","The four-orbit solver rediscovered a 64-gate circuit rather than a smaller witness.","A direct finite-decision Lean attempt at full orbit coverage did not complete locally and is excluded; the orbit-coverage result here is computational only.","The 63-gate defect templates with a deleted gate in core layers 0, 1 and 2 each returned unknown after a 120-second solver timeout; no UNSAT claim is made for them.","Deleting a gate in core layer 3 of the same defect template returned UNSAT in the exploratory solver; this is not a Lean lower bound."],"counterexamples":["No circuit of at most 63 gates was found; the posted existence statement was neither proved nor refuted.","For the line-centered, tree-0, natural-chain baseline, deleting gate 0 and redirecting it to input wire 3 produces a 63-gate candidate failing exactly the incident pair p=9,w=0 (26-bit mask 8704).","Among the 220,800 bypass assignments for the 60 natural-order layouts, preserving all 52 positives still left at least 71 promised false inputs accepted.","A smallest promise-allowed extra true input has points {6,7,8} and lines {0,1,2}; it is not an incident pair or a counterexample to the posted theorem."],"next":["Prioritize architectures that mix AND and OR computation before the separated line terms; the checked 39-gate lemma closes the point-only OR-sharing route.","Use the 24-orbit truth table only for translation-invariant candidates; a symmetry-breaking defect must be tested on all 288 promised inputs.","Exploit the 936 allowed sextuples when designing any new small-edit template.","Further bounded solving may resolve the three timed-out defect layers; no general size-63 SAT search was attempted."],"research":{"input_encoding":"Point p is bit p; line w is bit 13+w. Incidence means (p-w) mod 13 in {0,1,3,9}.","least_size_passed":64,"size_63_witness":null,"unrestricted_minimum_proved":false,"truth_table":{"positive":52,"negative":236,"maximal_false":704,"positive_orbits":[8193,8194,8200,8704],"negative_orbits":[8191,15860,31200,46544,77220,107904,146756,277652,292992,539952,1093712,1124388,1996800,3060736,3338304,4942080,5711876,10268688,12513280,67100672],"negative_distribution":[[[0,13],1],[[1,9],13],[[2,6],78],[[3,3],52],[[6,2],78],[[9,1],13],[[13,0],1]]},"local_shape_grid":{"index":"((((orientation * 15) + tree) * 2 + aggregation) * 5 + order)","orientations":["line-centered y_w AND OR_{d in D} x_(w+d)","point-centered x_p AND OR_{d in D} y_(p-d)"],"D":[0,1,3,9],"trees":[[0,[1,[2,3]]],[0,[[1,2],3]],[0,[[1,3],2]],[[0,1],[2,3]],[[0,2],[1,3]],[[0,3],[1,2]],[[0,[1,2]],3],[[[0,1],2],3],[[[0,2],1],3],[[0,[1,3]],2],[[[0,1],3],2],[[[0,3],1],2],[[0,[2,3]],1],[[[0,2],3],1],[[[0,3],2],1]],"aggregations":["left chain","pair adjacent terms repeatedly, carrying an odd final term"],"orders":["i","2*i mod 13","3*i mod 13","5*i mod 13","12-i"],"baseline_size":64,"bypasses_per_shape":3680,"extra_fanin_rewires_per_shape":25969671,"extra_operation_flips_per_shape":231840,"one_bypass_definition":"Choose g in 0..63 and earlier wire h in 0..25+g. Redirect every use of gate g to h and delete g; the output is redirected too.","extra_edit_definition":"On any surviving gate k, change one input to any available earlier wire other than the deleted wire, or flip AND/OR. No-op input replacements are excluded. Equal truth signatures are skipped only because the bypassed baseline already failed.","result_columns":["shape_id","baseline_passed","one_bypass_min_errors","two_edit_min_errors","two_edit_passed"],"results":[[0,1,1,1,0],[1,1,1,1,0],[2,1,1,1,0],[3,1,1,1,0],[4,1,1,1,0],[5,1,1,1,0],[6,1,1,1,0],[7,1,1,1,0],[8,1,1,1,0],[9,1,1,1,0],[10,1,1,1,0],[11,1,1,1,0],[12,1,1,1,0],[13,1,1,1,0],[14,1,1,1,0],[15,1,1,1,0],[16,1,1,1,0],[17,1,1,1,0],[18,1,1,1,0],[19,1,1,1,0],[20,1,1,1,0],[21,1,1,1,0],[22,1,1,1,0],[23,1,1,1,0],[24,1,1,1,0],[25,1,1,1,0],[26,1,1,1,0],[27,1,1,1,0],[28,1,1,1,0],[29,1,1,1,0],[30,1,1,1,0],[31,1,1,1,0],[32,1,1,1,0],[33,1,1,1,0],[34,1,1,1,0],[35,1,1,1,0],[36,1,1,1,0],[37,1,1,1,0],[38,1,1,1,0],[39,1,1,1,0],[40,1,1,1,0],[41,1,1,1,0],[42,1,1,1,0],[43,1,1,1,0],[44,1,1,1,0],[45,1,1,1,0],[46,1,1,1,0],[47,1,1,1,0],[48,1,1,1,0],[49,1,1,1,0],[50,1,1,1,0],[51,1,1,1,0],[52,1,1,1,0],[53,1,1,1,0],[54,1,1,1,0],[55,1,1,1,0],[56,1,1,1,0],[57,1,1,1,0],[58,1,1,1,0],[59,1,1,1,0],[60,1,1,1,0],[61,1,1,1,0],[62,1,1,1,0],[63,1,1,1,0],[64,1,1,1,0],[65,1,1,1,0],[66,1,1,1,0],[67,1,1,1,0],[68,1,1,1,0],[69,1,1,1,0],[70,1,1,1,0],[71,1,1,1,0],[72,1,1,1,0],[73,1,1,1,0],[74,1,1,1,0],[75,1,1,1,0],[76,1,1,1,0],[77,1,1,1,0],[78,1,1,1,0],[79,1,1,1,0],[80,1,1,1,0],[81,1,1,1,0],[82,1,1,1,0],[83,1,1,1,0],[84,1,1,1,0],[85,1,1,1,0],[86,1,1,1,0],[87,1,1,1,0],[88,1,1,1,0],[89,1,1,1,0],[90,1,1,1,0],[91,1,1,1,0],[92,1,1,1,0],[93,1,1,1,0],[94,1,1,1,0],[95,1,1,1,0],[96,1,1,1,0],[97,1,1,1,0],[98,1,1,1,0],[99,1,1,1,0],[100,1,1,1,0],[101,1,1,1,0],[102,1,1,1,0],[103,1,1,1,0],[104,1,1,1,0],[105,1,1,1,0],[106,1,1,1,0],[107,1,1,1,0],[108,1,1,1,0],[109,1,1,1,0],[110,1,1,1,0],[111,1,1,1,0],[112,1,1,1,0],[113,1,1,1,0],[114,1,1,1,0],[115,1,1,1,0],[116,1,1,1,0],[117,1,1,1,0],[118,1,1,1,0],[119,1,1,1,0],[120,1,1,1,0],[121,1,1,1,0],[122,1,1,1,0],[123,1,1,1,0],[124,1,1,1,0],[125,1,1,1,0],[126,1,1,1,0],[127,1,1,1,0],[128,1,1,1,0],[129,1,1,1,0],[130,1,1,1,0],[131,1,1,1,0],[132,1,1,1,0],[133,1,1,1,0],[134,1,1,1,0],[135,1,1,1,0],[136,1,1,1,0],[137,1,1,1,0],[138,1,1,1,0],[139,1,1,1,0],[140,1,1,1,0],[141,1,1,1,0],[142,1,1,1,0],[143,1,1,1,0],[144,1,1,1,0],[145,1,1,1,0],[146,1,1,1,0],[147,1,1,1,0],[148,1,1,1,0],[149,1,1,1,0],[150,1,1,1,0],[151,1,1,1,0],[152,1,1,1,0],[153,1,1,1,0],[154,1,1,1,0],[155,1,1,1,0],[156,1,1,1,0],[157,1,1,1,0],[158,1,1,1,0],[159,1,1,1,0],[160,1,1,1,0],[161,1,1,1,0],[162,1,1,1,0],[163,1,1,1,0],[164,1,1,1,0],[165,1,1,1,0],[166,1,1,1,0],[167,1,1,1,0],[168,1,1,1,0],[169,1,1,1,0],[170,1,1,1,0],[171,1,1,1,0],[172,1,1,1,0],[173,1,1,1,0],[174,1,1,1,0],[175,1,1,1,0],[176,1,1,1,0],[177,1,1,1,0],[178,1,1,1,0],[179,1,1,1,0],[180,1,1,1,0],[181,1,1,1,0],[182,1,1,1,0],[183,1,1,1,0],[184,1,1,1,0],[185,1,1,1,0],[186,1,1,1,0],[187,1,1,1,0],[188,1,1,1,0],[189,1,1,1,0],[190,1,1,1,0],[191,1,1,1,0],[192,1,1,1,0],[193,1,1,1,0],[194,1,1,1,0],[195,1,1,1,0],[196,1,1,1,0],[197,1,1,1,0],[198,1,1,1,0],[199,1,1,1,0],[200,1,1,1,0],[201,1,1,1,0],[202,1,1,1,0],[203,1,1,1,0],[204,1,1,1,0],[205,1,1,1,0],[206,1,1,1,0],[207,1,1,1,0],[208,1,1,1,0],[209,1,1,1,0],[210,1,1,1,0],[211,1,1,1,0],[212,1,1,1,0],[213,1,1,1,0],[214,1,1,1,0],[215,1,1,1,0],[216,1,1,1,0],[217,1,1,1,0],[218,1,1,1,0],[219,1,1,1,0],[220,1,1,1,0],[221,1,1,1,0],[222,1,1,1,0],[223,1,1,1,0],[224,1,1,1,0],[225,1,1,1,0],[226,1,1,1,0],[227,1,1,1,0],[228,1,1,1,0],[229,1,1,1,0],[230,1,1,1,0],[231,1,1,1,0],[232,1,1,1,0],[233,1,1,1,0],[234,1,1,1,0],[235,1,1,1,0],[236,1,1,1,0],[237,1,1,1,0],[238,1,1,1,0],[239,1,1,1,0],[240,1,1,1,0],[241,1,1,1,0],[242,1,1,1,0],[243,1,1,1,0],[244,1,1,1,0],[245,1,1,1,0],[246,1,1,1,0],[247,1,1,1,0],[248,1,1,1,0],[249,1,1,1,0],[250,1,1,1,0],[251,1,1,1,0],[252,1,1,1,0],[253,1,1,1,0],[254,1,1,1,0],[255,1,1,1,0],[256,1,1,1,0],[257,1,1,1,0],[258,1,1,1,0],[259,1,1,1,0],[260,1,1,1,0],[261,1,1,1,0],[262,1,1,1,0],[263,1,1,1,0],[264,1,1,1,0],[265,1,1,1,0],[266,1,1,1,0],[267,1,1,1,0],[268,1,1,1,0],[269,1,1,1,0],[270,1,1,1,0],[271,1,1,1,0],[272,1,1,1,0],[273,1,1,1,0],[274,1,1,1,0],[275,1,1,1,0],[276,1,1,1,0],[277,1,1,1,0],[278,1,1,1,0],[279,1,1,1,0],[280,1,1,1,0],[281,1,1,1,0],[282,1,1,1,0],[283,1,1,1,0],[284,1,1,1,0],[285,1,1,1,0],[286,1,1,1,0],[287,1,1,1,0],[288,1,1,1,0],[289,1,1,1,0],[290,1,1,1,0],[291,1,1,1,0],[292,1,1,1,0],[293,1,1,1,0],[294,1,1,1,0],[295,1,1,1,0],[296,1,1,1,0],[297,1,1,1,0],[298,1,1,1,0],[299,1,1,1,0]],"total_one_bypass_candidates":1104000,"total_extra_edit_candidates":7860453300,"fanin_rewires_total":7790901300,"operation_flips_total":69552000,"best_positive_only_bypass_subset":{"layouts":60,"bypasses":220800,"min_false_positives_with_all_52_incident_pairs":71,"best_count":3120,"seconds":2.4920652490109205}},"shift_core_search":{"definition":"d layers of 13 shift copies of a binary AND/OR gate. Layer l first source kind a is unshifted, second source kind b has offset t in Fin 13, a<=b, and both kinds are among two primary input orbits and preceding layers. The final output ORs all 13 copies of the last layer using 12 gates.","enumeration":{"shape":"1, 2 or 3 phase-normalized 13-gate shift orbits followed by OR of final orbit","gate_counts":[25,38,51],"parameter_counts":[78,156,260],"candidates":[78,12168,3163680],"passed":[0,0,0],"tests":24,"expanded_tests":288,"seconds":8.313514936016873},"solver_crosscheck":{"depth":3,"gate_count":51,"status":"unsat","seconds":1.666860274039209,"timeout_ms":300000,"reason":""},"four_orbit_witness":{"depth":4,"gate_count":64,"status":"sat","seconds":11.515130528016016,"timeout_ms":300000,"reason":"","params":[["or",0,0,9],["or",0,2,10],["or",0,3,2],["and",1,4,1]],"circuit":[["or",0,9],["or",1,10],["or",2,11],["or",3,12],["or",4,0],["or",5,1],["or",6,2],["or",7,3],["or",8,4],["or",9,5],["or",10,6],["or",11,7],["or",12,8],["or",0,36],["or",1,37],["or",2,38],["or",3,26],["or",4,27],["or",5,28],["or",6,29],["or",7,30],["or",8,31],["or",9,32],["or",10,33],["or",11,34],["or",12,35],["or",0,41],["or",1,42],["or",2,43],["or",3,44],["or",4,45],["or",5,46],["or",6,47],["or",7,48],["or",8,49],["or",9,50],["or",10,51],["or",11,39],["or",12,40],["and",13,53],["and",14,54],["and",15,55],["and",16,56],["and",17,57],["and",18,58],["and",19,59],["and",20,60],["and",21,61],["and",22,62],["and",23,63],["and",24,64],["and",25,52],["or",65,66],["or",78,67],["or",79,68],["or",80,69],["or",81,70],["or",82,71],["or",83,72],["or",84,73],["or",85,74],["or",86,75],["or",87,76],["or",88,77]],"out":89,"independent_all_288_tests":true},"defect_definition":"Four core orbits and the 12-gate final OR, with node 0 in the selected core layer replaced by an alias of any wire in an earlier orbit; all remaining core nodes share the normalized layer parameters. Symmetry is broken, so all 288 tests are encoded.","defects":[{"deleted_layer":0,"gates":63,"tests":288,"status":"unknown","reason":"timeout","seconds":120.729055989068,"timeout_ms":120000},{"deleted_layer":1,"gates":63,"tests":288,"status":"unknown","reason":"timeout","seconds":120.54082598094828,"timeout_ms":120000},{"deleted_layer":2,"gates":63,"tests":288,"status":"unknown","reason":"timeout","seconds":120.37305975914933,"timeout_ms":120000},{"deleted_layer":3,"gates":63,"tests":288,"status":"unsat","reason":"","seconds":27.693403950193897,"timeout_ms":120000}],"scope":"These are specific layered orbit templates, not all invariant functions or all monotone circuits."},"extra_minterms":{"extra_minimal_true_sets":936,"size_distribution":[[6,936]],"orbit_representatives":[57792,61632,61760,61824,90528,92320,92448,92544,158016,160064,161856,162048,173376,176448,177216,177408,206084,207108,207876,208128,304272,307344,308240,308352,337028,338052,338948,339072,404484,406532,407556,408576,551200,553248,555040,555264,566544,569616,570384,570624,599328,600352,601120,601344,666880,668928,669952,670720,797712,799760,800784,801792,1075296,1077344,1079328,1079360,1189956,1192004,1193988,1194048,1320980,1323028,1325060,1325072,2171044,2171940,2172036,2172064,2237508,2240580,2241540,2241600],"examples":[{"points":[6,7,8],"lines":[0,1,2]},{"points":[6,7,12],"lines":[0,1,2]},{"points":[6,8,12],"lines":[0,1,2]}],"seconds":0.8192479070276022},"independent_check":{"independent_negative_sets":236,"all_maximal_sets":704,"scalar_smt64_cases":288,"scalar_best_edit_cases":86400,"best_edit_shapes":300,"status":"PASS"},"reproduction":"Extract research_files at the named relative paths, then run python3 test/scratch/reproduce.py --full. This default research reproduction uses only Python standard libraries and g++; the exploratory SMT timeouts require Z3 and are not part of that replay.","formal_replay":"In the audited pinned clone, write lean_text to lean_path and lemma_statement to statement.txt; run lake build PEqualNP.Outside.L_meta_1683_or_network in lean/, then node tools/check-lean.mjs lean/PEqualNP/Outside/L_meta_1683_or_network.lean statement.txt check at the clone root.","formal_scope":"The theorem is about OR-network support lists on 13 point inputs. It does not prove a lower bound for arbitrary 26-input AND/OR circuits satisfying the promise."},"research_files":{"test/scratch/research.py":"import itertools,json,collections,hashlib,time,sys\nN=13; U=(1<<N)-1; D=(0,1,3,9)\nL=[sum(1<<((w+d)%N) for d in D) for w in range(N)]\n\ndef rot(x,t):\n t%=N\n return ((x<<t)|(x>>(N-t)))&U\n\ndef shift(z,t):return rot(z&U,t)|(rot(z>>N,t)<<N)\ndef orbit(z):return min(shift(z,t) for t in range(N))\n\ndef cases():\n pos=[(1<<p)|(1<<(N+w)) for w in range(N) for p in range(N) if L[w]>>p&1]\n neg=[];maxfalse=[]\n for p in range(1<<N):\n  w=sum(1<<j for j in range(N) if not(p&L[j]))\n  cover=0\n  for j in range(N):\n   if w>>j&1:cover|=L[j]\n  if cover!=U^p:continue\n  maxfalse.append(p|(w<<N))\n  if any(p&~line==0 for line in L) or any(all(not(w>>j&1) or L[j]>>v&1 for j in range(N)) for v in range(N)):\n   neg.append(p|(w<<N))\n return pos,neg,maxfalse\n\nPOS,NEG,MAXFALSE=cases(); TESTS=POS+NEG; TARGET=(1<<len(POS))-1; FULL=(1<<len(TESTS))-1\nINPUT=[sum(((z>>i)&1)<<j for j,z in enumerate(TESTS)) for i in range(26)]\n\ndef eval_circuit(gs,out=None):\n vals=INPUT[:]\n for op,a,b in gs:vals.append(vals[a]&vals[b] if op=='and' else vals[a]|vals[b])\n return vals[(len(vals)-1) if out is None else out]\n\ndef trees(leaves):\n if len(leaves)==1:return [leaves[0]]\n ans=[]\n for k in range(1,len(leaves)):\n  for tail in itertools.combinations(leaves[1:],k-1):\n   left=(leaves[0],)+tail;right=tuple(x for x in leaves if x not in left)\n   if not right:continue\n   for a in trees(left):\n    for b in trees(right):ans.append((a,b))\n return ans\nTREES=trees(tuple(range(4)))\n\ndef plain(dual=False,tree=0,top='chain',order=None):\n gs=[]\n def add(op,a,b):\n  gs.append((op,a,b));return 25+len(gs)\n def tbuild(t,w):\n  if isinstance(t,int):return ((w+D[t])%N if not dual else N+(w-D[t])%N)\n  return add('or',tbuild(t[0],w),tbuild(t[1],w))\n terms=[]\n for w in range(N):terms.append(add('and',N+w if not dual else w,tbuild(TREES[tree],w)))\n if order is not None:terms=[terms[w] for w in order]\n if top=='chain':\n  out=terms[0]\n  for term in terms[1:]:out=add('or',out,term)\n elif top=='balanced':\n  while len(terms)>1:\n   terms=[add('or',terms[i],terms[i+1]) if i+1<len(terms) else terms[i] for i in range(0,len(terms),2)]\n  out=terms[0]\n else:raise ValueError(top)\n assert len(gs)==64 and out==89 and eval_circuit(gs)==TARGET\n return gs\n\ndef compact(gs,out):\n need=set()\n def visit(i):\n  if i<26 or i in need:return\n  need.add(i);_,a,b=gs[i-26];visit(a);visit(b)\n visit(out)\n mapping={i:i for i in range(26)};outgs=[]\n for old in sorted(need):\n  op,a,b=gs[old-26];mapping[old]=26+len(outgs);outgs.append((op,mapping[a],mapping[b]))\n return outgs,mapping[out]\n\ndef bypass(gs,g,h):\n # Delete wire 26+g, redirect all its uses to an earlier wire h.\n vals=INPUT[:]\n wire=26+g\n for j,(op,a,b) in enumerate(gs):\n  if j==g:vals.append(vals[h]);continue\n  vals.append(vals[a]&vals[b] if op=='and' else vals[a]|vals[b])\n return vals[-1]\n\ndef stats():\n return dict(positive=len(POS),negative=len(NEG),maximal_false=len(MAXFALSE),positive_orbits=sorted(set(map(orbit,POS))),negative_orbits=sorted(set(map(orbit,NEG))),negative_distribution=sorted((list(k),v) for k,v in collections.Counter(((z&U).bit_count(),(z>>N).bit_count()) for z in NEG).items()))\n\ndef local_one():\n start=time.monotonic(); counts=collections.Counter();best=None;best_wrong=289;shapes=[];hist=collections.Counter()\n for dual,tree,top,order_name in itertools.product([False,True],range(15),['chain','balanced'],['natural','step2','step3','step5','reverse']):\n  order={'natural':list(range(13)),'step2':[(2*i)%13 for i in range(13)],'step3':[(3*i)%13 for i in range(13)],'step5':[(5*i)%13 for i in range(13)],'reverse':list(reversed(range(13)))}[order_name]\n  gs=plain(dual,tree,top,order);cnt=0;passed=0;shape_best=289\n  for g in range(64):\n   for h in range(26+g):\n    v=bypass(gs,g,h);wrong=(v^TARGET).bit_count();cnt+=1;hist[wrong]+=1\n    shape_best=min(shape_best,wrong)\n    if wrong<best_wrong:best_wrong=wrong;best=dict(dual=dual,tree=tree,top=top,order=order_name,removed_gate=g,replacement_wire=h,wrong=wrong,first_failed_input=TESTS[((v^TARGET)&-(v^TARGET)).bit_length()-1])\n    if not wrong:\n     passed+=1;print('FOUND',dual,tree,top,order_name,g,h,flush=True)\n  shapes.append(dict(dual=dual,tree=tree,top=top,order=order_name,candidates=cnt,passed=passed,best_errors=shape_best))\n  counts['shapes']+=1;counts['candidates']+=cnt;counts['passed']+=passed\n  if counts['shapes']%30==0:print('progress',dict(counts),'best',best_wrong,'seconds',round(time.monotonic()-start,2),flush=True)\n result=dict(stats=stats(),shapes=shapes,counts=dict(counts),best=best,histogram=sorted(hist.items()),seconds=time.monotonic()-start,least_size_passed=64)\n json.dump(result,open('test/scratch/local-one.json','w'),indent=2)\n print(json.dumps({k:v for k,v in result.items() if k not in ['shapes','histogram']}),flush=True)\n\nif __name__=='__main__':\n if len(sys.argv)>1 and sys.argv[1]=='local':local_one()\n else:print(json.dumps(stats(),indent=2));print('trees',TREES)\n","test/scratch/symmetry_enum.py":"import json,time\nfrom research import *\nstart=time.monotonic();reps=sorted(set(map(orbit,POS)))+sorted(set(map(orbit,NEG)))\nassert len(reps)==24\nvals=[[sum((((z>>(13*k+i))&1)<<j) for j,z in enumerate(reps)) for i in range(13)] for k in range(2)]\ntarget=(1<<4)-1\n\ndef parameters(kinds):\n return [(op,a,b,t) for op in ('and','or') for a in range(kinds) for b in range(a,kinds) for t in range(13)]\n\ndef neworbit(val,p):\n op,a,b,t=p\n if op=='and':return [val[a][i]&val[b][(i+t)%13] for i in range(13)]\n return [val[a][i]|val[b][(i+t)%13] for i in range(13)]\n\ndef outval(row):\n v=0\n for x in row:v|=x\n return v\n\nparams=[parameters(k) for k in (2,3,4)];counts=[0,0,0];passes=[0,0,0]\nfor a in params[0]:\n va=neworbit(vals,a);v1=vals+[va];counts[0]+=1;passes[0]+=outval(va)==target\n for b in params[1]:\n  vb=neworbit(v1,b);v2=v1+[vb];counts[1]+=1;passes[1]+=outval(vb)==target\n  for c in params[2]:\n   vc=neworbit(v2,c);counts[2]+=1\n   if outval(vc)==target:\n    passes[2]+=1;print('FOUND',a,b,c,flush=True)\nr=dict(shape='1, 2 or 3 phase-normalized 13-gate shift orbits followed by OR of final orbit',gate_counts=[25,38,51],parameter_counts=[len(x) for x in params],candidates=counts,passed=passes,tests=24,expanded_tests=288,seconds=time.monotonic()-start)\nprint(json.dumps(r),flush=True);json.dump(r,open('test/scratch/symmetry-enum.json','w'),indent=2)\n","test/scratch/frontier.py":"import sys,itertools,json,collections,time\nfrom research import *\nstart=time.monotonic();negset=set(NEG);extra=set()\nfor top in MAXFALSE:\n if top in negset:continue\n bits=[i for i in range(26) if top>>i&1]\n for k in range(1,len(bits)+1):\n  for comb in itertools.combinations(bits,k):\n   m=sum(1<<i for i in comb)\n   if any(m&~b==0 for b in NEG):continue\n   # Every proper one-bit deletion must be covered by some promised false input.\n   if all(any((m^(1<<i))&~b==0 for b in NEG) for i in comb):extra.add(m)\nassert all(not((z&U)&L[w]) for z in extra for w in range(13) if z>>(13+w)&1)\nr=dict(extra_minimal_true_sets=len(extra),size_distribution=sorted(collections.Counter(z.bit_count() for z in extra).items()),orbit_representatives=sorted(set(map(orbit,extra))),examples=[dict(points=[i for i in range(13) if z>>i&1],lines=[i for i in range(13) if z>>(13+i)&1]) for z in sorted(extra)[:3]],seconds=time.monotonic()-start)\nprint(json.dumps(r,indent=2));json.dump(r,open('test/scratch/frontier.json','w'),indent=2)\n","test/scratch/near_misses.py":"import json,itertools,collections,time\nfrom research import *\nstart=time.monotonic();best=237;rows=[];hist=collections.Counter()\nfor dual,tree,top in itertools.product([False,True],range(15),['chain','balanced']):\n gs=plain(dual,tree,top)\n for g in range(64):\n  for h in range(26+g):\n   v=bypass(gs,g,h)\n   if v&TARGET!=TARGET:continue\n   n=(v^TARGET).bit_count();hist[n]+=1\n   if n<best:best=n;rows=[]\n   if n==best:\n    bad=[NEG[i] for i in range(len(NEG)) if v>>(52+i)&1]\n    rows.append(dict(dual=dual,tree=tree,top=top,g=g,h=h,false_positives=n,first_negative=bad[0]))\nr=dict(layouts=60,bypasses=220800,min_false_positives_with_all_52_incident_pairs=best,best_count=len(rows),best=rows[:10],histogram=sorted(hist.items()),seconds=time.monotonic()-start)\njson.dump(r,open('test/scratch/near-misses.json','w'),indent=2);print(json.dumps(r))\n","test/scratch/local-two-all.cpp":"#include \"local-data-all.h\"\n#include <cstring>\n#include <iostream>\n#include <chrono>\n#include <algorithm>\nstruct Bits { uint64_t v[5]; };\nBits calc(int op,const Bits&a,const Bits&b){Bits r;for(int j=0;j<5;j++)r.v[j]=op?(a.v[j]&b.v[j]):(a.v[j]|b.v[j]);return r;}\nint errors(const Bits &v){int n=0;for(int j=0;j<5;j++)n+=__builtin_popcountll(v.v[j]^TARGET[j]);return n;}\nint main(int argc,char**argv){\n int first=argc>1?std::stoi(argv[1]):0,last=argc>2?std::stoi(argv[2]):300;\n auto started=std::chrono::steady_clock::now();\n for(int shape=first;shape<last;shape++){\n  auto gs=SHAPES[shape]; uint64_t count=0,equiv=0,pass=0,flipcount=0;int best=289,bg=-1,bh=-1,bk=-1,bport=-1,br=-1;\n  for(int g=0;g<64;g++)for(int h=0;h<26+g;h++){\n   Bits vals[90];std::memcpy(vals,INPUT,sizeof(INPUT));\n   for(int j=0;j<64;j++)vals[26+j]=(j==g)?vals[h]:calc(gs[j].op,vals[gs[j].a],vals[gs[j].b]);\n   auto evaledit=[&](int k,int port,int r,bool flip){\n    Bits nv=calc(gs[k].op^flip, vals[port==0?r:gs[k].a], vals[port==1?r:gs[k].b]);\n    if(!std::memcmp(&nv,&vals[26+k],sizeof(Bits))){equiv++;return;}\n    Bits tmp[90];std::memcpy(tmp,vals,sizeof(tmp));tmp[26+k]=nv;\n    for(int j=k+1;j<64;j++)tmp[26+j]=(j==g)?tmp[h]:calc(gs[j].op,tmp[gs[j].a],tmp[gs[j].b]);\n    int n=errors(tmp[89]);\n    if(n<best){best=n;bg=g;bh=h;bk=k;bport=port;br=flip?-1:r;}\n    if(!n){pass++;std::cout<<\"FOUND shape=\"<<shape<<\" remove=\"<<g<<\" use=\"<<h<<\" edit=\"<<k<<\" port=\"<<port<<\" new=\"<<r<<\" flip=\"<<flip<<std::endl;}\n   };\n   for(int k=0;k<64;k++)if(k!=g){\n    for(int port=0;port<2;port++)for(int r=0;r<26+k;r++)if(r!=26+g && r!=(port==0?gs[k].a:gs[k].b)){\n      count++;evaledit(k,port,r,false);\n    }\n    flipcount++;evaledit(k,2,gs[k].a,true);\n   }\n  }\n  double secs=std::chrono::duration<double>(std::chrono::steady_clock::now()-started).count();\n  std::cout<<\"{\\\"shape\\\":\"<<shape<<\",\\\"fanin_rewires\\\":\"<<count<<\",\\\"operation_flips\\\":\"<<flipcount<<\",\\\"semantically_unchanged_gate_edits\\\":\"<<equiv<<\",\\\"passed\\\":\"<<pass<<\",\\\"best_errors\\\":\"<<best<<\",\\\"best_edit\\\":[\"<<bg<<\",\"<<bh<<\",\"<<bk<<\",\"<<bport<<\",\"<<br<<\"],\\\"elapsed_seconds\\\":\"<<secs<<\"}\"<<std::endl;\n }\n}\n","test/scratch/independent_check.py":"import itertools,json,sys,random\nfrom research import *\nDset={0,1,3,9}\ndef incidence(p,w):return (p-w)%13 in Dset\npoints=set(range(13)); independent_negative=set(); all_maximal=set()\nfor size in range(14):\n for pp in itertools.combinations(range(13),size):\n  P=set(pp);W={w for w in range(13) if all(not incidence(p,w) for p in P)}\n  maximal=all(any(incidence(v,w) for w in W) for v in points-P)\n  if not maximal:continue\n  z=sum(1<<p for p in P)+sum(1<<(13+w) for w in W);all_maximal.add(z)\n  degenerate=any(all(incidence(p,w) for p in P) for w in range(13)) or any(all(incidence(v,w) for w in W) for v in range(13))\n  if degenerate:independent_negative.add(z)\nassert independent_negative==set(NEG) and all_maximal==set(MAXFALSE)\nassert {(1<<p)|(1<<(13+w)) for p in range(13) for w in range(13) if incidence(p,w)}==set(POS)\nassert {shift(z,t) for z in POS for t in range(13)}==set(POS)\nassert {shift(z,t) for z in NEG for t in range(13)}==set(NEG)\n# Check the concrete 64-gate SMT result with scalar Boolean evaluation, not packed vectors.\nc=json.load(open('test/scratch/symmetry-4.json'))\nfor z,expected in [(z,True) for z in POS]+[(z,False) for z in NEG]:\n wires=[bool(z>>i&1) for i in range(26)]\n for op,a,b in c['circuit']:wires.append((wires[a] and wires[b]) if op=='and' else (wires[a] or wires[b]))\n assert wires[c['out']]==expected\n# Re-evaluate each recorded best two-edit candidate by scalar evaluation of all 288 cases.\nshapes=list(itertools.product([False,True],range(15),['chain','balanced'],['natural','step2','step3','step5','reverse']))\nrows=[json.loads(line) for line in open('test/scratch/local-two-all.log') if line.startswith('{')]\nfor r in rows:\n dual,tree,top,order_name=shapes[r['shape']]\n order={'natural':list(range(13)),'step2':[(2*i)%13 for i in range(13)],'step3':[(3*i)%13 for i in range(13)],'step5':[(5*i)%13 for i in range(13)],'reverse':list(reversed(range(13)))}[order_name]\n gs=plain(dual,tree,top,order);g,h,k,port,replacement=r['best_edit'];errors=0\n for z,expected in [(z,True) for z in POS]+[(z,False) for z in NEG]:\n  wires=[bool(z>>i&1) for i in range(26)]\n  for j,(op,a,b) in enumerate(gs):\n   if j==g:wires.append(wires[h]);continue\n   if j==k:\n    if replacement<0:op='or' if op=='and' else 'and'\n    elif port==0:a=replacement\n    else:b=replacement\n   wires.append((wires[a] and wires[b]) if op=='and' else (wires[a] or wires[b]))\n  errors+=wires[-1]!=expected\n assert errors==r['best_errors'],(r['shape'],errors,r)\nprint(json.dumps(dict(independent_negative_sets=len(independent_negative),all_maximal_sets=len(all_maximal),scalar_smt64_cases=288,scalar_best_edit_cases=288*len(rows),best_edit_shapes=len(rows),status='PASS')))\n","test/scratch/reproduce.py":"\"\"\"Offline reproduction after extracting result.json's research_files at their relative paths.\nRun: python3 test/scratch/reproduce.py --full\nWithout --full, run the finite enumerations and four local-edit layouts.\nNo network or third-party Python packages are used; local-edit checks need g++.\n\"\"\"\nimport pathlib,subprocess,sys,json,itertools\nfrom research import *\nroot=pathlib.Path('test/scratch');root.mkdir(parents=True,exist_ok=True)\nfull='--full' in sys.argv\nfor name in ['symmetry_enum.py','frontier.py','near_misses.py']:\n subprocess.run([sys.executable,str(root/name)],check=True)\nif full:local_one()\nrows=[]\nfor dual,tree,top,order_name in itertools.product([False,True],range(15),['chain','balanced'],['natural','step2','step3','step5','reverse']):\n order={'natural':list(range(13)),'step2':[(2*i)%13 for i in range(13)],'step3':[(3*i)%13 for i in range(13)],'step5':[(5*i)%13 for i in range(13)],'reverse':list(reversed(range(13)))}[order_name]\n rows.append(plain(dual,tree,top,order))\ns='#include <cstdint>\\nstruct Gate { int op,a,b; };\\n'\ns+='static const Gate SHAPES[300][64] = {'+','.join('{'+','.join('{%d,%d,%d}'%(op=='and',a,b) for op,a,b in gs)+'}' for gs in rows)+'};\\n'\ns+='static const uint64_t INPUT[26][5] = {'+','.join('{'+','.join(str((sig>>(64*k))&((1<<64)-1))+'ULL' for k in range(5))+'}' for sig in INPUT)+'};\\n'\ns+='static const uint64_t TARGET[5] = {'+','.join(str((TARGET>>(64*k))&((1<<64)-1))+'ULL' for k in range(5))+'};\\n'\n(root/'local-data-all.h').write_text(s)\nsubprocess.run(['g++','-O3','-std=c++17',str(root/'local-two-all.cpp'),'-o',str(root/'local-two-all')],check=True)\nwith (root/'local-two-all.log').open('w') as log:\n subprocess.run([str(root/'local-two-all'),'0','300' if full else '4'],stdout=log,check=True)\nsubprocess.run([sys.executable,str(root/'independent_check.py')],check=True)\nrows=[json.loads(x) for x in (root/'local-two-all.log').read_text().splitlines()]\nassert len(rows)==(300 if full else 4) and all(x['passed']==0 for x in rows)\nprint(json.dumps(dict(checked_layouts=len(rows),fanin_rewire_candidates=sum(x['fanin_rewires'] for x in rows),operation_flip_candidates=sum(x['operation_flips'] for x in rows),least_passing_size=64,status='PASS')))\n","test/scratch/symmetry-4.json":"{\n  \"depth\": 4,\n  \"gate_count\": 64,\n  \"status\": \"sat\",\n  \"seconds\": 11.515130528016016,\n  \"timeout_ms\": 300000,\n  \"reason\": \"\",\n  \"params\": [\n    [\n      \"or\",\n      0,\n      0,\n      9\n    ],\n    [\n      \"or\",\n      0,\n      2,\n      10\n    ],\n    [\n      \"or\",\n      0,\n      3,\n      2\n    ],\n    [\n      \"and\",\n      1,\n      4,\n      1\n    ]\n  ],\n  \"circuit\": [\n    [\n      \"or\",\n      0,\n      9\n    ],\n    [\n      \"or\",\n      1,\n      10\n    ],\n    [\n      \"or\",\n      2,\n      11\n    ],\n    [\n      \"or\",\n      3,\n      12\n    ],\n    [\n      \"or\",\n      4,\n      0\n    ],\n    [\n      \"or\",\n      5,\n      1\n    ],\n    [\n      \"or\",\n      6,\n      2\n    ],\n    [\n      \"or\",\n      7,\n      3\n    ],\n    [\n      \"or\",\n      8,\n      4\n    ],\n    [\n      \"or\",\n      9,\n      5\n    ],\n    [\n      \"or\",\n      10,\n      6\n    ],\n    [\n      \"or\",\n      11,\n      7\n    ],\n    [\n      \"or\",\n      12,\n      8\n    ],\n    [\n      \"or\",\n      0,\n      36\n    ],\n    [\n      \"or\",\n      1,\n      37\n    ],\n    [\n      \"or\",\n      2,\n      38\n    ],\n    [\n      \"or\",\n      3,\n      26\n    ],\n    [\n      \"or\",\n      4,\n      27\n    ],\n    [\n      \"or\",\n      5,\n      28\n    ],\n    [\n      \"or\",\n      6,\n      29\n    ],\n    [\n      \"or\",\n      7,\n      30\n    ],\n    [\n      \"or\",\n      8,\n      31\n    ],\n    [\n      \"or\",\n      9,\n      32\n    ],\n    [\n      \"or\",\n      10,\n      33\n    ],\n    [\n      \"or\",\n      11,\n      34\n    ],\n    [\n      \"or\",\n      12,\n      35\n    ],\n    [\n      \"or\",\n      0,\n      41\n    ],\n    [\n      \"or\",\n      1,\n      42\n    ],\n    [\n      \"or\",\n      2,\n      43\n    ],\n    [\n      \"or\",\n      3,\n      44\n    ],\n    [\n      \"or\",\n      4,\n      45\n    ],\n    [\n      \"or\",\n      5,\n      46\n    ],\n    [\n      \"or\",\n      6,\n      47\n    ],\n    [\n      \"or\",\n      7,\n      48\n    ],\n    [\n      \"or\",\n      8,\n      49\n    ],\n    [\n      \"or\",\n      9,\n      50\n    ],\n    [\n      \"or\",\n      10,\n      51\n    ],\n    [\n      \"or\",\n      11,\n      39\n    ],\n    [\n      \"or\",\n      12,\n      40\n    ],\n    [\n      \"and\",\n      13,\n      53\n    ],\n    [\n      \"and\",\n      14,\n      54\n    ],\n    [\n      \"and\",\n      15,\n      55\n    ],\n    [\n      \"and\",\n      16,\n      56\n    ],\n    [\n      \"and\",\n      17,\n      57\n    ],\n    [\n      \"and\",\n      18,\n      58\n    ],\n    [\n      \"and\",\n      19,\n      59\n    ],\n    [\n      \"and\",\n      20,\n      60\n    ],\n    [\n      \"and\",\n      21,\n      61\n    ],\n    [\n      \"and\",\n      22,\n      62\n    ],\n    [\n      \"and\",\n      23,\n      63\n    ],\n    [\n      \"and\",\n      24,\n      64\n    ],\n    [\n      \"and\",\n      25,\n      52\n    ],\n    [\n      \"or\",\n      65,\n      66\n    ],\n    [\n      \"or\",\n      78,\n      67\n    ],\n    [\n      \"or\",\n      79,\n      68\n    ],\n    [\n      \"or\",\n      80,\n      69\n    ],\n    [\n      \"or\",\n      81,\n      70\n    ],\n    [\n      \"or\",\n      82,\n      71\n    ],\n    [\n      \"or\",\n      83,\n      72\n    ],\n    [\n      \"or\",\n      84,\n      73\n    ],\n    [\n      \"or\",\n      85,\n      74\n    ],\n    [\n      \"or\",\n      86,\n      75\n    ],\n    [\n      \"or\",\n      87,\n      76\n    ],\n    [\n      \"or\",\n      88,\n      77\n    ]\n  ],\n  \"out\": 89,\n  \"independent_all_288_tests\": true\n}"},"agent_contributions":[{"agent":"plane-cd","role":"counterexample discovery","strategy":"search under symmetry","work":["Enumerated promise inputs and symmetry classes.","Ran bounded template and local-edit searches.","Built and independently checked the OR-network minimum lemma.","Packaged reproducible programs and precise negative results."]}],"submission_status":{"leased":false,"submitted":false,"github_sign_in_used":false,"status":"Anonymous local supporting lemma and research report only; no proof of the posted step was submitted."},"sources":["https://raw.githubusercontent.com/open-goat/pequalnp-proofs/cbe351cbac4c565641f691678c1d0b1d1ea4fa7c/README.md","https://raw.githubusercontent.com/open-goat/pequalnp-proofs/cbe351cbac4c565641f691678c1d0b1d1ea4fa7c/CONTRIBUTING.md","https://raw.githubusercontent.com/open-goat/pequalnp-proofs/cbe351cbac4c565641f691678c1d0b1d1ea4fa7c/lean/lean-toolchain","https://raw.githubusercontent.com/open-goat/pequalnp-proofs/cbe351cbac4c565641f691678c1d0b1d1ea4fa7c/lean/lake-manifest.json","https://raw.githubusercontent.com/open-goat/pequalnp-proofs/cbe351cbac4c565641f691678c1d0b1d1ea4fa7c/lean/PEqualNP/Defs/CircuitLowerBounds.lean","https://raw.githubusercontent.com/open-goat/pequalnp-proofs/cbe351cbac4c565641f691678c1d0b1d1ea4fa7c/lean/PEqualNP/Defs/MetaComplexityLgpMono.lean","https://raw.githubusercontent.com/open-goat/pequalnp-proofs/cbe351cbac4c565641f691678c1d0b1d1ea4fa7c/lean/PEqualNP/Defs/MetaComplexityMinimal.lean","https://raw.githubusercontent.com/open-goat/pequalnp-proofs/cbe351cbac4c565641f691678c1d0b1d1ea4fa7c/tools/check-lean.mjs","https://raw.githubusercontent.com/open-goat/pequalnp-proofs/cbe351cbac4c565641f691678c1d0b1d1ea4fa7c/lean/CheckLemma.lean","https://raw.githubusercontent.com/open-goat/pequalnp-proofs/cbe351cbac4c565641f691678c1d0b1d1ea4fa7c/lean/PEqualNP/Outside/L_meta_1680.lean","https://pequalnp.com/join.txt","https://pequalnp.com/desk/row?gap=L-meta-1683","https://raw.githubusercontent.com/leanprover-community/mathlib4/fc4f59e577feb1a4956671bc04ac18aaaf8cd842/Mathlib/Data/Finset/Card.lean","https://raw.githubusercontent.com/leanprover-community/mathlib4/fc4f59e577feb1a4956671bc04ac18aaaf8cd842/Mathlib/Data/Finset/Union.lean","https://raw.githubusercontent.com/leanprover-community/mathlib4/fc4f59e577feb1a4956671bc04ac18aaaf8cd842/Mathlib/Algebra/BigOperators/Ring/Finset.lean","https://raw.githubusercontent.com/leanprover-community/mathlib4/fc4f59e577feb1a4956671bc04ac18aaaf8cd842/Mathlib/Algebra/BigOperators/Group/Finset/Basic.lean","https://raw.githubusercontent.com/leanprover/lean4/611c117bfaf7b7ae1cfcf246ce6fba31e8f509e9/src/Init/Data/List/OfFn.lean","https://raw.githubusercontent.com/leanprover/lean4/611c117bfaf7b7ae1cfcf246ce6fba31e8f509e9/src/Init/Data/List/Lemmas.lean","https://pequalnp.com/desk/step?gap=L-meta-1683"],"step_state":{"state":"leased","checked_at_utc":"2026-11-26 02:48:03 UTC","source":"https://pequalnp.com/desk/step?gap=L-meta-1683"}}
