Details

Time bar (total: 33.4s)

sample629.0ms

Algorithm
intervals
Results
242.0ms50×body2560valid
130.0ms69×body640valid
127.0ms80×body1280valid
20.0ms33×body320valid
7.0ms15×body160valid
2.0msbody80valid

simplify35.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
069
1139
2179
3199
done199

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.6b

localize80.0ms

Local error

Found 3 expressions with local error:

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

rewrite101.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:
54.0ms
(/ (- x (sin x)) (- x (tan x)))
15.0ms
(- x (sin x))
22.0ms
(- x (tan x))

series334.0ms

Counts
3 → 9
Calls
3 calls:
144.0ms
(/ (- x (sin x)) (- x (tan x)))
62.0ms
(- x (sin x))
128.0ms
(- x (tan x))

simplify2.5s

Counts
119 → 119
Iterations

Useful iterations: done (2.5s)

IterNodesCost
02091823
15011569
222641386
done50021362

prune653.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize30.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
0.3b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
0.6b
(- x (tan x))
0.6b
(- x (tan x))

rewrite402.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:
34.0ms
(/ (sin x) (- x (tan x)))
226.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
13.0ms
(- x (tan x))
14.0ms
(- x (tan x))

series711.0ms

Counts
4 → 12
Calls
4 calls:
117.0ms
(/ (sin x) (- x (tan x)))
375.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
102.0ms
(- x (tan x))
118.0ms
(- x (tan x))

simplify3.9s

Counts
600 → 600
Iterations

Useful iterations: 2 (1.4s)

IterNodesCost
061735000
1140431493
2479724519
done500024519

prune3.2s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize39.0ms

Local error

Found 3 expressions with local error:

0.1b
(fma 27/2800 (pow x 4) 1/2)
0.1b
(* 9/40 (pow x 2))
16.3b
(- (* 9/40 (pow x 2)) (fma 27/2800 (pow x 4) 1/2))

rewrite46.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)
22.0ms
(* 9/40 (pow x 2))
21.0ms
(- (* 9/40 (pow x 2)) (fma 27/2800 (pow x 4) 1/2))

series295.0ms

Counts
3 → 9
Calls
3 calls:
159.0ms
(fma 27/2800 (pow x 4) 1/2)
48.0ms
(* 9/40 (pow x 2))
88.0ms
(- (* 9/40 (pow x 2)) (fma 27/2800 (pow x 4) 1/2))

simplify1.9s

Counts
67 → 67
Iterations

Useful iterations: done (1.9s)

IterNodesCost
0106845
1250714
21251624
done5001581

prune386.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes130.0ms

Accuracy

100% (0.0b remaining)

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

bsearch200.0ms

Steps
ItersRangePoint
10
2.8868360106527892e-08
453261925.93168354
0.035008502692176
9
-4.26929226401081
-3.26160511802404e-08
-0.02767094041582889

simplify5.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02543
12643
done2643

end0.0ms

sample17.8s

Algorithm
intervals
Results
7.8s1572×body2560valid
5.4s2765×body1280valid
2.1s1944×body640valid
1.7s927×body320valid
182.0ms446×body160valid
78.0ms346×body80valid