Details

Time bar (total: 18.0s)

sample440.0ms

Algorithm
intervals
Results
380.0ms20×body320valid
13.0ms63×body1280valid
12.0ms282×body80nan
7.0ms46×body640valid
5.0ms116×body80valid
1.0ms11×body160valid

simplify7.0ms

Counts
1 → 1
Iterations
IterNodes
done10
210
19
06

prune12.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 33.2b

localize16.0ms

Local error

Found 2 expressions with local error:

0.0b
(sqrt (+ x 1.0))
3.1b
(- (sqrt (+ x 1.0)) (sqrt x))

rewrite99.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt *-un-lft-identity sqrt-prod
add-log-exp difference-of-squares
pow1 add-cube-cbrt distribute-lft-out--
add-cbrt-cube sqrt-div add-exp-log distribute-lft-out
rem-sqrt-square sub-neg sqrt-pow1 flip3-+ flip3-- pow1/2 diff-log flip-+ flip--
Counts
2 → 35
Calls
2 calls:
30.0ms
(sqrt (+ x 1.0))
67.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

series183.0ms

Counts
2 → 6
Calls
2 calls:
58.0ms
(sqrt (+ x 1.0))
125.0ms
(- (sqrt (+ x 1.0)) (sqrt x))

simplify1.7s

Counts
41 → 41
Iterations
IterNodes
done5000
32862
2671
1193
086

prune152.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (+ x 1.0))
0.0b
(+ (sqrt (+ x 1.0)) (sqrt x))
0.1b
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))

rewrite118.0ms

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity
24×sqrt-prod
21×distribute-lft-out
18×times-frac
16×add-sqr-sqrt
15×add-cube-cbrt
associate-/r*
add-cbrt-cube add-exp-log add-log-exp
pow1
flip3-+ flip-+ associate-/l*
sqrt-div associate-/r/
cbrt-undiv +-commutative rem-sqrt-square clear-num sum-log frac-2neg sqrt-pow1 pow1/2 div-exp div-inv
Counts
3 → 71
Calls
3 calls:
5.0ms
(sqrt (+ x 1.0))
37.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
73.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))

series288.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(sqrt (+ x 1.0))
70.0ms
(+ (sqrt (+ x 1.0)) (sqrt x))
185.0ms
(/ 1.0 (+ (sqrt (+ x 1.0)) (sqrt x)))

simplify859.0ms

Counts
80 → 80
Iterations
IterNodes
done5000
21548
1371
0156

