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
3,808
lean_file_chunk
fa23e68ab2f3568c9adb474e28c548e82a016ce62360819f478335cc4b577e0d
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import LeanPool.MRiscX.AbstractSyntax.AbstractSyntax /-! Everything is now brought together in a single structure called MState, which represents the machine's MState Thi...
7,232
lean_file_chunk
719e59e42d2e7522cefc557542d273e4b50de13814642e666932603d5ccb3e43
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ /- Maps These maps are converted from title={Software foundations}, author={Pierce, Benjamin C and Casinghino, Chris and Gaboardi, Marco and Greenberg, Michael ...
544
lean_file_chunk
0a82f3b086e6ab9d03a0127853efade3cb99dcdb56402f29801fb0bc49cd00a7
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import LeanPool.MRiscX.Elab.CodeElaborator import LeanPool.MRiscX.Semantics.Specification import LeanPool.MRiscX.Delab.DelabCode import LeanPool.MRiscX.Elab.HoareElaborator...
11,051
lean_file_chunk
1925a9dadc6cda5fd66f44256dcbf963a022f37cd9e301e0d3348b447dc4e349
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import LeanPool.MRiscX.AbstractSyntax.AbstractSyntax import LeanPool.MRiscX.Parser.AssemblySyntax import LeanPool.MRiscX.Elab.CodeElaborator import LeanPool.MRiscX.Abstract...
7,685
lean_file_chunk
adafd71980475c5511fcb566ed15e170061d209f8e20316a8ae02e7d827c71e6
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import LeanPool.MRiscX.Hoare.HoareCore import LeanPool.MRiscX.Parser.HoareSyntax import LeanPool.MRiscX.Elab.HandleNumOrIdent /-! # DelabHoare This module provides delabo...
17,034
lean_file_chunk
f45db2259622d7004c843a14f5476354dc20bbb10850b41eaf10889aa0ff29a5
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import LeanPool.MRiscX.Parser.AssemblySyntax import LeanPool.MRiscX.AbstractSyntax.Map import LeanPool.MRiscX.AbstractSyntax.Instr import LeanPool.MRiscX.AbstractSyntax.Abs...
14,925
lean_file_chunk
741369d773db5063644422cfd463c39fbd33a4c912e1cefa27e5e790e4168e35
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import LeanPool.MRiscX.AbstractSyntax.AbstractSyntax import Lean /-! # HandleExpr This module provides helpers reflecting Lean `Expr`s into MRiscX data. -/ open Lean Meta...
4,878
lean_file_chunk
d20642f50a12917633a706a82e2a8f2f52902ff751b8bbc0b0d13bdccaf68f21
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import LeanPool.MRiscX.Parser.AssemblySyntax import Lean /-! # HandleNumOrIdent This module provides elaboration helpers for numeric/identifier operands. -/ open Nat Lean...
6,262
lean_file_chunk
02392d24554ca21bbfdec340e69fadce3953204bab2cdf1a64d8579dd07fe661
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import LeanPool.MRiscX.Hoare.HoareCore import LeanPool.MRiscX.Elab.CodeElaborator import LeanPool.MRiscX.Parser.HoareSyntax /-! # HoareElaborator This module provides the...
13,491
lean_file_chunk
9fa9e01ed1d546de7d3ef54d3887e4f49fa0d4f4361da646b3b4d52a3cb2c63c
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import LeanPool.MRiscX.Basic import LeanPool.MRiscX.Tactics.ApplySpec /-! New Code Proofs -/ attribute [local implicit_reducible] Registers Memory /- An example of the f...
15,941
lean_file_chunk
a5c3b158ef15a68a8cf88468c4f2655aed50aac6e273391743432ba4362e00aa
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import LeanPool.MRiscX.Elab.CodeElaborator import LeanPool.MRiscX.Semantics.Specification import LeanPool.MRiscX.Delab.DelabCode import LeanPool.MRiscX.Elab.HoareElaborator...
19,137
lean_file_chunk
8b7050cdd76e7edf08575e281d59eec70b1f99236d61489dab72a37f15d805e7
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import LeanPool.MRiscX.Elab.CodeElaborator import LeanPool.MRiscX.Semantics.Specification import LeanPool.MRiscX.Delab.DelabCode import LeanPool.MRiscX.Elab.HoareElaborator...
4,700
lean_file_chunk
0f9b851dda82e634d717dab2b35be8a42a7eaf349b509547528031c4d4f758f3
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import LeanPool.MRiscX.Basic import LeanPool.MRiscX.Tactics.ApplySpec /-! # SpecAutomation This module exercises the automatic specification application (`applySpec''` an...
2,133
lean_file_chunk
c8aed945508c47408614612d35cf1b7bae9d4eb63ef691b65a32390529a4a087
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import LeanPool.MRiscX.AbstractSyntax.AbstractSyntax import LeanPool.MRiscX.Elab.HandleExpr /-! # EvalLabelInHoare This module provides label resolution inside MRiscX Hoa...
6,420
lean_file_chunk
9490354d12f9f75c88a021a2d10d215eccc503ba84fa32278785fac31d3a92d3
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import Lean import LeanPool.MRiscX.Elab.HandleNumOrIdent import LeanPool.MRiscX.Parser.HoareSyntax /-! # HoareAssignmentElab This module provides elaboration of MRiscX Ho...
4,589
lean_file_chunk
c8877631025bd78275c98963fadff08d346c436a75fb07cc2b2e28eef4ea3a4b
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import LeanPool.MRiscX.AbstractSyntax.MState import LeanPool.MRiscX.Semantics.Run import LeanPool.MRiscX.Hoare.EvalLabelInHoare import LeanPool.MRiscX.Hoare.HoareAssignment...
11,218
lean_file_chunk
ea0e4f7fc05a725dcdfb678fb14e729969968ab80b82a72e9f61895e0e71c788
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import LeanPool.MRiscX.Hoare.HoareTheory import LeanPool.MRiscX.Delab.DelabHoare import Mathlib.Data.Set.BooleanAlgebra /-! This file contains the hoare rules from the pap...
1,560
lean_file_chunk
28a058c18399a45430d4e8a6f371eaf1e0f4f530cd3df241af45edd0f22e851b
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import LeanPool.MRiscX.Elab.HoareElaborator import LeanPool.MRiscX.Delab.DelabCode import LeanPool.MRiscX.Semantics.MsTheory import LeanPool.MRiscX.Util.BasicTheorems /-! ...
8,928
lean_file_chunk
f2c2f6282d8f0a549bc7f196124497f41c9f17e3bd93ef4a91369c77690bea25
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import Lean /-! # AssemblySyntax This module provides the parser/grammar for MRiscX assembly syntax. -/ open Lean Parser /- In this file, we extend Lean by introducing a ...
3,406
lean_file_chunk
c874ac5fe5415f91384d1ef4e276e0b975407f614f172668cbd265033b2f5fcc
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import LeanPool.MRiscX.Parser.AssemblySyntax /-! Syntax for hoare terms -/ /-- Syntax category for a full MRiscX Hoare triple together with its program. -/ declare_syntax_c...
14,846
lean_file_chunk
267a0a2baf86b9e7885fc857e6a1cd2468834ac6756bb7b8748d7dc5aca210eb
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import LeanPool.MRiscX.AbstractSyntax.AbstractSyntax import LeanPool.MRiscX.AbstractSyntax.MState import LeanPool.MRiscX.Semantics.Run import LeanPool.MRiscX.Util.BasicTheo...
5,672
lean_file_chunk
9c186c2f5d4233c8c0be5a416b62d6caeca7ed4e4c83d1f9e0dfc9d68dd9d8ea
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import LeanPool.MRiscX.AbstractSyntax.AbstractSyntax import LeanPool.MRiscX.AbstractSyntax.MState /-! # Run This module provides the operational `run` semantics of MRiscX...
15,851
lean_file_chunk
3da08e407dea3fd4531df815bc78c549dfd6956a591a7e34a5a06ae36e53e39d
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import LeanPool.MRiscX.Semantics.MsTheory import LeanPool.MRiscX.Tactics.SpecificationTactics import LeanPool.MRiscX.Elab.HoareElaborator import LeanPool.MRiscX.Elab.CodeEl...
15,612
lean_file_chunk
26acbe4b2da5855d24879482bbce1dac8937efc750f51a5cfa40d39e64f5946e
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import Lean.Elab.Tactic.Basic import LeanPool.MRiscX.AbstractSyntax.Instr import LeanPool.MRiscX.AbstractSyntax.AbstractSyntax import LeanPool.MRiscX.Semantics.Specificatio...
13,899
lean_file_chunk
a90a3bf852bb1643386918b94219d6ae9294028db8fe1e11ddd6c3de6209f5fc
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import Lean.Elab.Tactic.Basic import LeanPool.MRiscX.AbstractSyntax.Map import LeanPool.MRiscX.Semantics.MsTheory import LeanPool.MRiscX.Util.BasicTheorems import LeanPool...
1,291
lean_file_chunk
7deaf541b07364bd554c04e766c3f718a286882a7ce0c464ff7b5750d28d1a91
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import Lean.Elab.Tactic.Basic import Mathlib.Tactic.Push import Mathlib.Data.Set.Basic /-! # GeneralCustomTactics This module provides general-purpose custom tactics for ...
4,361
lean_file_chunk
3da0b4213cd6d04755823907c2b28f130a1b97e1d182f29f9d38c0413dea7049
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import Lean.Elab.Tactic.Basic import LeanPool.MRiscX.Elab.HandleExpr import LeanPool.MRiscX.Hoare.HoareCore /-! # HelpCodeProofTactics This module provides auxiliary hel...
5,018
lean_file_chunk
8845aed17881600c56acf19a4546816b0d2bce3c6ea21060708a01cb107aa272
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import LeanPool.MRiscX.Tactics.GeneralCustomTactics import LeanPool.MRiscX.AbstractSyntax.Instr import LeanPool.MRiscX.AbstractSyntax.MState /-! # SpecificationTactics Th...
6,491
lean_file_chunk
05e3e6f50c1bf5776b00297b0c1039f5095dc8a175210c8ce4b841f47273e52b
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import Lean.Elab.Tactic.Basic import LeanPool.MRiscX.Hoare.HoareCore import LeanPool.MRiscX.AbstractSyntax.Instr import LeanPool.MRiscX.AbstractSyntax.AbstractSyntax import...
796
lean_file_chunk
2e3c651d92b601aabed951a107e567362ab7a00fc347605ac8a5db6adae1710e
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import Lean /-! # TacticUtil This module provides small utilities shared by the MRiscX tactics. -/ open Lean Meta /-- Find the type of the local hypothesis named `n` in ...
3,584
lean_file_chunk
a3b23ba6b9bbe68873f40f8d19996c6445960c35b0b7ac212b3c68be541f71b1
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import LeanPool.MRiscX.Hoare.HoareCore import Mathlib.Tactic.NthRewrite import Mathlib.Algebra.Order.Sub.Unbundled.Basic import Mathlib.Data.Nat.ModEq /-! This file contai...
1,588
lean_file_chunk
a0287bf5f9026e6f28a507ba9931493b3d7fd1786db0ac4883dddda7b4a29e47
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Julius Marx. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Julius Marx -/ import LeanPool.MRiscX.Basic import LeanPool.MRiscX.Examples.Examples import LeanPool.MRiscX.Examples.OtpProof import LeanPool.MRiscX.Examples.SingleProofsOTP import LeanPo...
9,951
lean_file_chunk
0543a19bf3a834c3fd37535a3ac78b0800376d93eda58d9e9a3bc3a4531eb046
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Jose Fonollosa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jose Fonollosa -/ import Mathlib.Algebra.Field.ZMod import Mathlib.RingTheory.PicardGroup /-! # Elementary abelian 2-groups attain the optimal bound If `g : Fin n → (Fin k → ZMod 2)...
23,946
lean_file_chunk
face21977226c39f2dde24c52b9c879fac88fa5de4bb8718ac501986dffed759
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Jose Fonollosa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Jose Fonollosa -/ import Mathlib.Algebra.BigOperators.Ring.Finset import Mathlib.Algebra.Order.BigOperators.Group.Finset import Mathlib.Algebra.Order.Ring.Star import Mathlib.Data.Nat...
14,140
lean_file_chunk
2e4a04eaef6cd81f4c7e51ceb195eb23d7686aa31e2f0f7210363b6ec82e20e7
lean_source_file
lean_pool_source_file_chunks
/-- Doc §4's concrete case-(iv) example: `n = 5`, `N = 24 = 2^5 − 2^3` (the single-power gap killed by a negative multiple, ex-Conjecture B). -/ example : ¬ Valid 5 24 := theoremB (by norm_num) (by norm_num) (by rw [Nat.log_eq_of_pow_le_of_lt_pow (by norm_num : 2 ^ 2 ≤ 5) (by norm_num : 5 < 2 ^ (2 + 1))...
590
lean_file_chunk
43c0ce777eeed4ae6f3d74088ecb67328840f18327c8dd88d4ac58dfa690355f
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 José A. R. Fonollosa. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: José A. R. Fonollosa -/ import LeanPool.MinModulusUniqueMultisetSum.UniqueSums import LeanPool.MinModulusUniqueMultisetSum.ElemAbelian2 /-! # Minimum modulus for the unique mul...
4,568
lean_file_chunk
ce5bd0ed692136691722df51ed21a4aadfb3ef60547905b2b9878aaac7219f07
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomasz Maciosowski -/ module public import LeanPool.MisereGames.AugmentedForm public import LeanPool.MisereGames.Form.Misere.Outcome public import LeanPool.MisereGames.Form.Misere...
3,601
lean_file_chunk
c6c0155e996a3cb060e78187644822edeeb88132ffa8266fd2997688baabefab
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomasz Maciosowski -/ module public import LeanPool.MisereGames.AugmentedForm public import LeanPool.MisereGames.Form.Short /-! Misere combinatorial games. -/ namespace MisereGa...
23,990
lean_file_chunk
672d6fc267a1d3bd1caaca10fe191e840b05a205c9056b1eb8d2dda24272ad5d
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Alfie Davies, Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alfie Davies, Tomasz Maciosowski -/ module public import LeanPool.MisereGames.Form public import LeanPool.MisereGames.GameForm public import LeanPool.MisereGames.For...
2,883
lean_file_chunk
588fab8dbc2a784d482b2f7c098518420a56fb58107c2c62c75f75c2435c919f
lean_source_file
lean_pool_source_file_chunks
smallElemMoves' := instSmallElemMoves ofSets_isEndLike_iff' p s t _ _ := by apply Iff.intro <;> intro h1 · simp only [hasTombstone_ofSets, false_or] at h1 rwa [isEnd_def] at h1 · rw [isEnd_def] exact Or.inr h1 ofSets_add_ofSets'' s1 t1 s2 t2 _ _ _ _ := by dsimp [ofSets] rw [add_eq'] ...
12,743
lean_file_chunk
7e3ab1fc011ce33c665af9fb85f55a385a2dddd52ebfd8ac1172892a9842dd60
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Alfie Davies, Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alfie Davies, Tomasz Maciosowski -/ module public import LeanPool.MisereGames.Form.Short /-! Misere combinatorial games. -/ namespace MisereGames universe u publ...
6,984
lean_file_chunk
219bcca060d95b3b87c637e736f0b176adeef4b9b480d34f7db95d4e698e21bb
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2022 Violeta Hernández Palacios. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alfie Davies, Tomasz Maciosowski, Violeta Hernández Palacios -/ module public import LeanPool.MisereGames.Form public import LeanPool.MisereGames.Mathlib.NatOrdinal /-! M...
5,132
lean_file_chunk
46fec5a35a8d614f37fe920ebc346a0f02786d372c01e58b0404525780e0ace1
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomasz Maciosowski -/ module public import LeanPool.MisereGames.Form /-! Misere combinatorial games. -/ namespace MisereGames universe u public section namespace Form variab...
3,776
lean_file_chunk
f1c46f411ec07383ab48374eb2e9c863194705bf8f0f2d7f659052312092c1e1
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Alfie Davies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alfie Davies -/ module public import LeanPool.MisereGames.Form.Adjoint public import LeanPool.MisereGames.Form.Misere.Outcome /-! Misere combinatorial games. -/ namespace MisereGames ...
23,980
lean_file_chunk
5f0053a2e1a05da7d93ca63d6c875e2ba1fcf67f066ebcfc2e6a8c30684bdb37
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2025 Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alfie Davies, Tomasz Maciosowski -/ module public import LeanPool.MisereGames.Form.Classes public import LeanPool.MisereGames.Form.Birthday /-! Misere combinatorial games. -/ na...
7,193
lean_file_chunk
b6b15dc38c5d3835a9edeb897c70a24fa586ceacb9b86a09692328e63262d7e8
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2025 Violeta Hernández Palacios. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alfie Davies, Tomasz Maciosowski, Kim Morrison, Violeta Hernández Palacios -/ module public import LeanPool.MisereGames.GameForm.Birthday public import LeanPool.MisereGame...
23,975
lean_file_chunk
18a79dee0ec010532af60ec47b07e7ea2ac7200bc8f1ee6a40a461f1a7d01782
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Alfie Davies, Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alfie Davies, Tomasz Maciosowski -/ module public import LeanPool.MisereGames.OfSets public import Mathlib.Logic.Small.Set public import LeanPool.MisereGames.Mathlib...
2,123
lean_file_chunk
b1c3f3f12d29fa7fd316280202be7590044b2b2c6df5a12ef80d451a3276645b
lean_source_file
lean_pool_source_file_chunks
∃ m : ℤ, m < n ∧ m = x := by use n - 1 simp [eq_sub_one_of_mem_leftMoves_intCast hx] omega -- really? theorem eq_intCast_of_mem_rightMoves_intCast {n : ℤ} {x : G} (hx : x ∈ moves .right (n : G)) : ∃ m : ℤ, n < m ∧ m = x := by use n + 1 simp [eq_add_one_of_mem_rightMoves_intCast hx] omega theorem succ_...
2,319
lean_file_chunk
1c40a96462d06953d8357180d54c55b43f3c2beee63a97e24aec92e0814594f6
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2022 Violeta Hernández Palacios. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Violeta Hernández Palacios -/ module public import LeanPool.MisereGames.Form.Birthday public import LeanPool.MisereGames.GameForm public import LeanPool.MisereGames.Mathli...
4,280
lean_file_chunk
9056b70c9ec596f98c35363b917b2a8a9d314164dbf9fb4c9ae755f455f4dd9b
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2022 Violeta Hernández Palacios. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Violeta Hernández Palacios, Tristan Figueroa Reid -/ module public import LeanPool.MisereGames.Form.Short /-! Misere combinatorial games. -/ namespace MisereGames /-! #...
16,121
lean_file_chunk
de3d7af0ce175ce0a0162f2f624fd2584c416948b6ffd697d4495e7bb11466ef
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2025 Violeta Hernández Palacios. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Reid Barton, Mario Carneiro, Alfie Davies, contributors -/ module public import LeanPool.MisereGames.Mathlib.Small public import LeanPool.MisereGames.OfSets public import ...
3,764
lean_file_chunk
768e59c5a213e098d2f37e687e60ec016ec36135256cacaeb624097e3389ce01
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2025 Violeta Hernández Palacios. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Violeta Hernández Palacios, Junyan Xu -/ module public import LeanPool.MisereGames.Form /-! Misere combinatorial games. -/ namespace MisereGames /-! # Combinatorial gam...
4,323
lean_file_chunk
e71b5cc41a9fc36ac6013cb69d472e06f9a15e8396f3281e4f4df081fb295606
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomasz Maciosowski -/ module public import LeanPool.MisereGames.Misere.Comparison public import LeanPool.MisereGames.Misere.PFreeBlocking public import LeanPool.MisereGames.Tactic...
18,211
lean_file_chunk
56c79486de6583753b8bd7e24f24cbdf9d43a3182ddbe7925bb9af4eccccc4d5
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2022 Violeta Hernández Palacios. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Violeta Hernández Palacios -/ module public import Mathlib.Order.Lattice.Nat public import Mathlib.SetTheory.Ordinal.Family import Mathlib.Tactic.Abel /-! Misere combinat...
1,444
lean_file_chunk
4c77413805db3290a0e1862dc2cac3a0454bc0aee4615a4791a3796d0747aca7
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomasz Maciosowski -/ module public import Mathlib.Combinatorics.SimpleGraph.Basic public import Mathlib.Combinatorics.SimpleGraph.Connectivity.Subgraph public import Mathlib.Comb...
2,014
lean_file_chunk
d00ae53eed370554f6aeaa321da30fd9c4f93fc3c7171ca1747c0faa1eac2928
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2025 Violeta Hernández Palacios. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Violeta Hernández Palacios -/ module public import Mathlib.Logic.Small.Defs import Mathlib.Logic.Small.Set import Mathlib.Logic.Relation import Mathlib.Order.SetNotation ...
4,784
lean_file_chunk
beae45351c04551b886dcfe55751d030a33650767063c5a37f16377b0d9b8c97
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Alfie Davies, Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alfie Davies, Tomasz Maciosowski -/ module public import LeanPool.MisereGames.Misere.Separation /-! Misere combinatorial games. -/ namespace MisereGames universe...
15,671
lean_file_chunk
5b6e8cd9ef742984c4fc0e6b88e0746299cf1afdb40da56a45810ff82ecf5b9b
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomasz Maciosowski -/ module public import LeanPool.MisereGames.Misere.DeadEnding /-! Misere combinatorial games. -/ namespace MisereGames public section namespace Form unive...
8,881
lean_file_chunk
8cf675e28e4e055fc4dcc7d1765a1d0f09ba332b98c94919f779de892a082e04
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Alfie Davies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alfie Davies -/ module public import LeanPool.MisereGames.Form.Short public import Mathlib.Order.Closure /-! Misere combinatorial games. -/ namespace MisereGames universe u variable...
22,827
lean_file_chunk
95de21ec2da8c122827c540a40cd46ef8169fd1948c73fc99294374ea7e34671
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Alfie Davies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alfie Davies -/ module public import LeanPool.MisereGames.Misere.Ambient public import LeanPool.MisereGames.Misere.Universe /-! Misere combinatorial games. -/ namespace MisereGames /...
23,976
lean_file_chunk
32b5440c0f431d8deaa7129da3c34fbe2300c2024e6615a7f1d27865c080881e
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Alfie Davies, Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alfie Davies, Tomasz Maciosowski -/ module public import LeanPool.MisereGames.Misere.Comparison public import LeanPool.MisereGames.Misere.PFree public import LeanPoo...
1,629
lean_file_chunk
d2d915625c025826276cdb970944c8adf95d7da3e289eef64a432ab1de71d288
lean_source_file
lean_pool_source_file_chunks
[Davies, Milley (Theorem 3.1 on p. 7)][davies:OrderInversesMonoid:2026] -/ theorem _root_.MisereGames.Form.IsStrongTest.right_strong {A : GameForm → Prop} [DeadEnding A] {g : GameForm} (h_test : IsStrongTest .right g) : Strong A g .right := by intro x hx h_isEnd rw [GameForm.isEndLike_iff_isEnd] at h_is...
16,053
lean_file_chunk
8a61de6e5c8e8b0771e215fa959405bc0ed79635dacbfa8d1d592e52e5a1e397
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Alfie Davies, Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alfie Davies, Tomasz Maciosowski -/ module public import LeanPool.MisereGames.Form.Misere.Outcome public import LeanPool.MisereGames.GameForm /-! Misere combinatori...
22,265
lean_file_chunk
3d4e047d51753cfb6856955c517586bcf9b58d596efb948fd7851fb7a64f80cd
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomasz Maciosowski -/ module public import LeanPool.MisereGames.Misere.OutcomeStable /-! Misere combinatorial games. -/ namespace MisereGames open Form open Form.Misere.Outcome...
7,691
lean_file_chunk
6ce00122317606dae00c5503710bf06a32ab942b354a0c0776632cc436cde41b
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomasz Maciosowski -/ module public import LeanPool.MisereGames.AugmentedForm.Lift public import LeanPool.MisereGames.Misere.Comparison /-! Misere combinatorial games. -/ namesp...
8,563
lean_file_chunk
f7309adf403f8faaf7708042c91be4d0b8449fc71d34f87f2b9d47098b2a2892
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2025 Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomasz Maciosowski -/ module public import LeanPool.MisereGames.Form.Misere.Outcome public import LeanPool.MisereGames.Form.Misere.Adjoint import Mathlib.Data.Set.Finite.Range /-...
11,472
lean_file_chunk
da4796ee672e5da75d2fd9f6669a96c1ee9bbb873d8f92e39859754440350bd9
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Alfie Davies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alfie Davies -/ module public import LeanPool.MisereGames.AugmentedForm public import LeanPool.MisereGames.Misere.Comparison public import LeanPool.MisereGames.Misere.Quotients public i...
23,997
lean_file_chunk
10149fb6c0177364217fdf575d206c4745277e50e0eace82af1a81fd3882c32c
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomasz Maciosowski -/ module public import LeanPool.MisereGames.Misere.IntegerInvertible /-! Misere combinatorial games. -/ namespace MisereGames open Form open Form.Misere.Out...
8,337
lean_file_chunk
0b2ac537e07e940d766b3916b0980423d862dfb7928defd7b8410d2353b20c44
lean_source_file
lean_pool_source_file_chunks
exact key omit [ClosedUnderAdd A] [IntegerInvertible A] [PropertyX A] in private theorem lemma317_p2b [HasInt A] {g h : GameForm} (hAg : (PFreeSubset A) g) (hAh : (PFreeSubset A) h) (hsg : IsShort g) (hsh : IsShort h) (IH : Lemma317IH (A := A) g h) (hRg : MisereOutcome g = .R) (hNh : MisereOutcome h = .N) ...
23,979
lean_file_chunk
6050e12b196e80a27091a249b5fe679a45c4f9bbf1eb49cc97ca15e466eb91f4
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Alfie Davies, Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alfie Davies, Tomasz Maciosowski -/ module public import LeanPool.MisereGames.Misere.PFree public import LeanPool.MisereGames.Misere.TippingPoints /-! Misere combin...
23,948
lean_file_chunk
9dd5e6681160023d871e9d8bcd2a2e6fa1762f0c90937c8177d1d50e6ee23836
lean_source_file
lean_pool_source_file_chunks
This is the mirror of [Davies, Miller, Milley (Lemma 3.7 on p. 13)][davies:SumsPFreeForms:2025]. -/ theorem NTippingPoint_le_LTippingPoint_of_mem_moves_right [OutcomeStable A] [ClosedUnderAddNat A] [HasInt A] [ClosedUnderNeg A] [Hereditary A] {g gr : GameForm} (hAg : (PFreeSubset A) g) (hsg : IsShort g) (hg...
5,632
lean_file_chunk
c94574725a136f5ed1e08edce6188337a79989d7374766fbb110205e4b17cace
lean_source_file
lean_pool_source_file_chunks
(Hereditary.has_option hAg (isOption_iff_mem_union.mpr (Or.inl hgl.left))) hglR simp_all · by_cases hglN : MisereOutcome gl = .N · have hA := (Hereditary.has_option hAg (isOption_iff_mem_union.mpr (Or.inl hgl.left))) have h_rtip : (0 : ℤ) ≤ (RTippingPoint hsg - 1 : ℕ) := Int.natCast_nonneg _ ...
23,704
lean_file_chunk
8dc3c15a8a61f09a13b4ccb0bbedaea23ebec7e6a6561048c23a0dc85f54c406
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Alfie Davies, Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alfie Davies, Tomasz Maciosowski -/ module public import LeanPool.MisereGames.Form.Misere.Outcome public import LeanPool.MisereGames.GameForm public import LeanPool....
18,871
lean_file_chunk
15fc4668d2cadf9ea895960e22dc7a5ee6d2fa6770ee7fba99d9e907974a40f8
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomasz Maciosowski -/ module public import LeanPool.MisereGames.Misere.Blocking /-! Misere combinatorial games. -/ namespace MisereGames public section universe u open Form o...
23,989
lean_file_chunk
f1839853effd653d87dbc4c256b705184c6a3257e1762ac81a89e5fff9473737
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomasz Maciosowski -/ module public import LeanPool.MisereGames.Misere.DeadEnding /-! Misere combinatorial games. -/ namespace MisereGames public section universe u open Form...
7,672
lean_file_chunk
5406ab26d9313a257344eee86eaccc1cdd3261bf6eeded73939f567d7292ccdc
lean_source_file
lean_pool_source_file_chunks
(h_isEnd_left : IsEnd .left g) (h_not_isEnd_right : ¬IsEnd .right g) (h_mem_right : ∀ gr ∈ moves .right g, ∃ n : ℕ, MisereEQ PFreeDeadEnding gr ((-(n : ℤ) : ℤ) : GameForm)) : ∃ n : ℕ, g =m PFreeDeadEnding ((-(n : ℤ) : ℤ) : GameForm) := by set S := {n : ℕ | ∃ gr ∈ moves Player.right g, gr =m PFreeDeadEnd...
23,958
lean_file_chunk
9b97c68a7a7113e23ef5b0e5c230ba2e5ab8dd4daee5e7499a07ed77a41ba782
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Alfie Davies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alfie Davies -/ module public import LeanPool.MisereGames.Misere.Universe /-! Misere combinatorial games. -/ namespace MisereGames universe u variable {G : Type (u + 1)} [Form G] o...
6,444
lean_file_chunk
564c503a111211662e94c75ec484e58d7761e86b26ae72eb0654e347aca57611
lean_source_file
lean_pool_source_file_chunks
simpa using (ClosedUnderNeg.neg_of hneg : U (-(-g))) · have hNo : ∀ q, ¬ IsEndLike q g := by intro q rcases eq_or_ne q p with rfl | hq · exact hp · simp_all -- `g` isn't end-like, so rebuild it from its options and apply dicotic -- closure. have hEq : !{fun q => mov...
5,946
lean_file_chunk
e93f6737a5d7d0494897983a89bd742454656e53c73839bfdb7a2fc765201fc7
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Alfie Davies, Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alfie Davies, Tomasz Maciosowski -/ module public import LeanPool.MisereGames.Misere.Universe public import Mathlib.Algebra.Order.Monoid.Defs /-! Misere combinatori...
18,441
lean_file_chunk
697f2b83f21779bdca313ebf0d1478e364447ad33127432106909b0c4cc37b66
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Alfie Davies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alfie Davies -/ module public import LeanPool.MisereGames.Form.Misere.Adjoint public import LeanPool.MisereGames.Misere.Hereditary.MaintenanceProviso /-! Misere combinatorial games. -/...
7,770
lean_file_chunk
b622305b7d3380736cd7b1d21558ad5470803a29f04ca8e13329438ae97bc23d
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomasz Maciosowski -/ module import LeanPool.MisereGames.AugmentedForm.Short public import LeanPool.MisereGames.AugmentedForm.Lift public import LeanPool.MisereGames.Misere.Compar...
23,978
lean_file_chunk
c889dbc15aa4f0d939f5b0d904685d344c8a88aa2281d1ff390273c4ab8ca094
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomasz Maciosowski -/ module public import LeanPool.MisereGames.GameForm public import LeanPool.MisereGames.Form.Misere.Outcome public import LeanPool.MisereGames.Misere.PFree pub...
23,903
lean_file_chunk
a8759cc4c14608a015a89d35c240d4bbfec3eeef295fa4f41dd18e0cae2d4ca0
lean_source_file
lean_pool_source_file_chunks
have ⟨g₁, hg1_mem, hg1_p, hg1_neg⟩ := hasStride_good_move_neg_stride h_sL_g h_sR_g have h_neg_g1h : HasStride (-p) (g₁ + h) (sR_g + sR_h) := hasStride_add hg1_neg h_sR_h (by rwa [neg_neg]) (by rwa [neg_neg]) refine ⟨g₁ + h, add_right_mem_moves_add hg1_mem h, ?_, h_response_bound _ h_neg_g1h⟩ ...
4,727
lean_file_chunk
bc564a24d14de9560a08f6a56be9fd1663f7542af3cfeaa58f0231d796de5dbd
lean_source_file
lean_pool_source_file_chunks
theorem MisereQuotient.strideDiff_injective : Function.Injective (strideDiff (A := A)) := by intro a b hab induction a, b using Quotient.inductionOn₂ with | _ a b => apply Quotient.sound' change (a : GameForm) =m A (b : GameForm) obtain ⟨la, hla⟩ := Strided.has_stride (A := A) .left a.prop obtain ...
12,818
lean_file_chunk
f2ad5aba867298d8effc02859b3b6ec0d46321235c267565b98d4191ff92d898
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Alfie Davies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alfie Davies -/ module public import LeanPool.MisereGames.Form.Misere.Outcome public import LeanPool.MisereGames.Form.Short /-! Misere combinatorial games. -/ namespace MisereGames o...
13,102
lean_file_chunk
7b6ea89ba6dc0d63e83f39cde4b79a8e5d452c3fb57e7c6f352f9390c9cb10dd
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Alfie Davies, Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alfie Davies, Tomasz Maciosowski -/ module public import LeanPool.MisereGames.Misere.Closures public import LeanPool.MisereGames.Misere.Hereditary.MaintenanceProviso...
2,492
lean_file_chunk
849f35e11b0630ed76fee8807800201b0579e9b3348cfab6fdfec7cbf72949c0
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2025 Yuyang Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yuyang Zhao -/ module public import LeanPool.MisereGames.Player public import Mathlib.Logic.Small.Defs /-! Misere combinatorial games. -/ namespace MisereGames public section univers...
3,825
lean_file_chunk
5162759b603f7e7f07c450fbd598b5d92015a71531fa4f4728c7d94a92649da8
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2025 Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomasz Maciosowski -/ module public import LeanPool.MisereGames.Player public import Mathlib.Order.Defs.PartialOrder /-! Misere combinatorial games. -/ namespace MisereGames pu...
3,616
lean_file_chunk
ba1720391526a9f32fcd040b9cd7d86f620df14c13e1beec2b8a6b56a88d01e4
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2025 Yuyang Zhao. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Yuyang Zhao -/ module public import Mathlib.Data.Fintype.Defs public import Mathlib.Data.Fintype.OfMap import Mathlib.Tactic.DeriveFintype public import Mathlib.Algebra.Group.Defs /-! M...
23,957
lean_file_chunk
681e7cc57f2026fd89f885a7ce63368e4597f041b266f077d6b7a26a908566b6
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomasz Maciosowski -/ module public import LeanPool.MisereGames.GameGraph public import LeanPool.MisereGames.Misere.Stride public import LeanPool.MisereGames.Mathlib.SimpleGraph i...
6,203
lean_file_chunk
44530d21db87835b2d534a4461f8d8f55b4d75a44b03ce63f9cbceb92b1ed46b
lean_source_file
lean_pool_source_file_chunks
exact ⟨le_refl _, ih_remove e he p⟩ · -- (v): Opponent best response intro hne obtain ⟨g', hg'⟩ := Set.nonempty_iff_ne_empty.mpr hne obtain ⟨e, he, hc, rfl⟩ := mem_moves_toGameForm_iff.mp hg' use (hack.remove e).toGameForm, mem_moves_toGameForm_iff.mpr ⟨e, he, hc, rfl⟩ have...
3,701
lean_file_chunk
99ae0276d9d74875fdb2a47fe1ed1bcb35c6ce88d628503431752b4688ca1d3b
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomasz Maciosowski -/ module public import LeanPool.MisereGames.Ruleset.Strip /-! Misere combinatorial games. -/ namespace MisereGames open GameForm open Form public section ...
2,501
lean_file_chunk
7e5acf70da2a76901c77d14f39d6e51eca6bf1245875e512032110f2f7cf138a
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomasz Maciosowski -/ module public import LeanPool.MisereGames.Ruleset.Strip /-! Misere combinatorial games. -/ namespace MisereGames open GameForm open Form public section ...
23,980
lean_file_chunk
b60820fd1c06e78774602ed9def58ba5e7eeb489da4ea04d58c0a01041ec2f83
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomasz Maciosowski -/ module public import LeanPool.MisereGames.GameGraph public import LeanPool.MisereGames.Misere.Stride import Mathlib.Algebra.BigOperators.Intervals import Mat...
16,078
lean_file_chunk
f68f5cea67b3a3ed60aa751c79b2365f7b40a8b62655181b2942d72995689a74
lean_source_file
lean_pool_source_file_chunks
rw [board_def] exact Board.board_eq_none_of_gt_rightmostPos (by rw [← rightmostPos_def, h0] exact hn_pos) exact (board_push_above s hn_pos).trans hs_empty theorem stride_neg_zero_of_p_move {s : R} (p : Player) {m : ℕ} (hrm : board s (rightmostPos s) = .ofPlayer p) (hm : board s m = .o...
1,531
lean_file_chunk
a58b9ec5e2b2f45c6c17118fd699b13ab70632cc2cf81f6855f8948f25744c50
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Tomasz Maciosowski. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomasz Maciosowski -/ module public import LeanPool.MisereGames.GameForm public import LeanPool.MisereGames.Form.Classes /-! Misere combinatorial games. -/ namespace MisereGames...
1,008
lean_file_chunk
6276404647064f87ba613a2054984fec6d5fddde603c79fabebfd659ee596180
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Alfie Davies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Alfie Davies -/ module public meta import Lean.Elab.Command public meta import Batteries.Tactic.Alias /-! # The `doc_alias` command Intended for use within `Literature/` files to give...
3,039
lean_file_chunk
64ff32eef4747654664595d6743892d4ea34ba7205f3b482b49aa1e23cd95d06
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Tomasz Maciosowski, Alfie Davies. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Tomasz Maciosowski, Alfie Davies -/ module public import LeanPool.MisereGames.AugmentedForm public import LeanPool.MisereGames.AugmentedForm.Lift public import LeanP...
11,528
lean_file_chunk
f7cdfb541bc992db9942eead97ae2659a435e4617a4e0ff728120ba306a7f3bd
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Monica Omar. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Monica Omar -/ import LeanPool.Monlib4.LinearAlgebra.Coalgebra.Lemmas import Mathlib.RingTheory.Coalgebra.Equiv import Mathlib.Analysis.InnerProductSpace.Basic import LeanPool.Monlib4.Li...
21,336
lean_file_chunk
c454b0c19cc480c010e9e33516b306f3c8e87036651272614d6d7ba6d39480ef
lean_source_file
lean_pool_source_file_chunks
/- Copyright (c) 2026 Monica Omar. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Monica Omar -/ import Mathlib.RingTheory.Coalgebra.Basic import Mathlib.RingTheory.Coalgebra.CoassocSimps import Mathlib.Algebra.Algebra.Bilinear import LeanPool.Monlib4.LinearAlgebra.Te...