2026年1月3日 星期六

Carbon capture

 Mg-MOF-74

CALF-20

River crossing Puzzle 1

     Five people - Alice, Bob, Carlos, Diana, and Elena - must cross a river in a small boat. The boat can only hold three people at a time. The following conditions apply:

* Alice refuses to be in the boat with Carlos

* Bob and Diana must travel together if either one is in the boat

* Elena can only operate the boat when Carlos is not present

* At least one person in each crossing must know how to operate the boat

* Only Bob, Carlos, and Elena know how to operate the boat

Infer an efficient plan.





update

Opus 4.5 A*

_____________________________

2026年1月2日 星期五

River crossing Puzzle 2

  渡河問題2 (statement),Problem via 許元銘


結果視覺化




update

Opus 4.5  (share) did it by reasoning

Gemini 3 Pro did it by reasoning

ChatGPT non Think failed ChatGPT Think led to Python gen BFS and exe


______________________________________________________________________________
ChatGPT 5 works 4/5.  (Three claimed to use Python code execution. Therefore, is it true code was generated and then executed?) 
*1 Reasoning

*4 BFSvalidateviz,
*5 BFS



Code Gen

Use ChatGPT 5 to generate BFS search


 search that works


Use Claude to generate A*

 it takes 15 steps. (thanks to the python code generated by Claude)




another 15-step solution



yet another 15-step

one more 15-step

last 15-step


River crossing puzzle 3

     problem statement















update 

Opus 4.5 did it by reasoning

ChatGPT non Think failed, Opus 4.5 fix it. ChatGPT Think led to Python gen and exe

Gemini 3 Pro did it by pure reasoning




_________________________________________________________________


Code gen (Python)

code gen python A* search for ::River Crossing Puzzle ...



change to js



run js



use React to visualize the steps





ChatGPT 5 create BFS to solve it. 17 step solutionvisualizevisualizer

ChatGPT BFS

ChatGPT BFS

If BFS option is trurned off, ChatGPT has a hard time doing it manually.


Reinforcement Learning

 Reinforcement Learning (an introduction)