Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#! /usr/bin/env python3
import z3
x = z3.Real('x')
y = z3.Real('y')
z = z3.Real('z')
s = z3.Solver()
s.add(3 * x + 2 * y - z == 1)
s.add(2 * x - 2 * y + 4 * z == -2)
s.add(-x + y / 2 - z == 0)
check = s.check()
model = s.model()
print(check)
print(model)
assert check == z3.sat
assert model[x] == 1 and model[y] == -2 and model[z] == -2

View File

@@ -0,0 +1,8 @@
; From https://smtlib.cs.uiowa.edu/examples.shtml
; Basic Boolean example
(set-option :print-success false)
(set-logic QF_UF)
(declare-const p Bool)
(assert (and p (not p)))
(check-sat) ; returns 'unsat'
(exit)