PyTorchKR Papers

신규 논문

총 47편
태그·기간 등 상세 필터

카테고리 탐색

arXiv:2611.41809v1cs.AI

FormalGen: Agentic formalization and verification of physical mechanisms for compositional design

Artificial intelligence (AI) is undergoing a transition from open-ended to formal mathematical reasoning. Can a similar transition be achieved in the physical sciences, where discovery also requires constructing, composing and testing representations of physical reality? Here we introduce FormalGen, a multi-agent framework that brings this paradigm to physics-driven design, applied to multiscale materials. Agents formalize published mechanisms as category-theoretic models, propose mutations with genetic operators, and use Lean to check behavioral claims before finite-element testing. In one mutation, agents couple sunflower phototropism to bamboo graded-wall mechanics through bending-induced fiber reorientation. The model predicts a 2.46-fold increase in flexural rigidity, and simulations yield 2.45-fold between prescribed orientations. Ranking by interface and domain compatibility finds 100 verified connections with 97% fewer candidates than connectivity-based ranking. From 8 to 32 mechanisms, proofs of individual laws increase fourfold while two-mechanism chains certified by proof reuse increase 27-fold, a basis for cumulative discovery.

arXiv:2611.41292v1cs.CL

Eureka: Lean Proofs as a Public Research Service

Eureka is a public service that completes proofs in Lean. It runs an open-weight model, DeepSeek-V4.1-Flash, with no task-specific training, on research computing at the Texas Advanced Computing Center (TACC). A proof is returned after an independent checker confirms that the user's statements are unchanged and replays the proof in Lean's kernel. Across eight benchmarks in competition mathematics, graduate stochastic processes and program verification, Eureka proves 1,896 of 2,012 entries (94.2%; the 12 Putnam 2025 problems also appear in PutnamBench). On PutnamBench it proves 670 of 672 problems for $0.17 per problem, counting failed attempts and pricing tokens at DeepSeek's off-peak list rates. This ties the lowest cost reported at this level of coverage; the other systems that reach it report $3.52 to $74 per problem. Eureka also proves all 12 Putnam 2025 problems, all 77 AlgoVeri tasks (writing each program as well as its proof), 188 of 189 VERINA tasks and 585 of 600 NTP4VC verification conditions, and refutes the remaining VERINA task and nine of the NTP4VC conditions. In the recorded runs, the model does most of its reasoning in the first third of a search and then tests candidate steps in Lean; model generation takes 86% of single-agent run time, and cached context accounts for 97% of tokens and 20% of cost. The harness and Lean tooling are open source, and all recorded runs are released.

arXiv:2611.40707v1cs.AI

OPAL: Optimizing Proofs at Library Scale via Metric-Driven Coding Agents

Driven by rapid progress in autoformalization and automated theorem proving, formal mathematics is scaling up: mathematicians, often with AI assistance, advance large formalization projects around Lean blueprints, which tightly link a LaTeX proof plan to the Lean codebase. As mathlib and proof automation evolve, finished proofs accumulate optimization opportunities. Yet even in the mature mathlib library, 41% of commits add no new mathematics but improve existing proofs (shortening, deduplication, faster compilation), and 62% of these span multiple files, beyond the reach of theorem-level methods. We introduce OPAL, the first repository-level, metric-driven proof-optimization task, where an agent freely refactors a blueprint repository toward repository-level objectives. We instantiate OPAL with six metrics grounded in empirically mined human maintenance tendencies, including proof length, import closure, mathlib duplication, and elaboration cost. Optimizing these metrics freely, however, invites reward hacking, such as deleting a theorem to shorten the code, so evaluation needs a contract on what must stay intact. Our key observation is that blueprint structure itself supplies this contract: \lean{} links pin down which theorems constitute a project's final targets (5-19% of all declarations), whose statements must be preserved, while the remaining 81-95% of auxiliary code may be freely refactored. We implement this contract as an executable semantic-preservation checker. Building on it, we release OPAL-Bench, comprising 162 task instances from 18 real-world Lean blueprint projects, together with a sandboxed agent harness. Experiments show that coding agents can deliver genuine optimization gains beyond the level of single human commits, while ablations show that with the contract absent from the agent's world nearly half of accepted improvements do not survive semantic verification.

arXiv:2611.40487v1cs.CL

Evaluating LLM Translation for Prompt-Enhanced ACT-R and Soar Models

