Details

Time bar (total: 9.9s)

sample543.0ms

Algorithm
intervals
Results
114.0ms44×body2560valid
50.0ms77×body1280valid
44.0ms65×body640valid
8.0ms38×body320valid
3.0ms17×body80valid
2.0ms15×body160valid

simplify10.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0135
1175
2195
3195
done195

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x (sin x)) (- x (tan x)))
1.0b
(- x (sin x))
1.0b
(- x (tan x))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt *-un-lft-identity
25×times-frac
15×add-cube-cbrt
14×distribute-lft-out-- difference-of-squares
add-log-exp
add-exp-log associate-/r* add-cbrt-cube associate-/l*
flip3-- flip--
pow1
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv frac-2neg div-sub div-exp clear-num div-inv
Counts
3 → 80
Calls
3 calls:
23.0ms
(/ (- x (sin x)) (- x (tan x)))
6.0ms
(- x (sin x))
8.0ms
(- x (tan x))

series186.0ms

Counts
3 → 9
Calls
3 calls:
81.0ms
(/ (- x (sin x)) (- x (tan x)))
33.0ms
(- x (sin x))
72.0ms
(- x (tan x))

simplify150.0ms

Counts
89 → 89
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0363718
11148685
24795685
35001685
done5001685

prune201.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
0.8b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
1.0b
(- x (tan x))
1.0b
(- x (tan x))

rewrite107.0ms

Algorithm
rewrite-expression-head
Rules
54×*-un-lft-identity
44×add-sqr-sqrt
33×times-frac
18×distribute-lft-out--
16×add-cube-cbrt
12×difference-of-squares
10×add-log-exp
add-exp-log flip3-- associate-/r/ add-cbrt-cube flip--
associate-/r*
pow1
sub-neg distribute-rgt-out-- diff-log div-inv associate-/l*
cbrt-undiv frac-2neg div-exp clear-num frac-sub sub-div
Counts
4 → 94
Calls
4 calls:
14.0ms
(/ (sin x) (- x (tan x)))
79.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
5.0ms
(- x (tan x))
5.0ms
(- x (tan x))

series346.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(/ (sin x) (- x (tan x)))
177.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
51.0ms
(- x (tan x))
55.0ms
(- x (tan x))

simplify38.0ms

Counts
106 → 106
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0376909
11205872
25001872
done5001872

prune241.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
0.8b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
1.0b
(- x (tan x))
1.0b
(- x (tan x))

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
54×*-un-lft-identity
44×add-sqr-sqrt
33×times-frac
18×distribute-lft-out--
16×add-cube-cbrt
12×difference-of-squares
10×add-log-exp
add-exp-log flip3-- associate-/r/ add-cbrt-cube flip--
associate-/r*
pow1
sub-neg distribute-rgt-out-- diff-log div-inv associate-/l*
cbrt-undiv frac-2neg div-exp clear-num frac-sub sub-div
Counts
4 → 94
Calls
4 calls:
14.0ms
(/ (sin x) (- x (tan x)))
76.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
5.0ms
(- x (tan x))
5.0ms
(- x (tan x))

series353.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(/ (sin x) (- x (tan x)))
184.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
56.0ms
(- x (tan x))
55.0ms
(- x (tan x))

simplify44.0ms

Counts
106 → 106
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0376909
11205872
25001872
done5001872

prune292.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.1b

localize24.0ms

Local error

Found 4 expressions with local error:

1.0b
(- x (tan x))
1.0b
(- x (tan x))
1.0b
(- x (tan x))
1.0b
(- x (tan x))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 56
Calls
4 calls:
5.0ms
(- x (tan x))
5.0ms
(- x (tan x))
5.0ms
(- x (tan x))
5.0ms
(- x (tan x))

series215.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(- x (tan x))
57.0ms
(- x (tan x))
51.0ms
(- x (tan x))
57.0ms
(- x (tan x))

simplify152.0ms

Counts
68 → 68
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
091324
1200304
2471304
31247304
44646304
55001304
done5001304

prune229.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

regimes37.0ms

Accuracy

100% (0.0b remaining)

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

bsearch87.0ms

Steps
ItersRangePoint
8
0.016621422887445694
5.276955647516397
0.06543863896081262
9
-0.05800990145057735
-1.1864783425707322e-08
-0.031511785901855695

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04550
14550
done4550

end0.0ms

sample6.5s

Algorithm
intervals
Results
3.5s1613×body2560valid
1.8s2704×body1280valid
682.0ms1926×body640valid
218.0ms934×body320valid
72.0ms475×body160valid
31.0ms348×body80valid