Details

Time bar (total: 14.8s)

sample429.0ms

Algorithm
intervals
Results
90.0ms44×body2560valid
57.0ms87×body1280valid
19.0ms54×body640valid
7.0ms32×body320valid
6.0ms25×body160valid
1.0ms14×body80valid

simplify15.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
069
1139
2179
3199
done199

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 28.6b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite35.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:
12.0ms
(/ (- x (sin x)) (- x (tan x)))
3.0ms
(- x (tan x))
5.0ms
(- x (sin x))

series182.0ms

Counts
3 → 9
Calls
3 calls:
79.0ms
(/ (- x (sin x)) (- x (tan x)))
59.0ms
(- x (tan x))
44.0ms
(- x (sin x))

simplify1.2s

Counts
89 → 89
Iterations

Useful iterations: done (1.2s)

IterNodesCost
01571237
13661200
29591147
326701147
done50001145

prune213.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sin x) (- x (tan x)))
1.4b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
1.4b
(- x (tan x))
1.4b
(- x (tan x))

rewrite70.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:
7.0ms
(/ (sin x) (- x (tan x)))
53.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
3.0ms
(- x (tan x))
3.0ms
(- x (tan x))

series363.0ms

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

simplify1.4s

Counts
106 → 106
Iterations

Useful iterations: done (1.4s)

IterNodesCost
01771565
13771511
210221449
336601445
done50001444

prune266.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.1b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (sin x) (- x (tan x)))
1.4b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
1.4b
(- x (tan x))
1.4b
(- x (tan x))

rewrite69.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:
7.0ms
(/ (sin x) (- x (tan x)))
53.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
3.0ms
(- x (tan x))
3.0ms
(- x (tan x))

series366.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(/ (sin x) (- x (tan x)))
187.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
57.0ms
(- x (tan x))
55.0ms
(- x (tan x))

simplify1.5s

Counts
106 → 106
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01771565
13771511
210221449
336601445
done50001444

prune323.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

localize24.0ms

Local error

Found 4 expressions with local error:

1.4b
(- x (tan x))
1.4b
(- x (tan x))
1.4b
(- x (tan x))
1.4b
(- (pow (/ x (- x (tan x))) 3) (pow (/ (sin x) (- x (tan x))) 3))

rewrite198.0ms

Algorithm
rewrite-expression-head
Rules
124×*-un-lft-identity
118×add-sqr-sqrt
80×times-frac
68×unpow-prod-down cube-prod
52×distribute-lft-out--
47×difference-of-squares
16×associate-/r/
12×add-cube-cbrt flip3-- distribute-rgt-out-- flip-- add-log-exp sqr-pow
div-inv
pow1 add-exp-log cube-div sub-neg diff-log add-cbrt-cube
difference-cubes frac-sub sub-div
Counts
4 → 138
Calls
4 calls:
3.0ms
(- x (tan x))
3.0ms
(- x (tan x))
3.0ms
(- x (tan x))
179.0ms
(- (pow (/ x (- x (tan x))) 3) (pow (/ (sin x) (- x (tan x))) 3))

series423.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(- x (tan x))
53.0ms
(- x (tan x))
60.0ms
(- x (tan x))
250.0ms
(- (pow (/ x (- x (tan x))) 3) (pow (/ (sin x) (- x (tan x))) 3))

simplify589.0ms

Counts
150 → 150
Iterations

Useful iterations: 2 (171.0ms)

IterNodesCost
01813356
14753214
215483160
done50003160

prune424.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

regimes51.0ms

Accuracy

100% (0.0b remaining)

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

bsearch107.0ms

Steps
ItersRangePoint
9
3.182061564411226e-09
0.0591185632533196
0.028578832745905277
8
-0.04390830018224924
-1.7961213486546931e-06
-0.02915897731694385

simplify4.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
043154
150154
done50154

end0.0ms

sample6.5s

Algorithm
intervals
Results
3.5s1620×body2560valid
1.8s2690×body1280valid
662.0ms1887×body640valid
223.0ms951×body320valid
74.0ms476×body160valid
39.0ms376×body80valid