Translating cognitive models across heterogeneous cognitive architectures is a critical yet unresolved challenge in computational cognitive science, with significant implications for model reusability, interoperability, and cross-framework validation. This paper explores the feasibility of using a Large Language Model (LLM) to facilitate automated translation between ACT-R and Soar, two widely adopted cognitive modeling frameworks. We explore the feasibility of LLM-assisted translation and identify translation patterns, offering a methodological foundation for future quantitative evaluation. Through a series of controlled translation experiments and iterative prompt engineering cycles, we identify and validate a generalized translation pattern that supports bi-directional model interoperability. Our findings reveal that while LLMs demonstrate promising capabilities in syntactic scaffolding and partial semantic mapping, human-in-the-loop intervention remains critical for ensuring executable and cognitively plausible model outputs. The study offers insights into the potentials and limitations of leveraging LLMs for cross-architecture translation and provides a methodological foundation for future research on automated cognitive model transformation and hybrid architecture integration.

arXiv:2611.38669v1cs.AI

Pruned or Rewritten? Tracing Declarations Across Three Versions of a 17-Million-Line Lean Proof of the Riemann Hypothesis, Based on Eduinformatics

A Lean 4 proof of the Riemann Hypothesis was released on 20 November 2026 with 175,187 files and 17.4 million lines. Within a week it existed in three versions: the original release, a branch consolidated by volunteers (47,885 modules, 14.6 million lines), and a condensed rewriting that became the community's main line (802 files, 0.48 million lines, 2.8% of the original). We ask whether the reduction came from pruning or from rewriting, and how far pruning alone could have gone. Using compiled indexes and declaration-level dependency graphs, we trace declarations across the versions. Consolidation kept the names: 92% of the consolidated branch's real declarations have a counterpart of the same name in the original. The condensed version shares almost nothing with the consolidated branch: only 47 of its 26,018 real declarations in the dependency graph (0.18%) match one by name and statement, and the nine full names common to all three versions are the fixed statements of the challenge. The declarations dropped were not the unused ones; their use profile is close to that of the whole branch. Removing every declaration of the consolidated branch that is unreachable from the five main theorems would cut its declaration lines by only 2.8% (deleting whole declarations, without changing the others), whereas the condensed version has 2.7% of the reachable lines. At the level of declaration text, the reduction is therefore almost entirely due to rewriting, not to pruning. The condensed version is also organised differently: it separates a library with no counted use of the proof-specific part, whereas the top-level namespaces of the consolidated branch all depend on one another. We discuss what this implies for checking and maintaining very large AI-written formal artifacts.

arXiv:2611.40479v1cs.LO

Enabling Formal Verification in a Common Model of Cognition

The development of accurate and efficient cognitive models remains a central challenge in cognitive science and artificial intelligence. This paper introduces a novel methodology that integrates formal verification techniques into cognitive model development, using the Common Model of Cognition (CMoC) as a unifying framework. By translating cognitive models into state machine representations, we enable automated analysis through formal verification tools such as nuXmv. We demonstrate this approach using three toy models, covering procedural execution, memory retrieval, and problem solving, which are developed in both the ACT-R and Soar architectures. These models are transformed into state transition systems to verify properties such as correctness (i.e., task completion) and haltability (i.e., guaranteed termination). Our method offers a pathway to increasing confidence in model behavior and reveals insights into the minimal constructs required to represent and translate cognitive architectures into formal verification environments. This work highlights the viability of CMoC as a state machine framework suitable for formal reasoning, and offers a pathway toward rapid, accurate, and architecture-neutral cognitive model development. We conclude by outlining how these foundations can support the creation of a high-level modeling language and compiler that bridges symbolic cognitive architectures with formal methods from computer science.

arXiv:2611.37167v1cs.AI

"Not Used Elsewhere" Is Not "Unused" in a Lean Formalization of the Riemann Hypothesis: Reverse Lookup Against the Compiled Index, Based on Eduinformatics

