Details

Time bar (total: 13.1s)

sample105.0ms

Algorithm
intervals
Results
60.0ms145×body1280valid
15.0ms19×body2560valid
13.0ms55×body640valid
5.0ms27×body320valid
1.0msbody160valid
0.0msbody80valid

simplify3.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
067
197
2107
done107

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 38.1b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

1.2b
(- (cos (+ x eps)) (cos x))
3.6b
(cos (+ x eps))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt cos-sum add-cbrt-cube
associate--l- sub-neg flip3-- diff-log flip-- diff-cos distribute-lft-out-- difference-of-squares
Counts
2 → 24
Calls
2 calls:
7.0ms
(- (cos (+ x eps)) (cos x))
4.0ms
(cos (+ x eps))

series15.0ms

Counts
2 → 6
Calls
2 calls:
10.0ms
(- (cos (+ x eps)) (cos x))
5.0ms
(cos (+ x eps))

simplify2.6s

Counts
30 → 30
Iterations

Useful iterations: 4 (413.0ms)

IterNodesCost
065311
1134299
2274283
3592275
41501273
54161273
done5001273

prune61.0ms

Filtered
23 candidates to 30 candidates (-30.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New24630
Fresh000
Picked101
Done000
Total25631

Merged error: 0.5b

Counts
31 → 6

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (+ x eps) x)
0.3b
(* (sin (/ (+ (+ x eps) x) 2)) (sin (/ eps 2)))
3.6b
(sin (/ (+ (+ x eps) x) 2))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity
add-log-exp
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l* sum-log distribute-lft-out
+-commutative associate-+l+ flip3-+ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ sin-mult unswap-sqr
Counts
3 → 41
Calls
3 calls:
7.0ms
(+ (+ x eps) x)
14.0ms
(* (sin (/ (+ (+ x eps) x) 2)) (sin (/ eps 2)))
8.0ms
(sin (/ (+ (+ x eps) x) 2))

series29.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(+ (+ x eps) x)
16.0ms
(* (sin (/ (+ (+ x eps) x) 2)) (sin (/ eps 2)))
8.0ms
(sin (/ (+ (+ x eps) x) 2))

simplify2.5s

Counts
50 → 50
Iterations

Useful iterations: 4 (1.4s)

IterNodesCost
091656
1204648
2516570
31298560
43845544
done5000544

prune129.0ms

Filtered
36 candidates to 50 candidates (-38.9%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New42850
Fresh235
Picked011
Done000
Total441256

Merged error: 0.4b

Counts
56 → 12

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (sin (/ (+ (+ x eps) x) 2)))
3.6b
(sin (/ (+ (+ x eps) x) 2))
3.6b
(sin (/ (+ (+ x eps) x) 2))
3.6b
(sin (/ (+ (+ x eps) x) 2))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
cbrt-prod
pow1/3
Counts
4 → 32
Calls
4 calls:
7.0ms
(cbrt (sin (/ (+ (+ x eps) x) 2)))
8.0ms
(sin (/ (+ (+ x eps) x) 2))
8.0ms
(sin (/ (+ (+ x eps) x) 2))
8.0ms
(sin (/ (+ (+ x eps) x) 2))

series45.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(cbrt (sin (/ (+ (+ x eps) x) 2)))
6.0ms
(sin (/ (+ (+ x eps) x) 2))
6.0ms
(sin (/ (+ (+ x eps) x) 2))
7.0ms
(sin (/ (+ (+ x eps) x) 2))

simplify1.6s

Counts
44 → 44
Iterations

Useful iterations: 4 (651.0ms)

IterNodesCost
057570
1119567
2252501
3618489
42331467
done5000467

prune181.0ms

Filtered
37 candidates to 44 candidates (-18.9%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New42244
Fresh1910
Picked101
Done011
Total441256

Merged error: 0.4b

Counts
56 → 12

localize19.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (sin (/ eps 2)))
0.6b
(cbrt (sin (/ eps 2)))
0.6b
(cbrt (sin (/ eps 2)))
3.6b
(sin (/ (+ (+ x eps) x) 2))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
pow1/3
Counts
4 → 40
Calls
4 calls:
3.0ms
(cbrt (sin (/ eps 2)))
2.0ms
(cbrt (sin (/ eps 2)))
2.0ms
(cbrt (sin (/ eps 2)))
9.0ms
(sin (/ (+ (+ x eps) x) 2))

series67.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(cbrt (sin (/ eps 2)))
20.0ms
(cbrt (sin (/ eps 2)))
20.0ms
(cbrt (sin (/ eps 2)))
6.0ms
(sin (/ (+ (+ x eps) x) 2))

simplify1.9s

Counts
52 → 52
Iterations

Useful iterations: 4 (790.0ms)

IterNodesCost
060558
1121549
2238503
3652461
42910439
done5000439

prune154.0ms

Filtered
42 candidates to 52 candidates (-23.8%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New51152
Fresh01010
Picked011
Done011
Total511364

Merged error: 0.4b

Counts
64 → 13

regimes310.0ms

Accuracy

97.7% (0.3b remaining)

Error of 0.7b against oracle of 0.4b and baseline of 15.0b

bsearch64.0ms

Steps
ItersRangePoint
11
0.0007984694048976103
2.3885905512890262e+30
0.0010712813958775483
5
-0.0004813576712207844
-0.0001616040529746431
-0.0002864983603080275

simplify3.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
02651
13538
done3538

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.7s4421×body1280valid
540.0ms668×body2560valid
434.0ms1853×body640valid
116.0ms668×body320valid
39.0ms298×body160valid
5.0ms92×body80valid

Profiling

Loading profile data...