SCFirstOrderLogic 1.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package SCFirstOrderLogic --version 1.1.0                
NuGet\Install-Package SCFirstOrderLogic -Version 1.1.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SCFirstOrderLogic" Version="1.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SCFirstOrderLogic --version 1.1.0                
#r "nuget: SCFirstOrderLogic, 1.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SCFirstOrderLogic as a Cake Addin
#addin nuget:?package=SCFirstOrderLogic&version=1.1.0

// Install SCFirstOrderLogic as a Cake Tool
#tool nuget:?package=SCFirstOrderLogic&version=1.1.0                

SCFirstOrderLogic

Basic but fully XML-documented first-order logic implementations. Includes:

  • Implementations of both raw and CNF sentence representation. Multiple ways of instantiating raw sentences, including a language-integrated approach that allows (the domain to be modelled as an IEnumerable<T> and) sentences to be provided as lambda expressions.
  • Knowledge base implementations that, while using very simple versions of their respective algorithms, do expose properties for the retrieval of proof details.
  • Sentence formatting logic that allows for (customisable) unique labelling of standardised variables and Skolem functions across a set of sentences.

Created just for fun while reading chapters 8 and 9 of Artificial Intelligence: A Modern Approach (3rd Edition - ISBN 978-1292153964) - so may prove interesting to the C#-inclined reading the same book. The "official" C# repository for the book does of course cover these chapters, but given that what I've found there isn't (IMHO) very useful, here we are. The main goal here is for it to be a learning resource. As such, care has been taken to include decent XML documentation, functionality for explaining the results of queries, and explanatory inline comments in the source code where appropriate. For production scenarios, there are obviously other better inference engines out there - that generally use more powerful logics than first-order.

For usage guidance, please consult the user guide.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on SCFirstOrderLogic:

Package Downloads
SCClassicalPlanning

Basic classical planning implementations. Includes a simple model for planning problems, as well planners that implement state-space search, goal-space search, and GraphPlan.

SCFirstOrderLogic.Inference.Basic

Very basic knowledge base implementations that use the models defined by the SCFirstOrderLogic package.

SCFirstOrderLogic.ExampleDomains

A few simple first-order logic domains declared using the models found in the SCFirstOrderLogic package - for use in tests and demos.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
7.0.1 53 11/22/2024
7.0.0 94 10/20/2024
7.0.0-pre.4 50 10/13/2024
7.0.0-pre.3 49 9/29/2024
7.0.0-pre.2 65 8/27/2024
7.0.0-pre.1 145 8/3/2024
6.0.0 186 7/7/2024
6.0.0-pre.3 50 7/7/2024
6.0.0-pre.2 53 7/6/2024
6.0.0-pre.1 161 6/9/2024
5.5.0 126 6/8/2024
5.4.0 119 5/26/2024
5.3.0 155 1/21/2024
5.2.0 166 12/22/2023
5.1.0 194 8/12/2023
5.0.0 185 7/23/2023
5.0.0-pre.3 108 7/22/2023
5.0.0-pre.2 96 7/16/2023
5.0.0-pre.1 94 7/9/2023
4.2.0 190 5/29/2023
4.1.2 234 4/1/2023
4.1.1 336 3/9/2023
4.1.0 234 3/6/2023
4.0.0 338 2/26/2023
4.0.0-pre.5 102 2/24/2023
4.0.0-pre.4 106 2/8/2023
4.0.0-pre.3 102 2/6/2023
4.0.0-pre.2 105 2/5/2023
4.0.0-pre.1 105 1/18/2023
3.1.4 437 1/11/2023
3.1.3 295 12/24/2022
3.1.2 466 11/14/2022
3.1.1 346 11/13/2022
3.1.0 366 11/13/2022
3.0.0 400 11/5/2022
3.0.0-pre.3 120 11/4/2022
3.0.0-pre.2 141 10/24/2022
3.0.0-pre.1 145 10/21/2022
2.1.3 589 10/9/2022
2.1.2 443 10/9/2022
2.1.1 405 10/5/2022
2.1.0 863 10/5/2022
2.1.0-pre.5 136 10/3/2022
2.1.0-pre.4 114 9/29/2022
2.1.0-pre.3 109 9/29/2022
2.1.0-pre.2 118 9/28/2022
2.1.0-pre.1 119 9/28/2022
2.0.0 422 9/26/2022
1.1.0 452 9/16/2022
1.0.2 451 9/12/2022
1.0.1 442 9/11/2022
1.0.0 435 9/7/2022
1.0.0-pre.1 121 9/7/2022