Details

Time bar (total: 34.6s)

sample494.0ms

Algorithm
intervals
Results
224.0ms47×body2560valid
105.0ms87×body1280valid
50.0ms58×body640valid
17.0ms37×body320valid
4.0ms16×body160valid
2.0ms11×body80valid

simplify17.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
069
1139
2179
3199
done199

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.3b

localize16.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))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt *-un-lft-identity
29×add-cube-cbrt
25×times-frac
18×prod-diff
14×distribute-lft-out-- difference-of-squares
add-log-exp
fma-neg
add-exp-log associate-/r* add-cbrt-cube associate-/l*
flip3-- flip--
pow1 expm1-log1p-u log1p-expm1-u
sub-neg diff-log associate-/r/ associate-/l/
cbrt-undiv frac-2neg div-sub div-exp clear-num div-inv
Counts
3 → 110
Calls
3 calls:
35.0ms
(/ (- x (sin x)) (- x (tan x)))
8.0ms
(- x (sin x))
41.0ms
(- x (tan x))

series222.0ms

Counts
3 → 9
Calls
3 calls:
87.0ms
(/ (- x (sin x)) (- x (tan x)))
48.0ms
(- x (sin x))
86.0ms
(- x (tan x))

simplify1.8s

Counts
119 → 119
Iterations

Useful iterations: done (1.8s)

IterNodesCost
02091823
15011569
222641386
done50021362

prune484.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize31.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))

rewrite274.0ms

Algorithm
rewrite-expression-head
Rules
713×*-un-lft-identity
703×add-sqr-sqrt
678×times-frac
459×prod-diff
417×add-cube-cbrt
147×distribute-lft-out--
141×difference-of-squares
92×associate-/r/
49×flip3-- flip--
46×div-inv
27×fma-neg
10×add-log-exp
add-exp-log add-cbrt-cube
associate-/r*
pow1 expm1-log1p-u log1p-expm1-u
sub-neg distribute-rgt-out-- diff-log associate-/l*
cbrt-undiv frac-2neg div-exp clear-num frac-sub sub-div
Counts
4 → 588
Calls
4 calls:
17.0ms
(/ (sin x) (- x (tan x)))
148.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
13.0ms
(- x (tan x))
14.0ms
(- x (tan x))

series515.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(/ (sin x) (- x (tan x)))
281.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
82.0ms
(- x (tan x))
74.0ms
(- x (tan x))

simplify2.8s

Counts
600 → 600
Iterations

Useful iterations: 2 (907.0ms)

IterNodesCost
061735000
1140431493
2479724519
done500024519

prune2.5s

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize66.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))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt *-un-lft-identity
36×prod-diff
32×add-cube-cbrt
12×fma-neg add-log-exp
pow1 add-exp-log expm1-log1p-u sub-neg flip3-- diff-log add-cbrt-cube flip-- log1p-expm1-u distribute-lft-out-- difference-of-squares
Counts
4 → 112
Calls
4 calls:
9.0ms
(- x (tan x))
7.0ms
(- x (tan x))
7.0ms
(- x (tan x))
7.0ms
(- x (tan x))

series263.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(- x (tan x))
55.0ms
(- x (tan x))
76.0ms
(- x (tan x))
71.0ms
(- x (tan x))

simplify9.5s

Counts
124 → 124
Iterations

Useful iterations: 3 (1.4s)

IterNodesCost
0731712
11621264
2582968
34716812
done5000812

prune647.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize28.0ms

Local error

Found 3 expressions with local error:

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

rewrite54.0ms

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

series265.0ms

Counts
3 → 9
Calls
3 calls:
128.0ms
(fma 27/2800 (pow x 4) 1/2)
51.0ms
(* 9/40 (pow x 2))
86.0ms
(- (* 9/40 (pow x 2)) (fma 27/2800 (pow x 4) 1/2))

simplify1.5s

Counts
67 → 67
Iterations

Useful iterations: done (1.5s)

IterNodesCost
0106845
1250714
21251624
done5001581

prune280.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

bsearch178.0ms

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

simplify8.0ms

Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
030128
13675
done3675

end0.0ms

sample12.4s

Algorithm
intervals
Results
5.9s1592×body2560valid
4.1s2712×body1280valid
1.3s1928×body640valid
621.0ms945×body320valid
127.0ms455×body160valid
119.0ms368×body80valid