Details

Time bar (total: 21.9s)

sample483.0ms

Algorithm
intervals
Results
207.0ms47×body2560valid
88.0ms87×body1280valid
39.0ms58×body640valid
17.0ms37×body320valid
4.0ms16×body160valid
2.0ms11×body80valid

simplify19.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
069
1139
2179
3199
done199

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.3b

localize17.0ms

Local error

Found 3 expressions with local error:

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

rewrite80.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:
25.0ms
(/ (- x (sin x)) (- x (tan x)))
12.0ms
(- x (sin x))
39.0ms
(- x (tan x))

series228.0ms

Counts
3 → 9
Calls
3 calls:
112.0ms
(/ (- x (sin x)) (- x (tan x)))
38.0ms
(- x (sin x))
78.0ms
(- x (tan x))

simplify765.0ms

Counts
89 → 89
Iterations

Useful iterations: done (761.0ms)

IterNodesCost
01571237
13711200
213601149
done50001147

prune457.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
0.9b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
1.1b
(- x (tan x))
1.1b
(- x (tan x))

rewrite178.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:
17.0ms
(/ (sin x) (- x (tan x)))
141.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
8.0ms
(- x (tan x))
6.0ms
(- x (tan x))

series580.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(/ (sin x) (- x (tan x)))
324.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
68.0ms
(- x (tan x))
101.0ms
(- x (tan x))

simplify786.0ms

Counts
106 → 106
Iterations

Useful iterations: done (783.0ms)

IterNodesCost
01771565
13881511
214241450
done50001449

prune483.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize82.0ms

Local error

Found 4 expressions with local error:

1.1b
(- x (tan x))
1.1b
(- x (tan x))
1.1b
(- x (tan x))
1.1b
(- x (tan x))

rewrite48.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:
11.0ms
(- x (tan x))
11.0ms
(- x (tan x))
12.0ms
(- x (tan x))
11.0ms
(- x (tan x))

series289.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(- x (tan x))
69.0ms
(- x (tan x))
87.0ms
(- x (tan x))
63.0ms
(- x (tan x))

simplify1.3s

Counts
68 → 68
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
046580
194564
2215528
3554528
41701528
done5000528

prune467.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 3 expressions with local error:

0.3b
(* 27/2800 (pow x 4))
0.4b
(* 9/40 (pow x 2))
13.8b
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
15×associate-*r*
13×add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-log-exp
add-cbrt-cube unswap-sqr
associate-*l* prod-exp
sqr-pow
pow1
pow-to-exp diff-log pow-exp *-commutative cbrt-unprod unpow2
sub-neg flip3-- sum-log flip-- associate--r+
Counts
3 → 66
Calls
3 calls:
24.0ms
(* 27/2800 (pow x 4))
12.0ms
(* 9/40 (pow x 2))
31.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

series165.0ms

Counts
3 → 9
Calls
3 calls:
70.0ms
(* 27/2800 (pow x 4))
36.0ms
(* 9/40 (pow x 2))
58.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

simplify918.0ms

Counts
75 → 75
Iterations

Useful iterations: done (916.0ms)

IterNodesCost
0121788
1291703
21116645
done5000643

prune278.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

regimes64.0ms

Accuracy

100% (0.0b remaining)

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

bsearch199.0ms

Steps
ItersRangePoint
11
9.093534403752284e-26
13730598.322931442
0.028184310562944685
8
-24.398001816905442
-0.001242952878385433
-0.02915223248619924

simplify9.0ms

Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
032131
14077
done4077

end0.0ms

sample13.9s

Algorithm
intervals
Results
6.6s1592×body2560valid
4.0s2712×body1280valid
1.9s1928×body640valid
640.0ms945×body320valid
186.0ms455×body160valid
132.0ms368×body80valid