Details

Time bar (total: 25.9s)

sample546.0ms

Algorithm
intervals
Results
217.0ms51×body2560valid
181.0ms93×body1280valid
42.0ms55×body640valid
15.0ms33×body320valid
4.0ms12×body160valid
2.0ms12×body80valid

simplify30.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
069
1139
2179
3199
done199

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.9b

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

rewrite130.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:
47.0ms
(/ (- x (sin x)) (- x (tan x)))
15.0ms
(- x (tan x))
64.0ms
(- x (sin x))

series238.0ms

Counts
3 → 9
Calls
3 calls:
91.0ms
(/ (- x (sin x)) (- x (tan x)))
81.0ms
(- x (tan x))
66.0ms
(- x (sin x))

simplify1.7s

Counts
89 → 89
Iterations

Useful iterations: done (1.7s)

IterNodesCost
01571237
13661200
29151147
323391147
done50001133

prune245.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 27/2800 (pow x 4))
0.2b
(* 9/40 (pow x 2))
17.1b
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

rewrite51.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:
17.0ms
(* 27/2800 (pow x 4))
13.0ms
(* 9/40 (pow x 2))
19.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

series126.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(* 27/2800 (pow x 4))
27.0ms
(* 9/40 (pow x 2))
55.0ms
(- (* 9/40 (pow x 2)) (+ (* 27/2800 (pow x 4)) 1/2))

simplify2.5s

Counts
75 → 75
Iterations

Useful iterations: done (2.5s)

IterNodesCost
0121788
1277703
2674643
32581637
done5000634

prune260.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize20.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 27/2800 (pow x 4))
0.2b
(* 9/40 (pow x 2))
17.1b
(- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4)))

rewrite74.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-cbrt-cube unswap-sqr
associate-*l* prod-exp
add-log-exp
sqr-pow
pow1
pow-to-exp pow-exp *-commutative cbrt-unprod unpow2
sub-neg flip3-- diff-log flip--
Counts
3 → 64
Calls
3 calls:
24.0ms
(* 27/2800 (pow x 4))
25.0ms
(* 9/40 (pow x 2))
21.0ms
(- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4)))

series246.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(* 27/2800 (pow x 4))
28.0ms
(* 9/40 (pow x 2))
171.0ms
(- (* 9/40 (pow x 2)) (* 27/2800 (pow x 4)))

simplify2.4s

Counts
73 → 73
Iterations

Useful iterations: done (2.4s)

IterNodesCost
0113715
1254624
2574570
32285560
done5000555

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

rewrite196.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)))
156.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
9.0ms
(- x (tan x))
10.0ms
(- x (tan x))

series556.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(/ (sin x) (- x (tan x)))
282.0ms
(- (/ x (- x (tan x))) (/ (sin x) (- x (tan x))))
79.0ms
(- x (tan x))
101.0ms
(- x (tan x))

simplify1.9s

Counts
106 → 106
Iterations

Useful iterations: 3 (794.0ms)

IterNodesCost
01771565
13771511
29381449
328241445
done50011445

prune349.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes49.0ms

Accuracy

100% (0.0b remaining)

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

bsearch105.0ms

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

simplify7.0ms

Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
02449
12936
done2936

end0.0ms

sample13.9s

Algorithm
intervals
Results
6.0s1646×body2560valid
5.5s2707×body1280valid
1.4s1867×body640valid
492.0ms945×body320valid
138.0ms475×body160valid
57.0ms360×body80valid