Project

korekto

0.0
The project is in a healthy, maintained state
A general proof checker. Works with [neovim](https://github.com/neovim/neovim).
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.1, >= 1.1.0
~> 9.1, >= 9.1.0
~> 3.2, >= 3.2.2
~> 1.59, >= 1.59.0
~> 3.6, >= 3.6.1

Runtime

~> 8.2, >= 8.2.230210
 Project Readme

Korekto

Description

A general proof checker.

Works with neovim.

Install

$ gem install korekto
$ korekto --install
$ ### And if missing:
$ gem install neovim # Provides neovim-ruby-host

Synopsis

### Patterns ###
# 'Hello World!'.scan(/\w+|\S|\s/) #=> ["Hello", " ", "World", "!"]
! scanner: '\w+|\S|\s'
! .Newline /\n/
! .Newline {;}
! Variables /\w+/
! Variables {V W}
### Acceptance patterns ###
There might be V.	#L1 Let 1: There   might be .
# /If I see (\w+), then I'll probably see (\w+).\nI see \1\nI'll probably see \2/
If I see V, then I'll probably see W.;I see V.;I'll probably see W.	#I2 Modus ponens: If I see , then ' ll probably
### Argument ###
There might be Cows.	#S3/L1 Let 1: Cows
There might be Chickens.	#S4/L1 Let 1: Chickens
If I see Cows, then I'll probably see Chickens.	#P5
I see Cows.	#P6
I'll probably see Chickens.	#C7/I2,P5,P6 Modus ponens

Examples

Help

$ korekto --help
Usage:
  korekto [:options+]
Options:
 -h --help
 -v --version
 --scrape    	Scrape Korekto lines
 --trace     	Show trace of each line, not just edits and errors
 --install   	Installs the korekto neovim ruby plugin
 --readme    	Open korekto github page
 --heap=SIZE 	Set heap size (default: 60)
Types:
  SIZE    /^\d+$/
Exclusive:
  scrape trace install readme
# Example usage:
#   cat MARKDOWN.md | korekto
#   korekto < MARKDOWN.md

Credits

One can(of course) check the project's dependencies. Topmost kudos goes to Neovim which makes this project possible in Ruby. I also want to credit sources for ideas I'm using here.

An Introduction to Formal Logic with Steve Gimbel, Ph.D. of Gettysburg College on Amazon's The Great Courses Signature Collection.

Insights into Mathematics with Norman Wildberger, professor of mathematics at UNSW Sydney. Specially his foundations videos.

For anything really novel here, I would say that I have not seen an explicit formula for the propagation of errors of a sigmoid neural network which I give in my Neuronet wiki. Also, my classification of statements without any mention of formal logic might be somewhat novel, although foreshadows it.

License

Copyright (c) 2024 CarlosJHR64

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.