chars
int64
40
24k
content_type
stringclasses
9 values
id
stringlengths
13
64
source
stringclasses
5 values
subset
stringclasses
31 values
text
stringlengths
40
24k
9,117
lean_file_chunk
7a9fa2c363e8d3bd81dfcf6919cdec455104c9221db958d86ae900f5e45867b9
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Basic import Mathlib.Data.Fintype.Basic import Mathlib.Tactic.FinCases /-! # Example 1.2 (Scott 19...
9,777
lean_file_chunk
52844ff562a20b1f005417e50daac99fa4a01f790100c8ff6948f5ca605f5655
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Basic import Mathlib.Data.Fintype.Basic import Mathlib.Tactic.FinCases /-! # Example 1.3 (Scott 19...
23,982
lean_file_chunk
da5452c814d8e2bfebe1e8e289017d1509d10d2054f1194d60c675b379a6116b
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Basic import Mathlib.Data.Fintype.Basic import Mathlib.Tactic.FinCases /-! # Example 1.4 (Scott 19...
10,285
lean_file_chunk
2e26898c5587069d9c155b48badea10c19942c3cfd7049a3c972f27badd4e1dd
lean_source_file
lean_pool_source_file_chunks
have hi := x.inter_mem hx h rw [show (leaf01 ∩ leaf00 : Set Token) = ∅ from by ext t; fin_cases t <;> simp [leaf01, leaf00]] at hi exact not_mem_empty (x.sub hi) · exfalso have hi := x.inter_mem hx h rw [show (leaf10 ∩ leaf00 : Set Token) = ∅ from by ext t; fin_cases t <;> si...
2,597
lean_file_chunk
7e29fb62b39d50c5658a8cff16222017a4b98353b5a25208c3ce985be0b8a955
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Basic import Mathlib.Data.Fintype.Basic import Mathlib.Tactic.FinCases /-! # Example 1.5 (Scott 19...
5,839
lean_file_chunk
a810e11d6b19c5b731dd1af5e39c8228aa25e5499afb3584ba48d90a43647eed
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Approximable import LeanPool.DomainTheory.Neighborhood.Example12 import LeanPool.DomainTheory.Neigh...
4,431
lean_file_chunk
603c08d2ea16f82eaf6cd44805ce7b56dd56b294a6f8eb742c0ecdf608eb25c1
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Approximable import LeanPool.DomainTheory.Neighborhood.ExampleB /-! # Example 2.4 (Scott 1981, PRG...
10,516
lean_file_chunk
d4f64ca5b0a43e27d36291f6621142145e31a2bb80bf84338196b2dc22a33f83
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Example23 import LeanPool.DomainTheory.Neighborhood.Theorem41 /-! # Example 4.3 (Scott 1981, PRG-1...
7,917
lean_file_chunk
c923e7300ffbaa260a55e52cca3f87d661553b650d98596af90f012ec5c5bf19
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Example23 import LeanPool.DomainTheory.Neighborhood.Theorem41 /-! # Example 4.4 (Scott 1981, PRG-1...
23,956
lean_file_chunk
d89cbd8e078b65efb02cb52960c7176158a06b746aa2ddc05b4b7f1ee8ae077e
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Product import LeanPool.DomainTheory.Neighborhood.Exercise319Sum /-! # Example 6.1 (Scott 1981, PR...
8,510
lean_file_chunk
55bcaf69d2fb802fb8c0a4cb942b8a337c8785e5fcc52de433086ba281017c52
lean_source_file
lean_pool_source_file_chunks
rcases hmem with ⟨p', hp', -⟩ | ⟨q', hq', -⟩ · simp at hp' · simp at hq' theorem embZero_ne_embPair {X : Set α} (hX : D.mem X) (P Q : Set (List Bool × α)) : embZero X ≠ embPair P Q := by intro h obtain ⟨a, ha⟩ := hD X hX have hmem : (([], a) : List Bool × α) ∈ embPair P Q := h ▸ (⟨rfl, ha⟩ : ([], a) ∈ em...
16,484
lean_file_chunk
a315532d599631f81e8996fa6559c7349f09602c5c3c559e1b6598427af5c1c9
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.ExampleB import LeanPool.DomainTheory.Neighborhood.Exercise319Sum /-! # Example 6.2 (Scott 1981, P...
23,984
lean_file_chunk
33eb82514270b5e813d6320d5048980c62154ce12a3df75cf9899e2fd19fadfa
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.ExampleB import LeanPool.DomainTheory.Neighborhood.Exercise319Sum /-! # Example 6.2 (Scott 1981, P...
1,352
lean_file_chunk
5a035a243b860d66b9ddfbfba59109f6ac75ce80b1afc0d84dd4677aab54ffcf
lean_source_file
lean_pool_source_file_chunks
exact Or.inr (Or.inr ⟨Y, hY, rfl, (fromAA_mem_embT hn hY).mpr hW⟩) /-- **The isomorphism `|A| ≃o |Aⁿ + Aⁿ|`.** -/ def aaEquiv (hn : 0 < n) : (Asys n hn).Element ≃o (AAsys hn).Element where toFun := toAA hn invFun := fromAA hn left_inv := fromAA_toAA hn right_inv := toAA_fromAA hn map_rel_iff' := by intro...
23,981
lean_file_chunk
100520be2b4de0ad9e296c180508234364191459671e66bbb9810dd3759dd9d3
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Example62 import LeanPool.DomainTheory.Neighborhood.Example44 import LeanPool.DomainTheory.Neighbor...
8,613
lean_file_chunk
3eff83bbca0db4fe2df05826b8b540b3794a85da216b4648c8f3314ea163b132
lean_source_file
lean_pool_source_file_chunks
/-- **Example 6.2 — inverse half of `C ≅ 𝟙 + C + C`.** -/ def fromCC (s : CC.Element) : C.Element where mem W := W = Set.univ ∨ (W = ({[]} : Set Str) ∧ s.mem (j0 (Set.univ : Set Unit))) ∨ (∃ X, C.mem X ∧ W = embBit false X ∧ s.mem (j1 X)) ∨ (∃ Y, C.mem Y ∧ W = embBit true Y ∧ s.mem (j2 Y)) sub := by ...
7,814
lean_file_chunk
84e0d98415adbbb2b400805848df466ca0df3b0bdbf6fdd0487ecfd4d9da69a5
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import Mathlib.Computability.MyhillNerode /-! # Example 6.2 (Scott 1981, PRG-19, §6) — eventually-periodic trees and regular events Followi...
9,887
lean_file_chunk
46e9f937333d78f7aa2a09a5dabcb87fd4bd90bde9254886feeedb393ad6dc07
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Basic import Mathlib.Data.List.Infix /-! # Example 1.B (Scott 1981, PRG-19, §1) — binary sequences...
6,544
lean_file_chunk
ffdd71b1106c815dcde2d40d6df37c246ba5c5e7b2c3f4ad01c4d15a5f69fe0b
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Basic import Mathlib.Data.Nat.Find /-! # Exercise 1.12 (Scott 1981, PRG-19, §1) — the final-segmen...
4,972
lean_file_chunk
178126f555fbbfd58f2a1a1f142428ce589c5aa6136645245c6b2b88b13f033d
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.ExampleB import LeanPool.DomainTheory.Neighborhood.Theorem111 /-! # Exercise 1.13 (Scott 1981, PRG...
3,691
lean_file_chunk
d7c8639bb6dba1ffbb9a5bac0980f23862cafd2341752fcbdb173f20f9e49c48
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Basic import Mathlib.Data.Set.Finite.Basic /-! # Exercise 1.14 (Scott 1981, PRG-19, §1) — finite n...
8,812
lean_file_chunk
b7cf65d3acab1d9617c766f495d716d00079b99fbc11340d0a034f2072390a86
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Basic import Mathlib.Tactic.NormNum /-! # Exercise 1.15 (Scott 1981, PRG-19, §1) — non-isomorphic ...
6,490
lean_file_chunk
5905823b94061168ce11d8a0769ab5d6c800a1039e05eb5f8c7bd8d85c4923d4
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Basic import Mathlib.Data.Set.Finite.Basic /-! # Exercise 1.16 (Scott 1981, PRG-19, §1) — cofinite...
5,118
lean_file_chunk
37a0197adabdf1f06cf8238b35371cf4b9ac3fb28b9fe637f82fdaa6375d6d42
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Basic import Mathlib.Algebra.Order.Archimedean.Real.Basic import Mathlib.Data.Real.Basic import Mat...
9,506
lean_file_chunk
8f453caba8aded26754698e17d2a8f568645264c8372b2b4b0d00d5c300e29df
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Basic import Mathlib.Data.Fintype.Basic import Mathlib.Tactic.FinCases import Mathlib.Tactic.Interv...
5,962
lean_file_chunk
60acddbe56f9761348c0f5409f82b14faf5726268171ff2434a448a5138df65b
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Basic import Mathlib.Data.Fintype.Basic import Mathlib.Tactic.FinCases /-! # Exercise 1.19 (Scott ...
7,228
lean_file_chunk
a7d4f428f4eff3f04d4301a6a695a2100bd093b3c3625f9e4ff1e2e4a2fa3069
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Basic import Mathlib.Tactic.Tauto /-! # Exercise 1.20 (Scott 1981, PRG-19, §1) — the power system ...
5,340
lean_file_chunk
8b25d906dd3220c96d4f7c2a6b7598adb2e8e7945daa20b7d0ef994c17e578aa
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Theorem110 /-! # Exercise 1.21 (Scott 1981, PRG-19, §1) — Theorem 1.10 in greater detail Scott as...
6,791
lean_file_chunk
6a41b865cfc0decb79c513982ddf8e694f7193476b1d15ed71fe654a1563f150
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Basic import Mathlib.Topology.Inseparable /-! # Exercise 1.22 (Scott 1981, PRG-19, §1) — the topol...
10,044
lean_file_chunk
350655b269702bd126dd76ccdb2985623aba489483b2e34f76e0b7353968b539
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Basic /-! # Exercise 1.23 (Scott 1981, PRG-19, §1) — the greedy total element of a countable syste...
3,410
lean_file_chunk
b6dd7026bce5e301e8a0b7a253edee8beda218126f955db7865e14c56bb430ff
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Basic import Mathlib.Order.Zorn /-! # Exercise 1.24 (Scott 1981, PRG-19, §1) — every partial eleme...
9,411
lean_file_chunk
2f2f5a629fdc6024309399c395833955907796444abdad308cc8212bae2f86c0
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Basic import Mathlib.Order.UpperLower.Basic import Mathlib.Order.Bounds.Basic /-! # Exercise 1.25 ...
9,189
lean_file_chunk
b12d757fecf5a0b9dffb58f3bf09ad7e6bbbea7bf0d3e46a432356b1612c2574
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Basic import Mathlib.RingTheory.Ideal.Span import Mathlib.Tactic.Ring /-! # Exercise 1.26 (Scott 1...
6,872
lean_file_chunk
9887b74edef22323cb39cc2fa7ae07e66219ff74ed47a1bf0394b40d4c1cd8fe
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise118 import Mathlib.Data.Set.Finite.Range import Mathlib.Tactic.NormNum /-! # Exercise 1.27...
5,960
lean_file_chunk
a0d7f59944d932d66cb31255659a434a3510a4c1f2955bb028175b417fd229f3
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.ApproximableExercises import LeanPool.DomainTheory.Neighborhood.Exercise122 /-! # Exercise 2.13 (S...
6,486
lean_file_chunk
7379442cc10547cfda40b16b5833bb94d66d4d88e6f8c5f811735d0f875711a0
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Approximable /-! # Exercise 2.14 (Scott 1981, PRG-19, §2) — the neighbourhood correspondence `φ` o...
10,946
lean_file_chunk
5001554ee097beff42fc1684e66a045a6e8b42cc3fb36b4e73ba2600b1c1dd99
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise213 /-! # Exercise 2.15 (Scott 1981, PRG-19, §2) — the one-token system `𝒪` (Sierpiński s...
2,779
lean_file_chunk
04b5ef06612506d3381bea700710a70a7d81204a504168642a847399ba3f72b8
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Approximable import LeanPool.DomainTheory.Neighborhood.ExampleB /-! # Exercise 2.16 (Scott 1981, P...
9,414
lean_file_chunk
0d48ee3f929dd50998bd80455a884b1a6d9752a24f052c03c272946567f112e5
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Example24 import LeanPool.DomainTheory.Neighborhood.ApproximableExercises /-! # Exercise 2.18 (Sco...
12,290
lean_file_chunk
269e124332a06c2e16480e08f98f5aef814edc869504acf5886be12511fe68e8
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.ApproximableExercises import Mathlib.Data.Set.Finite.Basic /-! # Exercise 2.20 (Scott 1981, PRG-19...
13,143
lean_file_chunk
fe1eca0c31aacbfebecad351b65d3c9a972ced0083fe35ed751230974b9c569f
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.ApproximableExercises import LeanPool.DomainTheory.Neighborhood.ExampleB /-! # Exercise 2.21 (Scot...
12,929
lean_file_chunk
4c1a6d22873fe6c106bfe0f7e9d38a81696b7ee35634eed5d0a4515bedbfde31
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Approximable import Mathlib.Data.Set.Finite.Basic import Mathlib.Data.Set.Lattice import Mathlib.Or...
2,700
lean_file_chunk
cd7f44e7cd02e1e6874ae862cedc580cf514f0c8f9f3f33b771c983b7d42fe54
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Product /-! # Exercise 3.14 (Scott 1981, PRG-19, §3) — the diagonal map Scott's Exercise 3.14 mak...
6,042
lean_file_chunk
d7d5590b29e2ea352ebd1b554ea6c03be8b333ff4f3e44601034f4d25fd40b0b
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Product /-! # Exercise 3.15 (Scott 1981, PRG-19, §3) — the usual product isomorphisms Scott asks ...
13,833
lean_file_chunk
175f5c6e7860beca30c0b1132316b611b12872ca8332e6b8f629f29ccd3e09ca
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise315 /-! # Exercise 3.16 (Scott 1981, PRG-19, §3) — the infinite iterate `𝒟^∞` Scott: for...
9,835
lean_file_chunk
f54ad9b5874ee12fe21a46a41b950b23fbb2b1b7e93e8c51b7e855a2386866e7
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Example23 import LeanPool.DomainTheory.Neighborhood.Exercise316 import LeanPool.DomainTheory.Neighb...
17,749
lean_file_chunk
8b9a240f46dc1f094306c4257cb2bc976f7f70e3fe55890686e5bd5808accdbd
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Approximable import Mathlib.Data.Set.Image import Mathlib.Data.Set.Insert /-! # Exercise 3.18 (Sco...
4,557
lean_file_chunk
41e72aabd5523807134b9b3961f7779fc9ffeb3354a9ae03825af1f3444fa225
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Product /-! # Exercise 3.19 / 3.20 (Scott 1981, PRG-19, §3) — the product functor `f × g` Given a...
10,696
lean_file_chunk
a5c90e192715a6c2b88cdccd1ae3fbcd75db9fb5aaff9f0596f5e299222d39f7
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise318 /-! # Exercise 3.19 (Scott 1981, PRG-19, §3) — the sum functor `f + g` Given approxim...
8,186
lean_file_chunk
9db032dc9d0213eab39da50054e3820688887a5a9579906abd4bc8f3f9f01c25
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.FunctionSpace /-! # Exercise 3.21 (Scott 1981, PRG-19, §3) — when does `[Y, Z]` determine `Y` and ...
3,760
lean_file_chunk
a0aee3d5172e84320580a3eedc754e00750ad04de9bc721a4662051c2d47584b
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.FunctionSpace /-! # Exercise 3.22 (Scott 1981, PRG-19, §3) — composition is approximable Scott as...
3,040
lean_file_chunk
65303a415f441a4f007c263195b4916057383b89c10e6d33048ae4cba59a2eca
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise315 import LeanPool.DomainTheory.Neighborhood.FunctionSpace /-! # Exercise 3.23 (Scott 198...
2,957
lean_file_chunk
baa7180e582842e4eb0b9ae7f53679112a94483de6130cfe852986c213dad982
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise315 import LeanPool.DomainTheory.Neighborhood.FunctionSpace /-! # Exercise 3.24 (Scott 198...
8,376
lean_file_chunk
be079877ea2a6ade27d7805d7dc0733ea681c8ae284f36a515c40dff613cff56
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise319Sum import LeanPool.DomainTheory.Neighborhood.Product /-! # Exercise 3.24(iii)(iv) (Sco...
6,628
lean_file_chunk
192f01a106f5b56439a9b6f3f534c940943ee84ebbfe7616b16f57f5899614bb
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise316 import LeanPool.DomainTheory.Neighborhood.FunctionSpace /-! # Exercise 3.24(ii) (Scott...
6,671
lean_file_chunk
bf763b9625cdba651967d5c09c7906d3cc35fe31ba7aac587192d9a03e00669b
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise122 import LeanPool.DomainTheory.Neighborhood.FunctionSpace /-! # Exercise 3.25 (Scott 198...
14,068
lean_file_chunk
743627e89f4c8f2d9a21d9262d1982ea0647642a02ed27955d2103b62402a603
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Product import LeanPool.DomainTheory.Neighborhood.Example23 /-! # Exercise 3.26 (Scott 1981, PRG-1...
16,584
lean_file_chunk
441ca90e9fde06be26f7251df7fd39c8c85103e876c8df0faa06940a7f44ffda
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise326 import LeanPool.DomainTheory.Neighborhood.Exercise319Sum /-! # Exercise 3.26, continue...
7,323
lean_file_chunk
9876abfd09487a5762dd2c476114f878c047b5863beafdea28b204bc58fcfef2
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise222 import LeanPool.DomainTheory.Neighborhood.FunctionSpace /-! # Exercise 3.27 (Scott 198...
5,322
lean_file_chunk
738e3b62d8c10e628f9f41edf08eeb7b24bd1c7b7652706a4be2e81262cd5537
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.FunctionSpace import LeanPool.DomainTheory.Neighborhood.Exercise127 /-! # Exercise 3.28 (Scott 198...
5,365
lean_file_chunk
0eb2abbb1a63dd2e88b7109efdfb75afbbe13bf1cf249f55cc5725c63f058ba7
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Theorem41 import LeanPool.DomainTheory.Neighborhood.ApproximableExercises /-! # Exercise 4.7 (Scot...
5,173
lean_file_chunk
4c90bee4cf5ce668e283f7f2e948708e00cef369c493e0bf6c38650d162aa4d2
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Theorem41 import LeanPool.DomainTheory.Neighborhood.ApproximableExercises /-! # Exercise 4.8 (Scot...
5,216
lean_file_chunk
fa3a9d8e5f3994cd04fadac9aba7ce0db5090d75803832468e7ebfb08dad1f56
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Theorem41 /-! # Exercise 4.9 (Scott 1981, PRG-19, Lecture IV) — the operator `Ψ` and `fix = fix(Ψ)...
9,576
lean_file_chunk
2d56125d08ccc9195fbc1eac20d9e6bc33e00be80eea6ed4f685edea36a42ab9
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Theorem41 /-! # Exercise 4.10 (Scott 1981, PRG-19, Lecture IV) — the relativized domain `Dₐ` Give...
7,831
lean_file_chunk
6a891f20b036aad0965a39fe66a9fe009bdb91f39aef4433e8755267d6767f14
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise407 import LeanPool.DomainTheory.Neighborhood.Exercise410 /-! # Exercise 4.11 (Scott 1981,...
3,317
lean_file_chunk
7aab1ff887803bb1ab1284c64628de5692d2d54f8e3aed07aa60b967b9c4dfa6
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Approximable import LeanPool.DomainTheory.Neighborhood.Example12 /-! # Exercise 4.12 (Scott 1981, ...
5,883
lean_file_chunk
509e17be0a084d9b3178fa11ee7fedafb782894d0c68871589f9233d9404a64b
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise118 import LeanPool.DomainTheory.Neighborhood.Theorem41 /-! # Exercise 4.13 (Scott 1981, P...
4,420
lean_file_chunk
3bcecd0fa99e96f113f868f1bca66ecbd7881578ddc7af2552c6528a0be72423
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import Mathlib.Data.Set.Basic import Mathlib.Order.Monotone.Basic /-! # Exercise 4.14 (Scott 1981, PRG-19, Lecture IV) — `P A` has a maximum...
3,942
lean_file_chunk
f7f0783cdaf74fe6929b120590cfe3de049dd98e54bae9947578d27d4d17916e
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise124 import LeanPool.DomainTheory.Neighborhood.Exercise413 /-! # Exercise 4.15 (Scott 1981,...
3,752
lean_file_chunk
89e0644c828cc22a4b6d56b01d9f34c627ac49c372d3c5565558b2bd8ae7954a
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise413 import LeanPool.DomainTheory.Neighborhood.Exercise415 /-! # Exercise 4.16 (Scott 1981,...
5,801
lean_file_chunk
3644c7f11f1a0819d3cfbe1196379ad21c7dab9a401c532c9d719c87feb23cbb
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise414 import Mathlib.Algebra.Group.Submonoid.Basic import Mathlib.Algebra.Group.Pointwise.Set...
4,046
lean_file_chunk
3798dee25980bf15f7c0a60a161daeccbf21dccdb75ca3565bcd42ecdb79fa89
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Example43 /-! # Exercise 4.18 (Scott 1981, PRG-19, Lecture IV) *In Example 4.3 there are many unp...
14,614
lean_file_chunk
7b64233fbefd02926aa16ac3e3f13341d9e579a49164fe8863f66d859c630b27
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Example44 import LeanPool.DomainTheory.Neighborhood.Exercise326 /-! # Exercise 4.19 (Scott 1981, P...
2,937
lean_file_chunk
45abeb84a8ecfff37b473876278bbc67b17b2561d91ceb769bbdc05ef80144a6
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Theorem41 /-! # Exercise 4.20 (Scott 1981, PRG-19, Lecture IV) For approximable `f, g : 𝒟 → 𝒟` ...
7,600
lean_file_chunk
11b22c4733a1baefe3d36132631a0f7a26dd2a8d5b9d70dd53d249a01d684a5b
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise414 import Mathlib.Tactic.Ring /-! # Exercise 4.21 (Scott 1981, PRG-19, Lecture IV) — `≤` ...
6,100
lean_file_chunk
cceaf207bb27de3f772f0fce4f711a4adc80951f5495534dff08543fb496c8d4
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise414 import LeanPool.DomainTheory.Neighborhood.Theorem46 /-! # Exercise 4.22 (Scott 1981, P...
3,891
lean_file_chunk
46b4ddd4656c52dd0601c5349243ce082f2792c133b8b3b313daab71bd908911
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Theorem41 /-! # Exercise 4.23 (Scott 1981, PRG-19, Lecture IV) — Eilenberg's uniqueness criterion ...
5,377
lean_file_chunk
514284667a7a15d68fa590c18bd7c5fc8c6298315be03bd8ab7978dc445e2094
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise414 /-! # Exercise 4.24 (Scott 1981, PRG-19, Lecture IV) — Schröder–Bernstein via a fixed ...
8,513
lean_file_chunk
fe2b7fa5da0d74ab8c1e57f9b4db96773286826643ee6698dee15f7260afa9d4
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Example43 /-! # Exercise 4.25 (Scott 1981, PRG-19, Lecture IV) — the unary sequence domain `C₁` *...
5,258
lean_file_chunk
2bd0a58b1f4f320ad2e73c68dbbe9a7cd22633af4591075072b90a295fb0bd65
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.FunctionSpace /-! # Exercise 5.7 (Scott 1981, PRG-19, §5) — multi-variable `λ` and application fro...
11,135
lean_file_chunk
8aa80e4d82cf39f792907f74210e274870f2500c5287fc2e015bf1ec4ea0516e
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.FunctionSpace /-! # Exercise 5.8 (Scott 1981, PRG-19, §5) — combinatory completeness > **(For com...
7,776
lean_file_chunk
98230789f0861fb193a70d594fac34b6154b7997566c113f57fd71543acf8955
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise407 import Mathlib.Tactic.Ring /-! # Exercise 5.9 (Scott 1981, PRG-19, Lecture V) Suppose...
23,987
lean_file_chunk
8702b5d64b2f1154814de65e0dc0c3028324c20889c6302184e03b8a3c55eb7b
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.FunctionSpace /-! # Exercise 5.10 (Scott 1981, PRG-19, §5) — the smash product and the strict func...
15,458
lean_file_chunk
39f061bdbaa5d3375a323ed94c64e9dbe47fe1ee043e9beb7d0fd407c95e18db
lean_source_file
lean_pool_source_file_chunks
are the same as strict maps into a strict function space. We realise the iso with the "appropriate combinators" Scott asks for — a *strict curry* and *strict uncurry* — connected by the computation `g(⟨x, y⟩⊗) = (curry g)(x)(y)`. The decisive computation is `smashPair_principal_apply`: for *proper* `X, Y`, applying `g...
9,648
lean_file_chunk
7d987a839bd389d5e0050c66d8229056ea24972b5db6d49708d85faa8b154ae6
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise316 import LeanPool.DomainTheory.Neighborhood.Theorem41 /-! # Exercise 5.11 (Scott 1981, P...
5,888
lean_file_chunk
5cb882a72edc609cd2e7918dea0d9f67c7f707a2b312520deebd6f07c4ce1eac
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Theorem41 import LeanPool.DomainTheory.Neighborhood.Exercise326 /-! # Exercise 5.12 (Scott 1981, P...
8,013
lean_file_chunk
200f90ab2bd599e5c41ae203874e6f162ad6bbcd3e43cc149f38826e546355f1
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import Mathlib.Logic.Equiv.Nat import Mathlib.Order.Hom.Set import Mathlib.Data.Set.Image import Mathlib.Algebra.Ring.Parity import Mathlib.T...
7,174
lean_file_chunk
8cc14cfa099742bb6790bfa2ddcb021d8ca6900f9afff82f1c920a82e2b69bed
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise513 import Mathlib.Data.List.Basic /-! # Exercise 5.14 (Scott 1981, PRG-19, Lecture V) — t...
12,470
lean_file_chunk
b553816b296e00182791cad62481172d4c1cb6c0e50cd44ffb0f4c9e89dab64c
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise414 import Mathlib.Algebra.Group.Pointwise.Set.Basic import Mathlib.Algebra.FreeMonoid.Basi...
23,960
lean_file_chunk
88e387cd6a7134ab0f1aecd58a2d1038108e4b94e1f8c1a3338d58af8382a747
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise419 import LeanPool.DomainTheory.Neighborhood.Product /-! # Exercise 5.16 (Scott 1981, PRG...
124
lean_file_chunk
8f8cb9d507316b5d67c89b50c6ca9a1ae1169969017e03d5541dc6d47a370a26
lean_source_file
lean_pool_source_file_chunks
simp only [toElementMap_comp, toElementMap_paired, toElementMap_idMap] at hx exact hx end Domain.Neighborhood.Exercise516
11,622
lean_file_chunk
e638a5e99371c04d3fd6884f01023018a49c93f77243860cc9e7aeb79d8a5165
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise516ThueMorse /-! # Exercise 5.16 follow-up (Scott 1981, PRG-19, Lecture V) — overlap-freen...
13,439
lean_file_chunk
5743d842b0f1b73f45ecd9b44c950096b75979cbc0b5d311872bf616b586f141
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise516 import Mathlib.Data.Nat.Bits import Mathlib.Tactic.Ring /-! # Exercise 5.16 follow-up ...
23,958
lean_file_chunk
03b1a75f93ac079a502181473b096ad30b9838bded6386eff811ee2b0a9deaaa
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Definition63 import LeanPool.DomainTheory.Neighborhood.Theorem69 import LeanPool.DomainTheory.Neigh...
23,991
lean_file_chunk
65a11bd29750318dee1b9273c8b13af10eb14e2adecb4c6f50a9140ca6f0bb00
lean_source_file
lean_pool_source_file_chunks
· exact Or.inr ⟨Y', hY', rfl, x₁.up_mem hx hY' (j1_subset_j1.mp hsub)⟩ · obtain ⟨b, hb⟩ := h₁ Y (x₁.sub hx); exact absurd (hsub (t1_mem_j1.mpr hb)) t1_not_mem_j2 /-- The `2`-injection `D₂ ↪ D₀+D₁+D₂`. -/ def sinj2 (x₂ : V₂.Element) : (sum3 V₀ V₁ V₂ h₀ h₁ h₂).Element where mem W := W = master3 V₀ V₁ V₂ ∨ ∃ Z, V...
3,247
lean_file_chunk
285605f0a25c47d715b6ec958bd995befcdbb4c77f379c96a22b398010518324
lean_source_file
lean_pool_source_file_chunks
theorem descMap_satisfiesRec : descMap B = (B.str.1.comp (sumMap3 (h₀ := Example62C.unitSys_nonempty) (h₁ := Example62C.C_nonempty) (h₂ := Example62C.C_nonempty) ( h₀' := Example62C.unitSys_nonempty) (h₁' := B.carrier.nonempty) (h₂' := B.carrier.nonempty) (idMap unitSys) (descMap B) ...
23,972
lean_file_chunk
4a8f8d6f156d904e63ad1d8d23c49329f0e0e3ecd6625c97919bfa25a52b1316
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise617 /-! # Exercise 6.17 part 2 (Scott 1981, PRG-19) — the generalization `Cₐ ≅ 𝟙 + Σₐ Cₐ`...
23,948
lean_file_chunk
c13a8a31ff709d8ef5e155a175cc07b78460e8412471a3e1376d5478f99873c6
lean_source_file
lean_pool_source_file_chunks
· have hW₂jU : W₂ = jU := mem_subset_jU_inv hW₂mem hW₂W rcases hW'₂mem with rfl | rfl | ⟨a', Y'₂, hY'₂, rfl⟩ · exact Or.inl rfl · exact Or.inr (Or.inl ⟨hW₂jU, rfl⟩) · exact absurd (hW'W'₂ (show tu ∈ jU from rfl)) tu_not_mem_jc · obtain ⟨X₂, hX₂, rfl⟩ := mem_subset_jc_inv hW₂mem hW₂W ha...
17,621
lean_file_chunk
770a0d2e5d2d3ce0c4f3e450b52895fe956310917cb30d75d56dbaf524f3ddc0
lean_source_file
lean_pool_source_file_chunks
theorem consMapN_mem_embA {a : A} {z : (Cn A).Element} {X : Set (Strn A)} (hX : (Cn A).mem X) : ((consMapN a).toElementMap z).mem (embA a X) ↔ z.mem X := by constructor · rintro ⟨X', hzX', -, -, hsub⟩ rw [← embA_eq_prependN] at hsub exact z.up_mem hzX' hX (embA_subset.mp hsub) · intro hz refine ⟨X...
23,711
lean_file_chunk
87cf61b2a6c9a09780a19a99f6c156331ef16a6ef8d8eb5ded7b6bd901a517ba
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Catskills Research Company. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Catskills Research Company -/ import LeanPool.DomainTheory.Neighborhood.Exercise316 import LeanPool.DomainTheory.Neighborhood.Exercise319 import LeanPool.DomainTheory.Neig...