Cognitive similarity distance, cognition balls, cognitive limits
DefinitionCogCons_similarity_distanceA cognitive similarity distance on a set is a function together with a relation on ("cognitively coincide") such that for all :
- ;
- ;
- implies ;
- .
The cognition ball is . A sequence converges to (and is a cognitive limit) if
A set is a Gödel's incompleteness black hole for with virtual limit if there are and with for all and .
These are the objects of the paper's Sections 3.1 and 5.
Formalization Note Sequences are indexed from rather than . The "solution space of a problem" in Definition 5.1 is not modelled.
import Mathlib
namespace CogCons
/-- Definition 3.5 (Acharjee–Gogoi): a cognitive similarity distance on a set of
thoughts `C`, together with the relation `x ≈ y` ("x and y cognitively coincide"). -/
structure CognitiveSimilarityDistance (C : Type*) where
/-- The distance `Cog : C × C → [0, 1]`. -/
Cog : C → C → ℝ
/-- The relation `x ≈ y`. -/
coincide : C → C → Prop
/-- `Cog` takes values in `[0, 1]` (this also gives property (i), `Cog(x, y) ≥ 0`). -/
Cog_mem_Icc : ∀ x y : C, Cog x y ∈ Set.Icc (0 : ℝ) 1
/-- (ii) `Cog(x, y) = 0 ↔ x ≈ y`. -/
Cog_eq_zero_iff : ∀ x y : C, Cog x y = 0 ↔ coincide x y
/-- (iii) symmetry. -/
Cog_symm : ∀ x y : C, Cog x y = Cog y x
/-- (iv) if `x ≈ z` then `Cog(x, y) = Cog(z, y)`. -/
Cog_congr : ∀ x y z : C, coincide x z → Cog x y = Cog z y
/-- (v) triangle inequality. -/
Cog_triangle : ∀ x y z : C, Cog x z ≤ Cog x y + Cog y z
namespace CognitiveSimilarityDistance
variable {C : Type*} (D : CognitiveSimilarityDistance C)
/-- Definition 3.6: the cognition ball `B(x, ε) = {y ∈ C : Cog(x, y) < ε}`. -/
def cognitionBall (x : C) (ε : ℝ) : Set C := {y : C | D.Cog x y < ε}
/-- Definition 3.8: a sequence of thoughts `s` converges to the thought `x` (`x` is a
cognitive limit of `s`) if for each `ε ∈ (0, 1)` there is `m` with `Cog(x, sₙ) < ε`
for all `n ≥ m`. Sequences are indexed from `0`. -/
def ConvergesTo (s : ℕ → C) (x : C) : Prop :=
∀ ε ∈ Set.Ioo (0 : ℝ) 1, ∃ m : ℕ, ∀ n ≥ m, D.Cog x (s n) < ε
/-- Definition 5.1: `A` is a Gödel's incompleteness black hole for the solution sequence
`s` with virtual cognitive limit `x`: for some `ε ∈ (0, 1)` there is `k` with
`sₙ ∉ B(x, ε)` for all `n ≥ k`, and `B(x, ε) ⊆ A`. -/
def IsGodelBlackHole (A : Set C) (s : ℕ → C) (x : C) : Prop :=
∃ ε ∈ Set.Ioo (0 : ℝ) 1, ∃ k : ℕ,
(∀ n ≥ k, s n ∉ D.cognitionBall x ε) ∧ D.cognitionBall x ε ⊆ A
end CognitiveSimilarityDistance
end CogCons
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic)
Non-blind read-back — not independent testimony. This read-back was written by the same agent that drafted these Lean statements, not by an independent auditor working blind from the code alone. The author knew the intended meaning while writing it, so it may read that intent into the code. Do not treat it as independent verification; compare the Lean code against the source directly.
The file defines a structure on a type consisting of a real-valued function on pairs and a relation , such that , , , implies for all , and . It defines the ball for any real ; convergence of to as: for every with there is with for all ; and " is a Gödel black hole for and " as: there are and with for all and . No link to a consequence operator is made.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.