On 20 November 2026 a Lean 4 proof of the Riemann Hypothesis of about 175,000 files was released, and some 200 volunteers began to consolidate and prune it. Deciding that a declaration is unused, and can be deleted, is a reverse lookup: it is only as reliable as the forward links it is built from. From the compiled files of the consolidated branch (commit e497a66) we built a forward and reverse index of all declarations, covering 47,780 of 47,885 modules. Of the 454,574 declarations that no other file uses, 96.5% are used inside their own file, so "not used elsewhere" badly overstates "unused"; a deletion based on it broke the build and had to be partly reverted. Restoring the pre-consolidation partition of 174,793 files while holding the use relation fixed leaves this share unchanged (96.7% on the mapped declarations), so the false zeros are not an artifact of the consolidation: helper declarations already sat in the files of their users. We then asked how much a capture-recapture estimate built from source text alone can say about use. When the compiled index serves both as one capture and as the ground truth, the ratio of the Lincoln-Petersen estimate to the truth equals the reciprocal of the text matcher's precision by construction; we make this identity explicit, and report what the comparison still shows: how low the precision of plausible text matchers is, how recall differs between same-file and cross-file uses, and which uses text cannot see at all. We give a procedure for safe deletion based on the compiled index.

arXiv:2611.36690v1cs.AI

Resolving Multi-Goal Trade-Offs in Single-Pass Decision Models: Selten's Aspiration Adaptation and the Bartleby Refusal

Single-pass decision models evaluate typed readout heads (choice, noul, score) in one O(1) forward pass. We prove and show empirically that training unconditioned heads under proper scoring rules over conflicting goals forces the Bayes-optimal predictor to average across latent priority orders (\hat{p}^* \approx 0.50), inducing Trade-Off Paralysis and 0% policy steerability. Moreover, closed-simplex decoding (\sum_{k=1}^K P(u_k) = 1) forces execution of the lesser evil when every option is destructive. We resolve both failures in bartleby-1.2 (Qwen3-0.6B, 30--33 ms latency) by operationalizing Selten's Aspiration Adaptation Theory (AAT) and the Bartleby refusal ("I would prefer not to") as a (K+1)-st abstention outcome when all candidates breach a survival floor (\hat{E}_{k,m} < a_m^{\min}). An epistemic-normative firewall decouples policy-invariant rubric prediction (\max |\Delta \hat{E}| = 0) from a 4-regime AAT Markov module and floor gate, backed by 24 machine-checked Lean 4 theorems. Across a frozen blind vault (N=200) and a 352-case Security Harness, a 4-stage ablation (Closed-K, Unconditioned K+1, Prompt-Conditioned K+1, bartleby-1.2) shows that unconditioned K+1 solves static traps (100% S1, 87.5% S2) but scores 0% on policy switches, while Prompt-Conditioned K+1 lacks a rubric firewall and trails bartleby-1.2 by +25 pp on unseen posture flips (97.9% vs. 72.9% S3) and floor shifts (50% vs. 25% S4; 100% vs. 90% Vault S4). On N=610 external cybersecurity items, bartleby-1.2 eliminates paralysis (0%)

arXiv:2611.35799v1cs.AI

Climbing the SkyLadder: A Certified Lower Bound of 25 for Kochen-Specker Sets in $\mathbb{R}^3$

Can an AI agent find new techniques for a search problem that experts already optimised? Can we trust a "no" answer that the agent's own code produced? We introduce SkyLadder, a protocol for agent-driven research on exact search problems. The agent climbs the problem one size at a time. It develops techniques motivated by measured bottlenecks and records both improvements and dead ends. Certification requires complete coverage by certificate checkers that Lean 4 proves sound. We apply SkyLadder to the minimum Kochen-Specker (KS) problem in $\mathbb{R}^3$, a question from the foundations of quantum mechanics. The best lower bound was 24 vectors. It came from two independent SAT-based searches of about 12,000 CPU-hours each. On one 8-core laptop, the agent's pipeline reproduces every published order from 17 to 23 and matches the published candidate counts exactly. At order 23 it is $2.5\times10^{4}$ times faster than the state of the art. Most of the gain comes from one reformulation: the search runs over basis structures instead of vector graphs. The pipeline resolves the next open case: every KS set in $\mathbb{R}^3$ has at least 25 vectors. The certificate checks establish that the enumeration is complete. They cover 2.2 million final basis structures across orders 1-24 and validate 1,027 real-algebraic non-embeddability certificates. The retained verification records account for all 1,748,733 required order-24 structures, including supplementary and cube-split checks. Lean proves that the checkers are sound. The trusted base also includes the mathematical specification, Lean and Mathlib, compiled checker execution, certificate-file handling, and assembly of per-process logs. Under this explicit trusted base, the result does not depend on the correctness of the search tools. An ablation and a prior-art audit separate the new techniques from those that the agent rediscovered.

