Details

Time bar (total: 27.1s)

sample468.0ms

Algorithm
intervals
Results
191.0ms51×body2560valid
103.0ms93×body1280valid
77.0ms55×body640valid
14.0ms33×body320valid
3.0ms12×body160valid
2.0ms12×body80valid

simplify17.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
069
1139
2179
3199
done199

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.9b

localize23.0ms

Local error

Found 3 expressions with local error:

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

rewrite99.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:
30.0ms
(/ (- x (sin x)) (- x (tan x)))
17.0ms
(- x (tan x))
43.0ms
(- x (sin x))

series283.0ms

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

simplify1.2s

Counts
119 → 119
Iterations

Useful iterations: done (1.2s)

IterNodesCost
02091823
14761563
213431384
done50001306

prune298.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma 27/2800 (pow x 4) 1/2)
0.2b
(* 9/40 (pow x 2))
17.1b
(- (* 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)
27.0ms
(* 9/40 (pow x 2))
24.0ms
(- (* 9/40 (pow x 2)) (fma 27/2800 (pow x 4) 1/2))

series237.0ms

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

simplify2.8s

Counts
67 → 67
Iterations

Useful iterations: done (2.8s)

IterNodesCost
0106845
1219700
2588624
32787573
done5000572

prune197.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 2 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
add-exp-log associate-*l*
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube
associate-*r* prod-exp unswap-sqr
pow1 expm1-log1p-u log1p-expm1-u add-log-exp sqr-pow
pow-to-exp pow-exp *-commutative cbrt-unprod fma-udef
Counts
2 → 37
Calls
2 calls:
21.0ms
(* (pow x 4) -27/2800)
1.0ms
(fma 9/40 (pow x 2) (* (pow x 4) -27/2800))

series204.0ms

Counts
2 → 6
Calls
2 calls:
68.0ms
(* (pow x 4) -27/2800)
135.0ms
(fma 9/40 (pow x 2) (* (pow x 4) -27/2800))

simplify2.4s

Counts
43 → 43
Iterations

Useful iterations: 3 (457.0ms)

IterNodesCost
066400
1126375
2345346
31266343
done5000343

prune176.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sin x) (- x (tan x)))
1.2b
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
1.3b
(- x (tan x))
1.3b
(- x (tan x))

rewrite324.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:
35.0ms
(/ (sin x) (- x (tan x)))
149.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
8.0ms
(- x (tan x))
20.0ms
(- x (tan x))

series581.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(/ (sin x) (- x (tan x)))
320.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
88.0ms
(- x (tan x))
69.0ms
(- x (tan x))

simplify2.3s

Counts
600 → 600
Iterations

Useful iterations: done (2.2s)

IterNodesCost
061735000
1135331424
2302323405
done500120458

prune1.2s

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes94.0ms

Accuracy

100% (0.0b remaining)

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

bsearch94.0ms

Steps
ItersRangePoint
9
3.244205803610274e-06
1902.9075791774285
0.025884113819035826
8
-45.38980787391071
-0.005411406272604966
-0.02818082991146234

simplify6.0ms

Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
02238
12630
done2630

end0.0ms

sample13.9s

Algorithm
intervals
Results
6.0s1646×body2560valid
4.8s2707×body1280valid
2.1s1867×body640valid
560.0ms945×body320valid
141.0ms475×body160valid
64.0ms360×body80valid