Qepcad
Quantifier Elimination by Partial Cylindrical Algebraic Decomposition
Install / Use
/learn @PetterS/QepcadREADME
=======================================================
Quantifier Elimination
in
Elementary Algebra and Geometry
by
Partial Cylindrical Algebraic Decomposition
Version B 1.69, 16 Mar 2012
by
Hoon Hong
(hhong@math.ncsu.edu)
With contributions by: Christopher W. Brown, George E.
Collins, Mark J. Encarnacion, Jeremy R. Johnson
Werner Krandick, Richard Liska, Scott McCallum,
Nicolas Robidoux, and Stanly Steinberg
=======================================================
https://www.usna.edu/CS/qepcadweb/B/QEPCAD.html
This is a (shallow) fork of QEPCAD, a program performing cylindrical algebraic decomposition.
I found the library a bit hard to build (especially with Visual Studio), so I added CMake files which makes the process considerably easier.
Very Simple Example
Given the input
(Ex)[x^2 + a x + b = 0].
the program will output:
An equivalent quantifier-free formula:
4 b - a^2 <= 0
Pretty cool!
There are more examples in the tests folder.
Compiling
With Visual Studio in Windows, everything is included. Just run the CMake graphical interface and point it to the source root.
In Ubuntu, you may have to execute
sudo apt-get install libreadline-dev
to install a dependency (GNU Readline). Then run
git clone https://github.com/PetterS/qepcad
cd qepcad
mkdir build
cd build
cmake ..
make
Related Skills
node-connect
351.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