arXiv:2611.33303v1cs.AI

Certify What You Plant: Shortcut-Free Proof Depth in Logical Reasoning Data

Procedurally generated logic problems are used to both evaluate and train reasoning in language models. Their difficulty is usually set by planting a proof, that is, by sampling a proof of the desired depth and stating its premises as the problem. However, a planted proof is only one possible proof. A problem can also have shorter proofs, or several unrelated ones, and its stated depth then overstates what solving it requires. We measure what a problem actually requires, relative to a stated set of inference rules. For each problem, we compute the steps every proof must make, the shortest proof, the number of minimal proofs and the indispensable premises, and export certificates that an independent checker verifies. Audits of eight datasets find depth that is forced (ProofWriter, Blocksworld), problems labelled depth 5 that require about two specific rule applications (FLDx2), and answers that need no particular step (ZebraLogic). We then construct problems whose every proof has a requested structure, using a catalog of shortcuts proved once per rule set. Every constructed problem is checked in full and comes with its own certificate. In training, the best data mixes depths and problem types. At equal size, such mixtures of certified problem types, including model-checking problems that forward generation does not produce, transfer better than FLDx2-style derivation data for Qwen3 models from 0.6B to 8B.

arXiv:2611.33078v1cs.CL

FOL-Proof: Verifying LLM Text-to-Logic Translations via Deterministic Semantics

Large Language Models (LLMs) are increasingly used to translate natural-language statements into first-order logic (FOL) to improve reasoning. However, LLMs are prone to errors, and so a semantically unfaithful FOL formula could corrupt downstream reasoning. We present FOL-Proof, a semantic firewall pipeline that validates LLM-generated FOL translations against independently derived linguistic interpretations. FOL-Proof operates by deterministically obtaining a pool of candidate translations via semantic analysis tools, such as the English Resource Grammar and Minimal Recursion Semantics; then applying an SMT solver to check each derived reading for logical equivalence to the LLM-generated formula. If the translation is faithful it is accepted; otherwise, it is rejected, or optionally repaired via repeated invocations to the LLM. The procedure is conservative: incomplete search, unsupported constructions, or inconclusive checks yield abstention rather than false rejection. We evaluated FOL-Proof on established benchmarks (ProofWriter, RuleTaker and PrOntoQA), and also on a new adversarial benchmark (LongFaithCheck). Our experiments show that FOL-Proof attains near perfect selective accuracy, while direct LLM judges and round-trip baselines show substantially worse performance.

arXiv:2611.31571v1cs.AI

Safe Autoformalization: Sufficiency and Necessity with Entailment Graphs

Autoformalization translates a natural-language statement into a formula that captures its intent, which depends on the statement's context: the background that disambiguates it. LLMs make autoformalization practical, but their probabilistic output carries no formal guarantees. We propose techniques for safe autoformalization that certify one-sided logical adequacy: a formula sufficient for the intent is safe to enforce, and a formula necessary for it is safe to rely on. We use LLMs to generate candidate formulas and order them by logical strength in an Entailment Graph (EG), an ordering a solver decides. Each edge carries a residual and a co-residual, the two adjoints of the entailment order, all fixed by the candidate pool alone. In a context, two searches return the sufficient frontier, the weakest candidates that entail the statement, and the necessary frontier, the strongest candidates the statement entails; each step is one local check against an edge's residual or co-residual. The frontiers bracket the statement and yield the ambiguity residue, which holds exactly of the situations the candidates certify neither as satisfying nor as violating it; the statement is ambiguous precisely when the residue is satisfiable. For natural-language statements and contexts, an LLM entailment oracle decides the checks; it is sound if it accepts only checks that hold, and complete if it accepts every check that holds. We prove that a sound oracle makes the search safe regardless of pool quality, and that a complete one makes the frontiers tight. On security-critical AWS properties, EGs are safe in all 20 cases of an expert-adjudicated study, where majority vote over equivalence clusters and Universal Self-Consistency are unsafe in 25% and 10%. An ablation with the same oracle but no graph is unsafe in 25% and rejects every candidate in another 30%. We machine-checked our proofs in Lean.

arXiv:2611.29998v1cs.AI

Categorical Foundations of AI Agents

We follow the idea of separating intelligence from execution and give the categorical foundations of AI agents: the transformers, the agents, and the orchestrations and choreographies of AI agents are categorized, and which also include their coalgebras and algebras.

