3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-06-21 16:10:26 +00:00
z3/.gitignore
Copilot b5afa9200e
[code-simplifier] simplify seq_subset dead checks and clean profiling artifact (#9811)
This change simplifies `seq_subset` by removing redundant/dead subset
checks introduced in recent regex-subset refactoring, while preserving
behavior. It also removes an accidentally committed profiling output and
prevents recurrence.

- **`seq_subset` dead-code reduction**
  - Kept the explicit `e ⊆ a*` fast path.
- Removed the duplicate `R ⊆ R*` branch that repeated the same
star-subset recursion with a stricter depth budget.
- Clarified the remaining `a ⊆ a*` comment and cleaned trailing
whitespace.

- **Repository hygiene**
  - Deleted committed runtime artifact: `gmon.out`.
  - Added `gmon.out` to `.gitignore` to avoid future accidental commits.

Example of the simplification in `seq_subset.cpp`:

```cpp
// kept
// e ⊆ a*
if (m_re.is_epsilon(a) && m_re.is_star(b, b1))
    return true;

// kept
// a ⊆ a*: if b = b1* and a ⊆ b1, then a ⊆ b1*
if (m_re.is_star(b, b1) && is_subset_rec(a, b1, depth))
    return true;

// removed redundant case:
// - duplicate star-subset recursion at depth + 1
```

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-06-10 14:02:49 -07:00

129 lines
2 KiB
Text

*~
rebase.cmd
reports/
crashes/
*.pyc
*.pyo
# Ignore callgrind files
callgrind.out.*
gmon.out
# .hpp files are automatically generated
*.hpp
.env
.z3-trace
.env
genaisrc/jsconfig.json
genaisrc/genaiscript.d.ts
.genaiscript
package-lock.json
package.json
node_modules
# OCaml generated files
*.a
*.o
*.cma
*.cmo
*.cmi
*.cmx
*.byte
*.cmxa
ocamlz3
# Java generated files
*.class
*.jar
# Emacs temp files
\#*\#
# Directories with generated code and documentation
node_modules/*
.genaiscript/*
release/*
build/*
trace/*
build-dist/*
dist/*
src/out/*
doc/html/*
# GTAGS generated files
src/GPATH
src/GRTAGS
src/GSYMS
src/GTAGS
src/HTML/*
# CSCOPE files
src/cscope.in.out
src/cscope.out
src/cscope.po.out
ncscope.out
# CEDET files
.cproject
.project
# Commonly used directories for code
bld_dbg/*
bld_rel/*
bld_dbg_x64/*
bld_rel_x64/*
.vscode
*build*/**
# Auto generated files.
config.log
config.status
install_tactic.cpp
mem_initializer.cpp
gparams_register_modules.cpp
scripts/config-debug.mk
scripts/config-release.mk
src/api/api_commands.cpp
src/api/api_log_macros.h
src/api/api_log_macros.cpp
src/api/dll/api_dll.def
src/api/dotnet/Enumerations.cs
src/api/dotnet/Native.cs
src/api/dotnet/Properties/AssemblyInfo.cs
src/api/dotnet/Microsoft.Z3.xml
src/api/python/z3/z3consts.py
src/api/python/z3/z3core.py
src/ast/pattern/database.h
src/util/version.h
src/util/z3_version.h
src/api/java/Native.cpp
src/api/java/Native.java
src/api/java/enumerations/*.java
src/api/ml/z3native_stubs.c
src/api/ml/z3native.ml
src/api/ml/z3enums.ml
src/api/ml/z3native.mli
src/api/ml/z3enums.mli
src/api/ml/z3.mllib
src/api/js/node_modules/
src/api/js/build/
src/api/js/**/*.__GENERATED__.*
debug/*
examples/python/z3
examples/python/libz3.dll
out/**
*.bak
doc/api
doc/code
.vs
examples/**/obj
CMakeSettings.json
# Editor temp files
*.swp
.DS_Store
dbg/**
*.wsp
CppProperties.json
genaisrc/genblogpost.genai.mts
*.mts
# Bazel generated files
bazel-*
# Local issue tracking
.beads
.z3-agent/
.playwright*/
.atomic/
.deepscan/
.deeptest/
tptp_test/
tptp_benchmarks/