Details

Time bar (total: 18.2s)

sample44.0ms

Algorithm
intervals
Results
10.0ms62×body640valid
8.0ms39×body1280valid
7.0ms211×body80nan
6.0ms132×body80valid
2.0ms16×body320valid
1.0msbody160valid

simplify10.0ms

Counts
1 → 1
Iterations
IterNodes
done17
217
113
08

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.5b

localize54.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ x 1))
0.2b
(/ 1 (sqrt (+ x 1)))
0.3b
(/ 1 (sqrt x))
2.1b
(- (/ 1 (sqrt x)) (/ 1 (sqrt (+ x 1))))

rewrite259.0ms

Algorithm
rewrite-expression-head
Rules
1063×times-frac
902×*-un-lft-identity
788×add-sqr-sqrt
714×add-cube-cbrt
594×prod-diff
580×sqrt-prod
74×distribute-lft-out
56×div-inv
48×sqrt-div
46×associate-/r/
25×difference-of-squares
24×flip3-+ flip-+
22×fma-neg
13×associate-/r* distribute-lft-out--
12×add-exp-log
pow1
add-cbrt-cube
pow-flip associate-/l* add-log-exp
expm1-log1p-u div-exp insert-posit16 log1p-expm1-u
sqrt-pow1 pow1/2
cbrt-undiv rec-exp clear-num frac-2neg 1-exp hypot-def inv-pow
rem-sqrt-square sub-neg flip3-- diff-log frac-sub flip--
Counts
4 → 793
Calls
4 calls:
15.0ms
(sqrt (+ x 1))
23.0ms
(/ 1 (sqrt (+ x 1)))
12.0ms
(/ 1 (sqrt x))
136.0ms
(- (/ 1 (sqrt x)) (/ 1 (sqrt (+ x 1))))

series202.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(sqrt (+ x 1))
50.0ms
(/ 1 (sqrt (+ x 1)))
47.0ms
(/ 1 (sqrt x))
65.0ms
(- (/ 1 (sqrt x)) (/ 1 (sqrt (+ x 1))))

simplify2.3s

Counts
805 → 805
Iterations
IterNodes
done5000
22463
11435
0651

prune1.8s

Pruning

22 alts after pruning (22 fresh and 0 done)

Merged error: 18.0b

localize28.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot (sqrt x) 1)
0.2b
(/ 1 (hypot (sqrt x) 1))
0.3b
(/ 1 (sqrt x))
2.1b
(- (/ 1 (sqrt x)) (/ 1 (hypot (sqrt x) 1)))

rewrite107.0ms

Algorithm
rewrite-expression-head
Rules
505×times-frac
406×add-sqr-sqrt
386×*-un-lft-identity
365×add-cube-cbrt
286×prod-diff
144×sqrt-prod
42×div-inv
22×fma-neg
15×difference-of-squares
12×add-exp-log
associate-/r*
add-cbrt-cube
pow1 distribute-lft-out--
associate-/l* add-log-exp
expm1-log1p-u div-exp insert-posit16 log1p-expm1-u pow-flip
cbrt-undiv rec-exp clear-num frac-2neg 1-exp inv-pow
hypot-udef sub-neg sqrt-pow1 flip3-- pow1/2 diff-log frac-sub flip--
Counts
4 → 439
Calls
4 calls:
0.0ms
(hypot (sqrt x) 1)
6.0ms
(/ 1 (hypot (sqrt x) 1))
9.0ms
(/ 1 (sqrt x))
67.0ms
(- (/ 1 (sqrt x)) (/ 1 (hypot (sqrt x) 1)))

series973.0ms

Counts
4 → 12
Calls
4 calls:
235.0ms
(hypot (sqrt x) 1)
341.0ms
(/ 1 (hypot (sqrt x) 1))
39.0ms
(/ 1 (sqrt x))
358.0ms
(- (/ 1 (sqrt x)) (/ 1 (hypot (sqrt x) 1)))