arXiv:2611.29737v1cs.LG

Deterministic Proper Positive-Only Learning Is Independent of ZFC

Binary classification from positive-only samples is a variant of PAC learning in which the learner receives i.i.d. samples only from the positive region of an unknown target concept, but is evaluated on the full distribution. Improper learnability in this model has a textbook characterization, whereas proper learnability has remained open for decades. Recent work characterized it for learners with access to randomness, and showed that, unlike in PAC learning, some classes are properly learnable with randomness but not without it, leaving the deterministic case open. We show that this case cannot be resolved within the standard axioms of mathematics (ZFC): there is a class of VC dimension two whose deterministic proper learnability is independent of ZFC, even though a randomized learner provably learns it. Moreover, no dimension of finite character, a desirable property shared by most dimensions in learning theory, characterizes deterministic proper learnability. We also show that the size of the domain is decisive. In ZFC, deterministic proper learnability has a combinatorial characterization on every domain whose cardinality is below a certain threshold, including every countable domain. In contrast, this characterization fails on every domain of sufficiently large cardinality. Under the generalized continuum hypothesis, this threshold is sharp: it is the exact cardinality at which the characterization starts to fail. Finally, our proofs introduce new tools, based on the Erdos--Rado partition theorem, that may be of broader interest.

arXiv:2611.28727v1cs.LG

How many mistakes does it take to learn an interval? Exact Littlestone dimensions of intervals and their unions

The Littlestone dimension of a hypothesis class equals the smallest number of mistakes an online learner can guarantee against an adaptive adversary. For discrete intervals and unions of $j$ intervals on $m$ points, only its order of growth was known. We determine it exactly. For every switch budget $k$ (with both end labels fixed when $k$ is odd), the smallest size on which $d$ mistakes can be forced follows a three-regime law: $d+1$ while $d\le k$, then $2d-k+1$, and beyond $d=\lceil 3k/2\rceil+k-1$ doubling the size adds exactly $k$ mistakes. Unions of $j$ intervals on $m$ points correspond to $k=2j$ and size $m+1$, and a single interval gives the thresholds $1,2,3,5,7,10,14,20,\dots$. The natural learner that waits for a positive example and binary-searches both endpoints is not optimal: it can be forced into one extra mistake for 50,847 of the domain sizes below $10^5$. Upper bounds come from a gap potential and a block-pairing learner, and lower bounds from adversary strategies and a refinement step. These tools give an explicit optimal learner with $O(\log m)$ time per round, which on random streams makes more mistakes on average than the natural learner. For randomised learners, we compute the randomised Littlestone dimension of thresholds exactly and prove that a greedy adversary forces an explicit closed-form number of expected mistakes on intervals; this bound is within $0.64$ of optimal and, we conjecture, exact (confirmed for $m\le70$). Exact computation tests every result, and the formulas for every switch budget are machine-checked in Lean 4.

arXiv:2611.28430v1cs.LG

Lean Census: A Distributional Analysis of AI-Generated Lean Code

We compare two human-written and four AI-generated Lean libraries with Mathlib through the distributions of simple statistics of their code. For each library we measure inline claims in proofs, proof length, how often each declaration is used, and design choices such as instances and private declarations, and we read each against the variation among Mathlib's own areas. The AI-generated libraries have more inline claims per theorem, longer proofs, fewer instances, and more private declarations than the human-written ones. We release the code for the analysis as a package, lean-census, at https://github.com/project-numina/lean-census.

arXiv:2611.27489v1cs.AI

Efficient Natural Language to Temporal Logic Translation for Real-Time Physical AI

Robots can be controlled to perform tasks with guaranteed correctness when the task instructions are stated in a formal language. Large language models (LLMs) have been widely used to allow users to provide such instructions in natural language (NL), by translating NL into formal language. When deploying such translators on a robot, however, we face limited computing and energy resources, while offloading computation or data to the cloud may be infeasible or undesirable. Yet an LLM is a general-purpose text generator, whereas a formula in a fixed formal language fragment follows a well-defined syntax. We therefore ask whether text generation is needed at all. For the formal language of linear temporal logic (LTL), we show that this translation can instead be broken down into answering a set of questions with pre-defined answers. We then construct a System-One model, a recent class of NL-based classifier, to provide such answers and enable us to translate a natural language instruction into an LTL instruction. On three benchmarks, our translator matches or exceeds the accuracy of the best local LLMs available, at up to one order of magnitude lower runtime and energy consumption. We show that it generalizes to unseen atomic propositions and temporal patterns.