prune276.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize26.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
0.1b
(sqrt (+ (sqrt x) (sqrt (+ 1.0 x))))
0.2b
(/ 1.0 (sqrt (+ (sqrt x) (sqrt (+ 1.0 x)))))
0.2b
(/ (/ 1.0 (sqrt (+ (sqrt x) (sqrt (+ 1.0 x))))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

rewrite216.0ms

Algorithm
rewrite-expression-head
Rules
742×*-un-lft-identity
700×sqrt-prod
594×times-frac
280×distribute-lft-out
254×add-sqr-sqrt
252×add-cube-cbrt
36×associate-/l*
28×sqrt-div
24×associate-/r/
18×associate-/r*
14×flip3-+ flip-+
12×div-inv
11×add-cbrt-cube add-exp-log
pow1
cbrt-undiv div-exp add-log-exp
rem-sqrt-square clear-num frac-2neg sqrt-pow1 pow1/2
associate-/l/
Counts
4 → 445
Calls
4 calls:
31.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
29.0ms
(sqrt (+ (sqrt x) (sqrt (+ 1.0 x))))
36.0ms
(/ 1.0 (sqrt (+ (sqrt x) (sqrt (+ 1.0 x)))))
88.0ms
(/ (/ 1.0 (sqrt (+ (sqrt x) (sqrt (+ 1.0 x))))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

series1.6s

Counts
4 → 12
Calls
4 calls:
254.0ms
(sqrt (+ (sqrt (+ x 1.0)) (sqrt x)))
266.0ms
(sqrt (+ (sqrt x) (sqrt (+ 1.0 x))))
495.0ms
(/ 1.0 (sqrt (+ (sqrt x) (sqrt (+ 1.0 x)))))
559.0ms
(/ (/ 1.0 (sqrt (+ (sqrt x) (sqrt (+ 1.0 x))))) (sqrt (+ (sqrt (+ x 1.0)) (sqrt x))))

simplify2.1s

Counts
457 → 457
Iterations
IterNodes
done5000
24280
11140
0478

prune1.4s

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

localize47.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1.0 (sqrt (+ (sqrt x) (sqrt (+ x 1.0)))))
0.2b
(/ 1.0 (sqrt (+ (sqrt x) (sqrt (+ x 1.0)))))
0.2b
(* (sqrt (/ 1.0 (sqrt (+ (sqrt x) (sqrt (+ x 1.0)))))) (/ (sqrt (/ 1.0 (sqrt (+ (sqrt x) (sqrt (+ x 1.0)))))) (sqrt (+ (sqrt x) (sqrt (+ x 1.0))))))
0.2b
(/ (sqrt (/ 1.0 (sqrt (+ (sqrt x) (sqrt (+ x 1.0)))))) (sqrt (+ (sqrt x) (sqrt (+ x 1.0)))))

rewrite906.0ms

Algorithm
rewrite-expression-head
Rules
2154×sqrt-prod
1514×*-un-lft-identity
1308×times-frac
665×add-sqr-sqrt
564×distribute-lft-out
527×add-cube-cbrt
330×associate-*r*
51×sqrt-div
48×associate-/r/
42×associate-/l*
36×associate-*l* unswap-sqr
27×associate-/r*
24×flip3-+ flip-+ div-inv
15×add-cbrt-cube add-exp-log
pow1
cbrt-undiv div-exp add-log-exp
clear-num frac-2neg
sqrt-undiv prod-exp cbrt-unprod
frac-times sqrt-unprod pow-prod-down associate-*l/ associate-*r/ *-commutative associate-/l/
Counts
4 → 910
Calls
4 calls:
30.0ms
(/ 1.0 (sqrt (+ (sqrt x) (sqrt (+ x 1.0)))))
61.0ms
(/ 1.0 (sqrt (+ (sqrt x) (sqrt (+ x 1.0)))))
578.0ms
(* (sqrt (/ 1.0 (sqrt (+ (sqrt x) (sqrt (+ x 1.0)))))) (/ (sqrt (/ 1.0 (sqrt (+ (sqrt x) (sqrt (+ x 1.0)))))) (sqrt (+ (sqrt x) (sqrt (+ x 1.0))))))
118.0ms
(/ (sqrt (/ 1.0 (sqrt (+ (sqrt x) (sqrt (+ x 1.0)))))) (sqrt (+ (sqrt x) (sqrt (+ x 1.0)))))

series2.1s

Counts
4 → 12
Calls
4 calls:
547.0ms
(/ 1.0 (sqrt (+ (sqrt x) (sqrt (+ x 1.0)))))
475.0ms
(/ 1.0 (sqrt (+ (sqrt x) (sqrt (+ x 1.0)))))
258.0ms
(* (sqrt (/ 1.0 (sqrt (+ (sqrt x) (sqrt (+ x 1.0)))))) (/ (sqrt (/ 1.0 (sqrt (+ (sqrt x) (sqrt (+ x 1.0)))))) (sqrt (+ (sqrt x) (sqrt (+ x 1.0))))))
833.0ms
(/ (sqrt (/ 1.0 (sqrt (+ (sqrt x) (sqrt (+ x 1.0)))))) (sqrt (+ (sqrt x) (sqrt (+ x 1.0)))))

simplify1.1s

Counts
922 → 922
Iterations
IterNodes
done5000
11716
0719

prune2.7s

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0b

regimes73.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify1.0ms

Iterations
IterNodes
done9
19
07

end0.0ms

sample1.6s

Algorithm
intervals
Results
467.0ms663×body320valid
309.0ms1686×body1280valid
232.0ms8079×body80nan
187.0ms1247×body640valid
111.0ms4121×body80valid
16.0ms283×body160valid