simplify2.5s

Counts
451 → 451
Iterations
IterNodes
done5000
22291
11139
0495

prune1.3s

Pruning

24 alts after pruning (23 fresh and 1 done)

Merged error: 18.0b

localize18.0ms

Local error

Found 3 expressions with local error:

0.0b
(sqrt (+ x 1))
0.2b
(/ 1 (sqrt (+ x 1)))
8.8b
(- (pow x -1/2) (/ 1 (sqrt (+ x 1))))

rewrite122.0ms

Algorithm
rewrite-expression-head
Rules
236×*-un-lft-identity
209×add-sqr-sqrt
189×prod-diff
180×times-frac
174×add-cube-cbrt
110×sqrt-prod
89×unpow-prod-down
33×sqr-pow
26×distribute-lft-out
18×sqrt-div
16×associate-/r/
15×difference-of-squares
flip3-+ flip-+ div-inv
associate-/r* fma-neg add-exp-log
pow1
add-cbrt-cube add-log-exp
expm1-log1p-u insert-posit16 log1p-expm1-u pow-flip associate-/l*
sqrt-pow1 pow1/2 div-exp hypot-def distribute-lft-out--
cbrt-undiv rem-sqrt-square rec-exp clear-num sub-neg frac-2neg flip3-- diff-log 1-exp flip-- inv-pow
Counts
3 → 303
Calls
3 calls:
10.0ms
(sqrt (+ x 1))
14.0ms
(/ 1 (sqrt (+ x 1)))
67.0ms
(- (pow x -1/2) (/ 1 (sqrt (+ x 1))))

series158.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(sqrt (+ x 1))
54.0ms
(/ 1 (sqrt (+ x 1)))
64.0ms
(- (pow x -1/2) (/ 1 (sqrt (+ x 1))))

simplify2.5s

Counts
312 → 312
Iterations
IterNodes
done5000
34518
21883
1949
0401

prune910.0ms

Pruning

26 alts after pruning (26 fresh and 0 done)

Merged error: 18.0b

localize27.0ms

Local error

Found 2 expressions with local error:

0.0b
(pow (+ x 1) -1/2)
2.1b
(- (pow x -1/2) (pow (+ x 1) -1/2))

rewrite93.0ms

Algorithm
rewrite-expression-head
Rules
69×unpow-prod-down
59×*-un-lft-identity
56×prod-diff
48×add-sqr-sqrt
36×add-cube-cbrt
23×sqr-pow
distribute-lft-out difference-of-squares
fma-neg
add-log-exp
pow1 pow-unpow add-exp-log distribute-lft-out--
expm1-log1p-u add-cbrt-cube insert-posit16 log1p-expm1-u
pow-to-exp sub-neg pow-pow flip3-- diff-log pow-exp flip--
Counts
2 → 111
Calls
2 calls:
15.0ms
(pow (+ x 1) -1/2)
71.0ms
(- (pow x -1/2) (pow (+ x 1) -1/2))

series165.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(pow (+ x 1) -1/2)
124.0ms
(- (pow x -1/2) (pow (+ x 1) -1/2))

simplify2.2s

Counts
117 → 117
Iterations
IterNodes
done5000
34299
21467
1503
0209

prune268.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.9b

regimes44.0ms

Accuracy

98.1% (0.6b remaining)

Error of 1.5b against oracle of 0.9b and baseline of 30.0b

bsearch72.0ms

Steps
ItersRangePoint
9
0.17679972651571432
94859.26993337883
6705.611752539598

simplify22.0ms

Iterations
IterNodes
done62
462
360
254
147
035

end0.0ms

sample2.0s

Algorithm
intervals
Results
654.0ms1119×body1280valid
403.0ms7974×body80nan
375.0ms1873×body640valid
234.0ms4064×body80valid
76.0ms619×body320valid
27.0ms325×body160valid