arXiv:2611.27260v1cs.AI

No Perfect Guardrail & No Perfect Guard: On the Decidability of Output Policies for Large Language Models

Expecting guardrails to provide a general guarantee of safety fails to recognize the limits of computational enforcement and policy specification. We argue that promising such perfection is an ethical failure of precision, and that invoking it to abdicate responsibility is a moral failure. Guardrails can support responsible action, but cannot relieve researchers, developers, policymakers, or users of their obligations to examine what they claim, permit, and prevent. We establish a precise computational boundary. If every finite string is a possible output of a language model, a computable guard that blocks every forbidden output and passes every permitted one exists if and only if the policy is decidable. For an undecidable policy, every guard misclassifies infinitely many strings, and every guard that blocks all forbidden outputs excludes infinitely many permitted ones. We apply this characterization to arithmetic truth, program behavior, and harmful instructions to an idealized recipient. We distinguish guards from execution monitors, identify bounded and interceptable cases admitting exact enforcement, and explain why the results establish no positive lower bound on average error. Exact enforcement does not establish that a policy adequately captures safety. Conservative exclusion may withhold warnings, remedies, or challenges needed to recognize the policy's own defects. Human oversight cannot substitute for judgment: an apparent controller can become an instrument of purposes they have ceased to examine. Responsible governance requires continued critical challenge and the intellectual and moral humility to recognize possible flaws in our machines, rules, policies, and ourselves. The impossibility of a general assurance of perfection is a condition responsible practice must confront, not a responsibility that another guardrail - or another guard - can remove.

arXiv:2611.26906v1cs.AI

Budget-Aware Predict-and-Verify Theorem Proving with Heterogeneous LLM Solvers

Large language model (LLM) theorem solvers differ in both proving capability and inference cost. Applying an expensive solver to every subgoal wastes computation when cheaper models are sufficient, while always starting from the cheapest solver wastes attempts on subgoals that require stronger models. We present BudgetPV, an agentic budget-aware predict-and-verify system that allocates computation across unresolved subgoals and heterogeneous LLM solvers. BudgetPV uses a cross-solver predictor to guide solver selection for each subgoal and revises the allocation as verification feedback becomes available. The allocation problem changes as proving progresses. Early decisions mainly determine which solver should handle an untried subgoal, while later decisions determine which previously attempted subgoals should receive additional computation. We train the predictor with two objectives for these two stages. Class-weighted cross-entropy improves assignment to less frequent stronger solvers during the initial stage, while plain cross-entropy provides better calibrated probabilities for later allocation among previously attempted subgoals. We evaluate BudgetPV on Lean Workbook, miniF2F, ProofNet, and PutnamBench using three progressively expanded solver settings: a strong but expensive solver alone, adding a medium-cost solver with intermediate solving capability, and further adding a cheap solver with lower solving capability. BudgetPV requires less LLM generation computation than uniform allocation to solve the same number of subgoals across the evaluated settings. The experiments further show the computation savings obtained as medium- and lower-cost solvers are added.

arXiv:2611.26261v1cs.AI

Similarity-based OSF Logic for Flexible SPARQL Query Answering

We present an updated version of fosf, a reasoner for fuzzy order-sorted feature (OSF) logic, with support for flexible SPARQL query answering over RDF knowledge graphs. Fuzzy OSF logic is a knowledge representation and reasoning language where feature symbols denote functions and sort symbols denote fuzzy sets. Sorts are organized in a fuzzy subsumption relation that extends to OSF terms, record-like structures representing classes of entities. The unification algorithm for these structures provides a calculus of fuzzy type subsumption. The latest release of fosf introduces support for similarity-based reasoning by extending the OSF language with a similarity relation among sorts, alongside a translation engine for compiling OSF terms into standard SPARQL. Queries expressed as OSF terms undergo fuzzy ontology-aware rewriting prior to translation. This process incorporates an OSF theory of sort definitions, feature domain and range declarations, and fuzzy subsumption and similarity relations through fuzzy OSF constraint normalization. This rewriting enables flexible query answering by returning approximate solutions, allowing queries that would otherwise be inconsistent with the underlying ontology to yield relevant results.